Automate News Audio Generation with Our TTS API

By NewsTTS editorial team · Updated 2026-11-19

This guide walks newsrooms through automating audio generation with the NewsTTS API. Learn to create accounts, select voices, and send requests for high-volume content. Use concrete examples to integrate with your CMS and manage billing efficiently.

Designed for large teams handling consistent voice output, this step-by-step process covers error handling, optimization, and scaling. Get practical advice on character limits, language settings, and data privacy to streamline your production workflow.

Automate News Audio Generation with Our TTS API

Frequently asked questions

How do I sign up?

Visit https://gg666.info/get-api-key/ and sign in with Google or create an account with an email and password. Google sign-ins receive a $0.50 free trial valid for seven days. Email-based accounts start with zero credit. Once registered, you receive a single active API key to authenticate your requests immediately.

Which voice is best for news?

Q: Which voice is suitable for news? A: Atlas is neutral and suitable for news. For a friendly, conversational tone, use Milo. If you prefer a female voice for clear narration, Aria is a suitable option. All eight voices support all 23 languages, allowing you to select the most appropriate tone for your specific news segment or broadcast style.

How do I install the SDK?

We do not provide an official SDK. Instead, use the official OpenAI SDK by changing the base_url to https://api.gg666.info/v1. Pass your API key as a bearer token. This allows you to use the same request shape as the OpenAI speech endpoint, ensuring compatibility with existing OpenAI SDK implementations.

What is the curl command?

Send a POST request to https://api.gg666.info/v1/audio/speech. Include your Bearer token in the Authorization header. The JSON body requires the model (tts-1 or tts-1-hd), input text, voice preset, and response format. This standard endpoint structure allows you to generate audio files directly from your terminal or scripts.

How do I split long texts?

Each request supports up to 4096 characters. Split your input text into parts of this size and send separate requests. Join the resulting audio files sequentially. This approach ensures compliance with the character limit while allowing you to generate audio for articles or reports that exceed the single-request boundary.

What if I exceed the limit?

The rate limit is 60 requests per minute per key. If you exceed this, requests may queue or fail. New accounts start with a 10 requests per minute limit. You can increase this by topping up your balance. Failed requests do not incur charges, so you can retry without penalty.

How do I pay with USDT?

Top up your balance using USDT on the TRON network (TRC-20). The minimum deposit is $5. Credits are added automatically within minutes after the transfer. We do not accept cards, PayPal, or subscriptions. Your balance never expires, and you can issue a new API key at any time.

Can I use my own CMS?

Yes, use the standard HTTP endpoint or OpenAI SDK. Since we do not offer a WordPress plugin or browser extension, you must integrate the API directly into your CMS workflow. Send text via POST requests and receive audio files to embed in your articles or broadcasts programmatically.

Is the API secure?

We do not provide an SLA or uptime guarantee, nor do we hold specific certifications like SOC 2 or HIPAA. Input text is used only for generation and not for training. Generated audio is returned in the response and not stored. Request metadata is kept for billing purposes only.

How do I track usage?

Visit your account dashboard at https://gg666.info/get-api-key/. The page displays your current balance, characters left, and usage history. You can also monitor request status and metadata through your API responses. Failed requests are free, so your billing reflects only successful generations accurately.

What format should I use?

Choose from mp3, wav, opus, flac, or pcm via the response_format field. MP3 is efficient for web delivery, while WAV or FLAC offers high quality. PCM is suitable for raw audio processing. Select the format that best fits your news publication’s audio infrastructure and playback requirements.

Can I automate the process?

Yes, use the standard API endpoint or OpenAI SDK. Write scripts to send text and receive audio files. Split long texts into 4096-character chunks if needed. Since requests are processed sequentially, automate your queue management to handle high-volume news generation efficiently without manual intervention.

How do I handle errors?

Check the API response status code. If synthesis fails, the charge is returned in full. You can retry the request without penalty. Ensure your text is under 4096 characters and your API key is valid. Failed requests do not consume your balance, allowing safe retries for robust automation.

What is the character limit?

Each API request supports up to 4096 characters. Spaces and punctuation count toward this limit. For longer texts, split the content into multiple requests and join the resulting audio files. This ensures consistent generation quality and compliance with the API’s processing constraints.

Step 1: Create an account

Sound wave illustration for: Step 1: Create an account

