Text to speech
Turns text into spoken audio with AI
Also available to AI agents and over MCP as a tool.
Uses the AI gateway; its cost shows in the run.
Parameters
Section titled “Parameters”route
AI route · string · optional
The AI route that runs it (AI settings). Empty = the default route for this kind of task; the route sets the price.
text
Text · string · required
The text to speak.
voice
Voice · string · optional
The voice of the route’s model.
format
Format · string · optional · default mp3 · one of mp3, wav, ogg
speed
Speed · number · optional · default 1 · range 0.25 – 4
into
Into field · string · optional · default data
saveTo
Save to · string · optional · default none · one of none, media
Where the result goes: back on the item as a file, or into the media library (the item then gets mediaId).
mediaFolder
Media folder · string · optional
Shown when saveTo is media.
mediaTags
Media tags · array · optional
Shown when saveTo is media.
Outputs
Section titled “Outputs”main