Nami Wan 2.7 I2V Spicy Prime
nami-wan2.7-i2v-spicy-prime
根据参考图片和提示词生成 2–15 秒视频,支持 720p/1080p 输出与可选音频引导。
示例
参数
| 名称 | 类型 | 默认 | 约束 | 说明 |
|---|---|---|---|---|
| image *参考图片 | image_upload | — | image/jpeg,image/png,image/bmp,image/webp,image/* | 支持 JPEG、PNG、BMP、WEBP;尺寸 240–8000 像素,宽高比 1:8 至 8:1,最大 20 MB。 |
| prompt *提示词 | textarea | — | — | |
| negative_prompt反向提示词 | textarea | — | — | |
| audio_url音频引导 | audio_upload | — | audio/wav,audio/mpeg,audio/* | 可选 HTTPS WAV 或 MP3,时长 2–30 秒,最大 15 MB。 |
| audio输出音频 | boolean | true | — | 关闭后输出静音视频,即使已提供音频引导。 |
| resolution分辨率 | select | 1080p | 720p | 1080p | |
| duration时长(秒) | slider | 5 | 2 ~ 15 · step 1 | |
| prompt_extend优化提示词 | boolean | true | — | |
| seed随机种子 | number | — | 0 ~ 2147483647 · step 1 |
输出字段
| 字段 | 类型 | 说明 |
|---|---|---|
| videos | array<string> | Generated video URLs |
API
通过统一 REST API 调用本模型;在 API Keys 页获取密钥。
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/nami-wan2.7-i2v-spicy-prime" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.jpg",
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"audio": true,
"resolution": "1080p",
"duration": 5,
"prompt_extend": true
}
}'
# 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/nami-wan2.7-i2v-spicy-prime",
headers=HEADERS,
json={
"input": {
"image": "https://example.com/input.jpg",
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"audio": True,
"resolution": "1080p",
"duration": 5,
"prompt_extend": True
}
},
)
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 600s server-side.
deadline = time.time() + 660
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/nami-wan2.7-i2v-spicy-prime", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"image": "https://example.com/input.jpg",
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"audio": true,
"resolution": "1080p",
"duration": 5,
"prompt_extend": true
}
}),
});
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 600s server-side.
const deadline = Date.now() + 660 * 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);文档
Nami Wan 2.7 I2V Spicy Prime
根据一张参考图片和文本提示词生成视频。结果通过 videos 数组返回。
参数
image(必填):JPEG、PNG、BMP 或 WEBP;尺寸 240–8000 像素;宽高比 1:8 至 8:1;最大 20 MB。prompt(必填):描述场景和运动。negative_prompt(可选):描述需要避免的元素。audio_url(可选):HTTPS WAV 或 MP3,时长 2–30 秒,最大 15 MB。audio(默认true):是否输出音轨。设为false时,即使提供audio_url也输出静音视频。resolution(默认1080p):可选720p或1080p。duration(默认5):2–15 秒。prompt_extend(默认true):生成前优化提示词。seed(可选):0 至 2147483647 的整数。
计费
720p 每秒 13 积分;1080p 每秒 20 积分。
相关模型
Nami Wan 2.2 I2V Spicy A
WAN 2.2 Spicy 将图片转换为无限高质量的视频,具有流畅动画,优化用于可扩展内容生成。即用型 REST 推理 API,最佳性能,无冷启动,价格实惠。
Wan 2.2 动画
Wan 2.2 动画是一个统一的角色动画和替换模型,可从驱动视频中复制动作和表情。它将单张角色图片转换为完整的表演,在保持输出稳定、逼真和身份一致的同时复制身体动作和面部表情。可生成最长120秒的720p视频。
Vidu Q3 图片转视频
Vidu Q3 图片转视频将文本提示词转化为高质量视频,具有卓越的视觉保真度和多样的运动。即用型 REST 推理 API,最佳性能,无冷启动,价格实惠。
Pixverse V6 Reference to Video
PixVerse V6 角色/多图参考模式(Fusion),支持输入1-3张参考图(主体、角色或背景),配合文本提示词精准保持角色一致性与叙事连贯性,并自带原生同步音效。提供企业级 REST 推理 API,无冷启动、高并发,完美契合动漫制作、游戏美术及多镜头短片开发。
Pixverse V6 Image to Video
PixVerse V6 图生视频功能(全面集成单图生成与首尾帧衔接),支持将单张或双张图像转化为具备电影级超清画质、逼真物理交互与极致连贯性的动态片段——完美契合高级分镜控制、无缝循环动效及商业营销短片。提供企业级 REST 推理 API,高并发、无冷启动,性能卓越且价格实惠。
Pixverse V5 T2V
PixVerse V5 文本生成视频可在数秒内根据提示词生成流畅自然的5秒视频,支持720p输出(每5秒$0.20)。提供即用型REST推理API,性能最佳,无冷启动,价格实惠。
Pixverse V5 I2V
PixVerse V5 将图片转换为短视频,视频流畅且自然。5秒视频:$0.15(360p/540p),$0.20(720p),$0.40(1080p)。提供即用型 REST 推理 API,性能最佳,无冷启动,价格实惠。
Pixverse V5.6 文本生成视频
PixVerse V5.6 可在几秒钟内将提示词转化为逼真的视频,具有流畅的运动和自然的细节,非常适合故事、广告和社交短片。提供即用型 REST 推理 API,性能最佳,无冷启动,价格实惠。