Begin by visiting the /get-api-key/ page on gg666.info and signing in with your Google account. This creates an independent account for the NewsTTS API, linking your identity to your usage and billing data.

Sign up with Google

Click the Google sign-in button on the dashboard. The process takes seconds, establishing your unique account identity for this specific site.

Get API key

Upon registration, your unique API key appears immediately on the dashboard. This key authenticates all requests to the API base URL.

Check trial balance

Google-signed accounts receive a $0.50 free trial credit, valid for 7 days. This provides approximately 50,000 characters for testing your first audio generations without immediate payment.

  • Trial credit expires in 7 days
  • Equivalent to ~50,000 characters
  • No credit card required

Step 2: Choose a voice

Sound wave illustration for: Step 2: Choose a voice

Choosing the right voice ensures your news audio matches the content’s tone. NewsTTS API offers eight distinct presets, each designed for specific editorial needs. From neutral news delivery to energetic promos, selecting the correct voice maintains consistency across your publications.

Each voice is based on licensed recordings, ensuring professional quality without the need for custom voice design. Use the /v1/voices endpoint to list all available options and their supported languages before generating audio.

Select from 8 presets

The API provides four female voices (aria, nova, luna, sage) and four male voices (felix, milo, atlas, orion). Each voice has a distinct character: atlas is neutral and suitable for hard news, while nova is bright and upbeat. Luna offers a soft, storytelling tone ideal for feature pieces.

  • 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

Match tone to content

Align the voice with the editorial style. Use atlas or milo for standard news reports to ensure clarity and neutrality. Reserve felix for promotional content or luna for narrative-driven articles. Consistency in voice selection helps listeners recognize your brand’s audio identity across different language variants.

Test voice samples

Generate short test clips using the /v1/audio/speech endpoint to verify quality before bulk production. Check how each voice handles specific accents or technical terms in your target languages. Remember that any voice can speak all 23 supported languages, but setting the language parameter ensures accurate pronunciation.

Step 3: Send your first request

Sound wave illustration for: Step 3: Send your first request

Send a POST request to the speech endpoint with your text and voice selection. The API processes the input and returns an audio file in your chosen format. This workflow handles up to 4096 characters per request, ensuring consistent output for news segments.

For long articles, split the text into smaller parts and join the resulting audio files. This approach maintains audio continuity while respecting the character limit per request.

Use curl example

Copy the provided curl command and replace the placeholder with your API key. Ensure the JSON body includes the model, input text, voice preset, and response format.

The request body must contain the text input and specify the desired voice, such as 'atlas' for neutral news delivery. The API returns the audio data directly in the response body.

  • Use POST https://api.gg666.info/v1/audio/speech
  • Include Authorization: Bearer your-api-key
  • Set model to tts-1 or tts-1-hd
  • Define input with your news text

Set base URL

Configure your client to use https://api.gg666.info/v1 as the base URL. This ensures compatibility with the OpenAI SDK structure, allowing you to use familiar libraries.

Update the base_url in your SDK configuration to point to the NewsTTS API endpoint. This change enables seamless integration with existing tools that expect OpenAI-style endpoints.

Receive audio file

The API returns the audio file in the requested format, such as mp3, wav, or opus. You can save this file directly to your server or CDN for distribution.

Failed requests do not incur charges, so you can retry without worrying about billing errors. The response includes the audio data, ready for immediate playback or storage.

Step 4: Handle errors

Sound wave illustration for: Step 4: Handle errors

API errors are usually caused by hitting rate limits or temporary queue delays. Understanding these constraints prevents failed audio generation and ensures your news pipeline stays reliable. You can monitor your usage directly from the dashboard to avoid surprises during peak hours.

When requests fail, you are not charged. Use the provided curl examples to test connectivity and verify that your key is active before scaling up your automation scripts.

Check rate limits

Your key allows 60 requests per minute once funded, or 10 per minute before the first top-up. Exceeding this limit triggers a 429 error. Plan your bulk generation tasks to stay within these bounds to avoid queuing delays.

We process requests sequentially, so high volume may introduce wait times. Use the /v1/voices endpoint to verify available formats before submitting large batches.

  • Rate limit: 60 req/min (post-top-up) or 10 req/min (pre-top-up)

Retry failed requests

Failed synthesis requests are free. If you receive an error, simply resend the request with the same parameters. Ensure your text is under 4,096 characters, as exceeding this limit causes immediate rejection.

