BeeBridge AIBeeBridge AI
API Reference
AI Model APIAudioNative OpenAI Format
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.

Text-to-Speech

Converts text into audio

POST
/v1/audio/speech
AuthorizationBearer <token>

Authenticate with a Bearer token. Format: Authorization: Bearer sk-xxxxxx

In: header

modelstring
inputstring

Text to convert

Lengthlength <= 4096
voicestring
Value in"alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"
response_format?string
Default"mp3"
Value in"mp3" | "opus" | "aac" | "flac" | "wav" | "pcm"
speed?number
Default1
Range0.25 <= value <= 4

Response Body

audio/mpeg

curl -X POST "https://api.beeaicloud.com/v1/audio/speech" \  -H "Content-Type: application/json" \  -d '{    "model": "tts-1",    "input": "string",    "voice": "alloy"  }'
"string"

How is this guide?

Text-to-Speech | BeeBridge AI