# Models, warm-up and spec

## GET /v1/models

Selectable models per service. Free.

Response `data`: `{ "<service>": { "default": string, "options": [{ "id", "label", "description" }] } }`.
Today: `speech-to-sign` → `echo-2.0` (Echo 2.0); `speech-to-speech` → `google-translate`.
Sign to speech is omitted until it launches.

Test mode: same shape (static list).

## POST /v1/warmup

Wakes the signing engine so the first sentence of a session is as fast as the rest.
**Free** (never billed). Limited to **6 calls per minute per key** (`429 rate_limit_exceeded`
with `Retry-After` above that). No request body.

Call it when your user opens your interpreter view, before they start speaking; you do
not need to wait for the answer before showing your UI.

Response (not wrapped in `data`): `{ "warm": boolean, "ms": number }`. `warm` is `true`
when the engine answered; `ms` is how long the ping took (a large value means the engine
was asleep and is now awake).

Automatic warming: the first live sign call after more than 10 minutes of quiet also wakes
the engine in the background, and the engine is kept warm for about 15 minutes after the
last live sign call from any key. Nothing is charged for either.

Test mode: `{ "warm": true, "ms": 0 }`, nothing is woken.

## GET /v1/openapi.json

**Public** (no key). The OpenAPI 3.1 document for this API. Prices
(`x-talksign-billing`), rate limits (`x-talksign-rate-limits`) and error codes
(`x-talksign-error-codes`) are generated from the live configuration. Cached 5 minutes.
