# 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 setup.

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

## Pricing

from $0.005 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# 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**.

![Text to Speech input — text, voice, rate and pitch in the Apify Console](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/text-to-speech-input.png?v=2)

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

![Text to Speech output example — the neural voice catalog as structured JSON](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/text-to-speech-output.png?v=5)

Each voice row looks like:

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

#### Output schema

| Field | Type | Description |
|-------|------|-------------|
| `shortName` | string | Voice short name to paste into the `voice` field (e.g. `es-MX-DaliaNeural`). |
| `locale` | string | Full locale/accent code of the voice (e.g. `es-MX`). |
| `gender` | string | Voice gender (`Male` or `Female`). |
| `name` | string | Human-friendly display name of the voice. |
| `language` | string | Language code of the voice (e.g. `es`). |

When synthesizing audio, each run instead returns the input `text`, the `voice` used, `characters`, `audioBytes`, a direct `audioUrl` to the MP3 and its `format`.

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

**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.

**Can I integrate this with other tools?**
The Text to Speech Actor can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JavaScript/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

### Feedback

How did it go? Good or bad, a [review](https://console.apify.com/actors/x9QABjFmvBqIbxzTS/reviews) helps other users decide and tells us what to improve. Something broken or missing? Open an [issue](https://apify.com/hipersoft/text-to-speech/issues) and we'll look at it.

### 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

You are responsible for the text you submit and for complying with applicable terms and licensing for its use. This is an independent tool; generated audio is provided as-is.

# 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": ""
}
```

# Actor output Schema

## `results` (type: `string`):

All dataset items produced by this run.

# 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(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/text-to-speech"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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