ReplicateImage to videoComing soon

kwaivgi/kling-v2.1

kwaivgi/kling-v2.1 is an image 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.

Priced by usage

Pricing

mode: standard (default) $0.065, pro $0.117 per second. Billed on duration, default 5.

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
start_image requiredtext—First frame of the video. You must use a start image with kling-v2.1.
modeJSONstandardStandard has a resolution of 720p, pro is 1080p. Both are 24fps.
durationJSON5Duration of the video in seconds
end_imagetext—Last frame of the video (pro mode is required when this parameter is set)
negative_prompttextThings you do not want to see in the video

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-v2.1",
    "input": {
      "prompt": "<prompt>",
      "start_image": "<start_image>"
    }
  }'