1. Kling
liangxin
  • Market
  • Image Models
    • Seedream
      • Seedream4.5 - Text to Image
      • Seedream4.5 - Edit Image
      • Seedream5.0 Lite - Text to Image
      • Seedream5.0 Lite - Edit Image
    • Z-image
      • Z-Image
    • Google
      • Google - Gemini 2.5 Flash Image Preview
      • Google - Nano Banana Pro
      • Google - Nano Banana Pro Flash
      • Google - imagen4-fast
      • Google - imagen4-ultra
    • Flux-2
      • Flux-2 - Pro Text to Image
  • Video Models
    • Kling
      • Kling 3 Pro - Generate Video
        POST
  • Get Task Details
    GET
  1. Kling

Kling 3 Pro - Generate Video

POST
/api/v1/jobs/createTask
Kling 3 Pro video generation through LiangXin unified asynchronous tasks, supporting text-to-video, image-to-video, and multi-shot video workflows.

Query Task Status#

After submitting a task, use the unified query endpoint to check progress and retrieve results:
Get Task Details
Learn how to query task status and retrieve generation results
For production use, we recommend using the callBackUrl parameter to receive automatic notifications when generation completes, while still keeping GET /api/v1/jobs/recordInfo polling as a fallback.

Related Resources#

Market Overview
Explore all available LiangXin video models
Task Status API
Query task state, failures, and final result URLs

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200200 - Request successful
application/json
Task submitted successfully. Use data.taskId to query task progress or correlate callback events.
Body

🔴500500 - Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/jobs/createTask' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "kling-v3-pro",
  "callBackUrl": "https://your-domain.com/api/callback",
  "input": {
    "prompt": "A cinematic coffee commercial: a ceramic cup on a wooden table, morning sunlight, steam rising slowly, smooth camera push-in",
    "aspect_ratio": "16:9",
    "duration": 5,
    "negative_prompt": "blur, distort, and low quality",
    "generate_audio": true,
    "cfg_scale": 0.5
  }
}'
Response Response Example
200 - 200 - Request successful
The task was accepted and can be queried by taskId.
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "task_kling_v3_pro_1765166238716"
  }
}
Modified at 2026-05-01 14:34:24
Previous
Flux-2 - Pro Text to Image
Next
Get Task Details
Built with