FOR DEVELOPERS

Text to Speech API with Voices That Sound Human

Send text and get natural speech back. The Voiceslab TTS API brings our studio voices—including your own cloned voices—to your app with one simple REST call and transparent per-character pricing.

Hear the Voices
Free browser previewNo credit card requiredUse only authorized voices
Glass code icon connected to a glowing audio waveform, representing the Voiceslab text to speech API

Text to speech API

Voiceover workflow

Script to voiceover

Preview, refine, export

Ready
00:1200:38

WORKING VOICE DEMO

Hear What the API Sounds Like

The API uses the exact same voices and engine as this demo. Type a sentence, pick a voice, and listen before writing a single line of code.

Up to 500 characters per preview· 3 free previews left0 / 500

Find a voice for your script

WHAT IT IS

What Is the Voiceslab Text to Speech API?

A text to speech API lets your software convert written text into spoken audio automatically. Instead of opening a studio and clicking generate, your app sends an HTTP request and receives an audio file ready to play, store, or publish.

The Voiceslab API is a REST API with endpoints for single-voice speech, multi-speaker dialogue, available voices, and your credit balance. It works with any programming language that can make HTTP requests and draws from the same credit balance as your Voiceslab plan.

ONE REQUEST

From Text to MP3 in One Call

Authenticate with your API key, send your text and a voice ID, and save the audio. Add ?response=json to return a download link instead of the audio file.

Read the API documentation
curl https://voiceslab.io/api/v1/tts \
  -H "Authorization: Bearer $VOICESLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Welcome to our app!", "voice_id": "Rachel"}' \
  --output welcome.mp3

WHY TEAMS USE IT

What a TTS API Solves

When audio is core to your product, generating files by hand doesn't scale.

01

Audio at the speed of your content

Generate narration for every new article, lesson, or product page automatically the moment it goes live.

02

Your own voice in your product

Clone a voice once in the studio, then call it through the API so every audio clip keeps a consistent, recognizable sound.

03

No audio pipeline to maintain

Skip hosting speech models and managing GPUs. Send text, get audio back, and pay only for the characters you convert.

HOW IT WORKS

Start Using the API in Four Steps

Most developers make their first successful request within minutes.

  1. STEP1

    Choose a plan

    API speech generation is available on every paid plan and also works with credit packs.

  2. STEP2

    Create an API key

    Open Dashboard → API & MCP, name your key, and optionally set a daily character limit.

  3. STEP3

    Pick a voice

    Call the voices endpoint to list library voices and your cloned voices, then copy a voice ID.

  4. STEP4

    Send your text

    Send your text and voice ID to the speech endpoint and save the returned MP3, WAV, or Opus file.

WHAT YOU GET

Text to Speech API Features

Everything you need to integrate natural speech into an app, workflow, or content pipeline.

Library and cloned voices

Use voices from the Voiceslab library or voices you've cloned in the studio. Cloned voices remain private to your account.

Up to 11,000 characters per request

Convert a full article or script in a single call and receive the output as MP3, WAV, or Opus.

Multi-speaker dialogue

Turn a script with up to 5 voices into a single MP3 conversation for podcasts, lessons, and tutorials.

Speed and volume control

Adjust speaking speed and volume per request without changing the underlying voice.

Safe retries

Include an Idempotency-Key so retried requests return the original result without charging you twice. Failed generations are never billed.

Keys, limits, and usage

Create up to 5 API keys, cap each with an optional daily character limit, and track daily usage in your dashboard.

Sound engineer adjusting a real mixing console during a spoken-word recording

Direct the delivery

Multi-speaker dialogue

Turn a script with up to 5 voices into a single MP3 conversation for podcasts, lessons, and tutorials.

Two voice professionals reviewing multilingual scripts together in a recording studio

Build for more audiences

Safe retries

Include an Idempotency-Key so retried requests return the original result without charging you twice. Failed generations are never billed.

PRICING AND LIMITS

How API Pricing Works

The API shares the same credit pool as the Voiceslab studio: 1 credit equals 1 character of input text across every language. Monthly plan credits are used first, followed by credit-pack credits, which never expire.

Basic includes 200,000 credits per month and Pro includes 500,000 credits per month. Each API key can make up to 60 requests per minute, and each account can run 2 generations at the same time. Generated audio is stored for 7 days, and JSON download links remain valid for 1 hour.

QUESTIONS BEFORE YOU CREATE

Text to Speech API FAQs

How much does the text to speech API cost?

API requests use your Voiceslab credits at 1 credit per character of input text in every language. Basic includes 200,000 credits per month, Pro includes 500,000 credits per month, and credit packs provide extra credits that never expire.

Can free accounts use the API?

Free accounts can create API keys, list voices, and check their credit balance, but generating speech requires a paid plan or a credit pack.

Can I use my cloned voice through the API?

Yes. Clone your voice in the Voiceslab studio, then pass its voice ID in your API requests. Your cloned voices are private and can only be used by your account.

Which audio formats are supported?

Single-voice speech supports MP3, WAV, and Opus. Multi-speaker dialogue is returned as MP3 only.

Am I charged if a request fails?

No. If a generation fails, credits are refunded automatically. When you send an Idempotency-Key, retries of a completed request are not charged again.

Can AI assistants use Voiceslab too?

Yes. The Voiceslab MCP server lets Claude, ChatGPT, Cursor, and other MCP clients list voices and generate speech using your account.

Add Natural Speech to Your App

Create an API key, pick a voice, and make your first request in minutes.

Get Your API Key

Text to speech API

Voice track
00:38
Text to Speech API with Realistic AI Voices | Voiceslab