如何使用 MiniMax H3 Spicy 图片转视频 API:图生视频接入指南(2026)
MiniMax H3 Spicy 图片转视频 API 接入教程:参数说明、价格与可直接运行的调用代码,先在 Playground 试玩再一行代码接入。
MiniMax H3 Spicy 图片转视频 是一款图生视频模型(由 Minimax 提供):通过首帧图片生成视频,支持可选提示词和末帧引导。可选 480p、540p、768p、1080p 分辨率,时长为 3–15 秒。在 NamiFusion 上可以在 Playground 直接试玩(提交前显示准确报价),再通过统一 REST API 一行代码接入,典型一次调用约 $0.200。
TL;DR
· 任务类型:图生视频,由 Minimax 提供
· 价格:典型一次调用约 $0.200($1 = 100 积分),按量计费无订阅
· 上手路径:Playground 试玩(提交前显示报价)→ API Keys 建密钥 → 一个 POST 接入
· 可调参数:5 个(见下方参数表)
· 无平台水印,商用可用(遵守服务条款)
用 MiniMax H3 Spicy 图片转视频 能做什么?
短视频与广告片段:从一句话或一张图直接产出可发布的动态素材。
产品演示与概念预览:低成本验证分镜和视觉方向,再决定是否实拍。
社媒内容工厂:批量生成竖屏短片,配合热点话题快速上线。
已有素材的二次创作:图生视频让静态作品动起来,延长内容生命周期。
怎么调用这个 API?
- 在 NamiFusion 注册并在 API Keys 页面创建密钥(注册赠送积分仅可用于指定模型)。
- 用下面的 cURL 示例提交任务,Header 带上 Bearer 密钥。
- 用返回的 task_uuid 轮询任务状态,完成后取输出 URL。
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/minimax/h3/image-to-video-spicy" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_frame": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/03/c4e15177f2d1.jpeg"
],
"prompt": "The woman slowly turns her head toward the camera as raindrops fall around her and neon signs flicker in the background. The camera makes a subtle forward dolly-in, her coat and hair move naturally in the breeze, puddles ripple from the rain, and passing traffic creates soft light streaks. Maintain realistic motion, cinematic atmosphere, and consistent character details throughout the shot.",
"last_frame": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/03/20e5465e352c.jpeg"
],
"resolution": "480p",
"duration": 5
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"有哪些参数?
first_frame(图片):必填
prompt(提示词):可选
last_frame(最后一帧图片):可选
resolution(分辨率):可选,默认 "480p"
duration(时长):可选,默认 5
MiniMax H3 Spicy 图片转视频 的提示词怎么写?
- 主体在前:先写画面主角与动作,再补环境、光线、风格("一名宇航员在雨中的霓虹街头奔跑,电影感,浅景深")。
- 用具体名词代替形容词堆砌:"85mm 人像镜头、黄昏逆光" 比 "非常好看、超高质量" 有效得多。
- 迭代时只改一个变量:固定 seed 复现结果,每次只调整一个描述词,才能知道是什么在起作用。
- 负面信息放正面写:与其说"不要模糊",不如直接要"锐利对焦、清晰细节"。
价格是多少?
按次积分计价,典型一次调用约 $0.200($1 = 100 积分),实际价格随参数(分辨率/时长等)变化,Playground 里提交前会显示准确报价。
MiniMax H3 Spicy 图片转视频
minimax/h3/image-to-video-spicy
通过首帧图片生成视频,支持可选提示词和末帧引导。可选 480p、540p、768p、1080p 分辨率,时长为 3–15 秒。
Nami API 调用
请求体为 JSON 对象 { "input": { ... } }。使用 X-API-Key 认证。图片参数是只含一个 URL 的字符串数组。下表的默认值仅在省略参数时生效;playground 和 API 示例采用下方示例值。
POST /api/v1/marketplace/run/minimax/h3/image-to-video-spicy
| Parameter | Type | Required | Default | Constraints |
|---|---|---|---|---|
first_frame | string[] | yes | — | 1 URL |
prompt | string | no | — | max 5000 characters |
last_frame | string[] | no | — | 0–1 URL |
resolution | string | no | "480p" | 480p, 540p, 768p, 1080p |
duration | integer | no | 5 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 |
{
"input": {
"first_frame": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/03/c4e15177f2d1.jpeg"
],
"prompt": "The woman slowly turns her head toward the camera as raindrops fall around her and neon signs flicker in the background. The camera makes a subtle forward dolly-in, her coat and hair move naturally in the breeze, puddles ripple from the rain, and passing traffic creates soft light streaks. Maintain realistic motion, cinematic atmosphere, and consistent character details throughout the shot.",
"last_frame": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/03/20e5465e352c.jpeg"
],
"resolution": "480p",
"duration": 5
}
}
创建请求返回 task_uuid 和任务状态。使用同一个 API Key 轮询:
GET /api/v1/marketplace/run/tasks/{task_uuid}
完成后从 output.videos 读取视频 URL 数组。
{
"status": "completed",
"output": {
"videos": [
"https://cdn.example.com/output/video.mp4"
]
}
}
以上为响应字段片段;完整任务结构见 API tab。
价格按实际选择的分辨率和时长计算,1 美元 = 100 积分;以下为目录标价。
| Resolution | USD / second | Credits / second | USD / 5 seconds |
|---|---|---|---|
| 480p | $0.04 | 4 | $0.20 |
| 540p | $0.06 | 6 | $0.30 |
| 768p | $0.08 | 8 | $0.40 |
| 1080p | $0.16 | 16 | $0.80 |
常见问题
可以先免费试用吗?+
注册赠送积分仅可用于指定模型,适用范围会持续更新;Playground 提交前会显示准确报价。
生成内容可以商用吗?有水印吗?+
可以商用,NamiFusion 不给生成结果加平台水印;使用须遵守服务条款与适用法律。
内容政策是什么?+
色情内容、涉及未成年人的性化内容、未经授权使用真人、欺骗性冒充、诈骗与虚假代言均禁止。合法、自愿且非露骨的成年人主题可能被允许,详见服务条款。
MiniMax H3 Spicy 图片转视频 的任务要跑多久?+
取决于参数,图像通常数秒到数十秒,视频通常数十秒到几分钟;API 返回 task_uuid 供轮询。
分辨率/时长上限是多少?+
以模型参数表为准:每个模型的可选分辨率、时长档位都在上方参数说明与 Playground 中列出。