Kling Video 4K · Reference to Video
fal-ai/kling-video/o3/4k/reference-to-videoGenerate video from text and reference media with Kling Video 4K · 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
$0.546 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 | text | — | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. |
multi_prompt | JSON | — | List of prompts for multi-shot video generation. |
start_image_url | URL or file | — | Image to use as the first frame of the video. |
end_image_url | URL or file | — | Image to use as the last frame of the video. |
image_urls | URLs or files | — | Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images) is allowed. |
elements | JSON | — | Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2. |
generate_audio | true or false | false | Whether to generate native audio for the video. |
duration | one of 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | 5 | Video duration in seconds (3-15s). |
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. |
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/o3/4k/reference-to-video",
"input": {
"prompt": "@Element1 and @Element2 enters the scene from two sides. Elephant starts to play with the ball"
}
}'Frequently asked questions
How much does Kling Video 4K · Reference to Video cost?
$0.546 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 Kling Video 4K · Reference to Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/kling-video/o3/4k/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 Kling Video 4K · Reference to Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Kling Video 4K · Reference to Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.