ClearMaas exposes two paths for text-to-speech depending on which provider’s TTS model you want to use.Documentation Index
Fetch the complete documentation index at: https://docs.clearmaas.com/llms.txt
Use this file to discover all available pages before exploring further.
OpenAI-shape: /v1/audio/speech
Use this with OpenAI’s TTS model family — openai/tts-1,
openai/tts-1-hd, openai/gpt-4o-mini-tts, and similar:
Content-Type header tells you
which format the upstream returned (audio/mpeg, audio/wav,
audio/opus, or audio/flac).
Gemini TTS: native /v1beta/
Gemini TTS preview models (e.g. google/gemini-2.5-flash-preview-tts)
are not served on /v1/audio/speech — call them through Gemini’s
native surface instead:
inlineData
field. See Google’s Gemini TTS docs for the full set of voice names
and configuration options.
See also
- API Reference / Audio — full schema with try-it
- Native Formats / Gemini
- Advanced / Audio input — sending audio TO a chat model