# Wan 2.6 R2V 系列创建视频任务 This file is the focused AI-readable context for one UniAll documentation page. URL: https://docs.uniall.ai/zh-CN/models/video/wan-2-6/r2v-create-task Locale: zh-CN Markdown: https://docs.uniall.ai/ai/pages/zh-CN/models/video/wan-2-6/r2v-create-task.md Description: Wan 2.6 R2V 创建视频任务接口。 Agent guidance: - Use this page when the user is asking about this specific route or model capability. - Preserve endpoint paths, JSON keys, model IDs, and placeholder values exactly. - Treat examples such as `sk-***`, `{BASE_URL}`, and `task_xxx` as safe placeholders, not real secrets. ## Page Markdown ## Endpoint ```http POST /v1/video/generations ``` ## 请求体参数 | Field | Type | Required | Title | Description | | --- | --- | --- | --- | --- | | `model` | string | No | Example field | Appears in a request example; no separate field description is provided. | | `prompt` | string | No | Example field | Appears in a request example; no separate field description is provided. | | `videos` | array | No | Example field | Appears in a request example; no separate field description is provided. | | `size` | string | No | Example field | Appears in a request example; no separate field description is provided. | | `duration` | number | No | Example field | Appears in a request example; no separate field description is provided. | | `extra_body` | object | No | Example field | Appears in a request example; no separate field description is provided. | | `images` | array | No | Example field | Appears in a request example; no separate field description is provided. | ## 请求示例 ### 示例 1:视频参考 ```json { "model": "wan2.6-r2v-flash-720p-audio", "prompt": "保持相同主体身份与电影感风格,生成一段更快节奏的新镜头。", "videos": [ "https://example.com/reference-shot-1.mp4" ], "size": "1280*720", "duration": 5, "extra_body": { "negative_prompt": "watermark, blur, flicker", "audio": "https://example.com/guide-audio.mp3", "shot_type": "single", "enable_prompt_expansion": false, "seed": -1 } } ``` ```bash curl -X POST "{BASE_URL}/v1/video/generations" \ -H "Authorization: Bearer sk-***" \ -H "Content-Type: application/json" \ -d '{ "model": "wan2.6-r2v-flash-720p-audio", "prompt": "保持相同主体身份与电影感风格,生成一段更快节奏的新镜头。", "videos": [ "https://example.com/reference-shot-1.mp4" ], "size": "1280*720", "duration": 5, "extra_body": { "negative_prompt": "watermark, blur, flicker", "audio": "https://example.com/guide-audio.mp3", "shot_type": "single", "enable_prompt_expansion": false, "seed": -1 } }' ``` ### 示例 2:多图参考 ```json { "model": "wan2.6-r2v-flash-1080p-silent", "prompt": "保持相同产品身份与风格,生成一段干净的营销视频。", "images": [ "https://example.com/ref-1.png", "https://example.com/ref-2.png" ], "size": "1920*1080", "duration": 10, "extra_body": { "negative_prompt": "watermark, blur", "shot_type": "multi", "enable_prompt_expansion": true, "seed": 42 } } ``` ```bash curl -X POST "{BASE_URL}/v1/video/generations" \ -H "Authorization: Bearer sk-***" \ -H "Content-Type: application/json" \ -d '{ "model": "wan2.6-r2v-flash-1080p-silent", "prompt": "保持相同产品身份与风格,生成一段干净的营销视频。", "images": [ "https://example.com/ref-1.png", "https://example.com/ref-2.png" ], "size": "1920*1080", "duration": 10, "extra_body": { "negative_prompt": "watermark, blur", "shot_type": "multi", "enable_prompt_expansion": true, "seed": 42 } }' ``` ## 响应字段 | Field | Type | Required | Title | Description | | --- | --- | --- | --- | --- | ## 响应示例 ### 示例 1 ```json {} ```