Текст у аудіо
Використовуйте Kling Text to Audio API у CometAPI, щоб перетворювати текстові Prompt на аудіо з керуванням стилем голосу, параметрами тривалості та готовим до Streaming виходом.
Використовуйте цей endpoint, щоб згенерувати короткий аудіокліп із текстового Prompt через Kling.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.
Перш ніж викликати його
- Тримайте
promptкоротким і чітким - Починайте з
durationвід 3 до 10 секунд - Розглядайте
callback_urlіexternal_task_idяк необов’язкові допоміжні засоби інтеграції, а не основні вимоги
Потік завдання
Надішліть аудіозавдання
Опитуйте завдання
Авторизації
Bearer token authentication. Use your CometAPI key.
Тіло
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.