Video to Audio
Create Task
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
The ID of the video generated by the Kling AI
- Either the video_id parameter or the video_url parameter, cannot be empty or have a value at the same time.
- Only supports videos generated within 30 days and with a duration between 3.0s and 20.0s.
Link for uploaded video
- Either the video_id parameter or the video_url parameter, cannot be empty or have a value at the same time.
- Only .mp4/.mov formats are supported. File size does not exceed 100MB. Video duration between 3.0s and 20.0s.
Sound effect prompt
- Cannot exceed 200 characters
BGM prompt
- Cannot exceed 200 characters
Enable ASMR mode; This mode enhances detailed sound effects and is suitable for highly immersive content scenarios
- true means enabled, false means disabled (default)
Customized Task ID
- Users can provide a customized task ID, which will not overwrite the system-generated task ID but can be used for task queries.
- Please note that the customized task ID must be unique within a single user account.
The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes
- The specific message schema of the notification can be found in Callback Protocol
Query Task (Single)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Path Parameters
The task ID for audio generation
- Request path parameter, fill the value directly in the request path
- You can choose to query by external_task_id or task_id
Customized Task ID for audio generation
- The external_task_id filled in when creating the task. You can choose to query by external_task_id or task_id
Query Task (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
- Value range: [1, 1000]
Number of items per page
- Value range: [1, 500]