Vídeo para áudio
Converta vídeos do Kling em áudio de alta qualidade via o endpoint Video to Audio da CometAPI, com formato de saída, duração e controle de prompt configuráveis.
Use este endpoint para gerar um resultado de áudio a partir de um vídeo de origem.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Antes de chamar
- Envie
video_idouvideo_url, mas não ambos - Use
video_urlquando o clipe de origem não tiver vindo originalmente do Kling - Mantenha
callback_urleexternal_task_idcomo opcionais, a menos que sua integração precise deles
Fluxo da tarefa
Enviar o vídeo de origem
video_id do Kling ou um video_url acessível e, em seguida, salve o id da tarefa retornado.Consultar a tarefa
Autorizações
Bearer token authentication. Use your CometAPI key.
Corpo
- 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.