Frequently asked questions
What is the base URL for the API?
The API base URL is https://api.35bd1.cc/v1. You send POST requests to https://api.35bd1.cc/v1/audio/speech for synthesis. Other endpoints include GET /v1/voices and GET /v1/models. This structure matches the OpenAI speech endpoint format, allowing you to integrate easily into your existing production workflow without learning a new architecture.
How do I authenticate my requests?
Include your API key in the Authorization header as a Bearer token: Authorization: Bearer tts-.... You generate this key on the /get-api-key/ page. Each account has one active key; issuing a new one immediately invalidates the old one. Keep this key secure to ensure your usage is billed correctly.
Can I use the OpenAI Python SDK?
Yes, the official OpenAI SDKs work perfectly. Simply change the base_url parameter to https://api.35bd1.cc/v1 and provide your Wavetube API key. The request shape is identical to the OpenAI speech endpoint, so you can use the same code structure to generate audio files for your YouTube videos.
What is the maximum input length?
Each request supports up to 4096 characters of input text. Spaces and punctuation count toward this limit. If your script exceeds this length, you must split it into smaller parts. The API processes these parts sequentially, so you will need to join the resulting audio files for the final video.
Which voices are available?
There are eight voice presets: aria, nova, luna, and sage (female); felix, milo, atlas, and orion (male). Each voice has a distinct tone, from warm narrators to deep documentary styles. All voices support the 23 supported languages, including English, Spanish, German, and Japanese, allowing flexible voiceovers for diverse content.
How do I change the speech speed?
Use the speed parameter in your request, which accepts values between 0.25 and 4.0. The default is 1.0. Adjusting speed helps match the pacing of your video. Slower speeds clarify complex information, while faster speeds keep energetic segments moving. The API generates audio at a speed relative to the adjusted speed.
Does the API support SSML?
No, the API does not support SSML. You cannot use speech markup for fine-grained control over pauses or emphasis. You must rely on the natural phrasing of the text or adjust the speed parameter to influence pacing. This keeps the API simple and direct for straightforward voiceover needs.
What happens if the API is rate limited?
The limit is 60 requests per minute per key (10 before the first top-up). Requests are processed sequentially, so under load, your request may wait in a queue. If you exceed the limit, you will receive a rate limit error. Split long scripts into smaller batches to manage throughput effectively.
How do I handle long scripts?
Split your script into chunks of up to 4096 characters. Send each chunk as a separate request to the speech endpoint. Then, join the resulting audio files in your video editing software. This approach ensures consistent quality and allows you to manage rate limits by spacing out your requests.
Is streaming supported?
No, streaming is not supported. You receive the complete audio file in the response after synthesis finishes. Short phrases take a few seconds, while longer texts take roughly real-time duration. You must wait for the full file before downloading or processing it for your YouTube video production.
Can I generate audio in the background?
The API is synchronous; you send a request and wait for the audio file in the response. There is no webhook or background job system. You can generate audio asynchronously in your own code by sending multiple requests in parallel, but each individual request blocks until the audio is ready.
How do I get my API key?
Sign up on the /get-api-key/ page using Google or email. Your API key is displayed on that page along with your balance, trial status, and usage stats. You can issue a new key at any time, which immediately invalidates the old one. Use this key in your Authorization header for all requests.
What formats are supported for output?
You can choose from mp3, wav, opus, flac, and pcm formats using the response_format parameter. MP3 is efficient for web delivery, while WAV and FLAC offer lossless quality. PCM is raw audio. Select the format that best fits your video editing workflow and storage requirements.
Are there any SDKs specific to this API?
No, there is no specific Wavetube SDK. The API is designed to work with the official OpenAI SDKs by changing the base URL. You can also use plain HTTP requests. This approach ensures compatibility with existing tools and libraries without requiring you to install a proprietary SDK.
First request
curl
curl https://api.35bd1.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.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.35bd1.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.35bd1.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 | |
|---|---|
aria | female |
nova | female |
luna | female |
sage | female |
felix | male |
milo | male |
atlas | male |
orion | male |
| language | |
|---|---|
ar | العربية |
zh | 中文 |
da | Dansk |
nl | Nederlands |
en | English |
fi | Suomi |
fr | Français |
de | Deutsch |
el | Ελληνικά |
he | עברית |
hi | हिन्दी |
it | Italiano |
ja | 日本語 |
ko | 한국어 |
ms | Bahasa Melayu |
no | Norsk |
pl | Polski |
pt | Português |
ru | Русский |
es | Español |
sw | Kiswahili |
sv | Svenska |
tr | Türkçe |
Get Your API Key
Create an account on 35bd1.cc using Google or email to access your API dashboard. This gives you immediate access to your unique key, balance, and usage statistics without waiting for approval.
Your key authenticates every request sent to the API. You can regenerate it at any time; the old key stops working instantly, ensuring your voiceovers remain secure.
Sign Up Process
Sign up via the /get-api-key/ page using Google or email/password. Google sign-ups include a $0.50 trial credit valid for 7 days, giving you about 50,000 characters to test the service.
Email-based accounts start with zero balance and no trial credit. You must top up with USDT (TRC-20) to begin generating audio.
- Google or email registration
- $0.50 trial for Google users
- No email trial credit
Key Management
Your dashboard displays your active key, current balance, and character usage. You can issue a new key at any time, which immediately invalidates the previous one.
Only one active key is allowed per account, simplifying security management for your YouTube workflow.
- One active key per account
- Instant invalidation of old keys
- Dashboard shows balance and usage
Request Limits
Standard accounts are limited to 60 requests per minute. Before your first top-up, this limit drops to 10 requests per minute.
These limits apply per key, so ensure your script handles retries gracefully if you hit the ceiling.
- 60 requests/minute standard
- 10 requests/minute pre-top-up
- Limit applies per key
Quickstart with cURL
Use cURL to send a simple text-to-speech request. The API accepts JSON and returns audio directly. This method works for any programming language or automation script.
Replace your API key in the header. The request body includes the model, voice, and input text. You will receive an audio file after synthesis completes, which takes a few seconds for short phrases or roughly real-time for longer texts.
Basic Request Example
Send a POST request to the speech endpoint. Use tts-1 for standard quality or tts-1-hd for higher fidelity. The input text must be under 4096 characters.
- Endpoint:
POST https://api.35bd1.cc/v1/audio/speech - Model:
tts-1ortts-1-hd - Voice: e.g.,
nova,atlas - Input: plain text string
Authentication Header
Include your API key in the Authorization header. Use the format Bearer tts-.... Ensure the key is active and has sufficient balance.
Response Format
The response contains the audio file in the requested format. Failed requests are free. Use mp3, wav, opus, flac, or pcm for the output.
Using the OpenAI SDK
The OpenAI SDKs work seamlessly with Wavetube by simply redirecting the base URL. This allows you to use familiar libraries for voice synthesis without learning a new client. You only need to point the SDK to our API endpoint and provide your key.
Configure the client to use https://api.35bd1.cc/v1 as the base URL. This ensures all requests, including speech generation, are routed correctly through our infrastructure while maintaining standard OpenAI-compatible behavior.
Base URL Configuration
Set the API base URL to https://api.35bd1.cc/v1. This is the only change required to switch from OpenAI to Wavetube. The endpoint structure remains identical to the standard speech API.
Client Initialization
Initialize the client with your API key. Use the standard constructor for your preferred language (Python, Node.js, etc.). Ensure the key starts with tts- and is kept secure.
No additional authentication headers are needed beyond the standard Bearer token. The SDK handles the header automatically when configured correctly.
Code Snippets
- Use
OpenAIclient withbase_url="https://api.35bd1.cc/v1" - Pass
model="tts-1"or"tts-1-hd"for synthesis - Send text via the
inputparameter - Specify
voicefrom the 8 available presets - Receive audio as bytes or file object
- Handle errors with standard HTTP status codes
Supported Parameters
Configure your synthesis requests using the model, voice, and speed parameters to tailor the audio output. The API accepts standard TTS models and eight distinct voice presets, allowing you to select the perfect tone for your YouTube content.
Model Selection
Set the model field to either tts-1 or tts-1-hd. Both use the same underlying engine and pricing tier, so you can switch between them without cost differences.
Voice Presets
Choose from eight licensed voices. Female options include Aria (warm narrator), Nova (bright), Luna (soft storytelling), and Sage (calm). Male options are Felix (energetic), Milo (friendly), Atlas (neutral news), and Orion (deep documentary).
Each voice supports all 23 supported languages. If you do not specify a language, the system guesses based on the text script, defaulting to English for Latin characters.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
Speed Control
Adjust the speed parameter between 0.25 and 4.0. This allows you to slow down complex explanations or speed up quick updates without re-recording.
Default speed is 1.0. Lower values create a slower, more deliberate pace, while higher values increase the tempo for faster-paced content.
Audio Formats and Output
The API lets you choose the audio format that best fits your YouTube workflow. You can generate files in MP3, WAV, Opus, FLAC, or PCM, depending on your editor’s needs.
Each format serves a different purpose, from web-friendly compression to uncompressed studio quality. Select the format that matches your post-production pipeline.
MP3 and WAV Options
MP3 is the standard for web uploads and offers small file sizes with good quality. WAV provides uncompressed audio, ideal for professional editing software that requires lossless input.
Both formats are widely supported by most video editors. Choose MP3 for direct uploads or WAV if your editing suite prefers uncompressed audio.
- MP3: Compressed, web-ready, smaller files.
- WAV: Uncompressed, high quality, larger files.
- Both formats maintain audio fidelity for voiceovers.
Opus and FLAC Support
Opus provides efficient compression suitable for streaming or web use, while FLAC offers lossless compression for archival quality without the size of WAV.
These formats are less common but useful for specific editing workflows or storage efficiency. FLAC preserves every detail of the generated voice.
Opus is ideal for web delivery where bandwidth matters, while FLAC ensures no data loss during editing.
- Opus: Efficient compression, web-optimized.
- FLAC: Lossless compression, archival quality.
- Both formats support high fidelity.
PCM Raw Audio
PCM provides raw, uncompressed audio data without any container overhead. It is useful for low-level processing or custom audio pipelines.
This format is less common for direct YouTube uploads but valuable for technical workflows requiring raw audio data.
Use PCM if your software expects raw audio streams or if you need to process audio at the sample level.
- PCM: Raw, uncompressed audio data.
- No container overhead.
- Ideal for low-level processing.

