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

# Wan 2.6 R2V Flash

> 萬相 2.6 參考生影片高速版，用於保持參考主體一致性的影片創作。

<link rel="alternate" hrefLang="en" href="https://mixroute.ai/docs/model-api/alibaba/wan2.6-r2v-flash" />

<link rel="alternate" hrefLang="zh-Hans" href="https://mixroute.ai/docs/zh-hans/model-api/alibaba/wan2.6-r2v-flash" />

<link rel="alternate" hrefLang="zh-Hant" href="https://mixroute.ai/docs/zh-hant/model-api/alibaba/wan2.6-r2v-flash" />

<link rel="alternate" hrefLang="ja" href="https://mixroute.ai/docs/ja/model-api/alibaba/wan2.6-r2v-flash" />

<link rel="alternate" hrefLang="x-default" href="https://mixroute.ai/docs/model-api/alibaba/wan2.6-r2v-flash" />

萬相 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，通過[查詢影片任務](/docs/zh-hant/api-reference/endpoint/query-video-task)輪詢到終態；不要僅因客戶端超時而重複提交。

完整請求格式見[介面說明](/docs/zh-hant/api-reference/endpoint/wan)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.