Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.inya.ai/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

Before you begin, ensure you have:
  • A valid API key (sign up on the vachana platform to generate API keys)
  • cURL installed, or an API client such as Postman
Use a test audio file with the following requirements -
  1. Format: WAV, MP3, OGG, FLAC, AAC, M4A
  2. Sampling rate: 8 kHz – 44.1 kHz
  3. Maximum duration: 60 seconds

Your First Speech-to-Text Request

Minimal example to transcribe a Hindi audio file:
curl -X POST https://api.vachana.ai/stt/v3 \
  -H 'Content-Type: multipart/form-data' \
  -H 'X-API-Key-ID: <API_KEY>' \
  -F audio_file='/path/to/your/audio.wav' \
  -F language_code=hi-IN
Replace these values:
  • <API_KEY>: Your Vachana API key
  • /path/to/your/audio.wav: Path to your audio file
  • hi-IN: Language code (see Language Codes for all options)

Expected STT Response

On success, you’ll receive a JSON response like:
{
  "success": true,
  "transcript": "नमस्ते, आप कैसे हैं?"
}

Next Steps