Skip to content

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
object

Text prompt

Generated audio duration in seconds; range 3.0–10.0, one decimal place supported

Custom task ID

Callback URL when the task completes

Responses​

OK

application/json

Playground​

Authorization
Body

Samples​