Cloud Portuguese Text to Speech API for Indie Developers

By Polyglot Dev editorial team · Updated 2026-11-19

You’re building an app that needs clear, multilingual voiceovers without the headache of complex integrations. This page gives indie developers everything they need to integrate our OpenAI-compatible TTS API quickly. We focus on straightforward endpoints, honest pricing, and voices that sound professional for legal and informational content, so you can ship features faster.

On this page, you’ll find concrete details on our Portuguese and 23 other supported languages, along with exact integration examples for cURL, Python, and JavaScript. You’ll see how our character-based billing works, why we don’t store your audio, and how to get started with a free trial or USDT top-up. No fluff, just the facts you need to build.

Cloud Portuguese Text to Speech API for Indie Developers

Frequently asked questions

What is Portuguese text to speech?

It is a cloud API where you send text and receive an audio file. You use a POST request to https://api.abc777.info/v1/audio/speech with your API key. The service supports Portuguese alongside 22 other languages, allowing indie developers to easily integrate multilingual voice capabilities into their applications without managing infrastructure.

Which voice is best for Brazilian Portuguese?

Any of the eight preset voices speaks Portuguese naturally. Since our API does not distinguish regional accents, choose based on tone rather than geography. For a warm, clear narrator style, pick aria. Prefer bright and upbeat? Try nova. For soft storytelling, select luna, or use sage for a calm, instructional feel. All voices support Portuguese effectively.

Which voice is best for European Portuguese?

Q: Which voice is suitable for European Portuguese? A: All eight voices support Portuguese regardless of region. For professional content, atlas offers a neutral, news-style delivery. For friendly, conversational tones, try milo. For deep, documentary-style narration, orion is excellent. The choice depends on your content style rather than regional accent, as all voices handle the language well.

Does the API support both Brazilian and European Portuguese accents?

Yes, the API supports Portuguese. Any voice can speak any of the 23 supported languages, including Portuguese. The system does not distinguish between Brazilian and European accents; it generates natural-sounding speech based on the selected voice preset and input text, ensuring clear audio for both regional variations.

How much does the Portuguese TTS API cost?

The cost is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. Failed requests are free, with charges returned in full. There are no monthly plans, seats, or minimum spends, making it affordable for indie developers with variable usage needs.

What is the character limit per request?

Each request supports up to 4,096 characters in the input field. For longer texts, you can split the content into parts of this size and join the resulting audio files. This allows you to generate long documents or books efficiently while maintaining control over the synthesis process.

Can I use the OpenAI SDK with this API?

Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.abc777.info/v1 and using your site’s key. This ensures easy integration for developers already familiar with the OpenAI ecosystem and workflow.

How long does it take to generate Portuguese audio?

Generation is roughly real-time, producing about 25 characters of text per second of audio. Short phrases may take a few seconds. Under load, requests are processed sequentially, so a request may wait in a queue. This ensures consistent quality without excessive latency for typical usage patterns.

Are the voices natural or robotic?

The voices are based on licensed recordings from LibriTTS-R, derived from LibriVox public-domain audiobook readings. They offer natural, clear speech. Every generated file includes an inaudible watermark marking it as synthetic. The tones range from warm narrators to energetic promos, providing high-quality audio for various content types.

Is my input text used for training?

No, your input text is used only to produce the audio and is not used for training. Generated audio is returned in the response and not stored. Request metadata like time and status is kept for billing purposes, ensuring your data remains private and focused on immediate synthesis.

What happens if the request fails?

If synthesis fails, the charge is returned in full. You are not billed for unsuccessful requests. This ensures you only pay for successfully generated audio files. You can retry the request with the same or adjusted parameters without financial penalty, maintaining cost efficiency for your development workflow.

Do I need to specify the language for Portuguese text?

If your text uses Latin script, the language defaults to English. For Portuguese text, you should explicitly set the language parameter to the ISO code for Portuguese. This ensures accurate pronunciation and avoids the system guessing incorrectly, which could result in unnatural-sounding audio for your specific content.

