ReplicateImage to videoComing soon
kwaivgi/kling-v2.1-master
kwaivgi/kling-v2.1-master 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 usagePricing
$0.364 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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for video generation |
duration | JSON | 5 | Duration of the video in seconds |
start_image | text | — | First frame of the video |
aspect_ratio | JSON | 16:9 | Aspect ratio of the video. Ignored if start_image is provided. |
negative_prompt | text | 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-master",
"input": {
"prompt": "<prompt>"
}
}'