aayam

API documentation

Turn text into speech in any voice you own, in the tone you choose, with one HTTPS request.

Quickstart

  1. 1

    Get an API key

    Email us and we'll send you a key while sign-up is being finished. Request an API key
  2. 2

    Save it as an environment variable

    Keep the key out of your code and out of anything that runs in a browser.
    export AAYAM_API_KEY="your-key"
  3. 3

    Make your first request

    This saves the line, spoken by Meera in a natural tone, to hello.wav.
curl https://api.aayam.ai/v1/audio/speech \
  -H "Authorization: Bearer $AAYAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "voice_id": "voice_platform_meera",
    "tone": "natural",
    "text": "Namaste! Your order is on its way."
  }' -o hello.wav

Authentication

Every request needs your API key as a bearer token in the Authorization header.

Authorization: Bearer $AAYAM_API_KEY

You're responsible for keeping your key secret. Call the API from your server, never from a web page or a mobile app, where anyone could read the key.

Create speech

POSThttps://api.aayam.ai/v1/audio/speech

Generates speech from text and returns it as WAV audio in the response body.

Headers

HeaderValue
AuthorizationBearer followed by your API key
Content-Typeapplication/json

Body

FieldTypeDescription
voice_idstringThe voice to speak with: a platform voice from the list below, or one of your custom voices.
tonestringHow the line should sound, for example natural, warm or calm. See Tones.
textstringThe words to speak.

Response

The body is the audio file itself, in WAV format. Save it to disk or stream it to your player. Only generated audio counts toward your minutes.

Voices

Ten platform voices are ready on every plan. Use them while your own voice is training, then switch the voice_id to your custom voice. Nothing else in your request changes.

Voicevoice_idSounds
Aaryavoice_platform_aaryaWarm, conversational
Arjunvoice_platform_arjunFriendly, sales
Devvoice_platform_devDeep, announcer
Ishitavoice_platform_ishitaCrisp, support
Kabirvoice_platform_kabirClear, confident
Meeravoice_platform_meeraBright, expressive
Nainavoice_platform_nainaLively, youthful
Rohanvoice_platform_rohanCalm, narrator
Taravoice_platform_taraSoft, assistant
Vikramvoice_platform_vikramSteady, formal

Tones

Pass one of these as tone. A custom voice speaks in the tones you trained it on.

  • natural

    Your everyday speaking voice.

  • warm

    Friendly and close, like a good receptionist.

  • calm

    Slow, even and reassuring.

  • excited

    Big news, launches and offers.

  • serious

    Policy, payments and anything that matters.

  • whisper

    Soft and intimate, for ASMR and bedtime stories.

  • cheerful

    Bright and upbeat, for greetings and kids' content.

  • empathetic

    Patient and understanding, for support calls.

Plans and limits

Each plan sets how many requests can run at the same time and how many minutes of audio are included each month.

PlanConcurrent streamsIncluded minutesExtra minutes
Free trial120Trial stops
Developer3100₹8 a minute
Growth10500₹6 a minute
Business252,000₹4 a minute
EnterpriseContractedCommitted volumeNo overage

Recording and training are never billed. Compare plans

Support

Questions about the API, a voice ID or your limits? Write to hello@aayam.ai and include the request you sent.

Give your product a voice of its own.

Tell us what you're building and we'll help you pick the right plan. Write to hello@aayam.ai

aayam

Custom AI voices in every tone, for creators and developers. Made in India.

© 2026 Aayam.ai. All rights reserved.