MiniMax H3 · POST /v1/videos · 视频生成
POST/v1/videos
MiniMax H3
公开模型名:minimax-h3。
seconds必填,取 4 到 15 的整数字符串。- 参考图最多 5 张,放在
images。 - 参考视频最多 1 段,放在
metadata.videos。 - 参考音频最多 1 段,放在
metadata.audios。 aspect_ratio:1:1、2:3、3:2、3:4、4:3、9:16、16:9、21:9。resolution:480p、768p。- 图片、视频、音频可以分别使用。不要在同一次请求里同时放满图片、视频和音频,当前上游会拒绝这组完整组合。
- 查询
GET /v1/videos/{task_id}。响应model保持minimax-h3。
cURL:5 张参考图
curl --location --request POST 'https://api.horver.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "minimax-h3",
"prompt": "五张参考图中的产品依次出现,镜头平稳,背景干净",
"seconds": "4",
"resolution": "480p",
"aspect_ratio": "16:9",
"images": [
"https://example.com/ref-1.png",
"https://example.com/ref-2.png",
"https://example.com/ref-3.png",
"https://example.com/ref-4.png",
"https://example.com/ref-5.png"
]
}'
Request
Responses
- 200
提交成功。响应里的 model 保持请求时的公开名。