speak
Convert text to speech and save a WAV file locally, returning the absolute path and metadata. Supports multiple voices, languages, and expression tags for flexible audio generation.
Instructions
Convert text to speech and save a WAV file. Returns the absolute path and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| play | No | If true, play audio on this machine (STDIO/local use only). | |
| text | Yes | 1–5000 characters; may include expression tags from list_expressions(). | |
| speed | No | Playback speed in [0.7, 2.0]. | |
| language | No | ISO 639-1 code (en, ko, ja, …). Required for reliable non-English output. | |
| voice_id | No | Built-in voice (M1–M5, F1–F5). See list_voices(). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |