# Text to Speech — 300+ Neural Voices, Free MP3 (`hipersoft/text-to-speech`) Actor

Convert any text to natural-sounding speech as an MP3 download. 300+ premium neural voices across 70+ languages, adjustable rate, pitch and volume. Great for voiceovers, videos, accessibility and audio content. No login, no API key.

- **URL**: https://apify.com/hipersoft/text-to-speech.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / audio generated

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Text to Speech — 300+ Neural Voices, Free MP3

Turn any text into natural-sounding speech and get a ready-to-use **MP3**. Powered by premium **neural voices** — **300+ voices across 70+ languages** — with adjustable speed, pitch and volume. Perfect for **video voiceovers, YouTube/TikTok, audiobooks, accessibility, IVR and e-learning**. No account, no API key.

### Features

- 🎙️ **300+ neural voices** — lifelike male & female voices in 70+ languages and accents
- 🌍 **Multilingual** — English (US/UK/AU/…), Spanish, French, German, Portuguese, Hindi, Japanese, Chinese, Arabic and many more
- 🎚️ **Full control** — adjust speaking rate, pitch and volume
- 📥 **MP3 output** — a downloadable audio file per run, in your chosen quality
- 📝 **Any length** — long text is auto-chunked and joined into one seamless file
- 🔎 **Voice browser** — list every voice, or filter to one language/accent (e.g. only Spanish, only British English)
- ⚡ **Fast & free voices** — no API key, no per-voice licensing

### Browse & filter voices by language

Set **List voices only** to `true` to get the full catalog instead of audio. Add **Filter by language / locale** to narrow it — by language (`es`, `ja`, `de`) or by exact locale/accent (`en-GB`, `pt-BR`, `es-MX`):

```json
{ "listVoicesOnly": true, "language": "es" }
```

Each voice row looks like:

```json
{
  "shortName": "es-MX-DaliaNeural",
  "language": "es",
  "locale": "es-MX",
  "gender": "Female",
  "name": "Microsoft Dalia Online (Natural) - Spanish (Mexico)"
}
```

Copy the `shortName` into the **Voice** field to synthesize with it. Leave the language filter empty to see all 300+ voices across 70+ languages.

### What you get

```json
{
  "text": "Hello! This is a natural sounding neural voice…",
  "voice": "en-US-AriaNeural",
  "characters": 61,
  "audioBytes": 40320,
  "audioUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/audio.mp3",
  "format": "audio-24khz-48kbitrate-mono-mp3"
}
```

The MP3 is saved to the run's key-value store — download it from `audioUrl`.

### Input

```json
{
  "text": "Welcome to our channel. Today we'll explore…",
  "voice": "en-US-GuyNeural",
  "rate": "+10%",
  "pitch": "+0Hz"
}
```

| Field | Description |
|-------|-------------|
| `text` | The text to convert (any length). |
| `voice` | Voice short name (e.g. `en-GB-SoniaNeural`). Use `listVoicesOnly` to see all. |
| `rate` / `pitch` / `volume` | Speaking rate, pitch and volume. |
| `format` | MP3 quality. |
| `listVoicesOnly` | Output the voice catalog instead of synthesizing. |
| `language` | When listing voices, filter to one language or locale (e.g. `es`, `en-GB`, `ja`). |

### Use cases

- **Video voiceovers** — narration for YouTube, TikTok, Reels, explainers
- **Audiobooks & articles** — turn text into listenable audio
- **Accessibility** — read-aloud versions of your content
- **IVR & assistants** — generate phone/system prompts
- **E-learning** — narrated lessons in many languages

### FAQ

**Do I need an API key?**
No. Just provide text and get an MP3 — no account or key required.

**How many voices and languages are there?**
300+ neural voices spanning 70+ languages and regional accents. Run with `listVoicesOnly: true` to get the full list.

**How do I find voices for a specific language?**
Run with `listVoicesOnly: true` and set `language` to a code like `es` (all Spanish), `en-GB` (British English) or `ja` (Japanese). You'll get just the matching voices, each with its `shortName`, `locale`, `gender` and friendly `name`. Then paste the `shortName` into the `voice` field.

**What languages are supported?**
English (US, UK, AU, IN, CA…), Spanish (ES, MX, AR…), Portuguese (BR, PT), French, German, Italian, Dutch, Polish, Russian, Arabic, Hindi, Japanese, Korean, Chinese (Mandarin & Cantonese), Turkish, Vietnamese, Thai, Indonesian and many more — 70+ in total.

**Can it handle long text?**
Yes. Long text is automatically split into chunks and merged into a single MP3.

**Can I change the speed or pitch?**
Yes — set `rate` (e.g. `+15%`), `pitch` (e.g. `-10Hz`) and `volume`.

**Where's the audio file?**
Saved to the run's key-value store; the output record includes a direct `audioUrl` to download the MP3.

### Related Actors

- [Website Content Crawler Pro](https://apify.com/hipersoft/web-content-crawler-pro) — turn web pages into clean text (feed it into TTS)
- [Wikipedia Scraper](https://apify.com/hipersoft/wikipedia-scraper) — article text you can narrate
- [Google News Scraper](https://apify.com/hipersoft/google-news-scraper) — news articles to convert to audio
- [PubMed Scraper](https://apify.com/hipersoft/pubmed-scraper) — research abstracts to listen to

### Notes

Original clean-room implementation using Microsoft Edge's public online neural text-to-speech ("Read Aloud") service. You are responsible for the text you submit and for complying with applicable terms and licensing for its use. This is an independent tool and is not affiliated with or endorsed by Microsoft.

# Actor input Schema

## `text` (type: `string`):

The text to convert to speech. Long text is automatically split and joined into one audio file.

## `voice` (type: `string`):

Voice short name, e.g. en-US-AriaNeural, en-US-GuyNeural, en-GB-SoniaNeural, es-ES-ElviraNeural, fr-FR-DeniseNeural, de-DE-KatjaNeural, ja-JP-NanamiNeural, hi-IN-SwaraNeural. Set listVoicesOnly to browse all 300+.

## `rate` (type: `string`):

Speaking rate, e.g. -20%, +0%, +25%.

## `pitch` (type: `string`):

Voice pitch, e.g. -10Hz, +0Hz, +20Hz.

## `volume` (type: `string`):

Volume, e.g. +0%, -20%, +50%.

## `format` (type: `string`):

MP3 quality.

## `listVoicesOnly` (type: `boolean`):

Instead of synthesizing, output the catalog of available voices (shortName, language, locale, gender, name). Combine with 'Filter by language' to narrow it down.

## `language` (type: `string`):

When listing voices, return only voices for this language or locale. Examples: es (all Spanish), en-GB (British English), ja (Japanese), pt-BR (Brazilian Portuguese). Leave empty to list every voice.

## Actor input object example

```json
{
  "text": "Hello! This is a natural sounding neural voice, generated from your text.",
  "voice": "en-US-AriaNeural",
  "rate": "+0%",
  "pitch": "+0Hz",
  "volume": "+0%",
  "format": "audio-24khz-48kbitrate-mono-mp3",
  "listVoicesOnly": false,
  "language": ""
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "text": "Hello! This is a natural sounding neural voice, generated from your text."
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/text-to-speech").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "text": "Hello! This is a natural sounding neural voice, generated from your text." }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/text-to-speech").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "text": "Hello! This is a natural sounding neural voice, generated from your text."
}' |
apify call hipersoft/text-to-speech --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hipersoft/text-to-speech",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/x9QABjFmvBqIbxzTS/builds/bwX44OfhjmQKCsWtx/openapi.json
