Generates audio from text using OpenAI TTS via PydanticAI.
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Model identifier (e.g., tts-1, tts-1-hd)
"tts-1"
Text to convert to speech
Voice to use
alloy, echo, fable, onyx, nova, shimmer mp3, opus, aac, flac, wav, pcm 0.25 <= x <= 4Set to 'sse' for streaming
sse Successful response
The response is of type file.