falText to videoAvailable now
fal-ai/kling-video/v3/pro/text-to-video
fal-ai/kling-video/v3/pro/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.1456 per second, with one API key.
Try itfrom $0.1456 / second
Pricing
generate_audio: false $0.1456, true (default) $0.2184 per second. Billed on duration, default 5. 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 | text | — | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. |
duration | one of 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | 5 | The duration of the generated video in seconds |
multi_prompt | JSON | — | List of prompts for multi-shot video generation. If provided, overrides the single prompt and divides the video into multiple shots with specified prompts and durations. |
generate_audio | true or false | true | Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. |
shot_type | one of customize, intelligent | customize | The type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure. |
aspect_ratio | one of 16:9, 9:16, 1:1 | 16:9 | The aspect ratio of the generated video frame |
negative_prompt | text | blur, distort, and low quality | |
cfg_scale | number 0 to 1 | 0.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. |
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/kling-video/v3/pro/text-to-video",
"input": {}
}'