Kling Video-zu-Audio erstellen
Wandeln Sie Kling-Videos über den Video-to-Audio-Endpunkt von CometAPI in hochwertige Audiodateien um – mit konfigurierbarem Ausgabeformat, Dauer und Prompt-Steuerung.
Bevor Sie ihn aufrufen
- Senden Sie entweder
video_idodervideo_url, aber nicht beides - Verwenden Sie
video_url, wenn der Quellclip ursprünglich nicht von Kling stammt - Lassen Sie
callback_urlundexternal_task_idoptional, es sei denn, Ihre Integration benötigt sie
Aufgabenablauf
Quellvideo übermitteln
video_id oder eine erreichbare video_url und speichern Sie dann die zurückgegebene task id.Task abfragen
Ausgabe dauerhaft speichern
Autorisierungen
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.