Doc version: v1.0.0 | Last updated: 2026-06-11 This platform fully supports the Kling AI official video generation API. Requests and responses are transparently proxied; parameter semantics are identical to the official API.
POST https://platform.dataeyes.ai/kling/v1/videos/video-extend| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Content-Type | string | Yes | application/json | Data Exchange Format |
Authorization | string | Yes | Authentication information, refer to API authentication |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
video_id | string | Yes | Video ID - Supports video IDs generated by the text-to-video, the image-to-video and the video extension interface (it cannot exceed 3 minutes). - Only videos generated by V1.0, V1.5, and V1.6 models are supported. Please note that based on the current cleanup policy, videos will be cleared 30 days after generation, and extension will not be possible. | |
prompt | string | No | Text Prompt Cannot exceed 2500 characters | |
negative_prompt | string | No | Negative text prompt Cannot exceed 2500 characters | |
cfg_scale | float | No | 0.5 | Prompt reference strength. The higher the value, the stronger the reference to the prompt. Value range: [0, 1] |
watermark_info | object | No | Whether to generate watermarked results simultaneously - Defined by the enabled parameter, format: - true: generate watermarked result, false: do not generate - Custom watermarks are not currently supported | |
callback_url | string | No | The callback notification address for the task results. If configured, the server will actively notify when the task status changes. - For specific message schema, see Callback Protocol | |
external_task_id | string | No | Customized Task ID - User-defined task ID. It will not override the system-generated task ID, but supports querying tasks by this ID - Please note that it must be unique for each user | |
| Parameter Format Details |
watermark_info"watermark_info": { "enabled": boolean }curl --request POST \
--url https://platform.dataeyes.ai/kling/v1/videos/video-extend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A puppy appears",
"video_id": "743211632612511839",
"negative_prompt": "",
"callback_url": ""
}'{
"code": 0, // Error codes; Specific definitions can be found in Error codes
"message": "string", // Error information
"request_id": "string", // Request ID, generated by the system, is used to track requests and troubleshoot problems
"data": {
"task_id": "string", // Task ID, generated by the system
"task_status": "string", // Task status, Enum values: submitted, processing, succeed, failed
"task_info": { // Task creation parameters
"external_task_id": "string" // Customer-defined task ID
},
"created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
"updated_at": 1722769557708 //Task update time, Unix timestamp, unit: ms
}
}GET https://platform.dataeyes.ai/kling/v1/videos/video-extend/{id}| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Content-Type | string | Yes | application/json | Data Exchange Format |
Authorization | string | Yes | Authentication information, refer to API authentication |
curl --request GET \
--url https://platform.dataeyes.ai/kling/v1/videos/video-extend/{task_id} \
--header 'Authorization: Bearer <token>'{
"code": 0, // Error codes; Specific definitions can be found in Error codes
"message": "string", // Error information
"request_id": "string", // Request ID, generated by the system, is used to track requests and troubleshoot problems
"data": {
"task_id": "string", // Task ID, generated by the system
"task_status": "string", // Task status, Enum values: submitted, processing, succeed, failed
"task_status_msg": "string", // Task status information, displaying the failure reason when the task fails (such as triggering the content risk control of the platform, etc.)
"task_info": {
"parent_video": { //Parameters information when the task is created
"id": "string", //Video ID before the extension;globally unique
"url": "string", //URL for generating images(To ensure information security, generated images/videos will be cleared after 30 days. Please make sure to save them promptly.)
"duration": "string" //Original video duration, unit: s (seconds)
},
"external_task_id": "string" // Customer-defined task ID
},
"task_result": {
"videos": [
{
"id": "string", // Generated video ID; globally unique, will be cleared after 30 days
"url": "string", // URL for generating videos (To ensure information security, generated images/videos will be cleared after 30 days. Please make sure to save them promptly.)
"watermark_url": "string", // Watermarked video download URL, anti-leech format
"duration": "string" //Total video duration, unit: s (seconds)
}
]
},
"watermark_info": {
"enabled": boolean
},
"final_unit_deduction": "string", // The deduction units of task
"created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
"updated_at": 1722769557708 //Task update time, Unix timestamp, unit: ms
}
}GET https://platform.dataeyes.ai/kling/v1/videos/video-extend| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Content-Type | string | Yes | application/json | Data Exchange Format |
Authorization | string | Yes | Authentication information, refer to API authentication |
curl --request GET \
--url 'https://platform.dataeyes.ai/kling/v1/videos/video-extend?pageNum=1&pageSize=30' \
--header 'Authorization: Bearer <token>'{
"code": 0, // Error codes; Specific definitions can be found in Error codes
"message": "string", // Error information
"request_id": "string", // Request ID, generated by the system, is used to track requests and troubleshoot problems
"data": [
{
"task_id": "string", // Task ID, generated by the system
"task_status": "string", // Task status, Enum values: submitted, processing, succeed, failed
"task_status_msg": "string", // Task status information, displaying the failure reason when the task fails (such as triggering the content risk control of the platform, etc.)
"task_info": {
"parent_video": { //Parameters information when the task is created
"id": "string", //Video ID before the extension;globally unique
"url": "string", //URL for generating images(To ensure information security, generated images/videos will be cleared after 30 days. Please make sure to save them promptly.)
"duration": "string" //Original video duration, unit: s (seconds)
},
"external_task_id": "string" // Customer-defined task ID
},
"task_result": {
"videos": [
{
"id": "string", // Generated video ID; globally unique, will be cleared after 30 days
"url": "string", // URL for generating videos (To ensure information security, generated images/videos will be cleared after 30 days. Please make sure to save them promptly.)
"watermark_url": "string", // Watermarked video download URL, anti-leech format
"duration": "string" //Total video duration, unit: s (seconds)
}
]
},
"watermark_info": {
"enabled": boolean
},
"final_unit_deduction": "string", // The deduction units of task
"created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
"updated_at": 1722769557708 //Task update time, Unix timestamp, unit: ms
}
]
}