---
title: "万相 3.0 Spicy API:审核更宽松的万相 3.0 视频,$0.06/秒起｜APIMODELS"
description: "万相 3.0 Spicy API 参数文档:走审核更宽松渠道的万相 3.0。文生、首尾帧或全能参考,单镜 30 秒带音轨,标准 / prime 两档。$0.06/秒起,不收文档输入,失败不扣费。附 cURL / Python / Node 示例。"
canonical: https://apimodels.app/zh/docs/wan-3-0-spicy
markdown: https://apimodels.app/zh/docs/wan-3-0-spicy.md
language: zh
source: "Generated from the HTML docs page at the canonical URL; the HTML page is the source of truth. Docs index: https://apimodels.app/llms.txt"
---

# 万相 3.0 Spicy API

万相 3.0 Spicy 是走审核更宽松那条渠道的阿里万相 3.0。模型和万相 3.0 视频是同一个:文生视频、首帧 / 首尾帧图生视频,以及「全能参考」—— 最多 10 张参考图 + 5 段参考视频 + 5 段参考音频。原生单镜最长 30 秒、30fps,自带同步音轨;标准档和高速档(prime)用同一个模型名。按秒计费,标准档 $0.06/秒起。和万相 3.0 视频相比:审核更宽松,不收文档和网页输入,只有一条渠道、没有自动兜底,单价更高。走 apimodels.app 统一视频端点,请求格式与万相 3.0 视频一致,两边切换只改 model 字段。

## 价格(按秒)

按秒计费。不带参考视频时按输出秒数计;带参考视频时按【输入视频时长 + 输出时长】计。参考图、参考音频不额外收费,音轨开关不影响价格。

| 档位 / 分辨率         | 单价       | 5 秒   | 10 秒  | 30 秒   |
| ---------------- | -------- | ----- | ----- | ------ |
| standard · 480P  | $0.06/s  | $0.30 | $0.60 | $1.80  |
| standard · 720P  | $0.12/s  | $0.60 | $1.20 | $3.60  |
| standard · 1080P | $0.24/s  | $1.20 | $2.40 | $7.20  |
| prime · 480P     | $0.096/s | $0.48 | $0.96 | $2.88  |
| prime · 720P     | $0.196/s | $0.98 | $1.96 | $5.88  |
| prime · 1080P    | $0.392/s | $1.96 | $3.92 | $11.76 |

- 费用 = 单价 × 计费秒数。例:不带参考视频的 10 秒 1080p 是 $2.40;再加一段 10 秒的参考视频,按 20 秒计,$4.80。
- 传 duration: -1(智能时长)时,我们按 30 秒的最坏情况冻结额度,拿到真实输出秒数后按实际扣费、差额退回。
- 失败不扣费,被审核拒掉的任务同样不扣费。

## 和万相 3.0 视频的区别

|           | wan-3.0-spicy                           | wan-3.0-video |
| --------- | --------------------------------------- | ------------- |
| 审核        | 更宽松                                     | 上游默认          |
| 文档 / 网页输入 | 不支持(400)                                | 支持            |
| 渠道        | 一条,没有自动兜底                               | 主渠道 + 自动兜底    |
| 标准档 480P  | $0.06/s                                 | $0.045/s      |
| 其余能力      | 相同:文生、首尾帧、全能参考,单镜 30 秒带音轨,标准 / prime 两档 |               |

建议先用万相 3.0 视频,提示词或素材被它的审核拒了再换 wan-3.0-spicy,请求体只改 model 一个字段。

## 创建任务

`POST /api/v1/video/generations` —— 异步:创建后轮询同一个端点取结果。

