Wan 2.7 Reference to Video
fal-ai/wan/v2.7/reference-to-videoGenerate video from text and reference media with Wan 2.7 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.13 per second. Billed on duration, default 5.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 1 hour
- 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 | — | Text prompt describing the desired video. Max 5000 characters. |
reference_image_urls | URLs or files | — | Reference image URLs for character/object appearance. Pass multiple images for multi-subject generation. Max 20 MB each. |
reference_video_urls | URLs or files | — | Reference video URLs for character/object appearance and motion. Pass multiple videos for multi-subject generation. Max 100 MB each. |
negative_prompt | text | — | Content to avoid in the video. Max 500 characters. |
aspect_ratio | one of 16:9, 9:16, 1:1, 4:3, 3:4 | 16:9 | Aspect ratio of the generated video. |
resolution | one of 720p, 1080p | 1080p | Output video resolution tier. |
duration | one of 2, 3, 4, 5, 6, 7, 8, 9, 10 | 5 | Output video duration in seconds (2-10). |
multi_shots | true or false | false | When true, enables intelligent multi-shot segmentation. When false (default), generates a single continuous shot. |
seed | number (whole) | — | Random seed for reproducibility (0-2147483647). |
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": "fal-ai/wan/v2.7/reference-to-video",
"input": {
"prompt": "A person walking through a beautiful garden, cinematic style."
}
}'Frequently asked questions
How much does Wan 2.7 Reference to Video cost?
`resolution`: 720p $0.13, 1080p (default) $0.13 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 2.7 Reference to Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/wan/v2.7/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 2.7 Reference to Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Wan 2.7 Reference to Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.