PodVoice TTS API: The Complete Quickstart Guide for Podcasters

By PodSonic editorial team · Updated 2026-11-19

This guide helps no-code podcast creators integrate AI voice synthesis into their production workflow. You will learn how to generate audio files for your shows using the PodSonic API, without hiring voice actors or managing complex infrastructure. We cover practical steps from obtaining your API key to handling long-form scripts.

You will find concrete examples using cURL and the OpenAI SDK, along with clear explanations of voice presets, audio formats, and rate limits. The guide focuses on reliable, step-by-step instructions tailored for podcasters who need to convert text to speech efficiently. All technical details match the current API specifications, ensuring you can start generating audio immediately.

PodVoice TTS API: The Complete Quickstart Guide for Podcasters

Frequently asked questions

What is the base URL?

The API base URL is https://api.s667.info/v1. Use this endpoint for all requests, such as POST /v1/audio/speech. If you use the OpenAI SDK, change the base_url to this address and provide your API key. All other endpoints like /v1/voices also use this base URL.

Do I need the OpenAI SDK?

No, the OpenAI SDK is not required. You can use any HTTP client to send JSON requests to the endpoint. The OpenAI SDK works only if you update the base_url to https://api.s667.info/v1. Plain HTTP requests are fully supported for all text-to-speech operations.

How do I set the language?

Include the optional 'language' field with an ISO code in your request JSON. If omitted, the system guesses the language, defaulting to English for Latin script. For non-English Latin text, always set the language explicitly to ensure correct synthesis, as the model supports 23 specific languages.

What is the character limit?

Each request supports up to 4096 characters in the 'input' field. Spaces and punctuation count toward this limit. For longer texts, split the content into chunks of 4096 characters, generate audio for each part, and join the resulting files to create the complete podcast episode.

Can I adjust the speed?

Yes, use the 'speed' parameter to adjust playback rate between 0.25 and 4.0. This allows you to speed up narration or slow down dialogue. Adjusting speed does not affect the voice model or audio quality, only the playback rate of the generated audio.

Which model is better?

Both 'tts-1' and 'tts-1-hd' use the same engine and price. Choose 'tts-1-hd' for higher fidelity audio quality. There is no performance difference in processing time or rate limits between the two models. Both accept the same voices, languages, and response formats for your podcast episodes.

How do I handle errors?

If synthesis fails, the request is free, and the charge is returned in full. Check your response status code for error details. Ensure your text is under 4096 characters and your API key is valid. Failed requests do not consume your character balance, so you can retry without cost.

What are rate limits?

You are limited to 60 requests per minute per API key. New accounts start with a limit of 10 requests per minute until the first top-up. Requests are processed sequentially, so high volume may cause queuing. Monitor your usage via the dashboard to avoid hitting these limits during production.

Can I use PCM format?

Yes, 'pcm' is a valid option for the 'response_format' field. You can also choose mp3, wav, opus, or flac. PCM provides uncompressed audio data directly in the response. Select the format that best fits your podcast production workflow and storage requirements without additional conversion steps.

How is long text processed?

Split your text into segments of up to 4096 characters. Send each segment as a separate POST request to the speech endpoint. The API returns an audio file for each segment. You must join these audio files sequentially to create the final complete audio track for your podcast.

Is the API RESTful?

Yes, the API uses standard HTTP methods. Send a POST request to /v1/audio/speech for synthesis. Use GET /v1/voices to list available voices and GET /v1/models for model details. All requests use JSON bodies and return audio files, making it easy to integrate with any RESTful client.

Do I need to authenticate?

Yes, include your API key in the 'Authorization' header as 'Bearer tts-...'. Each account has one active key. You can issue a new key at any time, which immediately invalidates the old one. Ensure your key is valid and sent with every request to avoid authentication errors.

Can I generate multiple voices?

Yes, select any of the 8 available voices for each request. You can switch voices between segments or episodes. Voices include Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. Each voice can speak any of the 23 supported languages, allowing diverse narration styles for your podcast content.

How do I track usage?

View your usage, balance, and characters left on the /get-api-key/ dashboard page. Request metadata, including time and status, is kept for billing. Failed requests are free and reflected in your balance. Monitor your rate limits and character consumption directly from the account interface to manage your podcast production costs.

First request

curl

curl https://api.s667.info/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.s667.info/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.s667.info/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 the PodVoice TTS API by visiting the /get-api-key/ page on s667.info. This dedicated endpoint manages your account credentials, allowing you to generate audio for your podcast episodes with minimal setup.

Sign Up on the Site

Sign Up on the Site

Create an account using your preferred method. Each site maintains independent accounts, so ensure you are registering on the correct domain for your needs.

  • Accounts are specific to the site domain (s667.info).

Google or Email Login

Google or Email Login

You can sign in using Google for quick access or create a standard email and password account. Note that Google sign-ins receive a $0.50 free trial credit (valid for 7 days), while email/password accounts start with zero balance.

Key Management

