Quickstart Guide for TTS API Integration for Creators

By Voiceora editorial team · Updated 2026-11-19

This guide helps TikTok, Reels, and Shorts creators integrate Voiceora’s text-to-speech API quickly. You will learn how to generate clear narration for viral content using simple code. The API accepts standard JSON requests, so you can use tools you already know to turn scripts into audio files in seconds.

We cover everything from getting your API key to handling errors and adjusting voice speeds. You will see concrete cURL examples and OpenAI SDK configurations tailored for content workflows. Whether you are automating videos or testing voice presets, this page gives you the exact steps to start generating audio immediately.

Quickstart Guide for TTS API Integration for Creators

Frequently asked questions

How do I get an API key?

Sign up on the /get-api-key/ page using Google or an email and password. Your account is specific to this site. Once registered, you can view your active API key, balance, and usage statistics directly on the dashboard. You can also issue a new key at any time, which immediately invalidates the old one.

Is the OpenAI SDK compatible?

Yes. The API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.playmeo555.cc/v1 and providing your site-specific API key. This allows you to integrate Voiceora into your existing workflows with minimal code changes.

What is the base URL?

The API base URL is https://api.playmeo555.cc/v1. All requests, including speech synthesis and voice listing, are sent to this domain. For example, the speech endpoint is POST https://api.playmeo555.cc/v1/audio/speech. Ensure your SDK or HTTP client points to this specific URL to access the Voiceora services.

How do I handle errors?

If synthesis fails, the charge is returned in full. You will receive an error response indicating the issue, such as invalid parameters or rate limits. Failed requests do not consume your character balance. Check your response status codes and handle retries if necessary, keeping in mind the queue processing during high load.

What are the rate limits?

You are limited to 60 requests per minute per API key. If you have not topped up your account, the limit is 10 requests per minute. Requests are processed sequentially, so under heavy load, your request may wait in a queue. Ensure your application respects these limits to avoid delays.

Can I use the API in Python?

Yes. Since the API mimics the OpenAI speech endpoint, you can use the official OpenAI Python SDK. Simply configure the client with the base_url https://api.playmeo555.cc/v1 and your API key. This allows you to generate audio files directly from your Python scripts using the official OpenAI SDK.

How do I change the speed?

Include the speed parameter in your request body, with values ranging from 0.25 to 4.0. This allows you to adjust the narration pace to fit your video content, whether you need a slow, clear explanation or a fast-paced energetic delivery. The default speed is typically set to 1.0.

What is the max text length?

Each request can contain up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer texts, you should split the content into chunks of 4096 characters or less, generate audio for each part, and then join the resulting audio files together for your final video.

Do I need a developer account?

You need an account on this site, which you can create via Google or email/password on the /get-api-key/ page. This account provides your API key, balance, and usage stats. There are no separate tiers or specific developer plans; any account can access the full API capabilities based on their credit balance.

Is the API RESTful?

Yes. The API uses standard HTTP methods like POST for speech generation and GET for retrieving voices and models. You interact with it via JSON payloads and receive audio files or JSON metadata. This RESTful design makes it easy to integrate with various programming languages and tools using standard HTTP clients.

How do I check available voices?

Send a GET request to /v1/voices. This endpoint returns a list of all available voices, their associated languages, and supported formats. You can use this information to select the best preset, such as Aria for narration or Felix for promos, before generating your audio content.

Can I send audio in the request?

No. The API is strictly a text-to-speech service. You send text in the input field and receive an audio file in the response. There is no voice cloning or audio input endpoint for custom voice generation. You can only generate speech from text using the eight available voice presets.

What happens if the server is down?

Requests may be processed sequentially, leading to queue delays under load. If synthesis fails, you are not charged. There is no SLA or uptime guarantee. If you experience issues, you can contact support by email. Ensure your application handles potential delays or temporary failures gracefully.

How do I renew my API key?

