Skip to content

Docs

Build with Turkish speech

Two Turkish speech models, one API key. Alania turns text into speech; Duyu turns speech into text. Both work with the OpenAI client libraries: change base_url and you are done.

First request
curl https://voice.patientdesk.ai/v1/audio/speech \
  -H "Authorization: Bearer pd_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "model": "alania-v2",
        "voice": "alania2-f1",
        "input": "Talebinizi ilgili ekibe aktardım, sonucu size kısa mesajla ileteceğiz." }' \
  --output talep.wav
Result: talep.wav

Products

Guides and reference for each product.

Text to speech

Alania

Built-in voices, style instructions, voice design from a description, consented cloning. 48 kHz audio that streams as it is made.

Speech to text

Duyu

File transcription and live streaming. Compatible with OpenAI Whisper clients; word timestamps, SRT and VTT.

Models

The ids you put in model.

Examples

End-to-end projects you can copy and run.

Base URLs

Every request goes over HTTPS or WSS; errors come back as JSON in the OpenAI shape.

Alania · REST

POST/v1/audio/speech

Alania · WebSocket

WSS/v1/audio/speech/stream

Duyu · REST

POST/v1/audio/transcriptions

Duyu · WebSocket

WSS/v1/audio/stream