MiniMax H3 Spicy 图片转视频

minimax/h3/image-to-video-spicy

通过首帧图片生成视频,支持可选提示词和末帧引导。可选 480p、540p、768p、1080p 分辨率,时长为 3–15 秒。

示例

MiniMax H3 Spicy 图片转视频 示例 1

参数

名称类型默认约束说明
first_frame *图片image_upload—image/* · 0–1 items用于引导视频生成的起始图片 URL。输出画布将遵循该图片的宽高比。
prompt提示词textarea—≤ 5000 chars描述视频中的场景、动作、镜头运动和氛围。
last_frame最后一帧图片image_upload—image/* · 0–1 items可选的最后一帧图片 URL。提供后,视频会从第一帧插值过渡到该帧。
resolution分辨率select480p480p | 540p | 768p | 1080p输出视频的分辨率。768p 是模型的原生画布;480p 速度更快、成本更低;540p 为中档选项,价格为 480p 的 1.5 倍。1080p 为最高质量的全高清档位,价格为 768p 的 2 倍(生成时间更长)。
duration时长select53 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | …输出视频的时长(秒)。

输出字段

字段类型说明
videosarray<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/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"
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/image-to-video-spicy",
    headers=HEADERS,
    json={
        "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
        }
    },
)
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 300s server-side.
deadline = time.time() + 360
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/image-to-video-spicy", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "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
    }
  }),
});
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 300s server-side.
const deadline = Date.now() + 360 * 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 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

ParameterTypeRequiredDefaultConstraints
first_framestring[]yes—1 URL
promptstringno—max 5000 characters
last_framestring[]no—0–1 URL
resolutionstringno"480p"480p, 540p, 768p, 1080p
durationintegerno53, 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 积分;以下为目录标价。

ResolutionUSD / secondCredits / secondUSD / 5 seconds
480p$0.044$0.20
540p$0.066$0.30
768p$0.088$0.40
1080p$0.1616$0.80

相关模型

xAI Grok Imagine Video v1.5 图片转视频
图生视频X Ai

xAI Grok Imagine Video v1.5 图片转视频

使用文本提示词将单张输入图片生成 1-15 秒视频,支持 480p 和 720p。

起 $0.850 / 每次
vidu/q3/image-to-video-spicy 图片转视频
图生视频Vidu

vidu/q3/image-to-video-spicy 图片转视频

Vidu Q3 Image-to-Video Spicy 可从图片生成不限量的高质量视频,动画流畅、运动表现丰富,并针对大规模内容生成进行了优化。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

起 $0.750 / 每次
Vidu Q3 图片转视频
图生视频Vidu

Vidu Q3 图片转视频

Vidu Q3 图片转视频将文本提示词转化为高质量视频,具有卓越的视觉保真度和多样的运动。即用型 REST 推理 API,最佳性能,无冷启动,价格实惠。

起 $0.750 / 每次
MiniMax H3 图片转视频
图生视频Minimax

MiniMax H3 图片转视频

MiniMax H3 图片转视频可将首帧图片动画化为连贯的 2K 视频,支持自然语言运动指令,并可选用末帧控制,以实现一致的运动、场景连贯性和电影感视频生成。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

起 $0.650 / 每次
ltx-2.5/image-to-video 图片转视频
图生视频Ltx 2.5

ltx-2.5/image-to-video 图片转视频

LTX 2.5 图片转视频可将首帧图片动画化,生成高保真、音视频同步的内容,并支持可选的末帧引导以及 720P / 1080P / 2K / 4K 输出,适用于电影感视频、社交内容、广告和制作流程。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

起 $0.500 / 每次
ai/ltx-2.3-spicy/image-to-video-lora 图片转视频
图生视频Lightricks

ai/ltx-2.3-spicy/image-to-video-lora 图片转视频

LTX 2.3 Spicy LoRA 图片转视频 API 可将参考图片和提示词转换为富有表现力的 AI 视频,并支持选择 LoRA 预设、可选的 LoRA 强度覆盖、时长和分辨率控制。在 MaaS 上可快速进行 REST 推理,无冷启动,价格实惠。

起 $0.150 / 每次
ai/ltx-2.3-spicy/image-to-video 图片转视频
图生视频Lightricks

ai/ltx-2.3-spicy/image-to-video 图片转视频

LTX 2.3 Spicy Image-to-Video API 可根据参考图片和提示词生成富有表现力的 AI 视频。可选择风格预设、时长和分辨率,依托 MaaS 提供快速 REST 推理、无冷启动和实惠价格。

起 $0.100 / 每次
Kling Omni Video O3 图片转视频
图生视频Kling

Kling Omni Video O3 图片转视频

Kling Omni Video O3 图片转视频利用MVL(多模态视觉语言)技术将静态图片转化为动态电影级视频。保持主体一致性,同时添加自然运动、物理模拟和无缝场景动态。支持音频生成。即用型REST API,最佳性能,无冷启动,价格实惠。

起 $0.420 / 每次