DataEyesAI
Official SiteConsoleDocs Home
Getting StartedDeveloper ToolsAI Models APITerms & Policies
Official SiteConsoleDocs Home
Getting StartedDeveloper ToolsAI Models APITerms & Policies
  1. Kling AI Video Generation
  • Documentation
    • Getting Started
      • Overview
      • Console (Getting Started)
      • API Key
      • Base URL
    • Developer Tool Integration
      • OpenClaw
      • Claude Code
      • Codex
      • Gemini CLI
      • Grok CLI
      • Other Tools
    • AI Models API
      • OpenAI format (supports major original models)
        • Chat (Response)
          • Create Network Search
          • Create Model Response GPT-5 Enable Thinking
          • Create Function Call
          • Create Model Response
          • Create Model Response (Streaming Return)
          • Create Model Response (Control Thinking Length)
        • ChatGPT Interface
          • Audio
            • Audio to text gpt-4o-transcribe
            • GPT-4o-audio
            • Audio to text whisper-1
            • Audio to text gpt-4o-transcribe
            • Create voice gpt-4o-mini-tts
          • Chat
            • Create chat-based image recognition (non-streaming)
            • Create chat-based image recognition (streaming)
            • Create chat-based image recognition (streaming) best64
            • Official N test
            • Create structured output
            • Control the effort level of the inference model
            • Create chat function call
            • deepseek-ocr recognition
            • Create chat completion (non-stream)
          • Completions
            • ChatGPT automatic completion
            • Create completion
        • Image
          • Edit image
          • Create chat completion (streaming)
          • Create chat completion (qwen-mt-turbo)
          • Create chat completion with deepseek v3.1 level of reasoning (streaming)
        • Audio
          • Speech recognition
          • Speech synthesis
          • Official Function Calling invocation
          • Create chat-generated images (non-streaming)
        • Embedding
          • Text embeddings
      • Anthropic format
        • Chat
        • Chat(prompt cache)
        • Streaming response
        • Chat (deep reasoning)
        • Tool invocation (function call)
        • Analyze image
      • Google Gemini interface
        • Native format
          • Text-to-image + control over aspect ratio + clarity
          • Generate image
          • Text generation
          • Text generation - stream
          • Text generation + reasoning - stream
          • Image generation
          • Formatted output
          • Function call
          • Document understanding
          • URL context [native format]
          • Code execution
          • Video understanding
          • URL context
          • Video understanding - url [native format]
          • Imagen 4
          • Audio understanding
          • Embeddings
          • Chat
          • Edit image
        • Image-to-image Base64 request method
          • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity
          • Image editing
          • Single image gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Image generation( gemini-2.5-flash-image)
          • Image generation gemini-2.5-flash-image, controlling aspect ratio.
          • Image understanding
        • Image-to-image URL request returns URL request format OpenAI
          • Single image generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Image understanding
      • NanoBanana
        • OpenAI request
          • Edit image
          • OpenAI image format
        • Gemini request
          • Generate image
          • Edit image
      • Midjourney format
        • Midjourney API Reference
        • Task query interface
        • Upload image
        • Get seed (Seed)
        • Submit Imagine task
        • Query tasks based on ID list
        • FaceSwap
        • Execute Action operation
        • /mj/submit/blend
        • Submit Describe task
        • Submit Modal
        • Refresh link
        • Edit image
        • Query task status by task ID
        • Get the seed of the task image
      • Doubao - Painting
        • doubao-seededit-3-0-i2i-250628
        • doubao-seedream-4-0-250828 - text-to-image
        • doubao-seedream-4-0-250828 - image-to-image
        • doubao-seedream-4-0-250828 - multi-image generation
      • Rerank Reordering Model
        • Rerank
      • Video Model
        • Grok Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Video-Editing
          • 05-Video-Extension
        • Seedance Video Generation
          • 00-Overview
          • 01-Create-Video-Generation-Task
          • 02-Query-Video-Generation-Task
          • 03-Query-Video-Generation-Task-List
          • 04-Cancel-or-Delete-Task
          • Seedance Private Asset Library API Documentation
        • MiniMax-H3 Video Generation
          • 00-Overview
          • 01-Create-Video-Generation
          • 02-Create-Video-Regeneration
          • 03-Create-H3-Context-IR
          • 04-Query-Task
          • 05-List-Tasks
          • 06-Cancel-or-Delete-Task
        • Hailuo Video Generation
          • 00-Overview
          • 01-Text-to-Video-T2V
          • 02-Image-to-Video-I2V
          • 03-First-Last-Frame-FL2V
          • 04-Subject-Reference-S2V
          • 05-Query-Task-Status
          • 06-Video-Download
          • 99-Appendix-Camera-Movement-and-Webhooks
        • Jimeng Video Generation
          • 00-Overview
          • 01-3.0-Pro-Video-Generation
          • 02-720P-Text-to-Video
          • 03-720P-Image-to-Video-First-Frame
          • 04-720P-Image-to-Video-Start-End-Frame
          • 05-720P-Image-to-Video-Camera
          • 06-1080P-Text-to-Video
          • 07-1080P-Image-to-Video-First-Frame
          • 08-1080P-Image-to-Video-Start-End-Frame
          • 09-Error-Codes
        • Kling AI Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Omni-Video
          • 04-Multi-Image-to-Video
          • 05-Motion-Control
          • 06-Multi-Elements
          • 07-Video-Extension
          • 08-Lip-Sync
          • 09-Avatar
          • 10-Text-to-Audio
          • 11-Video-to-Audio
          • 12-TTS
          • 13-Custom-Voices
          • 14-Image-Recognition
          • 15-Element-Management
          • 16-Video-Effects
        • Vidu Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Start-End-Frame
          • 05-Multi-Frame
          • 06-Scene-Template
          • 07-Template-Story
          • 08-Query-Tasks
        • HappyHorse
          • HappyHorse Text-to-Video
          • HappyHorse Image-to-Video (First Frame)
          • HappyHorse Reference-to-Video
          • HappyHorse Video Editing
        • Wan Video Generation
          • 00-Overview.md
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Video-Editing
          • 05-First-Last-Frame-to-Video
          • 06-Motion-Transfer-and-Character-Swap
          • 07-Digital-Human-Video
          • 08-VACE-Video-Editing
          • 09-Query-Task
      • Audio API
        • Audio API
        • Gemini TTS API
        • Google DeepMind Lyria API
        • Elevenlabs Speech to Text API Reference
        • Text-to-Music Suno
          • Task Submission
            • Generate Song (Inspiration Mode)
            • Generate Song (Custom Mode)
            • Generate Song (Continuation Mode)
            • Generate Song (Singer Style)
            • Generate Song (Secondary Creation from Uploaded Song)
            • Generate Song (Song Stitching)
            • Generate Lyrics
            • Song Stitching
          • Query Interface
            • Batch Retrieve Tasks
            • Query Single Task
    • Search / Reader Product
      • Web Reader API​​
        • Web Reader API
        • Web Reader API(HK)
      • Web Search API​​
        • Modal Card API
          • Weather
            • All City ID
            • Weather Query API
        • Web Search API
        • Video Search api
        • Trending Search API
      • Document OCR Parsing API
        • fiel upload
        • URL Parsing
    • Advanced & System API
      • Data Updates
      • System interface
        • API Key & Quota Query API
        • API Key Management API
      • API Reference​​
        • Error Codes
        • HTTP Notes
      • List models
        • Models
  • Terms & Policies
    • DataEyesAI API Terms of Service
    • DataEyesAI Legal Notice and Privacy Policy
    • DataEyesAI Paid Services Agreement
    • Automatic Renewal Service Rules
  1. Kling AI Video Generation

