Skip to content
صوتك عربي

Beta

API documentation

Arabic text-to-speech API

Request Arabic speech with POST /v1/audio/speech: voice IDs, PCM audio, sample rates and SDK examples.
Browse documentation

Text to Speech

POST /v1/audio/speech

modelstring

Use arabic tts with OpenAI SDKs.

inputstring

The text to speak. Billed per character.

voicestring

A voice id from your Voices page. Omit it for the default zero-shot voice.

response_formatstring

Must be "pcm". Raw 16-bit mono PCM is the only format we emit.

sample_ratenumber

Optional output rate from 8000 to 48000 Hz. Defaults to 24000 Hz.

curl --fail --show-error https://api.sawtakarabi.ai/v1/audio/speech \
  -H "Authorization: Bearer sk_ar_live_..." \
  -H "Content-Type: application/json" \
  -d '{"model":"arabic tts","input":"مرحبا بك","voice":"9287b630-bc5f-574d-8c38-5f525c2b4ca3","response_format":"pcm"}' \
  --output speech.pcm

The response body is raw little-endian 16-bit mono PCM, with no WAV header. The rate it was actually emitted at comes back on X-Sample-Rate; read that header rather than assuming a rate, or the audio plays at the wrong speed with no error anywhere.

صوتك عربي

Arabic voices for your projects and transcription for your recordings, in one platform.

Company

© ⁦2026⁩ Sawtak Arabi · Beta