-- 添加wan2.2-kf2v-flash模型价格配置 -- 执行时间: 2026-01-07 -- 首尾帧生视频模型,固定5秒,按分辨率阶梯计费 -- 1. 创建价格记录 INSERT INTO aigcspace.model_price (pricing_mode, unit, input_price, output_price) VALUES ('tier', 'seconds', 0.0000, 0.3000) RETURNING id; -- 假设返回id为258 -- 2. 创建阶梯价格(根据分辨率) -- 480P: 0.14元/秒 -- 720P: 0.3元/秒 -- 1080P: 0.6元/秒 INSERT INTO aigcspace.model_price_tier (price_id, tier_min, tier_max, input_price, output_price) VALUES (258, 0, 480, 0.0000, 0.1400), (258, 0, 720, 0.0000, 0.3000), (258, 0, 1080, 0.0000, 0.6000); -- 3. 创建模型记录 INSERT INTO aigcspace.models (title, img, name, tag1, description, keyword, category, supplier, price_id) VALUES ( 'wan2.2-kf2v-flash', 'https://img.alicdn.com/imgextra/i1/O1CN01XXXXXX.png', '通义万相-首尾帧生视频', '视频生成', '基于首帧和尾帧图像生成平滑过渡视频,固定5秒时长', '首尾帧,视频生成,万相', 5, 'Alibaba', 258 );