Error
A valid request URL is required to generate request examples"<string>"LangChain Integration
Create speech (LangChain - OpenAI TTS)
Generates audio from text using OpenAI TTS via LangChain.
POST
/
langchain
/
v1
/
audio
/
speech
Error
A valid request URL is required to generate request examples"<string>"Authorizations
BearerAuthBasicAuthVirtualKeyAuthApiKeyAuth
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Body
application/json
Model identifier (e.g., tts-1, tts-1-hd)
Example:
"tts-1"
Text to convert to speech
Voice to use
Available options:
alloy, echo, fable, onyx, nova, shimmer Available options:
mp3, opus, aac, flac, wav, pcm Required range:
0.25 <= x <= 4Set to 'sse' for streaming
Available options:
sse Response
Successful response
The response is of type file.
Was this page helpful?
⌘I

