API Reference

Mayna API Documentation

Build production voice workflows with authenticated REST endpoints for voice upload, expressive generation, neutral speech, billing, and account automation.

Base URL

https://api.mayna.ai

Auth

JWT or psk_ API tokens

Audio

WAV downloads with curl

Storage

Private playback URLs

Quick Start Guide

  1. 1POST /auth/signup - Create account and receive credits
  2. 2POST /auth/api-tokens - Generate your API key
  3. 3POST /upload-voice - Upload a voice reference
  4. 4POST /generate-audio-emotion - Generate expressive speech

23 Supported Emotions

neutralhappysadangryexcitedcalmseriousreassuringconfidentfunnyfearfulfrustratedconfuseddisappointedhopefulanxiousassertivesarcasticboredtirednervousplayfulsorrowful

All emotions are available on Pro, Startup, and Scale plans. Free plan supports a limited emotion set.

Authentication

API Tokens

Voice Upload

Audio Generation

User Profile