v0.10.5

Speech Output

Last updated


How each TTS provider picks a default voice and which audio formats it can return.

Voices and formats


Speech models are picked like chat models; output depends on what each upstream can encode:
ProviderDefault voiceTTSOptions.Format
openaialloyforwarded as-is; empty means wav
geminiKoreignored; always WAV built from PCM
openrouterfirst supported_voices entry of the model in the OpenRouter catalogmp3 passes through; every other value requests PCM and returns WAV

OpenRouter voice validation


OpenRouter voices are model-specific and share no common default, so an unsupported voice fails locally with the model's valid list instead of the upstream's opaque Provider returned 400.

中文