# Changelog

## 2026-11-22 (developer portal)

- **Postman:** a collection and environment for every endpoint, generated from the OpenAPI
  spec (see the Quickstart).
- **Portal → Webhooks:** add endpoints, see the signing secret once, rotate it, send a test
  event, view the delivery log, and disable or re-enable an endpoint.
- **Portal → API keys:** edit a key's scopes and allowed IPs; the current `Talksign-Version`
  and the version each key last sent are shown.
- **Portal → Jobs:** a list of your async jobs; usage-log rows for a job link to it.
- **Idempotency:** files uploaded to `POST /v1/jobs` are part of the request fingerprint.

## 2026-11-22 (product coverage)

**New products**

- `POST /v1/meetings`, `GET /v1/meetings/{id}`, `POST /v1/meetings/{id}/stop`: a live
  interpreter in Google Meet, Zoom or Teams, $0.396/min from the wallet; `meeting.started`
  and `meeting.ended` webhooks.
- `POST /v1/jobs` types `captions` ($0.99/min of source; MP4 + SRT + VTT) and `sign_morph`
  ($0.055/s at 480p, $0.11/s at 720p, 10 s minimum; `consent: true` required).
- `POST /v1/uploads`: signed upload links for source videos up to 500 MB.
- `POST /v1/voice` and `GET /v1/voice/voices`: text to speech, $0.66 per 1,000 characters.
- Audio input: `POST /v1/speech-to-sign/realtime` and `sign_video` jobs accept a multipart
  `audio` file (≤ 10 min, ≤ 25 MB); realtime is billed on the measured audio length.

**API polish**

- Errors carry `param` and more specific codes (`missing_parameter`, `invalid_parameter`,
  `unknown_model`, `invalid_file`, `consent_required`, …).
- Key scopes and optional IP allow-lists (`403 insufficient_scope`, `403 ip_not_allowed`);
  existing keys keep every scope.
- Dated `Talksign-Version` header, echoed on every response.
- Test mode: sample jobs (instead of `403`), sample meetings and voice, magic inputs
  `__error_402`, `__error_422`, `__job_fail`; at most 20 active test keys per account.
- Account deletion: what happens to wallet credit and API data is documented.
- Sign→Speech stays coming soon.

## 2026-11-22 (async platform)

**Jobs**

- New `POST /v1/jobs` (`type: sign_video`) queues a video render and answers `202` at once;
  `GET /v1/jobs/{id}`, `GET /v1/jobs` (cursor pages) and `POST /v1/jobs/{id}/cancel`.
- `POST /v1/speech-to-sign/studio?async=true` is a shortcut for the same.
- The maximum estimate is reserved at create; success charges the measured amount, failure,
  cancel and timeout refund in full. `Idempotency-Key` returns the same job on retry.

**Webhooks**

- Signed webhooks for `job.succeeded`, `job.failed`, `job.canceled`, `avatar.ready` and
  `avatar.failed`, managed in the developer portal (secret rotation, test event, delivery log).
- Retries after 1 m, 5 m, 30 m, 2 h and 6 h; endpoints are disabled after 15 failures in a row.

**Account**

- New `GET /v1/usage` (billed calls, date range, cursor pages) and `GET /v1/balance`
  (available, reserved for jobs, credit with expiry).

## 2026-11-22

**Pricing accuracy**

- The prices in `GET /v1/openapi.json` (`x-talksign-billing`) are now generated from the
  live price list, so they always match what you are charged. Earlier versions of the
  spec showed outdated per-minute prices and volume bonuses.
- Current prices: Speech→Sign $0.33/min, Sign Video $1.32/min, Speech→Speech $0.33/min
  (full list in "Pricing and billing").
- Volume bonus credit: +10% from $250, +15% from $500, +20% from $1,000, +25% from $2,500.
- Custom avatars: $199 per avatar per year (the portal docs wrongly said $249 in two places).
- Rate limits (`x-talksign-rate-limits`) and default error codes (`x-talksign-error-codes`)
  in the spec are generated from configuration too.

**Realtime**

- `POST /v1/speech-to-sign/realtime` now returns `idle: { url, expires_at }`, the avatar's
  rest-pose loop to play between sentences (`null` when the avatar has none).
- New `expires_at` on realtime responses: every clip URL works until at least that time
  (6 to 12 hours after the call).
- The spec now documents every playlist field: `in_out_speed`, `alphaUrl`,
  `in_alpha_url`, `out_alpha_url`, `group`, `letter`, `tier`, `transition`,
  `active_start_s`, `active_end_s`.
- Test-mode realtime responses include the same fields (`idle: null`).

**Studio**

- `videoUrl` / `video_url` always use the public API host (`https://api-staging.talksign.co`),
  never an internal host name.

**Spec and docs**

- `/v1/avatars`, `/v1/avatars/validate` and `/v1/avatars/{id}` are listed in the spec as
  aliases of `/v1/speech-to-sign/avatars…`.
- `POST /v1/sign-to-speech` is marked `x-status: coming-soon`.
- Deleting a custom avatar: documented correctly. The avatar is deleted right away;
  an automatically added slot ends at the end of its billing period (no partial refund).
- Example custom avatar ids are now real 24-character ids.
- New developer documentation set (this folder).