Use exponential backoff in your automation scripts to handle temporary queue congestion. The API returns standard HTTP error codes for quick identification of issues.

  • Failed requests are free.
  • Max input: 4,096 characters per request.

Monitor usage

Track your character consumption and balance via the /get-api-key/ dashboard. This helps you predict when your trial credit ($0.50) or main balance will run out.

Regular monitoring prevents unexpected service interruptions. Use the usage logs to identify patterns in your generation volume and adjust your top-up schedule accordingly.

  • Balance visible on /get-api-key/
  • No expiration on main balance

Step 5: Integrate with CMS

Sound wave illustration for: Step 5: Integrate with CMS

Integrating the NewsTTS API with your CMS is straightforward because the endpoint matches the OpenAI speech schema. You simply update the base URL in your OpenAI SDK to https://api.gg666.info/v1. This allows you to use existing OpenAI client libraries without writing custom HTTP parsers.

This compatibility lets your development team leverage familiar code structures. You can send text payloads and receive audio files directly, ensuring consistent voice output across your news articles without significant refactoring of your existing content pipelines.

Use OpenAI SDK

The API accepts the same JSON body structure as the OpenAI speech endpoint. By setting the base URL to https://api.gg666.info/v1, you can use the official OpenAI SDKs with minimal code changes. This ensures reliable communication using standard authentication headers.

This approach allows you to use the official OpenAI SDKs. Your developers can continue using their preferred language bindings, passing the model, input, voice, and response_format parameters exactly as defined in the standard schema.

  • Set base_url to https://api.gg666.info/v1
  • Use standard Bearer token authentication
  • Pass parameters: model, input, voice, response_format, speed

Automate audio generation

Trigger audio synthesis automatically when a news article is published or updated. Pass the article text to the API, ensuring it stays within the 4096 character limit per request. For longer pieces, split the text into chunks and concatenate the resulting audio files.

You can set the speed parameter between 0.25 and 4.0 to match your editorial style. Choose from 8 voice presets to maintain brand consistency across different sections, such as using 'atlas' for neutral news or 'aria' for feature stories.

  • Split texts >4096 characters into sequential requests
  • Concatenate generated audio files before storage
  • Set speed between 0.25 and 4.0 for pacing control

Store audio URLs

The API returns the audio file directly in the response. You can save this binary data to your CDN or object storage service. Since the API does not store generated audio, you must handle persistence in your own infrastructure.

Store the resulting audio URL in your CMS metadata. This allows you to link the audio player directly to the article page. Ensure your storage solution handles the various formats (mp3, wav, opus, flac, pcm) returned by the API.

  • Stream response binary data to CDN or S3
  • Save audio URL in CMS article metadata
  • Link audio player to stored file URL

Step 6: Manage billing

Sound wave illustration for: Step 6: Manage billing

Billing for NewsTTS API is straightforward and based on usage. You pay $0.01 per 1,000 characters, with failed requests refunded automatically. Start with a $0.50 free trial when signing up with Google, valid for seven days.

Top-ups are processed via USDT on the TRON network. There are no monthly plans or hidden fees. Your balance never expires, allowing you to generate audio at your own pace without subscription constraints.

Top up with USDT

Send USDT (TRC-20) to your account address. Minimum top-up is $5. Credits appear automatically within minutes of confirmation.

No credit cards, PayPal, or invoices are supported. This method ensures fast, borderless payments for global news teams.

  • Network: TRON (TRC-20)
  • Minimum amount: $5
  • Processing time: ~minutes
  • No VAT or invoices

Track character usage

Monitor your consumption in the dashboard. Each request counts characters including spaces and punctuation. Use the character counter to estimate costs before generating long articles.

Failed requests do not consume credits, ensuring you only pay for successful audio synthesis.

Monitor balance

View your current balance and usage history in real-time. The dashboard shows remaining trial credit and purchased funds. Alerts help you avoid service interruption during high-volume news cycles.

Step 7: Optimize for news

Sound wave illustration for: Step 7: Optimize for news

News articles often exceed the 4,096-character request limit. You must split longer texts into smaller parts and join the resulting audio files to ensure complete delivery. Short phrases may take a few seconds to generate, so plan your workflow accordingly.

Proper speed and language settings prevent awkward pacing and mispronunciations. Adjusting speed between 0.25 and 4.0 helps match the urgency of breaking news versus detailed analysis. Correct language codes ensure accurate synthesis, especially for non-English Latin-script text.

Split long texts

