Mint a key
Name the consumer, set a rate and a monthly character budget. The key is shown once and stored as a hash — there is no "forgot key" page, by design.
Internal · RTX 3060 · Q8_0
One endpoint in front of the Nexis GPU worker. A key per consumer, a character budget per key, and a receipt for every call — so audio never leaves a hole in the ledger.
POST /v1/audio/speechName the consumer, set a rate and a monthly character budget. The key is shown once and stored as a hash — there is no "forgot key" page, by design.
OpenAI-shaped JSON in, audio out. Streamed while the worker generates, so a long paragraph starts playing before it finishes synthesising.
Characters, calls, latency and format per key. Revoke a key and the next request is refused on the same second.
The endpoint is disposable; the ledger is not. Breeze TTS 2 sits behind this gateway today. Swapping the model means changing one container environment variable — every consumer keeps the same URL, the same key, the same shapes.
x-request-id and a usage line.curl https://tts.nexis-ai.tech/v1/audio/speech \
-H "Authorization: Bearer $NEXIS_TTS_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tts-1",
"input": "The meter is running.",
"instructions": "a calm, low voice",
"response_format": "mp3"
}' --output line.mp3