Buat video-ke-audio Kling
Ubah video Kling menjadi audio berkualitas tinggi melalui endpoint Video to Audio CometAPI, dengan format output, durasi, dan kontrol prompt yang dapat dikonfigurasi.
Sebelum Anda memanggilnya
- Kirim
video_idatauvideo_url, tetapi jangan keduanya - Gunakan
video_urlsaat klip sumber awalnya tidak berasal dari Kling - Biarkan
callback_urldanexternal_task_idtetap opsional kecuali integrasi Anda membutuhkannya
Alur tugas
Kirim video sumber
video_id Kling atau video_url yang dapat diakses, lalu simpan id tugas yang dikembalikan.Poll tugas
Simpan output
Otorisasi
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.