Endpoints

Voices

The voices speech synthesis accepts today. Read the list at start-up rather than hard-coding it.

GEThttps://api.ana-yurt.dev/v1/audio/voices

No key needed. Limited to 120 requests per minute per IP address.

#Current voices

idVoiceLanguage
servinMale, adultCrimean Tatar
sevilFemale, adultCrimean Tatar

Both voices read Latin and Cyrillic input.

#Response

Response fields
FieldTypeDescription
availablebooleanWhether speech synthesis is offered. Check status for whether it is up right now.
voices[].idstringValue for the voice field of POST /v1/audio/speech.
voices[].namestringDisplay name.
voices[].languagestringAlways crh (Crimean Tatar).
Request
curl https://api.ana-yurt.dev/v1/audio/voices
Response 200
{
  "available": true,
  "voices": [
    { "id": "servin", "name": "Servin (male)", "language": "crh" },
    { "id": "sevil", "name": "Sevil (female)", "language": "crh" }
  ]
}