Text to Sound Effect
POST
/kling/v1/audio/text-to-audio
Create a sound effect generation task from a text prompt.
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
prompt
string
Required
Text prompt
duration
string
Required
Generated audio duration in seconds; range 3.0–10.0, one decimal place supported
external_task_id
string
Custom task ID
callback_url
string
Callback URL when the task completes
Responses
OK
application/json
object