Chuyển văn bản thành âm thanh
Sử dụng API Kling Text to Audio trong CometAPI để chuyển các Prompt văn bản thành âm thanh với các tuỳ chọn điều khiển phong cách giọng nói, thời lượng và đầu ra sẵn sàng cho Streaming.
Sử dụng endpoint này để tạo một đoạn âm thanh ngắn từ Prompt văn bản thông qua 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.
Trước khi gọi
- Giữ
promptngắn gọn và trực tiếp - Bắt đầu với
durationtrong khoảng từ 3 đến 10 giây - Xem
callback_urlvàexternal_task_idlà các công cụ hỗ trợ tích hợp không bắt buộc, không phải yêu cầu cốt lõi
Luồng tác vụ
Thăm dò tác vụ
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Nội dung
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.