The API accepts up to 4,096 characters per request. For longer articles, split the input text into chunks, generate audio for each, and concatenate the files. This ensures no content is truncated and maintains consistent audio quality across the entire piece.

  • Maximum 4,096 characters per request
  • Split text into logical segments
  • Concatenate audio files manually or via script

Use appropriate speed

Adjust the speed parameter (0.25–4.0) to match the content type. Faster speeds suit quick updates, while slower speeds improve clarity for complex reports. Note that generation takes roughly real time, so longer texts will take longer to process.

  • Range: 0.25 to 4.0
  • Match speed to content urgency
  • Monitor queue times during peak load

Select correct language

Set the ISO language code explicitly to avoid incorrect guesses. If omitted, the API defaults to English for Latin scripts. For languages like Arabic, Chinese, or Hindi, specifying the code ensures accurate pronunciation and tone from the 8 available voices.

  • Explicitly set language codes
  • Default is English for Latin scripts
  • Supports 23 languages including Arabic, Chinese, Hindi

Step 8: Scale for teams

Sound wave illustration for: Step 8: Scale for teams

Newsrooms require coordinated access to the TTS API for consistent audio output across multiple editors and producers. The system supports multiple independent accounts, allowing each team member to maintain their own usage history and billing context.

Multiple accounts

Each team member registers a separate account on gg666.info. This structure ensures clear attribution of character consumption and simplifies auditing. Accounts are independent, meaning one editor’s usage does not directly impact another’s quota limits, though they share the same pricing tier and voice library.

  • Separate login credentials for each editor
  • Independent usage tracking per account
  • Uniform access to all 8 voice presets

Shared API key

While accounts are distinct, the API key structure allows for straightforward integration patterns. A single key can be distributed to multiple automated scripts or CMS plugins. Note that issuing a new key instantly invalidates the old one, so coordinate key rotations carefully across team scripts.

  • Revoke old keys instantly upon rotation
  • Use keys for automated batch processing
  • Limit active keys per account to one

Role-based access

The API does not enforce granular permission levels (e.g., read-only vs. write). Role management is handled externally by your team’s internal systems. Editors can generate audio, while senior staff can monitor usage dashboards and manage top-ups via USDT transfers. Access control relies on who holds the credentials.

  • Credentials define access level
  • Internal CMS handles UI roles
  • API key holders control spending

Step 9: Data privacy

Sound wave illustration for: Step 9: Data privacy

When you send text to NewsTTS API, it is processed solely to generate the audio file returned in the response. The input text is not retained after synthesis, ensuring that your news copy remains transient during the creation process. This approach minimizes data exposure for sensitive journalistic content or pre-release stories.

Our infrastructure does not use your input data to train or improve our models. Unlike some consumer services, we do not retain generated audio for long-term storage or analysis. Your data flow is strictly linear: input text in, audio file out, with no secondary usage loops.

Input not stored

We do not store the generated audio files after they are delivered to your client. Only request metadata—such as timestamp, character count, and status—are kept for billing purposes. This ensures that your audio assets remain under your control, whether you host them in your own CMS or CDN.

  • Audio files are ephemeral and not stored by NewsTTS API

No training use

The text you submit is used exclusively for the immediate synthesis task. It is not ingested into our training datasets, meaning your unique journalistic voice or unpublished stories are not used to refine future model outputs. This separation guarantees that your content remains proprietary to your publication.

Secure API

All requests are transmitted over HTTPS, ensuring encryption in transit. We use standard Bearer token authentication to verify your identity, keeping your API key secure within your application environment. Since we do not store the content itself, the primary security concern is protecting your key from unauthorized usage.

We maintain a straightforward data retention policy focused on billing accuracy. Request logs are kept to verify character counts and resolve any billing discrepancies, but they do not contain the actual text or audio payloads, further reducing the data surface area.

  • Requests encrypted via HTTPS
  • Standard Bearer token authentication
  • Metadata kept only for billing

Step 10: Support

Sound wave illustration for: Step 10: Support

We provide email support for all technical and billing inquiries. Support is by email only. There is no live chat or phone number; all communication is asynchronous and recorded for clarity.

For immediate self-service, our documentation covers every endpoint, parameter, and error code. We recommend starting with the integration guides before opening a ticket to resolve issues quickly.

Email support

Send your questions to [email protected]. Include your API key prefix, request ID, and a description of the issue.

  • Include your API key prefix in every email
  • Attach request IDs for faster debugging
  • Describe the expected vs. actual behavior

