Skip to content

Task: Video Extend

Overview

  • Method: POST
  • Path: /kling/v1/videos/video-extend
  • Content-Type: application/json

Authentication

  • Header: Authorization: Bearer <token>

Example Request (main fields)

ParameterTypeRequiredDescription
video_idstringYesVideo ID (not task ID), supporting videos generated by certain endpoints. Note length limits.
promptstringNoAdditional generation prompt, max 2500 characters
callback_urlstringNoResult callback URL

Note: If the original video was generated in pro mode, billing is charged at 3.5x.

curl Example

bash
curl -X POST "https://api.gpt.ge/kling/v1/videos/video-extend" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxxx" \
  -d '{
    "video_id":"c01bbafe-712e-4a00-8265-fe7b4e9b17bf",
    "prompt":"Light kiss scene"
  }'

Success Response Example (200)

json
{
  "code": 0,
  "message": "SUCCEED",
  "request_id": "CmCmrWduIncAAAAAAUxTLg",
  "data": {
    "task_id": "CmCmrWduIncAAAAAAUxTLg",
    "task_status": "submitted",
    "created_at": 1736059079626,
    "updated_at": 1736059079626,
    "task_result": {
      "images": [],
      "videos": null
    }
  }
}