Unified Text To Speech

Unified text-to-speech endpoint supporting Gemini and ElevenLabs providers.

Provider is automatically detected from model_id:

  • Models starting with "gemini" → Gemini
  • All others → ElevenLabs

For single speaker:

  • Provide: text, model_id, voice_id

For multi-speaker (Gemini only):

  • Provide: transcript, model_id, speakers list (each with voice_id and optional prompt)
post/text-to-speech

Request

  • Base URL
    https://backend.praktiki.io (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

textstring nullable
transcriptstring nullable
model_idstring required
voice_idstring nullable
graphemestring nullable
phoneme_ipastring nullable
temperaturenumber nullable
use_pronunciation_dictionaryboolean nullable
localestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.