Tekst til lyd
Bruk Kling Text to Audio API i CometAPI for å konvertere tekst-prompts til lyd med kontroller for stemmestil, varighetsalternativer og output som er klar for streaming.
Bruk dette endepunktet for å generere et kort lydklipp fra en tekst-prompt via 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.
Før du kaller det
- Hold
promptkort og direkte - Start med
durationmellom 3 og 10 sekunder - Behandle
callback_urlogexternal_task_idsom valgfrie integrasjonshjelpere, ikke grunnleggende krav
Oppgaveflyt
Poll oppgaven
Autorisasjoner
Bearer token authentication. Use your CometAPI key.
Kropp
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.