Menu

ZenMic API Documentation

Multispeaker TTS API

Powerful text-to-speech API for developers. Transform your text into natural-sounding audio with just a few lines of code.

Status: Stable

Authentication

All API requests require an API key in the headers:

Authorization: Bearer YOUR_API_KEY

Security Best Practices

  • Never expose your API key in client-side code
  • Use environment variables for key storage

Request/Response Examples

Request

POST /api
Content-Type: application/json
Authorization: Bearer your-api-key

{
    "title": "Podcast title",
    "langCode": "en",
    "dialogue": [
        {"male": "any text"},
        {"female": "any text"},
        {"guest": "any text"}
    ]
}

Response

{
    "success": true,
    "id": "abyz",
    "status_url": "/api?id=abyz",
}

Voice Options

Standard Voices

  • male - Male voice
  • female - Female voice
  • guest - Guest male voice

Request Parameters

Parameter Type Required Description
title string Yes The title of your audio content
langCode string Yes Language code (e.g., 'en')
dialogue array Yes Array of dialogue objects

Try API

Ready to Get Started?

Get an API key and start transforming your text into natural speech.

Get Your API Key

Ready to Transform Your Content?

Join hundreds of content creators who are already using ZenMic to create amazing podcasts.

Start Generating