You can issue a new API key at any time from your account dashboard. When you generate a new key, the old one is immediately invalidated. This is useful if you suspect your key has been compromised. You do not need to recreate your account; just generate a fresh key from the same account.

First request

curl

curl https://api.playmeo555.cc/v1/audio/speech \
  -H "Authorization: Bearer $TTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
  --output hello.mp3

Python (openai)

from openai import OpenAI

client = OpenAI(base_url="https://api.playmeo555.cc/v1", api_key="tts-...")

with client.audio.speech.with_streaming_response.create(
    model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
    response.stream_to_file("hello.mp3")

Node.js (openai)

import OpenAI from "openai";
import fs from "node:fs";

const client = new OpenAI({ baseURL: "https://api.playmeo555.cc/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));
voice
ariafemale
novafemale
lunafemale
sagefemale
felixmale
milomale
atlasmale
orionmale
language
arالعربية
zh中文
daDansk
nlNederlands
enEnglish
fiSuomi
frFrançais
deDeutsch
elΕλληνικά
heעברית
hiहिन्दी
itItaliano
ja日本語
ko한국어
msBahasa Melayu
noNorsk
plPolski
ptPortuguês
ruРусский
esEspañol
swKiswahili
svSvenska
trTürkçe

Get Your API Key

Sound wave illustration for: Get Your API Key

Access your API key by visiting the /get-api-key/ page on playmeo555.cc. You can sign up instantly using your Google account or create a standard account with an email and password. Each account is tied to this specific site.

Once registered, you receive one active API key starting with 'tts-'. This key authenticates all requests to the Voiceora engine. You can generate a new key at any time, which immediately invalidates the previous one for security.

Sign Up with Google

Sign Up with Google

Click the Google sign-in button on the registration page. This method grants you a $0.50 free trial credit valid for 7 days, providing about 50,000 characters to test the service.

Your API key appears immediately on the dashboard, along with your balance and usage statistics. No credit card is required to start testing.

  • Instant access to the /get-api-key/ dashboard
  • $0.50 trial credit included
  • No payment method required initially

Email and Password Setup

Email and Password Setup

Alternatively, register using a valid email address and a secure password. Accounts created this way start without trial credit.

You must top up your balance before generating audio. Use the dashboard to view your key and monitor character consumption.

  • Standard email registration
  • No automatic trial credit
  • Requires USDT top-up to use

Key Management Rules

Each account holds exactly one active key. If you suspect a leak, generate a new key via the dashboard.

The old key stops working immediately upon issuing the new one. There is no grace period.

Keep your key secure; it grants full access to your balance and usage data.

  • One active key per account
  • Instant invalidation of old keys
  • Regenerate anytime via dashboard

First Request with cURL

Sound wave illustration for: First Request with cURL

Generating audio is as simple as sending a POST request. You provide your text, select a voice preset, and receive an MP3 file. The API returns the audio binary in the response body, but synthesis may take a few seconds for short phrases or longer for large texts.

This direct approach works with any tool that can send HTTP requests, making it easy to automate voiceovers for TikTok, Reels, or Shorts without complex integrations.

Authentication Header

Include your unique API key in the request header. Use the format Authorization: Bearer tts-... to identify your account and allow access to the synthesis engine.

  • Key format: Bearer tts-<your-key>

JSON Body Structure

The request body must be valid JSON containing the model, input, and voice fields. You can optionally set response_format, speed, and language. Text is limited to 4096 characters per request.

If your script is longer, split it into chunks and join the resulting audio files later.

  • model: "tts-1" or "tts-1-hd"
  • input: your text string
  • voice: e.g., "aria", "nova"
  • response_format: "mp3", "wav", "opus", "flac", or "pcm"
  • speed: 0.25 to 4.0

Example Command

Here is a ready-to-use cURL command. Replace tts-... with your key and update the text and voice as needed.

This example generates a short clip using the 'nova' voice in MP3 format, perfect for quick social media tests.

  • ```bash curl -X POST https://api.playmeo555.cc/v1/audio/speech \ -H "Authorization: Bearer tts-..." \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Hello from Voiceora!", "voice": "nova", "response_format": "mp3"}' \ -o speech.mp3 ```

OpenAI SDK Integration

Sound wave illustration for: OpenAI SDK Integration

Use the official OpenAI SDK by changing the base URL to https://api.playmeo555.cc/v1. Pass your site-specific key via the Authorization header. This allows you to use standard client methods without rewriting HTTP logic.

The API follows the same request shape as the OpenAI speech endpoint. You can switch providers easily by updating only the base URL configuration in your code.

Base URL Configuration

Point your SDK client to https://api.playmeo555.cc/v1. This routes all speech requests through our infrastructure while keeping your existing OpenAI-compatible code structure intact.

SDK Compatibility

Any official OpenAI SDK works because we mirror the endpoint structure. You do not need a proprietary client library; standard HTTP libraries also work perfectly.

  • No custom SDK required
  • Standard JSON payloads
  • Compatible with Python, Node.js, and other official clients

Code Snippet Example

Initialize the client with your base URL and key. Call the audio.speech method with your text, voice preset, and desired format.

  • import OpenAI
  • client = OpenAI(base_url="https://api.playmeo555.cc/v1", api_key="tts-...")
  • response = client.audio.speech.create(model="tts-1", voice="nova", input="Hello world", response_format="mp3")

Request Parameters

Sound wave illustration for: Request Parameters

To generate audio, you must specify a model and a voice preset. The API accepts "tts-1" and "tts-1-hd," which use the same engine and pricing structure, allowing you to switch without changing your code logic. The voice parameter selects from eight distinct presets, ranging from warm narrators to energetic promo voices, ensuring your content matches the right tone.

Adjust the speed between 0.25 and 4.0 to control pacing. Faster speeds help condense long scripts for Shorts, while slower rates improve clarity for instructional content. Each request processes one text block up to 4096 characters, so split longer scripts into parts to ensure consistent generation quality.

Model Selection

The API offers two model identifiers: "tts-1" and "tts-1-hd." Both utilize the identical underlying engine and share the same pricing tier. This means you can upgrade or downgrade quality without restructuring your integration logic, as the request shape remains identical for both options.

Voice Presets

Select from eight presets tailored for different content styles. Female voices include Aria (warm narrator), Nova (upbeat), Luna (soft storytelling), and Sage (calm instruction). Male options feature Felix (energetic promo), Milo (friendly conversation), Atlas (neutral news), and Orion (deep documentary).

Every voice can speak any of the 23 supported languages. If you omit the language field, the system guesses the language based on the script, defaulting to English for Latin text. Explicitly setting the language ensures accurate pronunciation for non-English content.

  • Aria: Warm, clear narrator
  • Nova: Bright, upbeat
  • Luna: Soft, storytelling
  • Sage: Calm, instructional
  • Felix: Energetic, promo
  • Milo: Friendly, conversational

Speed Adjustment

Adjust the speed parameter between 0.25 and 4.0 to control audio pacing. Faster speeds are useful for condensing long scripts into short-form videos, while slower rates enhance clarity for instructional or documentary content. This flexibility helps you maintain engagement without sacrificing intelligibility.

Response Formats

Sound wave illustration for: Response Formats

Choose the format that fits your workflow. MP3 offers the best compression for social media, while WAV preserves quality for editing.

MP3 for Compression

MP3 is a common choice for TikTok, Reels, and Shorts. It keeps file sizes small while maintaining clear audio quality, ensuring fast uploads and smooth playback on mobile devices.

WAV for Editing

Use WAV when you need lossless audio for post-production. It preserves every detail, making it ideal for layering voiceovers with music or applying effects in editing software.

OPUS and FLAC Options

OPUS provides efficient compression with good quality. FLAC offers lossless compression, balancing file size and quality for archival or high-fidelity needs.

Response Formats

Rate Limits and Queues

Sound wave illustration for: Rate Limits and Queues

For content creators publishing frequently, understanding rate limits ensures your workflow remains smooth. Voiceora allows 60 requests per minute per API key once you have topped up your account.

60 Requests Per Minute

Each active API key supports up to 60 requests per minute. This limit applies to the POST /v1/audio/speech endpoint. You can monitor your usage via the dashboard to avoid unexpected pauses during high-volume generation sessions.

Initial 10 RPM Limit

New accounts start with a limit of 10 requests per minute. This applies until you make your first top-up. Once you add USDT (TRC-20), the limit increases to 60 RPM immediately. This ensures stability for new users while verifying payment methods.

Queue Behavior

Requests are processed sequentially. If you exceed the limit, subsequent requests may wait in a queue. Longer texts take more time to synthesize, so under heavy load, you might experience slight delays. Short phrases usually complete within a few seconds.

Error Handling

Sound wave illustration for: Error Handling

Errors are your signal to adjust, not a sign of failure. Each HTTP status code tells you exactly what went wrong, from authentication hiccups to payload size limits. Understanding these responses helps you keep your TTS pipeline running smoothly without unnecessary downtime.

401 Unauthorized

This error means your API key is missing or incorrect. Ensure your Authorization header includes the valid Bearer token. If you issued a new key, the old one stops immediately.

  • Check for typos in the key string.
  • Verify the key is active in your dashboard.

429 Rate Limit

You have exceeded the limit of 60 requests per minute. For new accounts, this limit is 10 requests per minute until the first top-up. Wait a few seconds and retry; the queue processes requests sequentially.

  • Implement exponential backoff in your script.
  • Monitor your usage dashboard to stay under limits.

413 Payload Too Large

Your input text exceeds the 4,096 character limit per request. Split longer scripts into smaller chunks, synthesize each part, and join the audio files manually.

  • Count characters including spaces and punctuation.
  • Use a loop to process multi-part scripts.

Voice and Language Settings

Sound wave illustration for: Voice and Language Settings

To find available voices, send a GET request to /v1/voices. This endpoint returns the full list of presets, supported languages, and available formats so you can select the perfect tone for your next video.

Voice Endpoint

The /v1/voices endpoint provides detailed metadata for all eight presets. Use this data to map specific voices like Aria or Felix to your content style before generating audio.

  • GET https://api.playmeo555.cc/v1/voices

Language ISO Codes

Specify the language field using a two-letter ISO code (e.g., en, es, ja). While not strictly required, setting this ensures accurate pronunciation, especially for non-English Latin text.

  • Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.

Auto-Detection Logic

If you omit the language field, the system guesses the language from the script. Latin script defaults to English. Explicitly setting the language prevents errors with mixed-language scripts.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. This format reduces bandwidth usage while maintaining acceptable audio clarity for short-form videos.

Avatar of the voice aria
ariafemale
Avatar of the voice nova
novafemale
Avatar of the voice luna
lunafemale
Avatar of the voice sage
sagefemale
Avatar of the voice felix
felixmale
Avatar of the voice milo
milomale
Avatar of the voice atlas
atlasmale
Avatar of the voice orion
orionmale

23 languages

Any voice speaks any of these languages.

Sources and further reading

  1. Wikipedia
  2. TRON developer hub: TRC-20
  3. openai-python on GitHub
  4. IETF RFC 7845: Ogg Opus
  5. openai-node on GitHub
  6. Tether (USDT)
  7. MDN: Web Speech API
  8. Node.js documentation
  9. W3C WAI: making audio and video accessible
  10. OpenAI API reference: create speech
  11. Python documentation
  12. LibriTTS-R paper (arXiv 2305.18802)

More on this site