Audio Generator
Turn text into natural speech with dozens of voices, 70+ languages, and custom style directions for tone, accent, and pacing.
Or pick a specific voice...
Still needed: Text
Runs on
APIExamples
Meet Pyra: voiceover
Gemini 2.5 Flash TTS. Pyra's own story, read in a warm storyteller voice: a voiceover you can drop straight into any video.
Best for
- •Narration and voiceover in 70+ languages
- •Text-to-speech with natural language style control (e.g. 'speak warmly', 'whisper', 'excited tone')
- •Multi-voice content with dozens of expressive voices
- •Multilingual scripts, the language is auto-detected from the text
Tips
- ✓Write narration in short, clear sentences for better pacing
- ✓Use punctuation to control pauses: periods for full stops, commas for brief pauses, ellipsis for long pauses
- ✓Leave the voice on Auto and the AI picks one that matches the style instructions, or pin a specific voice if you want a recurring character
- ✓Use natural language style hints: 'speak slowly and dramatically', 'cheerful and upbeat', 'calm and reassuring'
Articles about this pipeline
Audio Generator API
Call this pipeline from your own code. One request dispatches a run; the model is an input field, not a separate endpoint.
bun add @pipe2-ai/sdk import { createClient } from "@pipe2-ai/sdk";
const client = createClient(process.env.PIPE2_TOKEN!);
const { run_pipeline } = await client.RunPipeline({
pipeline_slug: "audio-generator",
input: {
text: "Welcome back to the show. Today we're talking about something a little strange.",
model: "gemini-2-5-flash-tts",
},
});pip install pipe2 import asyncio
import os
from pipe2 import Pipe2Client
client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])
run = asyncio.run(client.run_pipeline(
pipeline_slug="audio-generator",
input={
"text": "Welcome back to the show. Today we're talking about something a little strange.",
"model": "gemini-2-5-flash-tts",
},
))go get github.com/pipe2-ai/sdk-go client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))
input := json.RawMessage(`{
"text": "Welcome back to the show. Today we're talking about something a little strange.",
"model": "gemini-2-5-flash-tts"
}`)
run, err := pipe2.RunPipeline(context.Background(), client, "audio-generator", input)
if err != nil {
log.Fatal(err)
}brew install pipe2-ai/tap/pipe2 pipe2 pipelines run \
--pipeline audio-generator \
--input-json '{"text": "Welcome back to the show. Today we're talking about something a little strange.", "model": "gemini-2-5-flash-tts"}' \
--waitParameters
-
textrequired -
Text to convert to speech.
string -
instructions -
Describe tone, accent, pacing, emotion. The AI crafts a rich style prompt.
string -
model -
Voice engine to use. Leave unset to let Pipe2 pick the best available voice for your instructions.
gemini-2-5-flash-ttsgemini-2-5-pro-ttsdefaultgemini-2-5-flash-tts
Show all 4 inputs
-
voice -
Voice name from dozens available, or auto to let the AI pick.
autoZephyrPuckCharonKoreFenrirLedaOrusAoedeCallirrhoeAutonoeEnceladusIapetusUmbrielAlgiebaDespinaErinomeAlgenibRasalgethiLaomedeiaAchernarAlnilamSchedarGacruxPulcherrimaAchirdZubenelgenubiVindemiatrixSadachbiaSadaltagerSulafatdefaultauto
Use it from an AI agent
Point any MCP client at pipe2 and your agent gets these tools. It finds this pipeline, reads the same schema above, then runs it.
- list_pipelines
- get_pipeline_schema
- run_pipeline
- get_pipeline_run_status
- request_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}AI Text-to-Speech Generator
Turn any text into natural-sounding speech in dozens of voices and 70+ languages. Control tone, accent, pacing, and emotion through plain-language instructions, production-ready voiceover in seconds.
What you can make
- Documentary narration: authoritative, professional voices
- Podcast intros, outros, dialogue: multi-character delivery
- Multilingual voiceovers: cover the same script in 70+ languages
- Audiobook narration: emotional pacing with mid-sentence direction
- Accessibility: make text content available as audio
How it works
- Paste your text: what you want spoken
- Pick a voice or leave on Auto: Auto picks the best voice based on your text and instructions
- Add a style hint (optional), describe accent, pace, emotion: "warm British accent, slow pace with dramatic pauses"
- Pick a model: Flash TTS for fast drafts, Pro TTS for studio-grade prosody on final delivery
Style tips
- Write narration in short, clear sentences for better pacing
- Use punctuation to control pauses, periods for full stops, commas for brief pauses, ellipsis for long pauses
- Style hints take plain English: "speak slowly and dramatically," "cheerful and upbeat," "calm and reassuring"
Frequently Asked Questions
What voices are available?
What languages are supported?
How do instructions work?
What audio format is the output?
Which model should I pick?
How many credits does it cost?
Explore more pipelines
See all →Generate AI videos from a text prompt, image, or reference clip. Cinematic shots, product reveals, lifestyle ads, with synchronized audio and natural motion.
Generate AI images from text or reference photos. Product shots, character art, posters with readable text, photoreal portraits, high resolution in seconds.
Generate original background music that matches any mood, genre, and length you describe. Royalty-free, ready in seconds.
Edit existing videos with AI. Change style, add effects, modify scenes, or transform the entire look.