把一个暧昧灵感,变成电影感视频。

写下场景,直接用 Wan 3.0 生成;开始时不需要配置 API。
生成 Prompt
158/5000
480P–1080P5 秒16:9可选原生音频
用 Wan 3.0 生成这个场景需要完成一次 18+ 确认;正式运行前会显示预计价格。示例:5 秒、480P 视频预计 $0.1925。生成前会按你的参数显示预估费用。常规一次性充值 $10 起,首次充值选项见充值页。无需订阅,草稿会保留。
样片结果Demo
5 秒 · 16:9
$0.0385 / 秒

API 接入说明

从服务端接入此模型。下方参数和价格直接取自 ModelRush 当前模型注册表。
创建具有视频权限且允许此模型的 API Key,并在 ModelRush 账户完成成人访问确认。密钥只保存在服务端。同一次提交重试时复用相同的 Idempotency-Key。
generate-video.mjsjavascript
const origin = "https://api.modelrush.ai";
const headers = {
Authorization: `Bearer ${process.env.MODELRUSH_API_KEY}`,
"Content-Type": "application/json",
};
const submissionKey = crypto.randomUUID();
const response = await fetch(origin + "/v1/videos/generations", {
method: "POST",
headers: { ...headers, "Idempotency-Key": submissionKey },
body: JSON.stringify({
"mode": "text-to-video",
"audio": true,
"ratio": "16:9",
"prompt": "Two adults in evening attire exchange a lingering look in a candlelit penthouse, cinematic close-up, soft shadows, subtle movement",
"duration": 5,
"resolution": "1080P",
"model": "modelrush/wan3-spicy",
"region": "auto"
}),
});
if (!response.ok) throw new Error(await response.text());
const job = await response.json();
console.log({ id: job.id, poll_url: job.poll_url });
let finished = false;
for (let attempt = 0; attempt < 60; attempt++) {
await new Promise(resolve => setTimeout(resolve, 10000));
const statusResponse = await fetch(new URL(job.poll_url, origin), {
headers,
});
if (!statusResponse.ok) throw new Error(await statusResponse.text());
const result = await statusResponse.json();
if (result.status === "failed") throw new Error(JSON.stringify(result.error));
if (result.status === "completed") {
console.log(result.video_url);
finished = true;
break;
}
}
if (!finished) console.log({ id: job.id, poll_url: job.poll_url });
HTTP 202 表示任务已排队。保存 id 和 poll_url,携带同一 API Key 轮询,直到 completed 或 failed。视频成功响应包含 video_url。请在 24 小时内下载结果。轮询超时不会取消任务,可使用保存的 poll_url 继续查询。
text-to-video 需要提示词;image-to-video 需要 first_frame,可选 last_frame;reference-to-video 至少需要一组参考素材。首尾帧不能与参考数组混用。素材链接应可公开访问;region 可设为 auto。duration = -1 表示智能时长。参考视频与生成视频的总时长不能超过 30 秒。图片支持公开链接或 Base64(JPEG、PNG、BMP、WebP data URI);视频和音频参考必须提供可访问链接。网关会在提交前检查素材类型及参考视频时长。
参数是否必填允许值与限制
mode可选text-to-video · image-to-video · reference-to-video
seed可选integer; 最小值: 0; 最大值: 2147483647
audio必填boolean
model必填"modelrush/wan3-spicy"
ratio必填adaptive · 16:9 · 4:3 · 1:1 · 3:4 · 9:16
prompt可选string; 最多字符数: 20000
region可选string
duration必填-1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30
last_frame可选string; 最少字符数: 1
resolution必填480P · 720P · 1080P
first_frame可选string; 最少字符数: 1
reference_audios可选array; 最多项目数: 5
reference_images可选array; 最多项目数: 10
reference_videos可选array; 最多项目数: 5
input.schema.jsonjson
{
"type": "object",
"required": [
"model",
"duration",
"resolution",
"ratio",
"audio"
],
"properties": {
"mode": {
"enum": [
"text-to-video",
"image-to-video",
"reference-to-video"
]
},
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"audio": {
"type": "boolean"
},
"model": {
"const": "modelrush/wan3-spicy"
},
"ratio": {
"enum": [
"adaptive",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16"
]
},
"prompt": {
"type": "string",
"maxLength": 20000
},
"region": {
"type": "string"
},
"duration": {
"enum": [
-1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30
],
"type": "integer"
},
"last_frame": {
"type": "string",
"minLength": 1
},
"resolution": {
"enum": [
"480P",
"720P",
"1080P"
]
},
"first_frame": {
"type": "string",
"minLength": 1
},
"reference_audios": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 5
},
"reference_images": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 10
},
"reference_videos": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 5
}
}
}

当前 API 价格

以下为客户美元售价,按秒计费。参考视频请求的计费时长包含输入参考视频;智能时长在生成后结算。不要只用落地页的示例费用推算所有请求。
模型能力执行 Region价格变体客户价格
Wan 3 Spicy · modelrush/wan3-spicy视频生成us-virginia1080P$0.154 / 秒
Wan 3 Spicy · modelrush/wan3-spicy视频生成us-virginia480P$0.0385 / 秒
Wan 3 Spicy · modelrush/wan3-spicy视频生成us-virginia720P$0.077 / 秒

错误与访问权限

401:检查 API Key;403:检查密钥权限与成人访问确认;400:检查此模型的参数结构及所选模式的输入;429:按 Retry-After 等待后重试。排查失败任务时请保留请求 ID。
© 2026 ModelRush