generate_audio
Convert text to speech or generate prompt-based audio via OpenAI, Gemini, fal, or Cloudflare, then save the audio file to disk and return its path.
Instructions
Text-to-speech (and prompt-based audio on fal). Saves the audio file to disk and returns its path.
provider (default: first configured of openai, gemini, fal, cloudflare):
openai: default gpt-4o-mini-tts, voice default alloy, mp3 output. options merged into the request (e.g. instructions, speed, response_format).
gemini: default gemini-3.8-flash-tts, voice default Kore (prebuilt voice name). options shallow-update generationConfig. Output is WAV.
fal: default fal-ai/elevenlabs/tts/turbo-v2.5. Input {text, voice} updated with options. Prompt-based fal audio models (music, sound effects) take options={"prompt": "..."}; any model id works.
cloudflare: default @cf/deepgram/aura-1. Body {text, speaker=voice} updated with options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| voice | No | ||
| options | No | ||
| provider | No |