06-Multi-Elements

Multi-Elements

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.

Initialize Video for Editing

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements/init-selection

Initialize the original video before using Multi-elements feature. When replacing or removing elements within the existing video, the relevant elements need to be marked in the video beforehand.

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
video_idstringNoThe ID of the video generated by the Kling AI
- Only videos generated within the last 30 days are supported
- Only supports videos with a duration of ≥2 seconds and ≤5 seconds, or ≥7 seconds and ≤10 seconds
- Related to the video_url parameter: both video_id and video_url cannot be empty at the same time, and cannot both have values at the same time
video_urlstringNoGet link for uploaded video
- Only .mp4/.mov formats are supported
- Only supports videos with a duration of ≥2 seconds and ≤5 seconds, or ≥7 seconds and ≤10 seconds
- Video resolution must be between 720px and 2160px (inclusive) in both width and height
- Only supports videos with frame rates of 24, 30, or 60 fps
- Related to the video_id parameter: both video_id and video_url cannot be empty at the same time, and cannot both have values at the same time

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/init-selection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "video_id": "",
    "video_url": "https://v1-kling.klingai.com/kcdn/cdn-kcdn112452/kling-qa-test/animals-output-5s.mp4"
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "status": 0, // Rejection code, non-zero indicates recognition failure
    "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
    "final_unit_deduction": "string", // The deduction units of task
    "fps": 30.0, // Frame rate of parsed video, required when fetching selection preview video
    "original_duration": 1000, // Duration of parsed video, required when creating task
    "width": 720, // Width of parsed video, currently unused
    "height": 1280, // Height of parsed video, currently unused
    "total_frame": 300, // Total frame count of parsed video, required when creating task
    "normalized_video": "url" // URL of initialized video
}

