-- ============================================================
-- MiniMax-H3 — 定价记录（修正版）
-- 1个 pricing_program + 2个 pricing_program_timing
-- ============================================================

-- === pricing_program (1条) ===
INSERT IGNORE INTO pricing_program (id, name, ownerid, providerid, pricing_belong, description) VALUES (
  'minimax_h3',
  'MiniMax-H3',
  'platform',
  'minimax',
  'provider',
  'MiniMax-H3 视频生成模型，按分辨率计费：2K 0.80元/秒，768P 0.50元/秒'
);

-- === pricing_program_timing (2条: 2K + 768P) ===

-- 2K: 0.80 元/秒
INSERT IGNORE INTO pricing_program_timing (id, ppid, name, pricing_data, enabled_date, expired_date) VALUES (
  'minimax_h3_2k',
  'minimax_h3',
  'MiniMax-H3-2K',
  'resolution: 2K
unit: second
price: 0.80
currency: CNY',
  '2025-01-01',
  '9999-12-31'
);

-- 768P: 0.50 元/秒
INSERT IGNORE INTO pricing_program_timing (id, ppid, name, pricing_data, enabled_date, expired_date) VALUES (
  'minimax_h3_768p',
  'minimax_h3',
  'MiniMax-H3-768P',
  'resolution: 768P
unit: second
price: 0.50
currency: CNY',
  '2025-01-01',
  '9999-12-31'
);
