影片轉音訊
透過 CometAPI 的影片轉音訊端點,將 Kling 影片轉換為高品質音訊,並可設定輸出格式、時長與 prompt 控制。
使用此端點可從來源影片產生音訊結果。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.
呼叫前須知
- 傳送
video_id或video_url其中之一,但不要同時傳送兩者 - 當來源片段原本不是來自 Kling 時,請使用
video_url - 除非你的整合需求需要,否則可將
callback_url和external_task_id保持為選填
任務流程
輪詢任務
授權
Bearer token authentication. Use your CometAPI key.
主體
- 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.