Documentation

The docs at /docs/ detail the JSON request schema, voice presets, and error codes. You can also find ready-to-use curl examples and OpenAI SDK configuration tips.

All endpoint descriptions include parameter limits, such as the 4096-character input limit and speed range of 0.25–4.0.

  • API reference for /v1/audio/speech
  • Voice presets and language codes
  • Error code definitions

FAQ resources

Our FAQ section addresses common questions about billing, rate limits, and voice selection. It explains why failed requests are free and how USDT top-ups are processed.

If you cannot find your answer, refer to the 'Common pitfalls' section or contact support with your specific scenario.

  • Billing and top-up questions
  • Rate limit explanations
  • Voice selection guidelines

Common pitfalls

Sound wave illustration for: Common pitfalls

Newsrooms often face unexpected API behavior when text length or language settings are misconfigured. Understanding these common errors prevents wasted credits and delays in audio generation pipelines.

Exceeding character limit

Each API request accepts a maximum of 4096 characters. Sending longer text results in immediate rejection without generating audio. Ensure your CMS splits articles into chunks before sending them to the endpoint.

  • Limit input to 4096 characters per request.
  • Split long articles into manageable segments.
  • Join generated audio files sequentially after synthesis.

Wrong language code

If the language field is omitted, the system guesses the language based on script. Latin script defaults to English. For non-English Latin text, explicitly set the ISO code to avoid incorrect pronunciation.

  • Set language for non-English Latin text.
  • Verify supported languages before generation.
  • Avoid reliance on automatic detection for accuracy.

Rate limit errors

Keys are limited to 60 requests per minute. Exceeding this triggers 429 errors. New accounts start with a 10 requests/minute limit until the first top-up. Monitor usage to avoid throttling during high-volume broadcasts.

  • Limit is 60 requests/minute per key.
  • New accounts start at 10 requests/minute.
  • Top-up increases the rate limit automatically.

Best practices

Sound wave illustration for: Best practices

Generating audio ahead of time reduces latency for your audience and prevents queue delays during breaking news spikes. Batch processing ensures consistent delivery without blocking user requests.

Caching generated files minimizes redundant API calls for recurring segments, such as daily headlines or standard disclaimers. Store the resulting audio URLs in your database for instant retrieval.

Track character consumption and request status to identify inefficiencies. Regular monitoring helps you stay within rate limits and budget allocations without unexpected service interruptions.

Pre-generate audio

Generate audio files during off-peak hours or via cron jobs before they are needed. This approach decouples generation time from user experience, ensuring that readers receive audio instantly even during high-volume periods when the API queue might be longer.

Use this method for static content like daily briefings or recurring segments. By pre-processing these texts, you avoid the few-second generation delay for short phrases and ensure consistent voice output across all articles.

  • Schedule batch jobs for daily news summaries
  • Pre-process recurring segments like weather updates
  • Store generated files for instant playback

Cache responses

Cache audio responses for texts that do not change frequently. Since the API returns audio files directly, storing these files reduces repeated API calls and lowers character consumption. This is particularly effective for standard legal disclaimers or recurring introductions.

Implement cache invalidation strategies tied to content updates. If the text changes, even slightly, regenerate the audio to maintain accuracy. This ensures your audience hears the correct information without unnecessary API costs.

  • Cache audio for unchanging text segments
  • Invalidate cache when source text updates
  • Reduce API calls for recurring content

Monitor usage

Regularly review your usage dashboard to track character consumption and request status. Monitoring helps you identify unexpected spikes in usage and ensures you stay within your rate limits of 60 requests per minute.

Set up alerts for low balance or high error rates. Proactive monitoring allows you to top up with USDT before service interruption and adjust generation strategies to maintain consistent audio delivery for your news team.

  • Track character consumption daily
  • Monitor request success rates
  • Set alerts for low balance

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. You can save this file directly to your server or CDN for distribution.

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. Creative Commons Attribution 4.0
  4. openai-python on GitHub
  5. LibriVox public-domain audiobooks
  6. Python documentation
  7. Tether (USDT)
  8. FFmpeg documentation
  9. LibriTTS-R corpus (OpenSLR 141)
  10. LibriTTS-R paper (arXiv 2305.18802)
  11. W3C WAI: making audio and video accessible
  12. ISO 639 language codes

More on this site