> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wan 2.6 R2V Flash

> 万相 2.6 参考生视频高速版，用于保持参考主体一致性的视频创作。

万相 2.6 参考生视频高速版，用于保持参考主体一致性的视频创作。

## 模型信息

| 字段         | 说明                         |
| ---------- | -------------------------- |
| `model`    | wan2.6-r2v-flash           |
| `endpoint` | POST /v1/video/generations |

## 能力与使用

* 必须提供 metadata.input.prompt 和 reference\_urls。使用 metadata.parameters.size，例如 1280\*720；duration 为 2-10 的整数秒。
* metadata.parameters.audio 默认为 true，设为 false 输出无声视频；在 I2V Flash 中优先于 input.audio\_url。
* model 放在顶层，input/parameters 放在 metadata 内；不要在万相 2.6 请求中套用 2.7 的 media 结构。

## 请求示例

调用前设置 `MIXROUTE_API_KEY`。

将 example.com 地址替换为公开可访问的输入图片。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/video/generations" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "wan2.6-r2v-flash",
  "metadata": {
    "input": {
      "prompt": "Show character1 on a white tabletop. Static camera.",
      "reference_urls": [
        "https://example.com/reference.png"
      ]
    },
    "parameters": {
      "size": "1280*720",
      "duration": 2,
      "audio": false
    }
  }
}'
```

## 请求字段

| 字段                    | 说明              |
| --------------------- | --------------- |
| `model`               | 必填，使用上方完整模型 ID。 |
| `metadata.input`      | 提示词及对应模型的媒体输入。  |
| `metadata.parameters` | 对应模型的生成设置。      |

提交后创建异步任务。保存返回的 MixRoute 任务 ID，通过[查询视频任务](/cn/api-reference/endpoint/query-video-task)轮询到终态；不要仅因客户端超时而重复提交。

完整请求格式见[接口说明](/cn/api-reference/endpoint/wan)。
