Developer API

Text to Speech API — One Key for Voice, Cloning, Dubbing & More

Everything OratalLabs does in the browser, your code can do too. The OratalLabs API exposes text to speech, voice cloning, AI dubbing, speech to text, music and image generation behind one base URL and one permanent API key.

Base URL: https://oratallabs.com/api/v1. Send your key as a Bearer token with every request. There is no per-minute rate cap and no separate API subscription — your balance is the only limit, and the same key keeps working every time you top up. Text endpoints take JSON; upload endpoints take multipart form data; every response is JSON, and failed generations are refunded automatically.

curl -X POST https://oratallabs.com/api/v1/tts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello from OratalLabs", "library_voice_id": 522}'
🔌 Endpoints

Six Tools, One Integration

Every endpoint is charged from the same credit balance as the website.

🎙️

POST /tts

Convert text to speech with library voices, premium engine models or your cloned voices. No length limit — long texts return as one audio file, charged once.

🧬

POST /clone

Create a voice clone from an uploaded sample (multipart), then speak with it through /tts using its voice_id — the same clones as the website studio.

🗣️

POST /dubbing

Dub an uploaded video into another language automatically, with the same 29-language coverage as the dubbing tool.

📝

POST /stt

Transcribe uploaded audio or video to text for subtitles, notes and archives — the speech to text engine, callable from your pipeline.

🎵

POST /music

Generate original songs and instrumental tracks from a description, ready to drop into your product or content workflow.

🖼️

POST /image

Generate images from text prompts for thumbnails, artwork and product visuals, returned as file URLs your app can use directly.

Two helper endpoints round it out: GET /voices searches the full voice library — filter by name, language, gender and category, then pass a voice's id as library_voice_id to /tts — and GET /balance reports your current credits, so your app always knows where it stands.

⚙️ Why Developers Choose It

Built to Stay Out of Your Way

The boring parts are already handled.

🔑

One Permanent Key

Your key is issued once and never rotates when you top up. Ship your integration once; adding credits never means touching code or config again.

🚦

No Rate Caps

There is no per-minute request ceiling to engineer around. If your balance covers the work, the API does the work — your credits are the only limit.

💳

Pay As You Go

No subscription and no monthly minimum. Buy a credit pack when you need it — packs start at $15 — and spend the balance across all six tools.

↩️

Automatic Refunds

Failed generations refund their credits automatically, so your unit economics only ever reflect successful output. Clear error codes keep handling simple.

Quick Start

From Signup to First Call in 3 Steps

Most developers make their first successful call within minutes.

1️⃣

Create Your Free Account

Sign up with Google or email. Your account starts with 1,000 free credits — enough to build and test a real integration, not just a hello-world.

2️⃣

Copy Your API Key

Open the API Access page in your account and copy your permanent key. Full endpoint documentation with examples is on the same page.

3️⃣

Make Your First Call

Call /voices to pick a voice, then /tts to speak. When testing turns into production, top up from the pricing page — the key stays the same.

Good to know

API Questions

What developers ask before integrating.

How do I get an API key?

Create a free OratalLabs account and open the API Access page — your personal key is waiting there. The same key keeps working when you top up; you never need to update your integration to add credits.

Is there a rate limit on the API?

There is no per-minute rate cap. Your balance is the only limit: as long as your account has credits, your requests run. When a generation fails, its credits are refunded automatically.

Which voices can I use through the API?

All of them. The voices endpoint lists the same 10,000+ voice library as the website, filterable by name, language, gender and category — plus your own cloned voices, addressed by their voice_id.

What does the API return?

Every response is JSON. Text endpoints such as tts, music and image take a JSON body and return a result with a file URL; upload endpoints such as clone, stt and dubbing take multipart form data.

🧰 More Tools

Explore the Rest of OratalLabs

Prefer clicking to coding? Every API tool also exists as a friendly web studio.

AI Voice Generator

Text to speech with 10,000+ premium voices in 29 languages.

Voice Cloning

Clone your voice from a short sample and narrate anything.

AI Dubbing

Dub your videos into other languages automatically.

Speech to Text

Transcribe audio and video into accurate, editable text.

AI Music Generator

Create original songs and tracks from a description.

AI Image Generator

Turn text prompts into thumbnails and artwork.

Start Building with 1,000 Free Credits

Create your account, grab your key, and make your first call today — no card required.