Cloud Text-to-Speech API with 23 Languages

By ScribeSync editorial team · Updated 2026-11-18

This documentation explains how to use the ScribeSync API to convert course scripts and training materials into high-quality audio files. You will learn how to authenticate, structure your requests, and choose from eight human-like voices across 23 languages. The guide is designed for teachers and methodologists who need to produce realistic e-learning audio without hiring voice actors.

You will find concrete examples for generating speech, managing API keys, and handling errors. The API follows a simple JSON structure compatible with standard HTTP clients and the OpenAI SDK. Whether you are integrating audio into an LMS or generating HR materials, this page provides the technical details you need to start sending text and receiving audio files efficiently.

Cloud Text-to-Speech API with 23 Languages

Frequently asked questions

How do I get an API key?

Sign up on our /get-api-key/ page using Google or an email and password. Once registered, your account dashboard displays your active API key, current balance, and usage statistics. Each account holds one active key, which you can rotate at any time via the same dashboard interface.

What is the character limit per request?

Each API request accepts up to 4096 characters of input text. Spaces and punctuation count toward this limit. If your script exceeds this length, you must split the text into smaller chunks, generate audio for each part, and join the resulting audio files manually.

Does the API support streaming?

No, the API does not support streaming, WebSockets, or real-time partial audio delivery. You send a POST request and receive the complete audio file in the response. For long texts, you handle splitting and joining the resulting audio files yourself.

Can I use the OpenAI SDK?

Yes, the request shape matches the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base URL to https://api.vipparktr.com/v1 and providing your ScribeSync API key. This allows seamless integration into your existing development workflows without learning a new library.

How do I set the language?

Include the optional language field with an ISO code in your request. If omitted, the system guesses the language from the script, defaulting to English for Latin text. For non-English Latin-script text, explicitly setting the language ensures accurate pronunciation and voice selection.

What happens if I exceed the rate limit?

You are limited to 60 requests per minute per key (10 per minute before the first top-up). If you exceed this, requests may queue or fail. New accounts start with a 10 requests per minute limit until the first top-up. Failed requests are free, but successful ones consume your balance.

Is SSML supported?

No, the API does not support SSML, phoneme dictionaries, or custom pronunciation lexicons. You control pacing and emphasis primarily by adjusting the speed parameter between 0.25 and 4.0. For precise control, you can split text into smaller segments and adjust speeds individually.

How do I handle long texts?

Split your text into parts of up to 4096 characters each. Send each part as a separate API request and receive individual audio files. Finally, join these audio files using your preferred audio editing tool or library to create the final course audio track.

What audio formats are available?

You can choose from mp3, wav, opus, flac, or pcm formats by setting the response_format field. These options allow you to balance file size and quality according to your specific e-learning platform requirements or distribution channel constraints.

Are responses stored?

Generated audio is returned in the response and not stored by our servers. Input text is used only to produce the audio and is not used for training. We retain request metadata, such as time, character count, and status, solely for billing purposes.

How do I rotate my API key?

You can issue a new API key at any time via your account dashboard on /get-api-key/. When you generate a new key, the previous one stops working immediately. This ensures secure access management for your team or automated scripts without downtime.

Is there a free tier?

We offer a $0.50 trial credit for Google sign-ins, valid for 7 days. Email accounts start without credit. There is no permanent free tier; ongoing usage requires top-ups via USDT on the TRON network. Failed requests are free, but standard usage incurs charges based on character count.

Can I use custom voices?

No, we do not offer custom voice cloning or uploading your own voice. You choose from eight preset voices (e.g., Aria, Nova, Felix) based on licensed recordings. These voices are optimized for clarity and are suitable for corporate training and HR materials.

What is the base URL?

The API base URL is https://api.vipparktr.com/v1. Use this endpoint for all requests, including speech generation and retrieving voice details. Ensure your Authorization header includes your Bearer token for authentication when making POST or GET requests to this domain.

First request

curl

curl https://api.vipparktr.com/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.vipparktr.com/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.vipparktr.com/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

Authentication

Sound wave illustration for: Authentication

To start generating audio, you need an API key. This key authenticates your requests to the ScribeSync engine and ensures your usage is tracked against your account balance.

Bearer Token Setup

Include your key in the Authorization header of every request. Use the format Bearer tts-your_key_here to identify your account.

API Key Management

Each account holds one active key. You can view your current key, balance, and usage stats on the /get-api-key/ dashboard.

  • Keys start with tts-

Key Rotation

Generate a new key anytime via the dashboard. The old key stops working immediately, ensuring secure access control for your course materials.

