A Developer-Friendly TTS API for WordPress Blogs

By Melolo Labs editorial team · Updated 2026-11-19

Melolo Labs offers a reliable, cost-effective text-to-speech API tailored for freelance developers building audio features for blogs and WordPress sites. We focus on simplicity, clear pricing, and easy integration so you can generate voiceovers without complex infrastructure. This page outlines how to integrate our API into your WordPress workflow, covering supported voices, languages, and technical specs.

You will find concrete examples of API usage, transparent pricing details, and a ready-to-use curl command to start generating audio immediately. Whether you need warm narration for long-form posts or energetic voices for social clips, Melolo Labs provides the tools to streamline your content creation process efficiently.

A Developer-Friendly TTS API for WordPress Blogs

Frequently asked questions

What is a TTS API?

A text-to-speech API is a cloud service that converts written text into audio files. You send text via a POST request, and the API returns an audio file. It simplifies adding voiceovers to applications without managing complex infrastructure or hardware.

How does Melolo Labs differ from other TTS providers?

We offer a simple API with clear pricing: $10 per million characters. We accept USDT (TRC-20) for top-ups, with no monthly plans or subscriptions. Our focus is on reliability and ease of integration for developers.

Is the Naver TTS API the same as Melolo Labs?

No. Melolo Labs is an independent storefront for our own TTS API, not Naver. We use licensed voices from LibriTTS-R and LibriVox, whereas Naver uses its own distinct engine. Our pricing is $0.01 per 1,000 characters via USTRC-20, differing from Naver’s model. We are not affiliated with Naver.

What languages are supported?

We support 23 languages: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages.

Can I use this API with WordPress?

Yes. Since our endpoint matches the OpenAI speech endpoint shape, you can use the OpenAI SDK or plain HTTP requests. Freelancers often integrate this into WordPress blogs by sending text from posts to generate audio files for voiceovers.

How much does it cost per character?

The cost is $0.01 per 1,000 characters, or $10 per million characters. Spaces and punctuation count as characters. Failed requests are free, with the charge returned in full if synthesis fails.

Is there a free trial available?

Yes, signing in with Google provides $0.50 of credit (about 50,000 characters) valid for 7 days. Accounts created with email and password start without trial credit. The balance does not expire after the trial period.

What audio formats are supported?

You can request audio in mp3, wav, opus, flac, or pcm formats. These options allow flexibility depending on your blog’s hosting requirements or player compatibility. The API returns the audio file directly in the response.

Are the voices realistic?

Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Each file carries an inaudible watermark marking it as synthetic speech. They are clear and natural but not indistinguishable from human recordings.

How do I integrate the API into my blog?

Send a POST request to https://api.melolo.cc/v1/audio/speech with your text and voice selection. Use your API key in the Authorization header. You can use the official OpenAI SDK by changing the base_url to our API endpoint.

What happens if a request fails?

If synthesis fails, the charge is returned in full. You are not billed for failed requests. This ensures you only pay for successfully generated audio files, reducing risk for your blog’s audio features.

Is my text data used for training?

No. Input text is used only to produce the audio and is not used for training models. Generated audio is returned in the response and not stored. We keep request metadata for billing purposes only.

How do I top up my balance?

Top up using USDT on the TRON network (TRC-20). The minimum amount is $5. Credits are automatically added within minutes after the transfer. We do not accept cards, PayPal, or offer subscriptions.

Who are the voices based on?

The eight voice presets are based on licensed recordings from LibriTTS-R (CC BY 4.0). These sources include public-domain audiobook readings from LibriVox. The voices include both male and female options for various narration styles.

First request

curl

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

Why Freelancers Choose Melolo Labs

Sound wave illustration for: Why Freelancers Choose Melolo Labs

Melolo Labs offers a straightforward text-to-speech API designed for freelance developers who need reliable audio integration for WordPress blogs without complex infrastructure. By matching the OpenAI speech endpoint structure, our API allows you to swap the base URL and use the official OpenAI SDKs, ensuring a smooth transition for existing workflows.

Our pricing model is built on transparency. You pay strictly for what you use, with no monthly commitments or hidden subscription fees. This approach ensures that your audio generation costs remain predictable and directly tied to your content output, making budgeting simple for small-scale projects.

Simple API Integration

Simple API Integration

Integration requires only a standard HTTP POST request with a JSON body. You send your text and receive an audio file, handling the logic for splitting longer texts into 4096-character chunks if necessary.

Since the request shape matches the OpenAI standard, you can use the official OpenAI SDK by simply pointing it to our base URL. This eliminates the need to learn a new library or write custom parsing logic for your WordPress plugins.

  • Standard JSON body structure
  • Compatible with OpenAI SDKs
  • Single endpoint for all requests

Transparent Pricing

We charge $10 per million characters, equating to $0.01 per 1,000 characters. This flat rate applies regardless of the voice or format selected, provided you stay within the standard model limits.

Failed requests incur no charge, ensuring you only pay for successful synthesis. This protects your budget during development phases when testing different voice parameters or text lengths.

