Capability
Text-to-speech,from one key.
Generate natural speech with open TTS models on the OpenAI-compatible /v1/audio/speech endpoint. Give your agents and apps a voice, billed per character.
Models you can call
Served on FlexAI today, on the OpenAI-compatible API.
| Model | Context | Price | Status |
|---|---|---|---|
| Kokoro-82M | — | $0.558 / M chars | Serving |
Call it
OpenAI-compatible /v1/audio/speech. Same key as every other model.
curl https://tokens.flex.ai/v1/audio/speech \
-H "Authorization: Bearer $FLEXAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Kokoro-82M",
"input": "Hello from FlexAI.",
"voice": "af_sky"
}' --output speech.mp3In the pipeline
Use cases that put this capability to work.
Start serverless and pay per use. When volume proves out, move to a dedicated endpoint on the same key.
Every modality, one API key
Text, vision, image, audio, and embeddings behind one OpenAI-compatible key.
$10/month in free credits for your first 3 months