API Documentation for Streamers and Developers

By VoxVibe editorial team · Updated 2026-11-18

This documentation guides VTuber streamers and developers through integrating the VoxVibe TTS API. Learn to generate audio clips, alerts, and voiceovers for your streams using standard HTTP requests or the OpenAI SDK. We provide concrete code examples, voice presets, and pricing details to help you build engaging content quickly.

You will find everything needed to start generating speech, from obtaining your API key to handling errors and rate limits. Whether you need a warm narrator voice or an energetic promo tone, this guide covers the essentials for seamless integration into your streaming workflow without unnecessary complexity.

API Documentation for Streamers and Developers

Frequently asked questions

What is the endpoint URL?

Send your request to POST https://api.tara777ok.com/v1/audio/speech. This endpoint accepts JSON bodies containing your text, voice selection, and format preferences. It follows the same structure as the OpenAI speech endpoint, making it easy to integrate into your existing stream alert workflows or VTuber clip generation pipelines without learning a new API shape.

How do I change the base URL?

If you are using the official OpenAI SDK, simply update the base_url configuration to https://api.tara777ok.com/v1. This allows you to use the standard SDK methods while routing requests through our infrastructure. You will still need to provide your specific VoxVibe API key in the authorization header for authentication.

Can I use the official OpenAI SDK?

Yes, the API request shape matches the OpenAI speech endpoint exactly. By changing the base_url to https://api.tara777ok.com/v1 and using your VoxVibe key, the official OpenAI SDKs work seamlessly. This lets you leverage familiar libraries for your VTuber or streaming projects without writing custom HTTP clients from scratch.

What models are available?

Two models are available: tts-1 and tts-1-hd. Both use the same engine and pricing structure. You can choose either model depending on your preference. The choice does not affect the cost per character or the speed of generation.

How do I set the speed?

Include a speed parameter in your request body, with values ranging from 0.25 to 4.0. This allows you to adjust the playback rate of the generated audio. Faster speeds are useful for quick alerts, while slower rates may suit storytelling segments. The default speed is 1.0, representing normal speech pace.

Can I send multiple voices in one request?

No, each request accepts only one voice preset. To create audio with multiple voices, you must send separate requests for each voice and then join the resulting audio files. You can split longer texts into parts of up to 4096 characters and concatenate the outputs programmatically.

What happens if I exceed the rate limit?

The limit is 60 requests per minute per key. If you exceed this, requests may queue or fail. Before your first top-up, the limit is stricter at 10 requests per minute. Failed requests are free, so you do not lose credit if a request fails due to limits or errors.

Is the API key secure?

Each account has one active API key. You can issue a new key at any time, which immediately invalidates the old one. This allows you to rotate keys securely if needed. Keep your key in the Authorization header as a Bearer token to authenticate your requests to the API.

Do I need to encode the audio?

No, the API returns the audio file directly in the response. You can choose formats like mp3, wav, opus, flac, or pcm. The audio is ready to use in your streaming software or video editors without additional encoding steps. The response contains the binary audio data directly.

How do I handle errors?

If synthesis fails, the charge is returned in full. Check the response status code and message to understand the issue. Common errors include exceeding character limits or invalid voice names. Since requests are processed sequentially, high load may cause delays, but failed attempts do not cost you credits.

Can I use the API for video editing?

Yes, you can generate audio files for use in video editing. The API produces standard audio formats like mp3 or wav. However, we do not provide a video editing pipeline or tools. You must handle the integration of the generated audio into your video editing workflow manually or via your own scripts.

Is there a WebSocket option?

No, there is no WebSocket or real-time streaming option. The API is request-response based: you send text and receive the completed audio file. This is suitable for generating clips and alerts where immediate partial audio is not required. You must wait for the full response before processing the audio.

Do you provide an SDK wrapper?

No, we do not provide an official SDK wrapper. You can use the official OpenAI SDK by changing the base URL, or use plain HTTP requests. This gives you flexibility to choose the library that best fits your development environment. No mobile SDK or WordPress plugin is available.

How do I list available voices?

Send a GET request to /v1/voices. This endpoint returns details about available voices, languages, formats, and pricing. You can use this information to select the best voice for your VTuber persona or stream content. The response includes all eight presets and their associated metadata.

First request

curl

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

Get Your API Key

Sound wave illustration for: Get Your API Key

To start generating audio for your stream clips, create an account on tara777ok.com using Google or email. This gives you immediate access to your API dashboard where you can monitor your balance and usage.

Your API key is the credential that authenticates your requests. Keep it secure, as it acts as your sole access token for the API.

Sign up on the site

