AyaSpeech Logo

Speech-to-Text (ASR)

Convert spoken audio to text. Supports Twi.

Endpoint

POST /transcribe

Request

Send audio as a multipart form upload. Supported formats: WAV, MP3, FLAC, OGG.

ParameterTypeDescription
audio_filefile (required)Audio file to transcribe

Example

curl -X POST "https://api.ayaspeech.ayadata.ai/transcribe" \
  -H "x-api-token: your_api_token" \
  -F "audio_file=@recording.wav"

Response

{
  "text": "Medaase paa, me din de Kwame",
  "language": "twi",
  "inference_time_ms": 1234.5
}

Limits

TierDaily RequestsMonthly Minutes
Free330
Premium5003,000