Error
A valid request URL is required to generate request examples"<string>"Audio
Create speech
Generates audio from the input text. Returns audio data or streams via SSE.
POST
/
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 in provider/model format
Text to convert to speech
Set to "sse" to enable streaming
Available options:
sse Available options:
mp3, opus, aac, flac, wav, pcm Required range:
0.25 <= x <= 4Show child attributes
Show child attributes
Response
Successful response
The response is of type file.
Was this page helpful?
⌘I

