falText to videoAvailable now
xai/grok-imagine-video/v1.5/text-to-video
xai/grok-imagine-video/v1.5/text-to-video is a text to video tool from fal that runs in the background and returns video. Pay as you go from $0.013 per fal unit ($0.01), with one API key.
Try itfrom $0.013 / fal unit ($0.01)
Pricing
resolution: 480p $0.104, 720p (default) $0.182, 1080p $0.325 per second. Billed on duration, default 6. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 3600s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text description of the desired video. |
duration | number (whole) 1 to 15 | 6 | Video duration in seconds. |
resolution | one of 480p, 720p, 1080p | 720p | Resolution of the output video. |
aspect_ratio | one of 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 | 16:9 | Aspect ratio of the generated video. |
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": "xai/grok-imagine-video/v1.5/text-to-video",
"input": {
"prompt": "Anime schoolgirl bursting out of house door, cherry blossoms blowing, morning light, speed lines indicating rush, chibi-ready expressions, classic shojo…"
}
}'