Vidu
fal-ai/vidu/q2/text-to-videoGenerate video from text with Vidu from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
resolution: 360p $0.13 per run, 1080p $0.26 per run plus $0.13 per unit of duration, 520p $0.26 per run, 720p (default) $0.39 per run. Billed on duration, default 4.
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 for video generation, max 3000 characters |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
duration | one of 2, 3, 4, 5, 6, 7, 8 | 4 | Duration of the video in seconds |
resolution | one of 360p, 520p, 720p, 1080p | 720p | Output video resolution |
aspect_ratio | one of 16:9, 9:16, 1:1 | 16:9 | The aspect ratio of the output video |
movement_amplitude | one of auto, small, medium, large | auto | The movement amplitude of objects in the frame |
bgm | true or false | false | Whether to add background music to the video (only for 4-second videos) |
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/vidu/q2/text-to-video",
"input": {
"prompt": "A cinematic shot of a futuristic city at sunset, with flying cars and towering skyscrapers."
}
}'Frequently asked questions
How much does Vidu cost?
`resolution`: 360p $0.13 per run, 1080p $0.26 per run plus $0.13 per unit of `duration`, 520p $0.26 per run, 720p (default) $0.39 per run. Billed on `duration`, default 4. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Vidu through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/vidu/q2/text-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 Vidu?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Vidu?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.