Rate Limits and Quotas
The API enforces a hard limit of 60 requests per minute for each active key. Requests are processed sequentially, so under load, synthesis may wait in a queue. Typical generation speed is roughly real-time (about 25 characters per second), meaning longer texts take longer to generate.
If you exceed the limit, subsequent requests will be delayed until the window resets.
Requests Per Minute
Each API key is capped at 60 requests per minute. This limit applies globally to your key, regardless of the voice or model used. If you send multiple short phrases rapidly, they are processed one after another, which may introduce slight delays during peak times.
- Limit: 60 requests per minute per key
- Processing: Sequential, one after another
- Impact: Potential queueing under high load
Pre-Trial Limits
Accounts without a top-up are limited to 10 requests per minute. This lower threshold helps manage server load for free trial users. Once you add USDT to your balance, the limit automatically increases to 60 requests per minute.
- Standard limit: 60 req/min
- Pre-top-up limit: 10 req/min
- Increase: Automatic upon top-up
Handling Throttling
If you receive a 429 Too Many Requests error, wait a few seconds before retrying. Implementing a simple exponential backoff in your script is the most reliable way to handle temporary throttling without wasting API calls.
- Error: 429 Too Many Requests
- Solution: Wait and retry
- Best practice: Exponential backoff
Error Handling
Errors usually stem from invalid inputs, exceeded rate limits, or transient network issues. The API returns standard HTTP status codes to help you identify the problem quickly.
Implementing simple retry logic with exponential backoff handles temporary glitches effectively, ensuring your video production workflow stays on track without manual intervention.
Common Error Codes
400 errors indicate invalid JSON or missing required fields like input or voice. 429 errors mean you have hit the 60 requests per minute limit. 500 errors represent server-side issues that are typically resolved within minutes.
- 400: Bad Request - Check your JSON structure
- 429: Too Many Requests - Wait and retry
- 500: Internal Server Error - Try again shortly
Retry Logic
Use exponential backoff for 429 and 500 errors. Start with a short delay and double it with each attempt. This prevents overwhelming the server during high load periods when requests are queued.
Billing Error Cases
Failed synthesis requests are free, so you won't be charged for errors. If you see a billing error, verify your API key is active and has sufficient balance. New keys start with no balance unless a trial credit was applied.
Advanced Usage
Handling long scripts for YouTube videos requires splitting text into 4096-character chunks and joining the resulting audio files. This ensures compliance with API limits while maintaining continuous playback for your voiceovers.
Always specify the language parameter for non-English Latin text to avoid incorrect language guessing. This prevents mispronunciations in your final video audio.
Long Text Splitting
Split input text into parts of up to 4096 characters. Generate audio for each part separately, then join the files sequentially for a single continuous voiceover track.
Typical generation speed is roughly real time (25 characters per second). Under load, requests may queue, so plan your batch generation time accordingly.
- Max 4096 characters per request
- Join audio files manually
- Real-time generation speed
Language Code Specification
If language is omitted, the API guesses the language from the script, defaulting to English for Latin text. For accurate results with other languages, explicitly set the ISO code.
Not all languages are supported. Verify your target language is in the list before generating audio to avoid unexpected English pronunciation.
- Explicit ISO codes recommended
- Latin text defaults to English
- 23 supported languages
Batch Processing
Process multiple voiceovers by sending requests. Use the official OpenAI SDK or plain HTTP to manage parallel requests efficiently.
Monitor rate limits (60 requests per minute) to avoid throttling. Implement retry logic with exponential backoff for failed requests.
- Concurrent request support
- 60 requests per minute limit
- Exponential backoff recommended
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. You get a steady, high-quality voice that does not fluctuate unexpectedly, which is ideal for consistent branding across a series of videos.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Creative Commons Attribution 4.0
- OpenAI API reference: create speech
- Node.js documentation
- ISO 639 language codes
- openai-python on GitHub
- openai-node on GitHub
- LibriTTS-R paper (arXiv 2305.18802)
- MDN: Web Speech API
- FFmpeg documentation
- W3C WAI: making audio and video accessible
- LibriVox public-domain audiobooks