No Hidden Fees

There are no monthly plans, seat licenses, or minimum spend requirements. Your balance does not expire, and you can top up as needed using USDT on the TRON network.

Support is provided via email only, with no premium tiers for faster response times. You get the same core API access regardless of your volume, keeping costs consistent as your blog grows.

Core Features for Content Creation

Sound wave illustration for: Core Features for Content Creation

Melolo Labs provides a straightforward text-to-speech API designed for freelancers building audio features for blogs and WordPress sites. We focus on simplicity, clear pricing, and easy integration so you can generate voiceovers without complex infrastructure.

23 Supported Languages

We support 23 languages, including English, Spanish, French, German, Japanese, and Chinese. Any voice can speak any of these languages, with automatic language detection for Latin-script text.

8 Distinct Voices

Choose from eight presets based on licensed recordings. Options include warm narrators, energetic promo voices, and calm instructional tones to match your content's mood.

Every generated file carries an inaudible watermark marking it as synthetic speech. Voices are derived from public-domain audiobook readings under CC BY 4.0.

Multiple Audio Formats

Receive audio in mp3, wav, opus, flac, or pcm formats. This flexibility ensures compatibility with various WordPress audio players and web standards.

Standard JSON requests allow you to specify the desired format directly, ensuring seamless delivery of high-quality audio files for your posts.

How It Works

Sound wave illustration for: How It Works

The Melolo Labs API converts text into speech through a straightforward HTTP request. Developers send a POST request to the /v1/audio/speech endpoint with the desired text, voice, and format settings in the JSON body.

Send Text via API

Include your Bearer token in the Authorization header. The request body defines parameters like the model (tts-1 or tts-1-hd), the input text (up to 4096 characters), and the target voice preset.

  • Endpoint: POST https://api.melolo.cc/v1/audio/speech
  • Auth: Bearer token in header
  • Body: JSON with model, input, voice, format

Receive Audio File

The API returns the generated audio file directly in the response. Supported formats include mp3, wav, opus, flac, and pcm. Failed requests do not incur charges, ensuring cost efficiency.

  • Formats: mp3, wav, opus, flac, pcm
  • Direct audio response
  • No charge on failure

Integrate with WordPress

Use the returned audio file blob to embed audio players in WordPress posts. Since the API uses standard OpenAI-compatible SDKs, existing integration patterns work with minor base URL adjustments.

Voice Options for Different Tones

Sound wave illustration for: Voice Options for Different Tones

Melolo Labs offers eight distinct voice presets, each designed to match specific content tones. These voices are derived from licensed recordings and public-domain audiobook readings, ensuring a natural listening experience for your blog readers.

Warm Narrator Voice

Aria provides a warm, clear narration style ideal for storytelling or long-form blog posts.

  • Aria: Warm, clear narrator

Energetic Promo Voice

Felix delivers an energetic, promotional tone perfect for product highlights or quick updates.

  • Felix: Energetic, promo

Calm Instructional Voice

Sage offers a calm, instructional tone ideal for tutorials or how-to guides.

  • Sage: Calm, instructional

Technical Specifications

Sound wave illustration for: Technical Specifications

Melolo Labs provides a standard text-to-speech API that integrates seamlessly with existing developer workflows. By matching the request shape of the OpenAI speech endpoint, you can leverage familiar tools without learning a new protocol.

OpenAI SDK Compatible

Use the official OpenAI SDKs by simply changing the base_url to https://api.melolo.cc/v1. This allows you to keep your existing code structure while accessing our 8 distinct voices and 23 languages.

Standard JSON Body

Send text via a simple POST request with a standard JSON body. Include your model, input, voice, response_format, and optional speed or language parameters. The API returns the audio file directly in the response.

Bearer Token Auth

Secure your requests with a Bearer token in the Authorization header. Each account holds one active key; issuing a new key immediately invalidates the old one, ensuring tight security for your WordPress audio features.

Technical Specifications

Pricing Model

Sound wave illustration for: Pricing Model

Melolo Labs offers a straightforward pay-per-character model at $10 per 1 million characters ($0.01 per 1,000 characters). Failed requests are free, ensuring you only pay for successful synthesis.

Start with a $0.50 free trial (approx. 50,000 characters) valid for 7 days when signing in with Google. Balance does not expire, and there are no monthly plans or minimum spend requirements.

Pay Per Character

Cost is calculated based on character count, including spaces and punctuation. The rate is $10 per 1 million characters, or $0.01 per 1,000 characters. This predictable structure helps freelance developers budget audio features for WordPress sites without unexpected overages.

  • $0.01 per 1,000 characters
  • Failed requests are free
  • No minimum spend

Free Trial Credit

New accounts created with Google authentication receive $0.50 of credit, valid for 7 days. This covers approximately 50,000 characters of audio generation. Email-based accounts do not receive this trial credit.

  • $0.50 initial credit
  • 7-day validity
  • Google sign-in only

USDT Top-Up

