Tekst naar audio
Gebruik de Kling Text to Audio API in CometAPI om tekstprompts om te zetten in audio met instellingen voor stemstijl, duuropties en streaming-ready output.
Gebruik dit endpoint om via Kling een korte audioclip te genereren op basis van een tekstprompt.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.
Voordat je het aanroept
- Houd
promptbeknopt en duidelijk - Begin met
durationtussen 3 en 10 seconden - Beschouw
callback_urlenexternal_task_idals optionele integratiehulpen, niet als essentiële vereisten
Taakverloop
Dien de audiotaak in
Poll de taak
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.