Text To Speech
text_to_speechGenerate spoken audio from text using kokoro. Choose voice, speed, and format; get the saved audio file path.
Instructions
Synthesize audio from text with kokoro (NaN API TTS). Returns the saved audio file path. Use the list_voices tool to see all available voices per language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize | |
| speed | No | Speech speed. Default 1.0 | |
| voice | No | Voice to use, e.g. "af_heart" (American English female), "ef_dora" (Spanish female), "em_alex" (Spanish male), "em_santa" (Spanish male). Use list_voices for the full catalog | |
| format | No | Audio format. Default mp3 | |
| outputName | No | Optional base name for the output file |