---
title: ToolRouter — Tool Detail
description: Detailed documentation for a ToolRouter tool including skills, parameters, and examples.
url: https://toolrouter.com/tools/voice-generator
---
# Voice Generator

Convert text to lifelike speech with 1000+ voices across dozens of languages and accents. Fine-tune stability, speed, and style. Output as MP3 or raw PCM for streaming. For narrations, explainers, audiobooks, voice assistants, and demos.

- **Version:** 0.02
- **Categories:** media, ai
- **Workflow:** list_voices → generate_voice

## Skills (2)

### Generate Voice (`generate_voice`)

Convert text to natural-sounding spoken audio using AI text-to-speech. Choose from a wide range of voices, adjust speech parameters like stability, speed, and style, and select from multiple output formats.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `text` | string | Yes | The text to convert to speech. Supports up to 5000 characters per request. |
| `voice_id` | string | No | Voice ID to use. Defaults to "JBFqnCBsd6RMkjVDRZzb" (George). Use list_voices to see all available voices. [default: "JBFqnCBsd6RMkjVDRZzb"] |
| `model_id` | string | No | Model to use for generation. Defaults to "eleven_multilingual_v2" which supports 29 languages. [default: "eleven_multilingual_v2"] |
| `stability` | number | No | Voice stability (0-1). Lower values produce more expressive and variable speech. Higher values produce more consistent and stable output. |
| `similarity_boost` | number | No | Similarity boost (0-1). Higher values make the voice more closely match the original voice sample. Lower values allow more creative variation. |
| `style` | number | No | Style exaggeration (0-1). Higher values amplify the style of the original speaker. Recommended to keep at 0 for most use cases. |
| `speed` | number | No | Speech speed multiplier (0.25-4.0). 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. |
| `output_format` | string | No | Audio output format and quality. Defaults to "mp3_44100_128". Higher bitrate = better quality but larger files. (mp3_22050_32, mp3_44100_64, mp3_44100_128, mp3_44100_192, pcm_16000, pcm_22050, pcm_24000, pcm_44100, ulaw_8000) [default: "mp3_44100_128"] |

**Returns:** Audio file path (auto-uploaded), voice and model IDs, text length, output format, and file size

**Examples:**

*Generate a simple voice clip with default settings:*

```json
{
  "text": "Welcome to ToolRouter, the universal API for AI agent tools."
}
```

*Generate expressive speech with custom voice settings:*

```json
{
  "text": "Breaking news: scientists have discovered a new species of deep-sea fish that communicates using bioluminescent patterns.",
  "stability": 0.3,
  "similarity_boost": 0.8,
  "style": 0.5,
  "speed": 1.1,
  "output_format": "mp3_44100_192"
}
```

### List Voices (`list_voices`)

List all available voices with their IDs, names, categories, labels, descriptions, and audio preview URLs. Use this to discover voice options before generating speech.

**Returns:** Array of voice objects with voice_id, name, category, labels, description, and preview_url

**Examples:**

*List all available voices:*

```json
{}
```

## Quick Start

```bash
# Via CLI
TOOLROUTER_API_KEY=tr_live_xxx npx -y toolrouter-mcp call voice-generator generate_voice --text Welcome to ToolRouter, the universal API for AI agent tools.

# Via REST API
curl -H "Authorization: Bearer tr_live_xxx" \
     -d '{"tool":"voice-generator","skill":"generate_voice","input":{"text":"Welcome to ToolRouter, the universal API for AI agent tools."}}' \
     https://api.toolrouter.com/v1/tools/call
```

## Frequently Asked Questions

### How many voices and languages are available?

The tool offers 1000+ voices across dozens of languages and accents.

### How do I choose a voice?

Use `list_voices` to browse the options, then pass the chosen `voice_id` into `generate_voice`.

### Can I control the speaking style?

Yes. You can tune stability, similarity boost, style, and speed to match narration, character work, or fast explainers.

### What output format do I get?

You can export MP3 for finished audio or raw PCM for streaming workflows.

---

## Get Started with ToolRouter

**Already connected?** Call any tool with `use_tool({ tool, skill, input })`. Browse tools with `discover` or visit https://toolrouter.com/llms-full.txt

**New to ToolRouter?** Connect with one command (no API key needed — auto-provisions on first use):

```bash
# MCP (Claude Code, Codex CLI)
claude mcp add toolrouter -- npx -y toolrouter-mcp

# MCP (Cursor, Windsurf, Cline, VS Code, Gemini CLI, Claude Desktop)
{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

# Claude Chat / Claude Cowork / Claude Mobile — add as a connector:
# Settings → Connectors → Add custom connector → URL: https://api.toolrouter.com/mcp

# ChatGPT — add as an app:
# Settings → Apps → Advanced settings → enable Developer mode → Create app → MCP Server URL: https://api.toolrouter.com/mcp

# CLI (works instantly, no restart needed)
npx -y toolrouter-mcp tools                    # browse all tools
npx -y toolrouter-mcp search "seo"             # search by keyword
npx -y toolrouter-mcp call seo analyze_page --url https://example.com
```

Free tools work immediately. For paid tools, visit https://toolrouter.com/claim to add credits.

All platforms: https://toolrouter.com/connect | Full catalog: https://toolrouter.com/llms-full.txt | Docs: https://toolrouter.com/docs