```bash
# Step 1: Create task (text-to-video)
curl -X POST https://api.apimodels.app/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-3.0-spicy",
    "prompt": "A dancer in a red silk dress spinning slowly in a candlelit room, camera circling her",
    "resolution": "720P",
    "ratio": "9:16",
    "duration": 5
  }'

# Omni reference: swap the person in video 1 for the character in figure 1
curl -X POST https://api.apimodels.app/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-3.0-spicy",
    "mode": "prime",
    "prompt": "Replace the person in video 1 with the character from figure 1, keep the motion, framing and audio",
    "reference_image_urls": ["https://apimodels.app/access/ecommerce-product-image-editing/white-background-nano-banana-2-1.jpg"],
    "reference_video_urls": ["https://apimodels.app/models/ltx-2.5-fast/voice.mp4"],
    "resolution": "720P",
    "duration": 5
  }'

# Step 2: Poll status
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python
import requests, time

API_KEY = "YOUR_API_KEY"
ENDPOINT = "https://api.apimodels.app/v1/video/generations"

# Step 1: Create task.
#   text-to-video       -> prompt only
#   first / last frame  -> first_frame_url [+ last_frame_url]
#   omni-reference      -> reference_image_urls / reference_video_urls / reference_audio_urls
#   NOTE: frame mode and reference mode are mutually exclusive.
#   NOTE: file_url / link_url are NOT accepted on wan-3.0-spicy (use wan-3.0-video for those).
res = requests.post(ENDPOINT,
    headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"},
    json={
        "model": "wan-3.0-spicy",
        "mode": "standard",                # "standard"(default) | "prime" (high-speed tier)
        "prompt": "A dancer in a red silk dress spinning slowly in a candlelit room",
        "resolution": "720P",              # 480P / 720P / 1080P — we default to 720P
        "ratio": "9:16",                   # adaptive (default) / 16:9 / 4:3 / 1:1 / 3:4 / 9:16
        "duration": 5,                     # 2-30, or -1 to let the model choose
    }
)
task_id = res.json()["data"]["taskId"]
print(f"Task created: {task_id}")

# Step 2: Poll for result
while True:
    status = requests.get(f"{ENDPOINT}?task_id={task_id}",
        headers={"Authorization": f"Bearer {API_KEY}"}).json()
    state = status["data"]["state"]
    print(f"Status: {state}")
    if state == "completed":
        print(f"Video: {status['data']['resultUrls'][0]}")
        break
    elif state == "failed":
        print(f"Failed: {status['data']['failMsg']}")
        break
    time.sleep(10)
```

```javascript
const API_KEY = 'YOUR_API_KEY';
const ENDPOINT = 'https://api.apimodels.app/v1/video/generations';

async function generate() {
  // Step 1: Create task
  const res = await fetch(ENDPOINT, {
    method: 'POST',
    headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json' },
    body: JSON.stringify({
      model: 'wan-3.0-spicy',
      mode: 'standard',              // 'standard'(default) | 'prime' (high-speed tier)
      prompt: 'A dancer in a red silk dress spinning slowly in a candlelit room',
      resolution: '720P',            // 480P / 720P / 1080P — we default to 720P
      ratio: '9:16',
      duration: 5,                   // 2-30, or -1 for smart duration
    }),
  });
  const { data } = await res.json();
  console.log('Task created:', data.taskId);

  // Step 2: Poll for result
  while (true) {
    const r = await fetch(`${ENDPOINT}?task_id=${data.taskId}`, {
      headers: { 'Authorization': `Bearer ${API_KEY}` },
    });
    const s = (await r.json()).data;
    console.log('Status:', s.state);
    if (s.state === 'completed') { console.log('Video:', s.resultUrls[0]); break; }
    if (s.state === 'failed') { console.log('Failed:', s.failMsg); break; }
    await new Promise(r => setTimeout(r, 10000));
  }
}
generate();
```

## 三种用法

| 用法       | 传什么                                                                |
| -------- | ------------------------------------------------------------------ |
| 文生视频     | 只传 prompt                                                          |
| 首帧 / 首尾帧 | first_frame_url \[+ last_frame_url\]                               |
| 全能参考     | reference_image_urls / reference_video_urls / reference_audio_urls |

首帧 / 尾帧与参考类素材互斥,不能在同一个请求里混用,我们在本地就先拦下并说明是哪两边冲突。file_url 和 link_url 在这个模型上不收,传了直接返回 400,不会悄悄忽略后照常收费 —— 要文档或网页生视频,用 wan-3.0-video。

全能参考模式下,提示词里用「图1」「视频1」「音频1」按顺序指代素材(图、视频、音频各自独立编号),例如「把视频1 里的人换成图1 的角色,动作和镜头保持不变」。

## 请求参数

