Back to pipelines

Audio Generator

Turn text into natural speech with dozens of voices, 70+ languages, and custom style directions for tone, accent, and pacing.

0.7
AI
Auto
AI picks the best voice based on your instructions and text
Or pick a specific voice...
Zephyr
F · Bright, Enthusiastic
Puck
M · Upbeat, Casual
Charon
M · Deep, Calm
Kore
F · Firm, Clear
Fenrir
M · Warm, Friendly
Leda
F · Youthful, Energetic
Orus
M · Firm, Casual
Aoede
F · Breezy, Professional
Callirrhoe
F · Easy-going, Friendly
Autonoe
F · Bright, Warm
Enceladus
M · Breathy, Confident
Iapetus
M · Clear, Professional
Umbriel
M · Easy-going, Resonant
Algieba
M · Smooth, Warm
Despina
F · Smooth, Warm
Erinome
F · Clear, Sophisticated
Algenib
M · Gravelly, Calm
Rasalgethi
M · Informative, Energetic
Laomedeia
F · Upbeat, Approachable
Achernar
F · Soft, Inviting
Alnilam
M · Firm, Optimistic
Schedar
M · Even, Casual
Gacrux
F · Mature, Engaging
Pulcherrima
M · Forward, Youthful
Achird
M · Friendly, Articulate
Zubenelgenubi
M · Casual, Deep
Vindemiatrix
F · Gentle, Smooth
Sadachbia
M · Lively, Resonant
Sadaltager
M · Knowledgeable, Calm
Sulafat
F · Warm, Enthusiastic

Still needed: Text

Runs on

API

Examples

AudioGemini 2.5 Flash TTS

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.

4 inputs
1 required
0.7 to 1.3 credits
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"}' \
  --wait

Get an API token →

Parameters

text required

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-tts default gemini-2-5-flash-tts
Show all 4 inputs
voice

Voice name from dozens available, or auto to let the AI pick.

autoZephyrPuckCharonKoreFenrirLedaOrusAoedeCallirrhoeAutonoeEnceladusIapetusUmbrielAlgiebaDespinaErinomeAlgenibRasalgethiLaomedeiaAchernarAlnilamSchedarGacruxPulcherrimaAchirdZubenelgenubiVindemiatrixSadachbiaSadaltagerSulafat default auto

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" }
    }
  }
}

Full API reference MCP setup CLI reference

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

  1. Paste your text: what you want spoken
  2. Pick a voice or leave on Auto: Auto picks the best voice based on your text and instructions
  3. Add a style hint (optional), describe accent, pace, emotion: "warm British accent, slow pace with dramatic pauses"
  4. 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?
Dozens of expressive voices spanning bright, deep, warm, firm, and dramatic characters. Each responds to plain-language style instructions for tone and delivery.
What languages are supported?
70+ languages with automatic detection. From major languages like English, Chinese, Japanese, Spanish to regional languages including Cebuano, Konkani, and Luxembourgish.
How do instructions work?
Describe how you want the voice to sound in plain English. For example: 'A 40-year-old British journalist, speaking slowly with dramatic pauses on key points.' AI interprets your direction and crafts the vocal performance.
What audio format is the output?
MP3, ready to download or chain into pipelines like Video Reel as a narration track.
Which model should I pick?
Flash TTS is the cheaper, faster path, great for drafts, short clips, and iteration. Pro TTS uses a higher-fidelity model with stronger prosody and pacing, pick it for production narration. Both render in seconds; Pro takes a beat longer.
How many credits does it cost?
0.7 to 1.3 credits depending on the model, Flash TTS is the cheaper path and Pro TTS costs a little more. Results are ready in seconds.

Explore more pipelines

See all →
Video Generator
from 9.5
Video Generator
Image Generator
0.2-6.4
Image Generator
Music Generator
2.5-45.1
Music Generator
Video Editor
13.1-29.8
Video Editor