Kling tekst-naar-audio maken
Gebruik de Kling Text to Audio API in CometAPI om tekstprompts om te zetten in audio met instellingen voor stemstijl, duuropties en output die klaar is voor streaming.
Voordat je het aanroept
- Houd
promptbeknopt en duidelijk - Begin met
durationtussen 3 en 10 seconden - Behandel
callback_urlenexternal_task_idals optionele integratiehulpen, niet als kernvereisten
Taakverloop
Verzend de audiotaak
Poll de taak
Sla de audio-output op
Autorisaties
Bearer token authentication. Use your CometAPI key.
Body
Text prompt describing the audio to generate. Max 200 characters.
Duration of the generated audio in seconds. Range: 3.0–10.0, supports one decimal place.
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.