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 pending

Pricing

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

FieldKindDefaultDescription
prompt requiredtext—Text prompt for video generation. Can include references like <<<image_1>>>, <<<video_1>>> to reference inputs.
modeJSONproVideo generation mode. 'std' is cost-effective, 'pro' has higher quality.
durationJSON5Video 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_imagetext—Last frame image for the video. Requires start_image to be set. Supports .jpg/.jpeg/.png, max 10MB.
start_imagetext—First frame image for the video. Supports .jpg/.jpeg/.png, max 10MB.
aspect_ratioJSON16:9Aspect ratio of the generated video. Required for text-to-video. Ignored when using first frame image or video editing.
reference_videotext—Reference video for style, camera movement, or as base for editing. Supports .mp4/.mov, 3-10s duration, max 200MB.
reference_imageslist—Reference images for elements, scenes, or styles (up to 7 without video, 4 with video). Supports .jpg/.jpeg/.png.
keep_original_soundtrue or falsetrueWhether to keep the original sound from the reference video.
video_reference_typeJSONfeatureHow 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>"
    }
  }'