Generate voice
generate_voiceTurn text into speech with an ElevenLabs voice and return the result with its audio URL and audio_id; the clip is also saved to the user's library. It waits for the audio; there is no job to poll. voice_id is required by the server (400 without it): a voiceId from list_voice_clones or a stock ElevenLabs voice id; another user's clone is refused. options may set model_id (default "eleven_multilingual_v2"), stability, similarity_boost and style. Spends Galatic.AI credits.
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": {
"text": "<text>",
"context": "<context>"
},
"name": "generate_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | What to say. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| options | No | Optional model_id, stability, similarity_boost, style, use_speaker_boost. | |
| voice_id | No | Required by the server. A voiceId from list_voice_clones or a stock voice id. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |