ReplicateText to videoComing soon
kwaivgi/kling-o1
kwaivgi/kling-o1 is a text to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
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 prompt for video generation. Can include references like <<<image_1>>>, <<<video_1>>> to reference inputs. |
mode | JSON | pro | Video generation mode. 'std' is cost-effective, 'pro' has higher quality. |
duration | JSON | 5 | Video duration in seconds. For text/image-to-video: 5 or 10. With video reference (feature type): 3-10. Ignored for video editing (base type). |
end_image | text | — | Last frame image for the video. Requires start_image to be set. Supports .jpg/.jpeg/.png, max 10MB. |
start_image | text | — | First frame image for the video. Supports .jpg/.jpeg/.png, max 10MB. |
aspect_ratio | JSON | 16:9 | Aspect ratio of the generated video. Required for text-to-video. Ignored when using first frame image or video editing. |
reference_video | text | — | Reference video for style, camera movement, or as base for editing. Supports .mp4/.mov, 3-10s duration, max 200MB. |
reference_images | list | — | Reference images for elements, scenes, or styles (up to 7 without video, 4 with video). Supports .jpg/.jpeg/.png. |
keep_original_sound | true or false | true | Whether to keep the original sound from the reference video. |
video_reference_type | JSON | feature | How to use the reference video: 'feature' for style/camera reference, 'base' for video editing. |
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": "replicate",
"model": "kwaivgi/kling-o1",
"input": {
"prompt": "<prompt>"
}
}'