Top-ups are processed via USDT on the TRON network (TRC-20). The minimum top-up amount is $5. Credits are automatically added to your balance within minutes of transfer confirmation. No credit cards, PayPal, or VAT invoices are supported.

  • USDT (TRC-20) only
  • Minimum $5 top-up
  • Automatic credit within minutes

Data Privacy & Usage

Sound wave illustration for: Data Privacy & Usage

We prioritize your data integrity by ensuring that input text is used exclusively for generating the immediate audio response. Unlike many competitors, we do not repurpose your content for model training, keeping your creative assets entirely yours.

Generated audio files are delivered directly in the API response and are not persisted on our servers. Once the download is complete, the audio file itself is gone, leaving only the minimal metadata required for accurate billing and usage tracking.

No Training Data Use

Your input text is processed solely to produce the requested audio file. It is not stored long-term for training purposes, ensuring your unique blog content remains private.

No Audio Storage

Audio files are returned in the response stream and are not saved on our infrastructure. This minimizes storage footprint and ensures your generated voiceovers are transient unless you download them.

Billing Metadata Only

We retain only request metadata, including timestamp, character count, and status, to calculate charges accurately. This limited data ensures transparent billing without retaining your actual content or audio files.

Common Use Cases

Sound wave illustration for: Common Use Cases

Freelancers building audio-enhanced WordPress sites rely on Melolo Labs for consistent, high-quality voice generation that integrates seamlessly with existing content workflows. The API’s straightforward character-based billing and predictable output quality make it ideal for scaling audio features without complex infrastructure.

By generating audio files directly from blog text, developers can offer immersive reading experiences to users who prefer listening. The process is simple: send text to the endpoint, receive an MP3 or WAV file, and embed it using standard WordPress audio blocks or custom players.

Blog Post Narration

Convert long-form articles into listenable content automatically. Since the API handles up to 4096 characters per request, you can split longer posts into segments and join the resulting audio files to create a continuous listening experience. This is particularly useful for travel blogs, news updates, or educational content where users may prefer audio over reading.

The system supports 23 languages, allowing you to localize content for diverse audiences without needing separate voice talent. Whether the text is in English, Spanish, or Japanese, the same API endpoint handles the synthesis, ensuring consistent quality across your entire library.

  • Automate narration for evergreen content
  • Support 23 languages with 8 distinct voices
  • Split long texts into manageable audio segments

WordPress Audio Players

Enhance standard WordPress posts with embedded audio players that play generated speech. Since the API returns standard audio formats like MP3, WAV, and OPUS, these files work natively with WordPress’s built-in media player or third-party plugins like AudioIgniter or Elementor. This allows for a professional, app-like experience directly within the browser.

Developers can trigger synthesis on post publish or update. By storing the generated audio URL in custom fields, you can display the player conditionally, ensuring that only posts with audio enabled consume bandwidth. This keeps the site lightweight while offering rich media features.

  • Native support for MP3, WAV, and OPUS
  • Works with standard WordPress audio blocks
  • Conditional loading keeps sites fast

Social Media Clips

Extract key quotes from blog posts to create short audio clips for Twitter, LinkedIn, or Instagram. With a 4096-character limit per request, you can generate concise voiceovers for promotional snippets. The distinct voice presets, such as Felix for energetic promos or Luna for storytelling, allow you to match the tone of each platform.

Generation takes roughly real-time speed, so short clips are produced quickly. You can batch-process multiple quotes from a single article, creating a series of audio assets that drive traffic back to your main blog post. The inaudible watermark ensures synthetic origin is marked, which is useful for transparency.

  • Generate short clips under 4096 characters
  • Match platform tones with specific voices
  • Batch process quotes for social campaigns

Getting Started

Sound wave illustration for: Getting Started

Start by visiting the /get-api-key/ page to create your account. You can sign in using Google for an instant free trial of $0.50, or use email and password. This step initializes your billing profile and prepares your environment for integration.

Create an Account

Visit the /get-api-key/ page and select Google or email registration. Google sign-up includes a $0.50 trial credit valid for 7 days, allowing immediate testing. Email accounts start with zero balance, requiring a top-up before use.

Get Your API Key

Upon registration, the dashboard displays your unique Bearer token (tts-...). This single key authenticates all requests. You can regenerate it at any time, which immediately invalidates the previous key, ensuring security if compromised.

First Request Example

Send a POST request to https://api.melolo.cc/v1/audio/speech with your text and chosen voice. The API returns the audio file directly. For WordPress, save this file to your media library or stream it via your theme’s audio player component.

Ensure your text is under 4096 characters. If longer, split the input, generate each part, and join the audio files in your script or plugin logic before displaying to your readers.

  • Base URL: https://api.melolo.cc/v1
  • Auth Header: Authorization: Bearer tts-...
  • Endpoint: POST /v1/audio/speech
  • Response: Audio file (mp3, wav, etc.)

Listen to the 8 voices

Each sample below was generated by this API from the same sentence.

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

More on this site