Video to Audio
Convert Kling videos into high-quality audio via CometAPI’s Video to Audio endpoint, with configurable output format, duration, and prompt control.
Before you call it
- Send either
video_idorvideo_url, but not both - Use
video_urlwhen the source clip did not come from Kling originally - Keep
callback_urlandexternal_task_idoptional unless your integration needs them
Task flow
Submit the source video
video_id or an accessible video_url, then save the returned task id.Poll the task
Authorizations
Bearer token authentication. Use your CometAPI key.
Body
- Option 1
- Option 2
ID of a Kling-generated video. Only videos created within the last 30 days with a duration of 3–20 seconds are supported. Mutually exclusive with video_url — exactly one must be provided.
Optional user-defined task ID for your own tracking. Does not replace the system-generated task ID. Must be unique per account.
Webhook URL for task status notifications. The server sends a callback when the task status changes.
Accessible URL of the source video. Accepted formats: MP4, MOV. Max 100 MB, 720p or 1080p resolution, duration 3–20 seconds. Mutually exclusive with video_id — exactly one must be provided.