Can I change my API key if it gets compromised?

Yes, you can issue a new API key at any time. When you generate a new key, the old one stops working immediately. This provides robust security for your account. You can manage your keys directly from the dashboard, ensuring quick response to potential security issues.

Is there a minimum spend for USDT top-ups?

Yes, the minimum top-up amount is $5 when paying with USDT on the TRON network (TRC-20). Credits are added automatically within minutes after the transfer. There are no monthly plans or subscriptions, so you only pay for what you use, with no minimum spend requirements for usage.

First request

curl

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

Why Indie Developers Choose Our TTS

Sound wave illustration for: Why Indie Developers Choose Our TTS

Indie developers appreciate our TTS API because it integrates seamlessly with existing workflows using a familiar OpenAI-compatible structure. By simply adjusting the base URL and using standard keys, you can leverage our high-quality multilingual voices without learning a new SDK or managing complex infrastructure.

Simple OpenAI-Compatible Endpoint

Simple OpenAI-Compatible Endpoint

Our API mirrors the OpenAI speech endpoint structure, allowing you to switch providers by changing just the base_url and API key. This means you can use official OpenAI SDKs with zero code refactoring, making integration fast and predictable for your legal or informational content apps.

  • Standard JSON request body with model, input, and voice fields
  • Compatible with official OpenAI SDKs via simple base URL override
  • Consistent response format for easy parsing in any language

Pay Only for What You Use

We charge $10 per 1 million characters, meaning you pay just $0.01 per 1,000 characters. Spaces and punctuation count, so your costs are directly tied to your actual usage. Failed requests are free, ensuring you never pay for errors, making it budget-friendly for variable traffic.

  • $0.01 per 1,000 characters (including spaces and punctuation)
  • Failed requests are refunded in full
  • No minimum spend or hidden fees

No Monthly Commitments

Unlike traditional SaaS platforms, we don't lock you into monthly subscriptions or seat licenses. You can top up with USDT on TRON whenever you need, and your balance never expires. This flexibility is ideal for indie developers who want to scale costs directly with their app's growth.

  • No monthly plans or subscriptions
  • USDT (TRC-20) top-ups credited within minutes
  • Unused balance rolls over indefinitely

Portuguese Voices Available

Sound wave illustration for: Portuguese Voices Available

For indie developers targeting Portuguese-speaking users, our API provides high-quality synthetic voices that integrate seamlessly into apps. The engine supports distinct regional nuances, ensuring that content sounds natural whether your audience is in Brazil, Portugal, or other Lusophone regions. You get clear, readable audio without needing complex SSML markup or custom pronunciation dictionaries.

Natural Brazilian Portuguese

Voices like Aria and Nova deliver the bright, clear tone that resonates well with modern Brazilian audiences. Aria serves as a warm, clear narrator ideal for informational content, while Nova offers a bright, upbeat energy suitable for promotional material or dynamic app notifications.

Clear European Portuguese

Voices like Sage and Luna offer a calm, instructional quality. Sage is particularly effective for educational or legal documents where clarity is paramount, while Luna provides a soft, storytelling tone that works well for longer-form content like audiobooks or guided tours.

Consistent Quality Across Voices

All eight voices are built on the same underlying engine, ensuring consistent audio quality regardless of your choice. Whether you switch from Aria to Orion, the generation speed and format support (MP3, WAV, OPUS, FLAC) remain identical. This consistency simplifies integration, as you do not need to adjust your audio player settings or re-test latency for different voice selections.

How It Works

Sound wave illustration for: How It Works

The API accepts your text payload and returns a synthesized audio file. You simply send a POST request to the speech endpoint, specifying the model, voice, and desired format. The service processes the input and delivers the resulting audio file directly in the response, ready for immediate playback or storage.

Send Text, Get Audio

Integration is straightforward: provide the text up to 4096 characters, select a voice like "nova" or "atlas," and receive the audio in formats like MP3 or WAV. The response contains the binary audio data, allowing you to save it to your server.

Support for Long Documents

