Skip to main content
GET
/
kling
/
v1
/
videos
/
text2video
/
{task_id}
Get Kling Text-to-Video Task Status
curl --request GET \
  --url https://api.ldx.dev/kling/v1/videos/text2video/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "abcd1234efgh",
  "status": "completed",
  "url": "https://example.com/video.mp4",
  "format": "mp4",
  "metadata": {
    "duration": 5,
    "fps": 30,
    "width": 1280,
    "height": 720,
    "seed": 20231234
  },
  "error": {
    "code": 123,
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Task ID

Response

Task status retrieved successfully

See endpoint details.

task_id
string

Task ID

Example:

"abcd1234efgh"

status
enum<string>

Task status

Available options:
queued,
in_progress,
completed,
failed
Example:

"completed"

url
string

See endpoint details.

Example:

"https://example.com/video.mp4"

format
string

See endpoint details.

Example:

"mp4"

metadata
object

See endpoint details.

error
object

See endpoint details.