Your API key is displayed on the dashboard alongside your balance and usage stats. You can issue a new key at any time; the previous key stops working immediately, ensuring secure access control.

First Request with cURL

Sound wave illustration for: First Request with cURL

This guide shows you how to generate your first audio file using cURL. You will send a POST request to the PodSonic API endpoint with your API key and text input.

Basic JSON Structure

The API accepts a standard JSON body. You must include the text to convert, the voice preset, and the desired audio format. The endpoint is https://api.s667.info/v1/audio/speech.

Required Fields

Every request must specify the model (tts-1 or tts-1-hd), the input text (up to 4096 characters), and the voice preset. You can also optionally set the response_format and speed.

  • model: "tts-1" or "tts-1-hd"
  • input: Your text string
  • voice: One of 8 presets (e.g., aria, nova)
  • response_format: mp3, wav, opus, flac, or pcm

Example Command

Run this command in your terminal. Replace YOUR_API_KEY with your key from /get-api-key/ and update the text content.

  • curl -X POST https://api.s667.info/v1/audio/speech \
  • -H "Authorization: Bearer YOUR_API_KEY" \
  • -H "Content-Type: application/json" \
  • -d '{"model": "tts-1", "input": "Hello world", "voice": "aria", "response_format": "mp3"}'

Using the OpenAI SDK

Sound wave illustration for: Using the OpenAI SDK

You can use the official OpenAI SDKs with PodSonic by simply changing the base_url to https://api.s667.info/v1. This allows you to leverage familiar code structures without learning a new library. The API request shape mirrors the OpenAI speech endpoint, ensuring seamless integration for existing workflows.

This approach is ideal for podcasters who already have scripts or tools built around the OpenAI ecosystem. It reduces friction when adding AI voice generation to your no-code podcast production pipeline.

Change Base URL

Update your SDK configuration to point to our API base URL: https://api.s667.info/v1. This single change directs all requests to our TTS engine while keeping your existing client logic intact.

  • Base URL: https://api.s667.info/v1
  • Works with standard HTTP clients

Use Official SDKs

The OpenAI Python and Node.js SDKs work out of the box. Just initialize the client with your PodSonic API key and the updated base URL. All standard parameters like model, voice, and input are supported.

This compatibility means you can reuse existing code snippets from OpenAI documentation, adapting only the authentication and endpoint details.

  • Python SDK
  • Node.js SDK
  • Go SDK

Compatibility Notes

While the request shape is identical, ensure you use our specific tts-1 or tts-1-hd model values. Our voice presets (Aria, Nova, etc.) are distinct from OpenAI’s Eleven models.

Rate limits apply: 60 requests per minute per key. Monitor your usage to avoid queuing delays during high-volume generation.

  • Model values: tts-1, tts-1-hd
  • No streaming support
  • 60 requests/minute limit

Request Parameters

Sound wave illustration for: Request Parameters

PodSonic’s TTS engine offers two models that share the same underlying voice synthesis but differ in output fidelity. The tts-1 and tts-1-hd models use the same engine and price. Both models support all eight preset voices and accept identical request parameters.

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

Choose tts-1 for efficient batch processing of long-form podcast segments where file size matters. Select tts-1-hd when you prefer higher-resolution audio. The pricing per character remains identical for both models, so you pay for the same input length regardless of the quality tier.

Voice Presets

Select from eight distinct presets tailored for podcast production. Use atlas for neutral news updates or orion for deep, documentary-style narration. For conversational interviews, milo offers a friendly tone, while aria serves as a clear, warm narrator for solo shows.

Each voice supports all 23 languages. If you use non-English text with Latin script, explicitly set the language parameter to ensure accurate pronunciation, as the system defaults to English otherwise.

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

Speed and Language

Adjust the speed parameter between 0.25 and 4.0 to control pacing. Slower speeds (e.g., 0.75) enhance clarity for complex explanations, while faster settings (1.2–1.5) compress content for quick updates.

The language field accepts ISO codes like en, es, or de. Omitting it triggers automatic detection, but explicit specification prevents mispronunciation in mixed-language scripts or ambiguous text.

Audio Formats

Sound wave illustration for: Audio Formats

The API returns audio in five distinct formats: MP3, WAV, OPUS, FLAC, and PCM. Each format serves different archival and broadcasting needs for podcast production.

You select the desired format via the response_format parameter in your JSON request body. The choice affects file size, compatibility, and post-production flexibility.

MP3, WAV, OPUS, FLAC, PCM

MP3 offers compressed audio for web delivery. WAV provides uncompressed, high-quality files ideal for editing. OPUS delivers efficient compression. FLAC ensures lossless quality without bloat. PCM provides raw, uncompressed audio data.

All generated files include an inaudible watermark to mark synthetic speech, regardless of format.

  • MP3: Best for web players
  • WAV: Ideal for editing
  • OPUS: Efficient for streaming
  • FLAC: Lossless quality
  • PCM: Raw audio data

Choosing the Right Format