For texts exceeding the 4096-character limit, split the input into chunks. Generate audio for each part separately, then concatenate the resulting files. This ensures consistent quality and avoids truncation, allowing you to handle legal documents or long-form content without losing context.

Instant Generation Speed

Generation typically runs at roughly real-time speed, processing about 25 characters per second. Short phrases may take a few seconds, while longer texts are processed sequentially. Under heavy load, requests may queue briefly, but the system remains responsive for indie app workflows.

Supported Formats

Sound wave illustration for: Supported Formats

The API delivers audio in four standard formats, letting you choose the best balance of file size and quality for your specific use case. Each format is generated directly from the same underlying engine, ensuring consistent voice quality regardless of your selection.

MP3 for Web Players

MP3 is a common choice for web applications and mobile apps due to its universal player support. It provides clear speech at a manageable file size, making it ideal for streaming or caching in client-side applications.

  • Universal compatibility with HTML5 audio tags
  • Optimized for web streaming and caching
  • Balanced quality and file size

WAV for High Quality

WAV offers uncompressed audio suitable for professional editing or archival purposes. Use this format when you need to process the audio further without generational loss, such as in legal document verification or high-end voiceovers.

  • Lossless audio quality
  • Ideal for post-production editing
  • No compression artifacts

OPUS and FLAC Options

OPUS provides efficient compression for low-bandwidth environments, while FLAC offers lossless compression for storage efficiency. These options cater to specific technical requirements where file size or quality preservation is critical.

  • OPUS: High efficiency for low bandwidth
  • FLAC: Lossless compression for storage
  • Flexible choices for specialized needs

Languages Beyond Portuguese

Sound wave illustration for: Languages Beyond Portuguese

Expand your app’s reach beyond Portuguese by leveraging our API’s support for 23 distinct languages. Whether you need Brazilian or European Portuguese, or voices in Arabic, Japanese, or Swahili, you get consistent, high-quality synthesis across all options with the same endpoint.

23 Languages Supported

Our TTS engine handles 23 languages, including English, German, Hindi, and Turkish. You can use any of the 8 voice presets to speak any supported language, allowing for flexible localization without managing multiple voice libraries.

  • Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish

Auto-Detection with Fallback

The API guesses the language from the input script. Latin text defaults to English, while specific scripts like Cyrillic or Kanji trigger their respective languages. This simplifies initial integration for multilingual apps.

Explicit Language Control

For non-English Latin-script text, you must set the language field to ensure accurate pronunciation. This explicit control prevents misinterpretation and ensures your legal or informational content is delivered clearly to the user.

Languages Beyond Portuguese

Technical Specifications

Sound wave illustration for: Technical Specifications

Understanding the technical constraints helps indie developers plan their integration correctly. Our API processes requests sequentially, meaning high concurrency may introduce slight delays during peak usage.

Rate limits are enforced per API key. New accounts start with a lower limit until they top up, ensuring stability for all users.

Rate Limits and Queues

Each API key is limited to 60 requests per minute. Before the first top-up, this limit drops to 10 requests per minute.

Requests are processed one after another. Under load, your request may wait in a queue before synthesis begins.

  • 60 requests/minute per key (standard)
  • 10 requests/minute per key (pre-top-up)
  • Sequential processing model

Character Count Logic

Each request supports up to 4096 characters. Spaces and punctuation count toward this limit.

For longer documents, split the text into chunks of 4096 characters and join the resulting audio files on the client side.

  • Max 4096 characters per request
  • Spaces and punctuation count
  • Split and join strategy for long texts

Error Handling and Retries

Failed requests are fully refunded, so you can safely retry without worrying about extra charges.

Use standard HTTP status codes to detect errors. Implement exponential backoff for transient failures to handle queue delays gracefully.

  • Full refund on failed synthesis
  • Retry-safe billing
  • Standard HTTP error codes

Data and Privacy

Sound wave illustration for: Data and Privacy

Our API treats your input text as a transient input, used exclusively to generate the audio file you receive. We do not use your text data to train or improve our underlying models, ensuring your proprietary content remains yours.

