Wan v2.6 Reference to Video
wan/v2.6/reference-to-videoEdit and transform video with Wan v2.6 Reference to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
resolution: 720p $0.13, 1080p (default) $0.195 per second. Billed on duration, default 5.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Use @Video1, @Video2, @Video3 to reference subjects from your videos. Works for people, animals, or objects. For multi-shot prompts: '[0-3s] Shot 1. [3-6s] Shot 2.' Max 1500 characters. |
video_urls required | URLs or files | — | Reference videos for subject consistency (1-3 videos). Videos' FPS must be at least 16 FPS.Reference in prompt as @Video1, @Video2, @Video3. Works for people, animals, or objects. |
aspect_ratio | one of 16:9, 9:16, 1:1, 4:3, 3:4 | 16:9 | The aspect ratio of the generated video. |
resolution | one of 720p, 1080p | 1080p | Video resolution tier. R2V only supports 720p and 1080p (no 480p). |
duration | one of 5, 10 | 5 | Duration of the generated video in seconds. R2V supports only 5 or 10 seconds (no 15s). |
negative_prompt | text | Negative prompt to describe content to avoid. Max 500 characters. | |
enable_prompt_expansion | true or false | true | Whether to enable prompt rewriting using LLM. |
multi_shots | true or false | true | When true (default), enables intelligent multi-shot segmentation for coherent narrative videos with multiple shots. When false, generates single continuous shot. Only active when enable_prompt_expansion is True. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "wan/v2.6/reference-to-video",
"input": {
"prompt": "Dance battle between @Video1 and @Video2.",
"video_urls": [
"<video_urls>"
]
}
}'Frequently asked questions
How much does Wan v2.6 Reference to Video cost?
`resolution`: 720p $0.13, 1080p (default) $0.195 per second. Billed on `duration`, default 5. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Wan v2.6 Reference to Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "wan/v2.6/reference-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Wan v2.6 Reference to Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Wan v2.6 Reference to Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.