Endpoint: Speech Generation

Sound wave illustration for: Endpoint: Speech Generation

The core of ScribeSync is the speech generation endpoint. Send your course script here to receive synthesized audio. This endpoint handles the conversion from text to sound, supporting various models and voices for e-learning materials.

It accepts a JSON payload containing the text, voice selection, and audio format preferences. The API processes the request and returns the generated audio file directly in the response body.

POST /v1/audio/speech

Send a POST request to this endpoint with your API key in the Authorization header. The request must include the text input and voice parameters.

You can use the OpenAI SDK by pointing it to our base URL, or send plain HTTP requests. The endpoint processes requests sequentially, so under load, you might experience slight delays.

  • Endpoint: https://api.vipparktr.com/v1/audio/speech
  • Method: POST
  • Content-Type: application/json

JSON Body Structure

The request body is a JSON object containing the following fields: model, input, voice, response_format, and speed.

The 'input' field holds your text, up to 4096 characters. The 'voice' field selects one of the eight presets. The 'model' field chooses between tts-1 or tts-1-hd.

You can also specify 'speed' (0.25–4.0) and 'language' (optional ISO code).

  • model: tts-1 or tts-1-hd
  • input: string, max 4096 chars
  • voice: one of 8 presets
  • response_format: mp3, wav, opus, flac, pcm
  • speed: 0.25–4.0
  • language: optional ISO code

Response Format

On success, the API returns the audio file in the requested format. The response header includes the content type matching your chosen format.

If the request fails, you receive an error JSON object with details. Failed requests do not incur charges, and any pre-paid amount is refunded.

The audio file is not stored on our servers; it is returned directly in the response for immediate use in your LMS or HR platform.

Endpoint: Speech Generation

Request Parameters

Sound wave illustration for: Request Parameters

Configure your synthesis requests by selecting a model, a specific voice preset, and the text input. These three parameters define the audio output’s quality, tone, and content length, ensuring the generated speech matches your e-learning script’s requirements precisely.

The API accepts standard JSON bodies. You must specify the model version, choose one of eight human-like voices, and provide the text payload. Each parameter has strict constraints to guarantee consistent generation speeds and character counts for accurate billing.

Model Selection (tts-1, tts-1-hd)

Choose between "tts-1" and "tts-1-hd" for synthesis. Both models use the same underlying engine and pricing structure, so your choice depends only on whether you prefer the standard or high-definition audio quality for your course materials.

The model parameter is a simple string field in your JSON body. It does not affect the voice selection or language detection, allowing you to upgrade quality without changing your integration logic.

  • - "tts-1": Standard quality
  • - "tts-1-hd": High-definition quality
  • - Same price for both: $0.01 per 1,000 characters

Voice Selection

Select from eight distinct presets to match your teaching style. Options range from "aria," a warm narrator, to "atlas," a neutral news voice, or "orion," a deep documentary tone. Each voice supports all 23 languages, ensuring consistent audio quality across different course modules.

The voice parameter expects a single string identifier. You can rotate voices between different lesson modules to keep students engaged, as each voice is clearly distinct in timbre and pacing.

  • - Female: aria, nova, luna, sage
  • - Male: felix, milo, atlas, orion
  • - All voices support all 23 languages

Input Text Limit

Each request accepts up to 4,096 characters of input text. This limit includes spaces and punctuation. For longer course scripts, split your content into chunks of this size and join the resulting audio files sequentially.

Short phrases may take a few seconds to generate, while longer texts process at roughly real-time speed. Requests are queued sequentially under load, so plan your API calls accordingly to avoid delays in bulk production workflows.

Audio Formats

Sound wave illustration for: Audio Formats

Choose the audio format that best fits your e-learning delivery needs. ScribeSync supports MP3, WAV, OPUS, FLAC, and PCM, allowing you to balance file size and quality for your specific course materials.

Each format serves a different purpose, from optimized web delivery to archival-grade preservation. Select the one that aligns with your students' devices and your storage constraints.

MP3 Compression

MP3 is the most widely supported format for web players and mobile apps. It offers a good balance between file size and audio quality, making it ideal for embedding in LMS platforms or distributing via email.

The compressed files reduce bandwidth usage without significantly impacting the clarity of the generated speech, ensuring smooth playback for learners on various devices.

  • Ideal for web embedding and mobile delivery
  • Small file sizes for faster downloads
  • Broad compatibility with most media players

WAV Lossless

WAV provides uncompressed, high-quality audio perfect for editing or archival purposes. If your methodologists need to edit the audio further or require pristine quality for professional presentations, WAV is a good choice.

