TTS
Create Task
Text-to-Speech synthesis API for generating audio from text.
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
Text Content for Audio Synthesis
- The maximum length of the text content is 1000 characters; content that is too long will return an error code and other information.
- The system will validate the text content; if there are issues, it will return an error code and other information.
Voice ID
- The system offers a variety of voice options to choose from. For specific voice effects, voice IDs, and corresponding voice languages, see Voice Guide. Voice previews do not support custom scripts.
- Voice preview file naming convention: Voice Name#Voice ID#Voice Language
Voice Language
- The voice language corresponds to the Voice ID, as detailed above.
Speech Rate
- Valid range: [0.8, 2.0], accurate to one decimal place; values outside this range will be automatically rounded.