generateTts
Convert text into spoken audio with a single API request, choosing from multiple TTS providers and formats to get a playable audio file URL for immediate use.
Instructions
Synthesize TTS audio directly (POST /v1/tts/generate). Provider: openai | elevenlabs | minimax | qwen_flash | qwen_plus | kokoro | edge. Returns a playable audio file URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize | |
| style | No | Speaking style, e.g. neutral | |
| voice | No | Voice id for the selected provider | |
| format | No | mp3 (default), pcm, wav, opus, aac, flac | |
| agent_id | No | If set, the generated audio is saved as the agent's notification clip | |
| provider | No | TTS provider (default openai) |