Actions14
- Chat Actions
- Image Actions
- Video Actions
- Agent Actions
- Audio Actions
- Tools Actions
Audio → Text to Speech
AI-generatedSummary
Synthesize speech from text using Qiniu AI
Inputs
- text (required) — The text to convert to speech
- voice — Voice ID to use for synthesis
- options — Synthesis configuration options
Output shape
binary audio data with metadata
Returns audio as binary data along with its duration and the raw API response
Examples
Example 1: Convert a paragraph of text to MP3 speech with default voice and speed
Set text parameter, leave voice at default, set encoding to 'mp3'