MiniMax H3 Singularity 图生视频 LoRA

minimax-h3-singularity/image-to-video-lora

生成带原生立体声音频的视频,支持 3–15 秒时长和四档分辨率。支持自定义 LoRA。

示例

MiniMax H3 Singularity 图生视频 LoRA 示例 1

参数

名称类型默认约束说明
prompt *提示词textarea——描述期望的运动、场景和配乐的文本。音频会与视频一同原生生成。
image *图片image_upload—image/* · 1–1 items首帧图片 URL。输出画布将遵循该图片的宽高比。
last_image最后一帧图片image_upload—image/* · 0–1 items可选的末帧图片 URL。提供后,视频会从首帧插值过渡到该帧。
resolution分辨率select480p480p | 540p | 768p | 1080p输出视频分辨率。768p 为模型原生画布;480p 生成更快、成本更低;540p 为中档规格,价格为 480p 的 1.5 倍。1080p 为最高质量的全高清规格,价格为 768p 的 2 倍(生成时间更长)。
duration时长select53 ~ 15 · step 1 · 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | …输出视频时长(秒)。
lorasLoRA 模型array<object>—0–3 items要应用的 LoRA 模型列表(最多 3 个)。
↳path *Pathtext——URL or the path to the LoRA weights.
↳scaleScaleslider10 ~ 4 · step 0.1The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.
seed随机种子number—step 1用于生成的随机种子。-1 表示将使用随机种子。

输出字段

字段类型说明
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-singularity/image-to-video-lora" \
  -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": "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-singularity/image-to-video-lora",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
            "image": "https://example.com/input.jpg",
            "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 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-singularity/image-to-video-lora", {
  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": "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 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 Singularity 图生视频 LoRA

将首帧图片生成带原生立体声音频的视频,可选末帧控制。

输入参数

参数必填类型、范围与默认值
prompt是描述动作、场景和声音。
image是array;必须提供 1 个图片 URL。Nami 自动转换为上游单个 URL。
last_image否array;可选末帧,最多 1 个图片 URL。
resolution否string; 480p / 540p / 768p / 1080p; default: 480p
duration否integer; 3–15; default: 5
loras否array;最多 3 个;path 必填,scale 可选,范围 0–4,默认 1。加载 LoRA 不另收费。
seed否integer; -1 = random

标准价

ResolutionUSD / secondCredits / second
480p$0.06256.25
540p$0.093759.375
768p$0.12512.5
1080p$0.2525

以下为美元原价,账户折扣另算;1 美元 = 100 积分。费用 = 输出秒数 × 所选分辨率秒价。

Nami 最终积分向上取整至 0.01 积分;原生生成的音频不另收费。

API 示例

请将示例素材 URL 替换为已上传的素材。只提交一次,再用返回的 task_uuid 查询;不要自动重试提交请求。

POST https://www.namifusion.com/api/v1/marketplace/run/minimax-h3-singularity/image-to-video-lora
Authorization: Bearer YOUR_NAMIFUSION_API_KEY
Content-Type: application/json

{
  "input": {
    "prompt": "A slow camera move through the scene, with gentle ambient sound.",
    "duration": 5,
    "resolution": "480p",
    "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

提交成功返回 task_uuid 和 status。查询至 completed 或 failed;成功结果的 output.videos 为视频 URL 数组。

原厂规格

相关模型

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

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

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

起 $0.850 / 每次
Vidu Q4 Preview 图生视频
图生视频Vidu

Vidu Q4 Preview 图生视频

根据提示词和单张图片生成 3~16 秒视频,支持可选音频和提示词扩展,以及 540p、720p、1080p、2k、4k 分辨率。

起 $0.475 / 每次
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 Spicy 图片转视频
图生视频Minimax

MiniMax H3 Spicy 图片转视频

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

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

MiniMax H3 图片转视频

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

起 $0.650 / 每次
MiniMax H3 Singularity 图生视频
图生视频Minimax H3 Singularity

MiniMax H3 Singularity 图生视频

生成带原生立体声音频的视频,支持 3–15 秒时长和四档分辨率。

起 $0.250 / 每次
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 / 每次