v1

latestOpenAPI 3.1.02026-07-26793302.3 KB

TTS

post/kling/v1/audio/tts

Headers

Content-Typestring

Content type of the request body.

Request body

textstring required

Text to synthesize into speech. Max 1000 characters.

voice_idstring required

Voice preset ID. Determines the speaker voice used for synthesis. See the Kling documentation for available voice IDs and their supported languages.

voice_languagestring required

Language of the selected voice. Must match the language supported by the chosen voice_id. Use an available service language code such as en.

voice_speednumber

Speech rate multiplier. Range 0.8–2.0 (one decimal place). Values outside this range are clamped automatically.

Response

Success

object required