vocea_generate_audio
Generate speech from text with a specified voice, language, and emotional tone. Returns an audio URL for immediate use.
Instructions
Convert text to speech using a Vocea voice. Returns an audio URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"voice_id": "<voice_id>",
"text": "<text>",
"language_code": "<language_code>"
},
"name": "vocea_generate_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | Yes | Voice UUID to use for synthesis | |
| text | Yes | Text to convert to speech (max 10000 chars) | |
| language_code | Yes | Language code, e.g. 'en', 'es', 'fr' | |
| emotion | No | Emotional tone (default: neutral) | |
| speaking_rate | No | Speaking rate multiplier 0.5–1.5 (default 1.0) |