Add Video Selection Area

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements/add-selection

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
session_idstringYesSession ID, generated during the video initialization task and remains unchanged during editing operations
frame_indexintYesFrame Number
- A maximum of 10 frames can be marked. That is, up to 10 frames can be used to define selection areas in the video
- Only supports marking 1 frame at a time
pointsarrayYesClick Coordinates, represented by x and y
- Value range: [0, 1], expressed as percentages; [0, 1] represents the top-left corner of the frame
- Multiple points can be marked at once; up to 10 points can be marked on a single frame
  xfloatYesX coordinate [0-1]
  yfloatYesY coordinate [0-1]

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/add-selection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "session_id": "847570360458960960",
    "frame_index": 0,
    "points": [
      {
        "x": 0.7738498789346246,
        "y": 0.297142857142857
      }
    ]
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "status": 0, // Rejection code, non-zero indicates recognition failure
    "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
    "final_unit_deduction": "string", // The deduction units of task
    "res": {
      "frame_index": 0,
      "rle_mask_list": [{
        "object_id": 0,
        "rle_mask": {
          "size": [720, 1280],
          "counts": "string"
        },
        "png_mask": {
          "size": [720, 1280],
          "base64": "string"
        }
      }]
    }
  }
}

Delete Video Selection Area

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements/delete-selection

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
session_idstringYesSession ID, generated during the video initialization task and remains unchanged during editing operations
frame_indexintYesFrame Number
pointsarrayYesClick Coordinates to delete, represented by x and y
- Value range: [0, 1], expressed as percentages; [0, 1] represents the top-left corner of the frame
- Multiple points can be provided at once
- Coordinates must exactly match those used when adding the video selection area
  xfloatYesX coordinate [0-1]
  yfloatYesY coordinate [0-1]

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/delete-selection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "session_id": "847570360458960960",
    "frame_index": 0,
    "points": [
      {
        "x": 0.7738498789346246,
        "y": 0.297142857142857
      }
    ]
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "status": 0, // Rejection code, non-zero indicates recognition failure
    "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
    "final_unit_deduction": "string", // The deduction units of task
    "res": {
      "frame_index": 0,
      "rle_mask_list": [{
        "object_id": 0,
        "rle_mask": {
          "size": [720, 1280],
          "counts": "string"
        },
        "png_mask": {
          "size": [720, 1280],
          "base64": "string"
        }
      }]
    }
  }
}

Clear Video Selection

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements/clear-selection

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
session_idstringYesSession ID, generated during the video initialization task and remains unchanged during editing operations

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/clear-selection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "session_id": "847570360458960960"
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "status": 0, // Rejection code, non-zero indicates recognition failure
    "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
    "final_unit_deduction": "string", // The deduction units of task
  }
}

Preview Video with Selected Areas

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements/preview-selection

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
session_idstringYesSession ID, generated during the video initialization task and remains unchanged during editing operations

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/preview-selection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "session_id": "847570360458960960"
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "status": 0, // Rejection code, non-zero indicates recognition failure
    "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
    "final_unit_deduction": "string", // The deduction units of task
    "res": {
      "video": "url", // Video with mask
      "video_cover": "url", // Cover image of video with mask
      "tracking_output": "url" // Mask result for each frame in image segmentation results
    }
  }
}

Create Task

POST https://platform.dataeyes.ai/kling/v1/videos/multi-elements

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Body

ParameterTypeRequiredDefaultDescription
model_namestringNokling-v1-6Model Name
Options: kling-v1-6
session_idstringYesSession ID, generated during the video initialization task and remains unchanged during editing operations
edit_modestringYesOperation Type
Options: addition, swap, removal
- addition: Add an element
- swap: Replace an element
- removal: Remove an element
image_listarrayNoCropped Reference Images
- For adding video elements: This parameter is required; upload 1–2 images
- For editing (swapping) video elements: This parameter is required; upload 1 image only
- For deleting video elements: This parameter is not required
- Use key:value format as follows:
- The API does not perform cropping, please upload images with subjects already cropped
- Supports image input as either Base64-encoded string or URL (ensure the URL is publicly accessible)
- Important: When using Base64, do NOT add any prefix like data:image/png;base64,. Submit only the raw Base64 string.
- Correct Base64 format:
- Incorrect Base64 format (with data: prefix):
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB. Image dimensions must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1
  imagestringYesImage URL or Base64 string
promptstringYesPositive Prompt
- Use the format <<>> to explicitly refer to a specific video or image, such as <<<video_1>>> or <<<image_1>>>
- To ensure optimal results, the prompt must include references to the video and image(s) required for the editing
- Must not exceed 2,500 characters
Recommended Prompt Templates:

Adding Elements:
- EN: Using the context of <<<video_1>>>, seamlessly add [x] from <<<image_1>>>
- ZH: 基于<<<video_1>>>中的原始内容,以自然生动的方式,将<<<image_1>>>中的【】,融入<<<video_1>>>的【】

Replacing Elements:
- EN: swap [x] from <<<image_1>>> for [x] from <<<video_1>>>
- ZH: 使用<<<image_1>>>中的【】,替换<<<video_1>>>中的【】

Removing Elements:
- EN: Delete [x] from <<<video_1>>>
- ZH: 删除<<<video_1>>>中的【】

Note: [x] or 【】 are placeholders where you should fill in specific content.
negative_promptstringNoNegative Prompt
- Must not exceed 2,500 characters
modestringNostdVideo Generation Mode
Options: std, pro
- std: Standard mode, basic rendering, cost-effective
- pro: Professional mode, high-quality, enhanced rendering, better video output quality
durationstringNo5Video Duration (in seconds)
Options: 5, 10
- Only 5-second and 10-second videos are supported
- To generate a 5-second video, the input video must be ≥2 seconds and ≤5 seconds
- To generate a 10-second video, the input video must be ≥7 seconds and ≤10 seconds
watermark_infoobjectNoWhether 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_urlstringNoCallback URL for Task Result Notification. If configured, the server will actively send notifications when the task status changes
- For the message schema, refer to the Callback Protocol
external_task_idstringNoCustom Task ID
- A user-defined task ID; it will not overwrite the system-generated task ID, but can be used to query the task
- Please ensure uniqueness of the task ID within a single user account
Parameter Format Details

