WordPress Text-to-Speech Plugin - Add AI Voice to Your Site

Add AI text-to-speech to your WordPress site with the TTS.ai API. Convert blog posts to audio, add voice narration, and improve accessibility.

What You Can Build

  • Convert blog posts to audio automatically
  • Add listen-along audio players to articles
  • Create audio versions of product descriptions
  • Improve accessibility for visually impaired visitors
  • Generate podcast content from written articles

Quick Start

1. Get your API key from your account page

2. Use the OpenAI-compatible endpoint for easy integration:

import requests

# In your WordPress plugin or functions.php
response = requests.post(
    "https://tts.ai/v1/audio/speech",
    headers={"Authorization": "Bearer sk-tts-YOUR_KEY"},
    json={
        "model": "kokoro",
        "voice": "af_bella",
        "input": post_content[:5000]
    }
)
with open(f"audio/{post_id}.wav", "wb") as f:
    f.write(response.content)

API Features

  • OpenAI-compatible endpoint (drop-in replacement)
  • 20+ TTS models including free tier
  • Voice cloning with 9 models
  • Speech-to-text (99 languages)
  • Batch processing (up to 50 items)
  • Webhook notifications
  • Streaming audio for low latency

Pricing

Same credit-based pricing as the web app. Free models cost 0 credits.

Calculate Your Costs
5.0/5 (1)

Ready to get started?

Sign up free and get 50 credits. No credit card required.