Select WAV or FLAC if you plan to edit the audio further, as these formats preserve maximum quality. Use MP3 or OPUS for direct publishing to podcast platforms to save storage and bandwidth. PCM is suitable for specific technical integrations requiring raw data.

Consider your end-user’s playback devices. Most podcast apps handle MP3 and OPUS seamlessly.

File Size Implications

Uncompressed formats like WAV and PCM result in significantly larger files compared to compressed formats like MP3 or OPUS. This impacts your storage costs and download times for listeners.

For long-form episodes, compressed formats are generally more efficient. Always test the audio quality at your chosen bit rate to ensure clarity for voice content.

Audio Formats

Rate Limits

Sound wave illustration for: Rate Limits

PodSonic’s API enforces strict rate limits to ensure stable synthesis for all users. Your single API key allows 60 requests per minute, which is generally sufficient for standard podcast production workflows. If you exceed this threshold, requests will be rejected with an error.

60 Requests Per Minute

Each API key is capped at 60 requests per minute. This limit applies across all models and voices. Monitor your usage dashboard to stay within this boundary and avoid interruptions during batch processing.

10 Requests Before Top-Up

New accounts start with a lower limit of 10 requests per minute until the first top-up is processed. This applies even if you have sufficient balance. Once you add funds via USDT (TRC-20), your limit increases to the standard 60 requests per minute.

Queued Processing

Requests are processed sequentially. Under heavy load, a request may wait in a queue before synthesis begins. While the API accepts your request immediately, the actual generation time depends on current server traffic. Longer texts take roughly real-time to generate.

Handling Errors

Sound wave illustration for: Handling Errors

When integrating PodSonic, you may encounter standard HTTP status codes that indicate why a request failed or succeeded. Understanding these codes helps you adjust your podcast production workflow without unnecessary delays or wasted credits.

This guide outlines the most common errors, explains how refunds work for failed synthesis, and provides practical debugging steps to ensure your audio files are generated correctly.

Common HTTP Errors

A 401 Unauthorized error means your API key is missing, invalid, or expired. Ensure your Authorization header uses the correct Bearer token. A 400 Bad Request indicates missing or malformed fields, such as an unsupported voice or exceeding the 4096 character limit. A 500 Internal Server Error suggests a temporary issue on our side; retrying after a brief pause usually resolves it.

  • 401: Check your API key validity.
  • 400: Validate input fields and character limits.
  • 500: Retry after a short delay.

Failed Request Refunds

If a request fails due to a server error or invalid input, the charge is returned in full. You do not need to request a manual refund. The credit is restored to your balance immediately, allowing you to retry the synthesis without additional cost. This applies to both standard and HD models.

Debugging Tips

Start by verifying your JSON structure matches the required schema. Ensure the voice name is one of the eight presets. Check that the text does not exceed 4096 characters. If errors persist, review the error message in the response body for specific details. Use the /v1/voices endpoint to confirm available voices and languages.

  • Verify JSON structure.
  • Check voice preset names.
  • Limit text to 4096 characters.
  • Use /v1/voices for reference.

Long Text Handling

Sound wave illustration for: Long Text Handling

PodSonic processes text in chunks of up to 4096 characters per request. If your script exceeds this limit, you must split the input manually and join the resulting audio files sequentially. This ensures reliable synthesis without truncation.

Generation speed averages roughly 25 characters per second of audio, effectively real-time. Short phrases may take a few seconds, while longer segments process continuously. Requests are handled sequentially, so high volume may introduce queuing delays.

4096 Character Limit

Each API call accepts a maximum of 4096 characters, including spaces and punctuation. Exceeding this limit returns an error. Split your script into manageable blocks to maintain consistent audio quality.

Splitting and Joining Audio

Split your text into chunks under 4096 characters. Send each chunk as a separate POST request. Receive individual audio files and concatenate them in order using your preferred audio tool to create the final episode.

This method avoids data loss and ensures every part of your script is synthesized. Keep track of the order to prevent audio gaps or reversed dialogue.

  • Use sequential POST requests for each text block.
  • Concatenate output files in the exact order of input.
  • No need for complex metadata; simple file merging works.

Real-Time Speed

Audio generation runs at approximately real-time speed (25 characters per second). Short phrases may take a few seconds to process. Under heavy load, requests queue and may wait longer than usual.

This sequential processing means you cannot get instant results for long scripts. Plan your production workflow to account for these delays, especially when generating multiple episodes in quick succession.

  • Speed: ~25 chars/sec of audio generated.
  • Short phrases: few seconds latency.
  • Long texts: sequential processing, potential queuing.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. This broad language coverage ensures that your podcast can reach diverse listeners worldwide.

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 API reference: create speech
  3. FFmpeg documentation
  4. Node.js documentation
  5. Creative Commons Attribution 4.0
  6. IETF RFC 7845: Ogg Opus
  7. Tether (USDT)
  8. LibriTTS-R paper (arXiv 2305.18802)
  9. LibriTTS-R corpus (OpenSLR 141)
  10. W3C WAI: making audio and video accessible
  11. curl documentation
  12. openai-node on GitHub

More on this site