Generate speech
generate_speechTurn text into spoken audio with a stock voice or a saved Character voice. Default model: speech/elevenlabs-v4. Cloned and designed voices (clone_voice, design_voice) are made on Fish Audio here and speak with speech/fish-drama-3: pass the Character's character_id, never its provider voice ID; without model, a Character with only such a voice uses speech/fish-drama-3. Fish Drama 3 also speaks public Fish voices by voice_id, takes [natural-language performance directions] and paired tags such as , multi-speaker extras.dialogue with a voice_id or character_id per turn, and is priced by UTF-8 bytes (speaker tags included). search_voices finds a stock voice by language, gender, accent or purpose and plays samples. Voice IDs, languages, settings and dialogue support differ per model (get_model_params). voice_settings fields are accepted and flattened. Saved pronunciations (add_speech_pronunciations) for the model family are applied automatically before pricing and generation; the result lists them in pronunciationReplacements, and check_job shows the original words. Returns a job; check_job returns the permanent audio URL once it is completed. Submitting charges credits, refunded automatically if the job fails; estimate_generation prices a request without charging.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to speak. Some models take dialogue turns in extras instead. | |
| model | No | Speech model ID. Default speech/elevenlabs-v4. | |
| extras | No | Model-specific parameters as listed by get_model_params. They are merged with the top-level fields. | |
| voice_id | No | Stock voice ID from get_model_params or search_voices. For a cloned or designed voice pass character_id instead. | |
| force_new | No | An identical request submitted in the last 10 minutes returns that job without charging again; true generates it again. | |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| character_id | No | Character with a saved voice for this model (see list_characters). Do not combine with voice_id. In extras.dialogue, a turn may also take character_id. | |
| budget_project | No | Optional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project. | |
| voice_option_id | No | A saved voice on that Character. Omit to use the preferred voice for the selected model. | |
| apply_saved_pronunciations | No | Apply this account's saved pronunciation text replacements for the selected model family. Defaults to true. Set false to bypass saved entries for this request; explicit pronunciation markup in text is preserved. |