MODELS / OPENAI

TTS-1

TTS is a model that converts text to natural sounding spoken text.

SPEECH
CONTEXT WINDOW
MAX OUTPUT TOKENS
$15 / 1M tokens
INPUT PRICE
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/openai/tts-1",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: textOUTPUT: audioRELEASED: 2023-11-06