generate_voiceover
Convert text to a spoken MP3 voiceover using AI text-to-speech. Choose provider, voice, and speed; get the generated audio file path.
Instructions
Generate a voiceover from text using AI text-to-speech (fal, OpenAI TTS or ElevenLabs). Requires a provider API key. Returns the path to the generated MP3.
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>"
},
"name": "generate_voiceover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The script to convert to speech | |
| model | No | Model id. Omit for the default (fal: minimax speech, openai: tts-1, elevenlabs: multilingual v2). | |
| speed | No | Speech rate (0.5 = slow, 2.0 = fast). Default 1.0. | |
| voice | No | Voice id or name (provider-specific). Omit for the default voice. | |
| provider | No | AI provider. Omit to use the first configured key. |