image_list

"image_list":[
  { "image":"image_url" },
  { "image":"image_url" }
]
iVBORw0KGgoAAAANSUhEUgAAAAUA...
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...

watermark_info

"watermark_info": { "enabled": boolean }

Request Example

curl --request POST \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model_name": "kling-v1-6",
    "session_id": "847570360458960960",
    "edit_mode": "removal",
    "image_list": [],
    "prompt": "Delete the chick from <<<video_1>>>",
    "negative_prompt": "",
    "mode": "std",
    "duration": "5",
    "callback_url": "",
    "external_task_id": ""
  }'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "data": {
    "task_id": "string", // Task ID, generated by the system
    "task_status": "string", // Task status, Enum values: submitted, processing, succeed, failed
    "task_info": {
      "external_task_id": "string" // User-defined task ID
    },
    "created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
    "updated_at": 1722769557708 // Task update time, Unix timestamp, unit: ms
  }
}

Query Task (Single)

GET https://platform.dataeyes.ai/kling/v1/videos/multi-elements/{id}

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Example

curl --request GET \
  --url https://platform.dataeyes.ai/kling/v1/videos/multi-elements/{task_id} \
  --header 'Authorization: Bearer <token>'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "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 message, displays failure reason when task fails (e.g., triggered platform content moderation)
    "task_info": { // Task creation parameters
      "external_task_id": "string" // User-defined task ID
    },
    "task_result": {
      "videos": [
        {
          "id": "string", // Generated video ID, globally unique
          "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
          "url": "string", // URL of generated video (Note: For security purposes, generated images/videos will be deleted after 30 days, please save them promptly)
          "watermark_url": "string", // Watermarked video download URL, anti-hotlinking format
          "duration": "string" // Total video duration, unit: s
        }
      ]
    },
    "watermark_info": {
      "enabled": boolean
    },
    "final_unit_deduction": "string", // Final unit deduction for the task
    "created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
    "updated_at": 1722769557708 // Task update time, Unix timestamp, unit: ms
  }
}

Query Task (List)

GET https://platform.dataeyes.ai/kling/v1/videos/multi-elements

Request Headers

ParameterTypeRequiredDefaultDescription
Content-TypestringYesapplication/jsonData Exchange Format
AuthorizationstringYesAuthentication information, refer to API authentication

Request Example

curl --request GET \
  --url 'https://platform.dataeyes.ai/kling/v1/videos/multi-elements?pageNum=1&pageSize=30' \
  --header 'Authorization: Bearer <token>'

Response Example

{
  "code": 0, // Error code; Specific definitions can be found in "Error Code"
  "message": "string", // Error message
  "request_id": "string", // Request ID, generated by the system, used for tracking requests and troubleshooting
  "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 message, displays failure reason when task fails (e.g., triggered platform content moderation)
      "task_info": { // Task creation parameters
        "external_task_id": "string" // User-defined task ID
      },
      "task_result": {
        "videos": [
          {
            "id": "string", // Generated video ID, globally unique
            "session_id": "id", // Session ID, generated during video initialization task, remains unchanged during editing operations, valid for 24 hours
            "url": "string", // URL of generated video (Note: For security purposes, generated images/videos will be deleted after 30 days, please save them promptly)
            "watermark_url": "string", // Watermarked video download URL, anti-hotlinking format
            "duration": "string" // Total video duration, unit: s
          }
        ]
      },
      "watermark_info": {
        "enabled": boolean
      },
      "final_unit_deduction": "string", // Final unit deduction for the task
      "created_at": 1722769557708, // Task creation time, Unix timestamp, unit: ms
      "updated_at": 1722769557708 // Task update time, Unix timestamp, unit: ms
    }
  ]
}
Previous
05-Motion-Control
Next
07-Video-Extension