Although the files are larger, the lossless nature ensures no detail is lost from the original synthesis, preserving every nuance of the selected voice.

  • Uncompressed, high-fidelity audio
  • Best for editing and archival
  • Larger file sizes

OPUS and FLAC Options

OPUS offers efficient compression suitable for modern web standards, while FLAC provides lossless compression. Both formats give you flexibility depending on whether you prioritize storage efficiency or absolute quality.

These options allow you to tailor the audio output to your specific infrastructure requirements without compromising the integrity of the spoken content.

  • OPUS: Efficient compression for modern web use
  • FLAC: Lossless compression, smaller than WAV
  • Flexible options for various storage needs

Language Handling

Sound wave illustration for: Language Handling

Set the language field to an ISO 639-1 code (e.g., en, de, ja) to ensure precise pronunciation. This is essential for non-English texts written in Latin script, as the system defaults to English otherwise.

ISO Code Specification

Specify the language explicitly to avoid misinterpretation. Supported codes cover all 23 languages, from Arabic (ar) to Turkish (tr). This ensures the TTS engine selects the correct phonetic rules for your course material.

Automatic Detection

If you omit the language field, the API guesses the language based on the text script. For example, Cyrillic text automatically triggers Russian processing without manual configuration.

Latin Script Default

Latin script defaults to English. If you are generating Spanish or Dutch audio using Latin characters, you must set language manually. Otherwise, the system will pronounce the text with an English accent.

Language Handling

Rate Limits

Sound wave illustration for: Rate Limits

Manage your generation throughput with clear rate limits to ensure smooth processing of your course scripts. The API allows 60 requests per minute. You can monitor your usage directly from the dashboard.

60 Requests Per Minute

Each API key supports up to 60 requests per minute. This limit applies to all requests. If you send multiple short phrases, they are processed sequentially, so under heavy load, requests may queue briefly.

Initial 10 RPM Limit

New accounts start with a lower limit of 10 requests per minute. This helps maintain system stability during the trial period. You can view your current limit and usage stats on your dashboard.

Limit Increase After Top-Up

Your rate limit increases to 60 requests per minute after your first top-up. This change occurs automatically within minutes of a successful USDT transfer on the TRON network. No manual approval is required.

Error Handling

Sound wave illustration for: Error Handling

When generating audio for your e-learning modules, occasional network hiccups or invalid parameters may trigger standard HTTP errors. These responses indicate either temporary issues or malformed requests, allowing you to adjust your script parameters before retrying.

Common HTTP Errors

You may receive 400 Bad Request for invalid JSON or missing fields, 401 Unauthorized for expired keys, or 429 Too Many Requests if you exceed your rate limit. Check your authorization header and request body structure to resolve these quickly.

Failed Request Refunds

If synthesis fails due to server-side errors, the charge is returned in full. You are not billed for audio that is not successfully generated, ensuring you only pay for completed voice files ready for your courses.

Retry Logic

Implement exponential backoff for 429 and 5xx errors. For 400 errors, review your input text and parameters before retrying immediately. Since requests are processed sequentially, short delays help avoid queue congestion during high-volume script generation.

  • Retries do not incur additional charges if the request ultimately fails.
Error Handling

SDK Compatibility

Sound wave illustration for: SDK Compatibility

The ScribeSync API uses the same JSON structure as the OpenAI speech endpoint, allowing you to reuse existing code with minimal changes. You can integrate TTS into your e-learning workflow by simply updating the base URL, without needing a custom SDK.

OpenAI SDK Usage

Import the official OpenAI library for your preferred language. Pass your API key via the Authorization header. The request shape matches exactly, so parameters like model, input, and voice work identically to the OpenAI Speech API.

Base URL Configuration

Set the base_url to https://api.vipparktr.com/v1 in your SDK client. This directs all requests to our cloud infrastructure. Ensure your key starts with tts- for proper authentication.

Plain HTTP Requests

Use standard POST requests to https://api.vipparktr.com/v1/audio/speech with a JSON body. This works with any HTTP client, including curl, Python requests, or JavaScript fetch. No proprietary library is required.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Engage learners by transforming traditional methods into dynamic, interactive experiences that foster meaningful connection.

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. openai-node on GitHub
  3. Node.js documentation
  4. TRON developer hub: TRC-20
  5. Tether (USDT)
  6. IETF RFC 7845: Ogg Opus
  7. Python documentation
  8. curl documentation
  9. Creative Commons Attribution 4.0
  10. FFmpeg documentation
  11. LibriVox public-domain audiobooks
  12. MDN: Web Speech API

More on this site