falImage to videoAvailable now
fal-ai/kling-video/v4/image-to-video
fal-ai/kling-video/v4/image-to-video is an image to video tool from fal that runs in the background and returns video. Pay as you go from $0.2041 per second, with one API key.
Try itfrom $0.2041 / second
Pricing
resolution: 720p $0.2041, 1080p (default) $0.3055 per second. Billed on duration, default 5, or the sum of the duration values in multi_prompt. 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. Either prompt or multi_prompt must be provided. |
start_image_url required | URL or file | — | Image to use as the first frame of the video. Max file size: 30.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s |
middle_image_urls | URLs or files | — | Ordered keyframes between the first and last frames (max 8). |
end_image_url | URL or file | — | Image to use as the last frame of the video. |
multi_prompt | JSON | — | Per-shot prompts for multi-shot generation. The video duration is the sum of the shot durations. |
duration | number (whole) 3 to 30 | 5 | Video duration in seconds (3-30). |
resolution | one of 720p, 1080p | 1080p | Output resolution. |
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/v4/image-to-video",
"input": {
"start_image_url": "https://v3b.fal.media/files/b/rabbit/NaslJIC7F2WodS6DFZRRJ.png"
}
}'