Sign up on the site

Visit /get-api-key/ to register. Google sign-up includes a $0.50 free trial credit valid for 7 days, enough for about 50,000 characters. Email registration starts with zero balance.

Once registered, you can top up using USDT (TRC-20) with a $5 minimum. Credits are added automatically within minutes.

  • Google or Email registration
  • $0.50 trial for Google users
  • USDT (TRC-20) top-ups only

Copy your Bearer token

Copy your Bearer token

Your dashboard displays a unique key starting with tts-. Copy this exact string to use in your Authorization: Bearer <key> header.

This key is tied to your account’s balance and rate limits. Treat it like a password.

Regenerate keys if needed

You can issue a new key at any time from the dashboard. The old key stops working immediately, ensuring quick revocation if compromised.

This is useful if you share your key temporarily with a stream overlay plugin or CI/CD pipeline.

First Request with cURL

Sound wave illustration for: First Request with cURL

To generate speech, send a POST request to your API base URL. This endpoint handles the conversion of your text into audio files.

POST to /v1/audio/speech

Direct your requests to https://api.tara777ok.com/v1/audio/speech. This is the single endpoint for all synthesis tasks, keeping your integration simple.

Send JSON body

Include your Authorization: Bearer token and the text input. Specify the model (tts-1 or tts-1-hd), voice preset, and desired format like mp3 or wav. Ensure your text stays within the 4096-character limit.

  • Include model, input, voice, and response_format in the JSON payload.

Receive audio file

The API returns the audio data directly in the response body. You can save the response to a file or play it for stream alerts and clips.

OpenAI SDK Integration

Sound wave illustration for: OpenAI SDK Integration

The VoxVibe API mirrors the OpenAI speech endpoint structure, allowing you to reuse existing OpenAI SDK clients with minimal configuration. By simply updating the base_url to point to our API, you can leverage familiar libraries without learning a new interface.

This compatibility means your stream alert scripts and VTuber clip generators can integrate instantly. You only need to swap the endpoint and inject your specific VoxVibe Bearer token for authentication.

Change base_url

Point your OpenAI SDK client to https://api.tara777ok.com/v1. This redirects all standard speech requests to our infrastructure while maintaining the same request shape.

Ensure your authentication header uses your unique VoxVibe key. The SDK handles the rest, sending your text directly to our TTS engine.

  • Base URL: https://api.tara777ok.com/v1
  • Auth Header: Authorization: Bearer tts-...

Use tts-1 model

Select tts-1 for standard generation speed and cost. This model delivers clear audio suitable for most stream clips and alerts.

It is suitable for alert triggers, though requests are processed sequentially and may queue under load.

Use tts-1-hd model

Choose tts-1-hd for enhanced audio quality. This model uses the same engine but provides higher fidelity audio.

Both models share the same pricing structure, so you can upgrade quality without changing your cost expectations per character.

Voice Selection Guide

Sound wave illustration for: Voice Selection Guide

Choosing the right voice defines your stream's identity. Our eight presets cover everything from high-energy alert sounds to calm background narration. Select a voice that matches the vibe of your clip, whether it’s a hype moment or a chill hangout.

Each voice is designed for clarity and distinctiveness, ensuring your audience hears you clearly over game audio or music. You can switch voices instantly between requests to keep your content dynamic without re-recording.

List available voices

We offer eight distinct voice presets optimized for different content styles. All voices support all 23 languages, so you can localize your streams easily. You can mix and match voices in your clips to create variety.

The library includes both male and female options, ranging from deep documentary tones to bright, upbeat narrators. There is no need for complex configuration; just pick the one that fits your brand.

  • - aria (warm, clear narrator)
  • - nova (bright, upbeat)
  • - luna (soft, storytelling)
  • - sage (calm, instructional)
  • - felix (energetic, promo)
  • - milo (friendly, conversational)
  • - atlas (neutral, news)
  • - orion (deep, documentary)

Gender and tone options

Select based on the emotional weight of your content. Use 'felix' for energetic promo clips or 'atlas' for neutral news-style updates. 'orion' works well for deep, documentary-style intros.

For softer content, 'luna' offers a storytelling feel, while 'nova' keeps things bright and engaging. 'sage' is ideal for instructional guides or calm chat interactions.

Preset voice names

All voices are based on licensed recordings from LibriTTS-R and LibriVox. They are ready to use immediately via the API. No voice cloning or custom training is needed.

You can test any voice by sending a short text request. The audio is generated quickly, allowing you to find the perfect match for your VTuber persona or stream brand.

Supported Audio Formats

Sound wave illustration for: Supported Audio Formats

