Creative studioGeneratedModels
Kling 4.0
Creative Studio video model reference for the public API.
Kling 4.0
Public model ID: kling-40
Asset type: video
Category: Video Generation
Starting credits: 5 (defaults: 12)
Prompt required.
Start a generation
curl -s -X POST "$API_BASE_URL/v1/creative-studio/generations" \
-H "Authorization: Bearer vsl_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelId": "kling-40",
"prompt": "Your prompt here",
"start_image": ["https://example.com/reference.jpg"],
"resolution": "1080p"
}' | jqPoll GET /v1/creative-studio/generations/{id} until status is completed. Completed generations return outputUrl on cdn.videoslash.com.
Media parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
start_image | string | optional · max items: 1 | — | First frame image. Supports .jpg/.jpeg/.png, max 30MB, min 300px, aspect ratio 2:5 to 5:2. |
end_image | string | optional · max items: 1 | — | Last frame image. Same format requirements as the first frame. |
reference_images | array | optional · max items: 8 | [] | Reference images (up to 8) for characters, objects, scenes or style. Up to 10 images in total across all image inputs. |
Settings parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
resolution | enum | optional · enum: 720p, 1080p | 1080p | Output resolution. |
aspect_ratio | enum | optional · enum: 16:9, 9:16, 1:1, 21:9 | 16:9 | Aspect ratio. Ignored when a first or last frame image is provided. |
duration | integer | optional · min: 3 · max: 30 | 5 | Video duration in seconds. |