Extend a previously generated Kling video by its video_id.
Authenticate with the X-API-Key request header.
resolution — pass resolution in your request. Credit cost per second:| resolution | credits / sec | vs base |
|---|---|---|
| 720p | 19 | 1× |
| 1080p | 30 | 1.6× |
List price. Volume / bulk customers get a discounted rate — contact us for account pricing.
| Name | Type | Required | Description | Default / options |
|---|---|---|---|---|
| video_id | string | required | ID of a prior Kling video to extend. | — |
| prompt | string | optional | Optional prompt guiding the extension. | — |
| negative_prompt | string | optional | Text describing what to avoid in the video. | — |
| cfg_scale | number | optional | Prompt-adherence / freedom level, 0-1 (default 0.5). May be ignored by Kling 2.x/3.0. | — |
| callback_url | string | optional | Webhook URL notified when the task completes. | — |
curl -X POST https://brahmand-api.bulletshorts.co/v1/video/kling-extend-video \
-H "X-API-Key: $TRINETRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"video_id":"kling_vid_xyz789","prompt":"the camera pulls back to reveal a crowd"}'{
"video_id": "kling_vid_xyz789",
"prompt": "the camera pulls back to reveal a crowd"
}Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.
{
"job_id": "job_klingextendvideo_a1b2c3",
"status": "queued"
}{
"id": "job_klingextendvideo_a1b2c3",
"model": "kling-extend-video",
"status": "succeeded",
"output": {
"outputs": [
{
"url": "https://cdn.trinetra.ai/out/kling-extend-video/a1b2c3.mp4",
"type": "video"
}
]
},
"credits_charged": 10
}Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.