MiniMax H3 Lite 图生视频
minimax/h3-lite/image-to-video
生成带原生音频的视频,支持 4–15 秒、480p 或 768p。
示例
参数
| 名称 | 类型 | 默认 | 约束 | 说明 |
|---|---|---|---|---|
| prompt *提示词 | textarea | — | ≤ 5000 chars | 描述期望的运动和场景的文本内容。 |
| image *图片 | image_upload | — | image/* · 1–1 items | 首帧图片的 URL 或 Base64 数据。支持的图片尺寸为单边 256-5760 像素,宽高比范围为 0.4 到 2.5。 |
| last_image最后一帧图片 | image_upload | — | image/* · 0–1 items | 可选的最后一帧图片 URL 或 Base64 数据。 |
| resolution分辨率 | select | 768p | 768p | 480p | 输出视频的分辨率。 |
| duration时长 | select | 5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | … | 输出视频时长(秒)。 |
输出字段
| 字段 | 类型 | 说明 |
|---|---|---|
| videos | array<string> |
API
通过统一 REST API 调用本模型;在 API Keys 页获取密钥。
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/minimax/h3-lite/image-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"resolution": "768p",
"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"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/minimax/h3-lite/image-to-video",
headers=HEADERS,
json={
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"resolution": "768p",
"duration": 5
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 1800s server-side.
deadline = time.time() + 1860
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/minimax/h3-lite/image-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"resolution": "768p",
"duration": 5
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 1800s server-side.
const deadline = Date.now() + 1860 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);文档
MiniMax H3 Lite 图生视频
生成带原生音频的视频,支持 4–15 秒、480p 或 768p。
输入参数
| Parameter | 必填 | 类型、范围、默认值 |
|---|---|---|
prompt | Yes | string; 1–5000 characters. 描述期望的运动和场景的文本内容。 |
image | Yes | array; max 1. 首帧图片的 URL 或 Base64 数据。支持的图片尺寸为单边 256-5760 像素,宽高比范围为 0.4 到 2.5。 |
last_image | No | array; max 1. 可选的最后一帧图片 URL 或 Base64 数据。 |
resolution | No | string; 768p, 480p; default: 768p. 输出视频的分辨率。 |
duration | No | integer; 4–15; 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15; default: 5. 输出视频时长(秒)。 |
提示词不能为空。本接口按当前 MaaS 参数约束接收最多 5000 字符(WaveSpeed 本身支持最多 7000 字符)。
标准价
| Resolution | USD / second | Credits / second |
|---|---|---|
| 480p | $0.025 | 2.5 |
| 768p | $0.04 | 4 |
账户折扣另算。1 美元 = 100 积分。生成音频不另收费。
费用 = 输出秒数 × 所选分辨率秒价。
API 示例
请替换为已上传的素材 URL。提交一次后使用 task_uuid 查询至 completed 或 failed;成功结果 output.videos 为视频 URL 数组。image 和 last_image 接收单元素数组,Nami 转为上游单个 URL。
POST https://www.namifusion.com/api/v1/marketplace/run/minimax/h3-lite/image-to-video
Authorization: Bearer YOUR_NAMIFUSION_API_KEY
Content-Type: application/json
{
"input": {
"prompt": "Colorful shapes move gently through the scene.",
"duration": 5,
"resolution": "768p",
"image": [
"https://example.com/first-frame.png"
]
}
}
GET https://www.namifusion.com/api/v1/marketplace/run/tasks/{task_uuid}
Authorization: Bearer YOUR_NAMIFUSION_API_KEY
相关模型
xAI Grok Imagine Video v1.5 图片转视频
使用文本提示词将单张输入图片生成 1-15 秒视频,支持 480p 和 720p。
Vidu Q4 Preview 图生视频
根据提示词和单张图片生成 3~16 秒视频,支持可选音频和提示词扩展,以及 540p、720p、1080p、2k、4k 分辨率。
vidu/q3/image-to-video-spicy 图片转视频
Vidu Q3 Image-to-Video Spicy 可从图片生成不限量的高质量视频,动画流畅、运动表现丰富,并针对大规模内容生成进行了优化。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。
Vidu Q3 图片转视频
Vidu Q3 图片转视频将文本提示词转化为高质量视频,具有卓越的视觉保真度和多样的运动。即用型 REST 推理 API,最佳性能,无冷启动,价格实惠。

MiniMax H3 Spicy 图片转视频
通过首帧图片生成视频,支持可选提示词和末帧引导。可选 480p、540p、768p、1080p 分辨率,时长为 3–15 秒。
MiniMax H3 图片转视频
MiniMax H3 图片转视频可将首帧图片动画化为连贯的 2K 视频,支持自然语言运动指令,并可选用末帧控制,以实现一致的运动、场景连贯性和电影感视频生成。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。
MiniMax H3 Singularity 图生视频 LoRA
生成带原生立体声音频的视频,支持 3–15 秒时长和四档分辨率。支持自定义 LoRA。
MiniMax H3 Singularity 图生视频
生成带原生立体声音频的视频,支持 3–15 秒时长和四档分辨率。