Choose the format that fits your stream’s workflow. MP3 offers broad compatibility for most players and browsers, while WAV provides uncompressed lossless quality for professional post-production or high-fidelity alerts.

MP3 for compatibility

MP3 is a common choice for most stream overlays and chat bots. It balances file size and quality, ensuring smooth playback across Twitch, YouTube, and Discord without buffering issues.

WAV for quality

Select WAV when you need pristine audio for VODs or editing. The uncompressed format preserves every detail of the synthesis, ideal for archival or high-end broadcast workflows.

Opus and FLAC options

Opus provides compression for voice chat integration, while FLAC offers lossless storage for voice libraries. Both formats are available via the response_format parameter.

  • Opus: best for low-latency voice chat
  • FLAC: lossless archive quality
  • MP3: universal player support
  • WAV: uncompressed audio fidelity
Supported Audio Formats

Rate Limits and Quotas

Sound wave illustration for: Rate Limits and Quotas

To keep synthesis running smoothly for your live streams, VoxVibe enforces a rate limit of 60 requests per minute for each API key. This limit applies to your tts-1 and tts-1-hd models equally, ensuring you can generate alerts or clips rapidly without overwhelming the service.

Before you add any funds, new keys start with a lower cap of 10 requests per minute. Once you top up with USDT (TRC-20), your limit increases to the full 60 requests per minute.

60 requests per minute

After topping up, your key supports up to 60 synthesis requests each minute. This throughput is sufficient for most VTuber streams.

  • Limit resets every 60 seconds.
  • Applies to all request types.

10 requests before top-up

Free trial keys and accounts without a linked payment method are capped at 10 requests per minute. This prevents accidental bursts from draining your $0.50 trial credit too quickly while you test the API.

  • Applies to trial and untopped-up keys.
  • Increases automatically after successful USDT transfer.

Queue processing

Requests are processed sequentially. If you send more voices than the limit allows, additional requests will wait in a queue. Longer texts may take longer to synthesize, so plan your clip generation accordingly to avoid delays during live moments.

  • Requests are processed one after another.
  • Queueing may delay urgent alerts.

Error Handling

Sound wave illustration for: Error Handling

When the API returns a non-200 status code, the response body contains specific error details. Common issues include invalid API keys, insufficient balance, or exceeding the 60 requests per minute limit. Always check the status field to diagnose the problem before retrying.

Check status codes

Inspect the HTTP response code immediately. A 401 indicates an expired or invalid key, while 429 means you hit the rate limit. Use these codes to trigger specific retry logic or user notifications in your stream overlays or bot scripts.

Retry on failure

Implement exponential backoff for transient errors like 503 Service Unavailable. Since requests are processed sequentially, a brief pause often resolves queue congestion. Avoid rapid-fire retries, which may worsen the bottleneck and consume your character quota unnecessarily.

  • Wait 1-2 seconds before the first retry.
  • Increase wait time with each subsequent attempt.
  • Stop retrying after 5 attempts to prevent API spam.

Free retry on error

If synthesis fails due to a server-side issue or timeout, the request is free. You do not lose characters from your balance. This allows you to safely retry failed generations without worrying about wasting your trial credit or paid balance.

Language and Speed Settings

Sound wave illustration for: Language and Speed Settings

Language handling is automatic for Latin script, defaulting to English if unspecified. For non-English Latin text, explicitly set the ISO code to ensure accurate pronunciation across all 23 supported languages.

Set ISO language code

Pass the language parameter with a valid ISO code to override detection. This ensures precise output for languages like Arabic, Japanese, or Swahili, regardless of the voice selected.

  • Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
  • Not supported: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali

Adjust speed 0.25-4.0

Control pacing with the speed parameter, ranging from 0.25 to 4.0. Default is 1.0. Use slower speeds for clear narration or faster rates for energetic stream alerts.

  • Range: 0.25 to 4.0
  • Default: 1.0

Auto-detect Latin script

If language is omitted, the API guesses from the script. Latin text defaults to English. Always set language for non-English Latin text to avoid mispronunciation.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Virtual entertainers and live broadcasters often share their daily work routines with independent contractors who help produce content.

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. Python documentation
  3. Node.js documentation
  4. W3C WAI: making audio and video accessible
  5. LibriTTS-R paper (arXiv 2305.18802)
  6. curl documentation
  7. TRON developer hub: TRC-20
  8. openai-python on GitHub
  9. FFmpeg documentation
  10. LibriTTS-R corpus (OpenSLR 141)
  11. MDN: Web Speech API
  12. Tether (USDT)

More on this site