| 字段                   | 必填 | 类型         | 说明                                                                                                                |
| -------------------- | -- | ---------- | ----------------------------------------------------------------------------------------------------------------- |
| model                | 是  | string     | "wan-3.0-spicy"(别名 "wan3.0-spicy")                                                                                |
| mode                 | 否  | string     | "standard"(默认)或 "prime"。prime 是高速档,单价按分辨率高 60–63%;两档能力一致。在万相 3.0 视频上同一条 480p 5 秒任务 prime 58 秒、标准 356 秒,这条渠道没有单独计时 |
| prompt               | 否  | string     | 视频描述。prompt 与素材至少传一个                                                                                              |
| first_frame_url      | 否  | string     | 首帧图,严格作为第一帧。与参考类素材互斥                                                                                              |
| last_frame_url       | 否  | string     | 尾帧图,严格作为最后一帧                                                                                                      |
| reference_image_urls | 否  | string\[\] | 参考图,最多 10 张。提示词里按顺序称「图1」「图2」                                                                                      |
| reference_video_urls | 否  | string\[\] | 参考视频,最多 5 段,单段至少 1 秒、总时长 ≤15 秒;秒数计入计费                                                                             |
| reference_audio_urls | 否  | string\[\] | 参考音频,最多 5 段,总时长 ≤15 秒(wav / mp3)                                                                                  |
| resolution           | 否  | string     | "480P" / "720P" / "1080P"。省略时默认 720P                                                                              |
| ratio                | 否  | string     | "adaptive"(默认,按输入素材自动挑)、"16:9"、"4:3"、"1:1"、"3:4"、"9:16"                                                           |
| duration             | 否  | number     | 2-30 秒,默认 5;传 -1 为智能时长。有参考视频时:输入视频总时长 + 输出时长 ≤ 30 秒                                                               |
| audio                | 否  | boolean    | 输出是否含音轨,默认 true。关掉不降价                                                                                             |
| prompt_extend        | 否  | boolean    | 提示词智能改写,默认 true                                                                                                   |
| seed                 | 否  | number     | 随机种子,0-2147483647                                                                                                 |
| callback_url         | 否  | string     | 任务完成后的回调 URL                                                                                                      |

## 「宽松审核」的边界

- 这条渠道的上游筛查比万相 3.0 视频默认那条松,我们自己也不对成人内容另加拦截。
- 涉及未成年人的内容,我们在提交前一律拦截。
- 上游仍会筛查输入和输出。参考图或参考视频里出现公众人物的样貌会被拒,报错为「The input content is suspected to include the likeness of a public figure」。
- 被拒的任务不扣费。生成内容的审核、遵守法律和你所在平台的规则、只使用已获同意的人物素材,由你自己负责。

## 取回结果

创建接口立即返回 data.taskId,视频在后台生成。带上 task_id 向同一个端点发 GET,读 data.state:pending 表示还在跑,completed 时 data.resultUrls\[0\] 是 MP4 地址,failed 时 data.failMsg 是原因。不想轮询就传 callback_url。

- 建议 10-15 秒轮询一次。
- 输出为 H.264 MP4,30fps。
- 结果视频保存 30 天后自动删除,请及时下载或转存。
- 这个模型没有兜底渠道:上游故障时任务会直接失败(不扣费),不会换渠道重跑。对可用性要求高的流程,失败后可改用 wan-3.0-video 重发。

## 相关

- [万相 3.0 Spicy 模型页 / 在线试用](https://apimodels.app/zh/models/wan-3.0-spicy)
- [万相 3.0 视频 API(含文档 / 网页生视频)](https://apimodels.app/zh/docs/wan-3-0-video)
- [Wan 2.7 Spicy 图生视频](https://apimodels.app/zh/docs/wan-2-7-i2v-spicy)
- [视频 API 总览](https://apimodels.app/zh/docs)

## 常见问题

**万相 3.0 Spicy 多少钱?**

按秒计费:标准档 480p $0.06/秒、720p $0.12/秒、1080p $0.24/秒;prime $0.096、$0.196、$0.392。5 秒 720p 是 $0.60。参考视频按自身秒数计入,参考图和参考音频不收费,失败或被拒的任务不扣费。

**万相 3.0 Spicy 和万相 3.0 视频有什么区别?**

模型和请求格式相同。Spicy 走审核更宽松的渠道,不收 file_url / link_url(返回 400),没有自动兜底渠道,单价更高。先用 wan-3.0-video,被它的审核拒了再把 model 换成 wan-3.0-spicy。

**万相 3.0 Spicy 还会拒什么?**

涉及未成年人的内容我们一律拦截;上游仍会筛查输入和输出;参考图或参考视频里出现公众人物的样貌会被拒(报错 suspected to include the likeness of a public figure)。被拒的任务不扣费。

**有免费的 Wan Spicy API 吗?**

没有免费档,也没有不限量套餐。按用量从预付余额扣费,最低充值 $10;480p 2 到 5 秒的测试片 $0.12 到 $0.30。
