curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-1.6/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A quiet city street after rain, soft reflections on the pavement as the camera moves forward with cinematic natural motion",
"duration": 5,
"aspect_ratio": "16:9",
"negative_prompt": "blur, low quality, distorted hands",
"cfg_scale": 0.5
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "running",
"created_time": "2026-06-23T10:30:00"
}
}Kling
Kling 1.6 Video Generation
Kling 1.6 Standard and Pro video generation through the Vidgo API
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-1.6/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A quiet city street after rain, soft reflections on the pavement as the camera moves forward with cinematic natural motion",
"duration": 5,
"aspect_ratio": "16:9",
"negative_prompt": "blur, low quality, distorted hands",
"cfg_scale": 0.5
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "running",
"created_time": "2026-06-23T10:30:00"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, Vidgo sends a POST request when the task becomesfinishedorfailed. - You can always retrieve the result through the unified Query Task Status endpoint.
Input Routing
The supplied image fields determine the generation workflow. All Kling 1.6 requests requireprompt and duration.
- Provide no image fields to generate text-to-video.
- Provide
start_image_urlto generate image-to-video. - Provide
start_image_urlandend_image_urlwithkling-1.6/proto control both the first and last frame. - Provide
image_urlswith 1 to 4 reference images to generate Elements.
image_urls cannot be used together with start_image_url, end_image_url, or cfg_scale.
Parameter Compatibility
| Model and workflow | How Vidgo detects it | Supported parameters |
|---|---|---|
Text to Video (standard or pro) | No image fields | prompt, duration, aspect_ratio, negative_prompt, cfg_scale |
| Standard Image to Video | kling-1.6/standard with start_image_url | prompt, duration, start_image_url, negative_prompt, cfg_scale |
| Pro Image to Video | kling-1.6/pro with start_image_url and optional end_image_url | prompt, duration, aspect_ratio, start_image_url, end_image_url, negative_prompt, cfg_scale |
Elements (standard or pro) | image_urls | prompt, duration, aspect_ratio, negative_prompt, image_urls |
end_image_urlrequiresstart_image_urland is only supported bykling-1.6/pro.kling-1.6/standardimage-to-video does not supportaspect_ratio.- Elements supports 1 to 4
image_urlsand does not supportcfg_scale. promptandnegative_promptsupport up to 2500 characters.cfg_scalemust be between 0 and 1 when provided.
Response and Status
The submit endpoint returns a Vidgotask_id. Use it with the unified Query Task Status endpoint to retrieve the final video URL.
Initial submit responses include status, which is usually running after the upstream video task has been created. If submission fails during upstream task creation, the status may be failed and the task can be inspected through the status endpoint.
Workflow IDs
Existing IDs remain available. New integrations can select a dedicated workflow:- kwaivgi/kling-video/v1.6/standard/text-to-video
- kwaivgi/kling-video/v1.6/standard/image-to-video
- kwaivgi/kling-video/v1.6/pro/text-to-video
- kwaivgi/kling-video/v1.6/pro/image-to-video
Authorizations
All API endpoints require Bearer Token authentication. Add it to the request header as Authorization: Bearer VIDGO_API_KEY.
Body
application/json