ReplicateVideoComing soon

kwaivgi/kling-v2.1

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

Pricing

Coming soon

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
1 hour
Run deadline
1 hour
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
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.

modeJSONstandard

Standard has a resolution of 720p, pro is 1080p. Both are 24fps.

durationJSON5

Duration of the video in seconds

end_imagetext—

Last frame of the video (pro mode is required when this parameter is set)

negative_prompttext

Things 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>"
    }
  }'