wan2.6-r2v API Usage Guide
Overview
wan2.6-r2v performs reference-to-video generation. Requests are submitted via the request-queue API and results are retrieved by polling.Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:Submit Video Generation Request
Base URL
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
model | string | Yes | Model identifier | - | Must be "wan2.6-r2v" |
payload.prompt | string | No | Text prompt describing the scene; reference characters with character1, character2, etc. | "" | Max 1500 characters |
payload.reference_video_urls | array of strings (URLs) | Yes | Reference videos used to extract appearance/voice | - | 1–3 videos; each contains one character; order maps to character1..3 |
payload.negative_prompt | string | No | What to avoid in the video | "" | Max 500 characters |
payload.size | string (enum) | No | Output resolution | ”1920*1080” | Options: “1280*720”, “720*1280”, “960*960”, “1088*832”, “832*1088”, “1920*1080”, “1080*1920”, “1440*1440”, “1632*1248”, “1248*1632” |
payload.duration | integer (enum) | No | Video length in seconds | 5 | Options: 5, 10 |
payload.shot_type | string (enum) | No | Single vs multi-shot sequencing | ”single” | Options: “single”, “multi” |
payload.watermark | boolean | No | Add fixed AI Generated watermark | false | - |
payload.seed | integer | No | Random seed for reproducibility | - | 0–2147483647 |
Response
Check Request Status
Endpoint
Example
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting to be processed |
processing | Video generation is in progress |
success | Video generation completed successfully |
failed | Video generation failed |
cancelled | Request was cancelled |