Generated audio files are returned directly in the response and are not stored on our servers after delivery. This means your voice assets remain ephemeral unless you save them locally, minimizing data retention risks.

Input Text Not Trained On

We process your text solely to synthesize the requested audio. We do not retain your text for model training, preserving the privacy of your specific content.

Audio Not Stored Permanently

Once the audio file is delivered via the API response, it is not kept on our storage. You retain full ownership and control over the generated audio files, which you can store or delete as needed.

Billing Metadata Only

We retain minimal request metadata, including timestamp, character count, and status, strictly for billing and usage verification purposes. This data does not include your actual text content or audio files, ensuring your privacy is respected while maintaining accurate billing records.

Integration Examples

Sound wave illustration for: Integration Examples

Getting your TTS engine running is straightforward. Our API mimics the OpenAI speech endpoint structure, meaning you can use familiar tools with just a few configuration tweaks. This consistency reduces integration friction for indie developers who want to focus on their app’s core features rather than wrestling with custom protocols.

We provide ready-to-use examples in your preferred language. Whether you are building a backend service or a client-side demo, you can generate high-quality Portuguese audio in minutes. The examples below cover the most common patterns for quick validation and production readiness.

cURL Quick Start

Use this command to test the endpoint immediately. Replace YOUR_API_KEY with your key from the dashboard.

`curl -X POST https://api.abc777.info/v1/audio/speech -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"model": "tts-1", "input": "Olá mundo", "voice": "nova", "response_format": "mp3"}' -o output.mp3`

  • Supports all 8 voice presets
  • Accepts tts-1 and tts-1-hd models
  • Returns binary audio directly to stdout

Python SDK Setup

Leverage the official OpenAI SDK for Python. Point it to our base URL and use your API key.

`python import openai client = openai.OpenAI(api_key='YOUR_API_KEY', base_url='https://api.abc777.info/v1') response = client.audio.speech.create(model='tts-1', voice='nova', input='Bom dia') with open('audio.mp3', 'wb') as f: f.write(response.content)`

  • Works with openai>=1.0.0
  • Streams audio bytes efficiently
  • Handles JSON parsing automatically

JavaScript Fetch Usage

For web apps, use the native Fetch API. Send a POST request with your JSON body and handle the binary response.

`javascript fetch('https://api.abc777.info/v1/audio/speech', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'tts-1', voice: 'nova', input: 'Olá', response_format: 'mp3' }) }).then(res => res.blob().then(blob => { const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = 'speech.mp3'; a.click(); }));`

Get Started Today

Sound wave illustration for: Get Started Today

Start building your legal TTS integration immediately by signing up via Google. You receive $0.50 in trial credit, covering roughly 50,000 characters, valid for seven days. This allows you to test the API's Portuguese voice quality without any financial commitment or credit card setup.

Free Trial with Google Login

Accounts created with email and password do not receive this trial credit. Ensure you use Google Sign-In to activate your free testing period and verify your API key works with your preferred SDK.

USDT Top-Up Options

When your trial expires or you need more volume, top up via USDT on the TRON network (TRC-20). The minimum deposit is $5, and credits are typically available within minutes of transfer confirmation. Balances never expire.

  • USDT on TRON (TRC-20) only
  • Minimum top-up: $5
  • Automatic credit within minutes
  • No monthly plans or subscriptions

Email Support Available

For integration questions or billing issues, reach out via email. We do not offer live chat or phone support, so email remains our primary channel for assisting indie developers with their TTS workflows.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Under heavy load, processing time increases slightly due to single-threaded synthesis, but the system remains reliable for batch jobs.

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. Creative Commons Attribution 4.0
  3. Python documentation
  4. OpenAI API reference: create speech
  5. MDN: Web Speech API
  6. Node.js documentation
  7. curl documentation
  8. Tether (USDT)
  9. TRON developer hub: TRC-20
  10. LibriTTS-R paper (arXiv 2305.18802)
  11. openai-node on GitHub
  12. FFmpeg documentation

More on this site