{"openapi":"3.1.0","info":{"title":"Talksign Developer API","version":"1.0.0","summary":"Speech-to-sign, gloss and speech-to-speech translation over REST.","description":"The Talksign Developer API turns speech or text into sign language video, gloss\ntokens and translated text. Authenticate with a secret key in the\n`Authorization: Bearer` header.\n\n* **Live keys** (`sk-live-…`) call the real engines and are billed per use from your\n  prepaid USD wallet (see `x-talksign-billing`).\n* **Test keys** (`sk-test-…`) never bill and never call an AI engine: they return\n  deterministic sample payloads with the `Talksign-Test-Mode: true` header and a\n  lower rate limit.\n\nEvery response carries an `X-Request-Id` header. Errors use one envelope:\n`{ \"error\": { \"code\", \"message\", \"type\", \"param\" }, \"request_id\" }` — `param` names the\nrequest field at fault (null when none).\n\n**Versioning:** send an optional dated `Talksign-Version` header (e.g. `2026-11-22`). Every\nresponse echoes the version that served it; an unknown value answers `400 invalid_version`.\n\n**Key scopes:** a key can be limited to scopes (see `x-talksign-scopes`) and to an IP\nallow-list; a call outside them answers `403 insufficient_scope` / `403 ip_not_allowed`.\nKeys created without scopes have every scope.\n\nSign video is generated by **Echo 2.0**, the only speech-to-sign model; `model` is optional.\n\nBillable POST endpoints accept an `Idempotency-Key` header: retrying with the same key\nwithin 24 hours returns the stored response and is not charged again.\n\nThe legacy `/api/developer/ai/*` paths are deprecated aliases of `/v1/*` and answer\nwith `Deprecation` and `Link` headers.\n","contact":{"name":"Talksign Developer Support","url":"https://developer.talksign.co/docs"},"license":{"name":"Proprietary (Developer API terms, DRAFT)","url":"https://developer.talksign.co/legal/api-terms"}},"servers":[{"url":"https://api-staging.talksign.co/v1","description":"Talksign Developer API"}],"security":[{"bearerAuth":[]}],"x-standard-headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"tags":[{"name":"Models","description":"Selectable engines per service."},{"name":"Speech to sign","description":"Text or transcribed speech to sign language clips, videos and gloss."},{"name":"Avatars","description":"System and custom signing avatars."},{"name":"Speech to speech","description":"Text translation between spoken languages."},{"name":"Sign to speech","description":"Not yet available through the Developer API."},{"name":"Jobs","description":"Asynchronous renders. Create a job, then poll it or receive a webhook."},{"name":"Uploads","description":"Signed upload links for large source videos used by jobs."},{"name":"Meetings","description":"A Talksign interpreter that joins a Google Meet, Zoom or Microsoft Teams call and signs what is said."},{"name":"Voice","description":"Text to natural speech audio."},{"name":"Account","description":"Usage records and wallet balance for the key's account."},{"name":"Meta","description":"Machine-readable description of this API."}],"x-talksign-scopes":[{"scope":"sign:write","description":"Speech-to-sign (realtime, studio, gloss) and speech-to-speech."},{"scope":"avatars:write","description":"Create and delete custom avatars."},{"scope":"jobs:read","description":"List and get jobs."},{"scope":"jobs:write","description":"Create and cancel jobs; create uploads."},{"scope":"meetings:write","description":"Create, get and stop meetings."},{"scope":"voice:write","description":"Text to speech."},{"scope":"usage:read","description":"Usage records and balance."}],"x-talksign-versions":{"current":"2026-11-22","supported":["2026-06-01","2026-11-22"]},"x-talksign-error-codes":[{"status":400,"code":"missing_parameter","type":"invalid_request_error","description":"A required parameter is missing; `param` names it."},{"status":400,"code":"invalid_parameter","type":"invalid_request_error","description":"A parameter has an invalid value; `param` names it."},{"status":400,"code":"unknown_model","type":"invalid_request_error","description":"`model` is not offered for this service."},{"status":400,"code":"invalid_file","type":"invalid_request_error","description":"An uploaded file is missing, unreadable or of the wrong type (checked from its content, not its name)."},{"status":400,"code":"consent_required","type":"invalid_request_error","description":"A required consent field (`consent`, `disclosure_accepted`) is not `true`."},{"status":400,"code":"invalid_version","type":"invalid_request_error","description":"Unknown `Talksign-Version` header value."},{"status":400,"code":"invalid_request","type":"invalid_request_error","description":"Missing or invalid parameter, or malformed JSON."},{"status":401,"code":"invalid_api_key","type":"authentication_error","description":"Missing, malformed, revoked or unknown API key."},{"status":402,"code":"insufficient_credits","type":"billing_error","description":"Insufficient wallet funds for this call (or the monthly spend limit paused requests)."},{"status":402,"code":"payment_method_required","type":"billing_error","description":"Creating a custom avatar ($199/year slot) needs a saved payment method on Billing."},{"status":402,"code":"avatar_slot_inactive","type":"billing_error","description":"The custom avatar is paused because its $199/year slot subscription is unpaid."},{"status":403,"code":"insufficient_scope","type":"permission_error","description":"The API key does not have the scope this endpoint needs."},{"status":403,"code":"ip_not_allowed","type":"permission_error","description":"The API key has an IP allow-list that does not include the caller's IP."},{"status":403,"code":"permission_denied","type":"permission_error","description":"The key may not perform this action."},{"status":403,"code":"test_mode_unsupported","type":"permission_error","description":"The endpoint cannot be used with a test key."},{"status":403,"code":"cors_origin_not_allowed","type":"permission_error","description":"Browser call from an origin other than the developer portal."},{"status":403,"code":"avatar_pending_review","type":"permission_error","description":"The custom avatar is still being reviewed."},{"status":403,"code":"avatar_limit","type":"permission_error","description":"Custom avatar safety limit reached (50 per account)."},{"status":404,"code":"meeting_not_found","type":"not_found_error","description":"No meeting with this id was created by your account through the API."},{"status":404,"code":"upload_not_found","type":"not_found_error","description":"`video_upload_id` has no finished upload."},{"status":404,"code":"job_not_found","type":"invalid_request_error","description":"No job with this id belongs to your account."},{"status":404,"code":"not_found","type":"not_found_error","description":"Unknown endpoint or resource."},{"status":404,"code":"avatar_not_found","type":"not_found_error","description":"The custom avatar id does not exist or belongs to another account (outside your organization)."},{"status":405,"code":"method_not_allowed","type":"invalid_request_error","description":"Default code for HTTP 405."},{"status":409,"code":"meeting_already_interpreted","type":"invalid_request_error","description":"A Talksign interpreter is already in this meeting."},{"status":409,"code":"job_not_cancelable","type":"invalid_request_error","description":"The job already finished (succeeded, failed or canceled)."},{"status":409,"code":"conflict","type":"invalid_request_error","description":"The resource is in a conflicting state."},{"status":409,"code":"avatar_not_ready","type":"invalid_request_error","description":"The custom avatar is still being prepared (status pending or processing). Retry after `estimated_ready_at`."},{"status":409,"code":"avatar_coming_soon","type":"invalid_request_error","description":"The preset avatar is listed as coming soon (status coming_soon) and can't be used yet. Pick another avatar."},{"status":409,"code":"avatar_unusable","type":"invalid_request_error","description":"The custom avatar failed preparation (status failed or rejected_quality) and can't be used."},{"status":409,"code":"idempotency_in_progress","type":"invalid_request_error","description":"A request with the same Idempotency-Key is still running. Retry shortly."},{"status":413,"code":"file_too_large","type":"invalid_request_error","description":"An uploaded file is over its size limit (audio 25 MB, video 500 MB, Sign Morph video 200 MB, photo 10 MB)."},{"status":413,"code":"audio_too_long","type":"invalid_request_error","description":"Audio longer than 10 minutes."},{"status":413,"code":"video_too_long","type":"invalid_request_error","description":"Video longer than the limit (captions 10 minutes, Sign Morph 30 seconds)."},{"status":413,"code":"payload_too_large","type":"invalid_request_error","description":"Upload larger than 50 MB."},{"status":413,"code":"text_too_long","type":"invalid_request_error","description":"`text` longer than 5,000 characters. Nothing charged."},{"status":422,"code":"no_speech","type":"invalid_request_error","description":"No speech was found in the audio. Nothing charged."},{"status":422,"code":"avatar_not_available","type":"invalid_request_error","description":"AVATAR_NOT_AVAILABLE: the avatar has no Echo 2.0 signing yet. Pick another avatar. Nothing charged."},{"status":422,"code":"idempotency_key_reused","type":"invalid_request_error","description":"The Idempotency-Key was already used with a different endpoint or request body."},{"status":422,"code":"avatar_quality_failed","type":"invalid_request_error","description":"The avatar photo/video failed a hard quality check (or a warning with strict=true). Response includes `checks[]`. Nothing stored or charged."},{"status":422,"code":"invalid_request","type":"invalid_request_error","description":"Default code for HTTP 422."},{"status":429,"code":"meeting_user_limit","type":"rate_limit_error","description":"Too many of your meetings are running at once. Stop one first."},{"status":429,"code":"meeting_daily_limit","type":"rate_limit_error","description":"Daily meeting limit reached."},{"status":429,"code":"rate_limit_exceeded","type":"rate_limit_error","description":"Too many requests for this key. See Retry-After."},{"status":429,"code":"avatar_quality_retry_limit","type":"rate_limit_error","description":"5 failed avatar creations (quality) in 24 h. Check photos with /avatars/validate first."},{"status":500,"code":"internal_error","type":"api_error","description":"Unexpected server error. Retry with backoff; quote the request id."},{"status":501,"code":"not_available","type":"api_error","description":"The service is not offered through the Developer API yet."},{"status":502,"code":"transcription_failed","type":"api_error","description":"Speech-to-text failed. Nothing charged; retry."},{"status":502,"code":"avatar_upload_failed","type":"api_error","description":"Avatar upload or thumbnail failed; the slot was removed and nothing was charged."},{"status":502,"code":"service_unavailable","type":"api_error","description":"Default code for HTTP 502."},{"status":503,"code":"meetings_busy","type":"api_error","description":"All interpreters are busy. Retry in a minute."},{"status":503,"code":"service_unavailable","type":"api_error","description":"An upstream engine is unavailable. Retry with backoff."},{"status":504,"code":"service_unavailable","type":"api_error","description":"Default code for HTTP 504."}],"paths":{"/models":{"get":{"tags":["Models"],"operationId":"listModels","summary":"List models","description":"Selectable models per service. Sign-to-speech is omitted until it is available.","responses":{"200":{"description":"Models per service.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsResponse"},"example":{"success":true,"data":{"speech-to-sign":{"default":"echo-2.0","options":[{"id":"echo-2.0","label":"Echo 2.0","description":"Photorealistic full-body speech-to-sign avatars"}]},"speech-to-speech":{"default":"google-translate","options":[{"id":"google-translate","label":"Google Translate","description":"Multilingual text translation"}]}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/warmup":{"post":{"tags":["Models"],"operationId":"warmup","summary":"Warm up the signing engine","description":"Wakes the signing engine so the first sentence of a session is as fast as the rest. Call it when your user opens your interpreter view (before they speak). Free: never billed. Limited to 6 calls per minute per key. Returns `warm: true` when the engine answered, and `ms`, how long the ping took (a large `ms` means it was asleep and is now awake). Test keys answer `{ warm: true, ms: 0 }` without waking anything. Live sign traffic also keeps the engine warm automatically for about 15 minutes.","responses":{"200":{"description":"Warm-up result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"warm":{"type":"boolean","description":"The engine answered its health check."},"ms":{"type":"integer","description":"Milliseconds the ping took."}}},"example":{"warm":true,"ms":412}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/speech-to-sign":{"post":{"tags":["Speech to sign"],"operationId":"speechToSign","summary":"Speech to sign (auto)","description":"Routes to `/speech-to-sign/realtime` by default ($0.33/min), or to `/speech-to-sign/studio` when `mode` is `studio` or `render` ($1.32/min).","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SignRequest"},{"type":"object","properties":{"mode":{"type":"string","enum":["realtime","studio","render"],"default":"realtime"}}}]},"example":{"text":"Hello, how are you?","language":"asl","avatar":"arthur"}}}},"responses":{"200":{"description":"Realtime playlist (or studio video when mode=studio).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/RealtimeResponse"},{"$ref":"#/components/schemas/StudioResponse"}]},"examples":{"realtime":{"$ref":"#/components/examples/RealtimeExample"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/AvatarComingSoon"},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"$ref":"#/components/responses/AvatarNotAvailable"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/speech-to-sign/realtime":{"post":{"tags":["Speech to sign"],"operationId":"speechToSignRealtime","summary":"Realtime sign clips","description":"Returns a playlist of short 4K sign clips (signed URLs). Each word carries in_url / main url / out_url: play in -> main[active_start_s..active_end_s] -> out per word, back to back. Speech→Sign, $0.33/min of sign video. Clip URLs are short-lived (see `expires_at`); `idle` is the avatar's rest-pose loop to play between sentences.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignRequest"},"example":{"text":"Hello, how are you?","language":"asl","avatar":"arthur"}},"multipart/form-data":{"schema":{"type":"object","required":["audio"],"description":"Audio input instead of `text`: transcribed with speech-to-text, then signed. Billed on the measured audio length.","properties":{"audio":{"type":"string","format":"binary","description":"WAV, MP3, FLAC, OGG, M4A/AAC, WebM or MP4 audio. At most 10 minutes and 25 MB (checked from the file's content)."},"spokenLanguage":{"type":"string","description":"Language spoken in the audio (BCP-47, default en-US)."},"language":{"type":"string","default":"asl"},"avatar":{"type":"string"}}}}}},"responses":{"200":{"description":"Clip playlist.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealtimeResponse"},"examples":{"realtime":{"$ref":"#/components/examples/RealtimeExample"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/AvatarComingSoon"},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"$ref":"#/components/responses/AvatarNotAvailable"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/speech-to-sign/studio":{"post":{"tags":["Speech to sign"],"operationId":"speechToSignStudio","summary":"Studio video render","description":"Stitches clips into one downloadable MP4, every word as <WORD>.in -> main (active range) -> <WORD>.out back to back (neutral-pose anchoring, no cuts). Play or download it from `download_url` (a signed link, valid until `expires_at`, 1 hour; works directly in `<video src>` with no auth header), or fetch it with your key from `video_url` (`GET /speech-to-sign/video/{requestId}`). Rendered videos are kept for 7 days. Sign Video, $1.32/min of rendered video.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"name":"async","in":"query","required":false,"description":"`true` queues the render as a job instead and answers `202` with a Job (same as `POST /jobs` with `type: sign_video`).","schema":{"type":"boolean","default":false}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignRequest"},"example":{"text":"Welcome to our store","language":"asl","avatar":"amara"}}}},"responses":{"200":{"description":"Rendered video reference.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioResponse"},"example":{"success":true,"data":{"videoUrl":"https://api-staging.talksign.co/v1/speech-to-sign/video/req_test_3f1c2a9b8d7e6f50","video_url":"https://api-staging.talksign.co/v1/speech-to-sign/video/req_test_3f1c2a9b8d7e6f50","download_url":"https://storage.googleapis.com/example-bucket/user/speech2sign/2026-11-22/req_test_3f1c2a9b8d7e6f50.mp4?X-Goog-Signature=abc","expires_at":"2026-11-22T13:00:00.000Z","requestId":"req_test_3f1c2a9b8d7e6f50","durationSeconds":2,"avatar":"amara","language":"asl"},"usage":{"type":"speech-to-sign/studio","durationSeconds":2,"costUsd":0.05,"walletRemainingUsd":49.95}}}}},"202":{"description":"Queued job (only with `?async=true`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreated"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/AvatarComingSoon"},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"$ref":"#/components/responses/AvatarNotAvailable"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/speech-to-sign/gloss":{"post":{"tags":["Speech to sign"],"operationId":"speechToSignGloss","summary":"Gloss tokens","description":"Sign language gloss tokens (e.g. for AR glasses HUDs). Runs the Speech→Sign translation stage, so it is charged at $0.33/min for the estimated spoken length of `text` (minimum $0.01). Requires wallet funds before work starts (402 `insufficient_credits` otherwise); failed calls are refunded.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to gloss."},"language":{"type":"string","enum":["asl","bsl"],"default":"asl"}}},"example":{"text":"Hello, how are you?","language":"asl"}}}},"responses":{"200":{"description":"Gloss result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlossResponse"},"example":{"success":true,"data":{"text":"Hello, how are you?","language":"asl","gloss":"HELLO HOW YOU","glosses":["HELLO","HOW","YOU"],"proper_nouns":[]},"usage":{"type":"speech-to-sign/gloss","durationSeconds":2,"costUsd":0.02,"walletRemainingUsd":49.98}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"description":"`idempotency_in_progress`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"description":"`idempotency_key_reused`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/speech-to-sign/avatars":{"get":{"tags":["Avatars"],"operationId":"listAvatars","summary":"List avatars","description":"System preset avatars plus your custom avatars (rejected ones are hidden). Not billed.","responses":{"200":{"description":"Avatars.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarsResponse"},"example":{"success":true,"data":{"system_avatars":[{"id":"amara","name":"Amara","is_preset":true,"languages":["asl","bsl"],"status":"ready"},{"id":"arthur","name":"Arthur","is_preset":true,"languages":["asl","bsl"],"status":"ready"}],"custom_avatars":[],"total":2}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}},"post":{"tags":["Avatars"],"operationId":"uploadAvatar","summary":"Upload a custom avatar","description":"Upload a portrait (multipart, max 50 MB). The avatar is processed and reviewed before use.\n\nPricing: $199 per year per custom avatar slot, all sign languages included, no setup fee. Creating an\navatar uses a FREE slot you already own first (slots can be pre-purchased on Billing → Add-ons →\nAvatar slots; no new charge). Only when no slot is free does it add one slot to your avatar\nsubscription (prorated, charged to your saved card); without a saved payment method you get\n`402 payment_method_required` and nothing is uploaded. If the upload fails an added slot is removed again. Using a custom avatar in calls costs the normal per-minute price (no markup). If the slot\nsubscription is unpaid, the avatar is paused and calls using it return `402 avatar_slot_inactive`.\nAnti-abuse safety limit: 50 custom avatars per account. Deleting an avatar releases its slot: pre-purchased slots stay owned,\nautomatically added slots end at period end ($199/year recurring, removal at period end).\nTest keys (`sk-test-`) return a sample avatar and are never charged.\nQuality checks run first, before any slot is added (same rules as the Talksign apps). Synchronous:\n`file_type`, `file_size` (10 KB–50 MB), `resolution` (shortest side ≥ 320 px hard, < 720 px warning),\n`duration` (video 2–60 s), `lighting` (too dark = hard, dim/overexposed = warning), `framing` (very wide = warning).\nAsynchronous (during processing): `face_visible`, `both_hands_visible`, head-to-hips framing — on failure\nthe avatar's status becomes `rejected_quality` with `quality_reasons[]` and its slot is removed with prorated credit.\nHard failures return `422 avatar_quality_failed` with `checks[]`; warnings are returned as `warnings[]` on\nthe 201 response, or as 422 when `strict=true`. Pre-check for free with `POST /speech-to-sign/avatars/validate`.\nThe slot payment must succeed before anything is stored or rendered. At most 5 failed creations\n(422 + rejected_quality) per day: further attempts return `429 avatar_quality_retry_limit`.\nAlso available at the short alias `/avatars` (`GET/POST /avatars`, `GET/DELETE /avatars/{id}`).\n","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"},"strict":{"type":"boolean","default":false,"description":"Treat quality warnings as errors (422 avatar_quality_failed)."}}}}}},"responses":{"201":{"description":"Avatar created (processing).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Avatar"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"description":"Custom avatar safety limit reached (`avatar_limit`)."},"413":{"$ref":"#/components/responses/BadRequest"},"422":{"description":"Quality check failed (`avatar_quality_failed`) with `checks[]`; no slot added, nothing charged."},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"Upload or thumbnail failed (`avatar_upload_failed`); the slot was removed","nothing charged.":null}}}},"/speech-to-sign/avatars/validate":{"post":{"operationId":"validateAvatar","tags":["Avatars"],"summary":"Check an avatar photo (free)","description":"Runs the cheap synchronous avatar quality checks on a photo or video in memory (never stored, no AI\nrender) without billing. Live keys only (test keys get a sample result). Limits: 3 per minute and 20 per\nday per account (429 `rate_limit_exceeded` with Retry-After); photo ≤ 25 MB, video ≤ 100 MB and ≤ 60 s.\nEach check is counted in your usage analytics (cost 0). Also at `/avatars/validate`. `pass: null` with `async: true` means the check\n(face / hands) runs during processing after upload.\n","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Check results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarQualityResult"},"example":{"ok":true,"checks":[{"code":"file_type","pass":true,"severity":"hard","message":"Supported file type."},{"code":"resolution","pass":true,"severity":"hard","message":"Resolution 1080×1350 OK."},{"code":"lighting","pass":false,"severity":"soft","message":"The lighting is dim. Brighter","even light gives a better avatar.":null},{"code":"face_visible","pass":null,"severity":"hard","async":true,"message":"Checked during processing."}],"warnings":[{"code":"lighting","message":"The lighting is dim. Brighter","even light gives a better avatar.":null}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/speech-to-sign/avatars/{id}":{"delete":{"tags":["Avatars"],"operationId":"deleteAvatar","summary":"Delete a custom avatar","description":"Deletes one of your custom avatars and its stored files. Not billed; the avatar's slot is released. Pre-purchased slots stay owned; an automatically added $199/year slot ends at the end of the billing period.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"example":{"success":true,"message":"Avatar deleted."}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"get":{"tags":["Avatars"],"operationId":"getAvatar","summary":"Get an avatar","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"arthur"}],"responses":{"200":{"description":"Avatar.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Avatar"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/speech-to-sign/video/{requestId}":{"get":{"tags":["Speech to sign"],"operationId":"getVideo","summary":"Download a rendered video","description":"Streams the MP4 rendered by a studio call, with HTTP Range support (`Range: bytes=…` answers 206 Partial Content, so players can seek). Only the account that rendered it can fetch it. Videos are kept for 7 days. Not billed. With a test key, `req_test_…` ids redirect (302) to a sample clip.","parameters":[{"name":"requestId","in":"path","required":true,"schema":{"type":"string"},"example":"req_test_3f1c2a9b8d7e6f50"}],"responses":{"200":{"description":"The video.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"video/mp4":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"Partial content (the requested byte range).","content":{"video/mp4":{"schema":{"type":"string","format":"binary"}}}},"302":{"description":"Test mode redirect to a sample clip."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"416":{"description":"Range not satisfiable."}}}},"/speech-to-speech":{"post":{"tags":["Speech to speech"],"operationId":"speechToSpeech","summary":"Translate text","description":"Translates text between spoken languages. Speech→Speech, $0.33/min of spoken length (minimum $0.01).","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text","toLang"],"properties":{"text":{"type":"string"},"fromLang":{"type":"string","description":"ISO 639-1 source language; auto-detected when omitted.","example":"en"},"toLang":{"type":"string","description":"ISO 639-1 target language.","example":"es"},"model":{"type":"string","default":"google-translate"},"durationSeconds":{"type":"number","description":"Spoken length hint (seconds, max 3600). Charged on the larger of this and the estimate from `text`."}}},"example":{"text":"Hello, how are you?","fromLang":"en","toLang":"es"}}}},"responses":{"200":{"description":"Translation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeechToSpeechResponse"},"example":{"success":true,"data":{"translatedText":"Hola, ¿cómo estás?","fromLang":"en","toLang":"es"},"usage":{"type":"speech-to-speech","durationSeconds":2,"costUsd":0.02,"walletRemainingUsd":49.98}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"description":"`idempotency_in_progress`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"description":"`idempotency_key_reused`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/sign-to-speech":{"post":{"tags":["Sign to speech"],"operationId":"signToSpeech","summary":"Sign to speech (coming soon)","x-status":"coming-soon","description":"Coming soon ($0.33/min). Always answers 501 `not_available` for now. Never billed.","responses":{"401":{"$ref":"#/components/responses/Unauthorized"},"501":{"description":"Not available yet.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/jobs":{"post":{"tags":["Jobs"],"operationId":"createJob","summary":"Create an async job","description":"Queues work and answers `202` at once. The maximum estimate (from the measured input length) is reserved from your wallet when the job is created; when it succeeds you are charged the measured amount and the rest is released. A failed, canceled or timed-out job is refunded in full. Types: `sign_video` ($1.32/min of rendered video; `text` or multipart `audio`), `captions` ($0.99/min of source video; MP4 with burned-in captions + SRT + VTT), `sign_morph` ($0.055/s at 480p, $0.11/s at 720p of output, 10 s minimum; `consent: true` required). Up to 3 jobs per key run at the same time; the rest wait in the queue. Poll `GET /jobs/{id}` or subscribe to `job.*` webhooks. Test keys get a finished sample job (`livemode: false`); a string field containing `__job_fail` makes it a failed job.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/TalksignVersion"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["sign_video"]}}},{"$ref":"#/components/schemas/SignRequest"}]},{"$ref":"#/components/schemas/CaptionsJobRequest"}]},"example":{"type":"sign_video","text":"Welcome to our store","language":"asl","avatar":"amara"}},"multipart/form-data":{"schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["sign_video","captions","sign_morph"]},"audio":{"type":"string","format":"binary","description":"sign_video: audio instead of text (≤ 10 min, ≤ 25 MB)."},"video":{"type":"string","format":"binary","description":"captions: source video (MP4/MOV/WebM, ≤ 500 MB, ≤ 10 min). sign_morph: the motion video (≤ 200 MB, ≤ 30 s)."},"photo":{"type":"string","format":"binary","description":"sign_morph: the person to animate (JPG/PNG/WEBP, ≤ 10 MB). Or give a preset `avatar`."},"video_upload_id":{"type":"string","description":"Instead of `video`: an id from POST /uploads."},"captions":{"type":"string","description":"captions: JSON array of { start, end, text } (seconds). Omit for an automatic transcript."},"language":{"type":"string","description":"captions: spoken language of the source (auto transcript)."},"burn_in":{"type":"boolean","default":true,"description":"captions: also render an MP4 with the captions burned in."},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"quality":{"type":"string","enum":["480p","720p"],"default":"720p","description":"sign_morph output quality."},"avatar":{"type":"string","enum":["arthur","amara","daniel","elena"],"description":"sign_morph: preset person instead of `photo`."},"consent":{"type":"boolean","description":"sign_morph: required, must be true — you have the rights and consent of every person in the photo and video."}}}}}},"responses":{"202":{"description":"Job queued.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreated"},"example":{"id":"job_8c1d2e3f4a5b6c7d8e9f0a1b","object":"job","type":"sign_video","status":"queued","created_at":"2026-11-22T12:00:00.000Z"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"description":"Idempotency-Key request still in progress.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"$ref":"#/components/responses/TextTooLong"},"422":{"description":"Idempotency-Key reused with a different body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"}}},"get":{"tags":["Jobs"],"operationId":"listJobs","summary":"List jobs","description":"Your account's jobs, newest first. Free.","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"starting_after","in":"query","description":"Job id from the previous page (cursor).","schema":{"type":"string"}}],"responses":{"200":{"description":"A page of jobs.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"has_more":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/jobs/{id}":{"get":{"tags":["Jobs"],"operationId":"getJob","summary":"Get a job","description":"Free. `result` is set when `status` is `succeeded`; `error` when it is `failed`.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs/{id}/cancel":{"post":{"tags":["Jobs"],"operationId":"cancelJob","summary":"Cancel a job","description":"Cancels a queued or processing job and refunds its reservation in full. A finished job answers `409 job_not_cancelable`.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The canceled job.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"The job already finished.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/uploads":{"post":{"tags":["Uploads"],"operationId":"createUpload","summary":"Create a signed upload","description":"Returns a signed `PUT` link (valid 30 minutes) for a source video up to 500 MB. Upload the file with the returned headers, then pass `id` as `video_upload_id` to POST /jobs. Free.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content_type","size_bytes"],"properties":{"content_type":{"type":"string","enum":["video/mp4","video/quicktime","video/webm"]},"size_bytes":{"type":"integer","maximum":524288000}}},"example":{"content_type":"video/mp4","size_bytes":104857600}}}},"responses":{"201":{"description":"Signed upload link.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"description":"size_bytes over 500 MB (`file_too_large`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/meetings":{"post":{"tags":["Meetings"],"operationId":"createMeeting","summary":"Send an interpreter to a meeting","description":"A Talksign interpreter joins the Google Meet, Zoom or Microsoft Teams call and signs what is said on its camera. $0.396/min, billed in whole minutes while it is in the call (paused time excluded); nothing if the host never lets it in or it fails within 2 minutes. One minute is reserved at create; funds for the next minute are held as it goes, and the interpreter leaves when the wallet runs out. `disclosure_accepted: true` is required: you confirm participants are told an AI interpreter is in the call. Caps: concurrent meetings per account and per day. Webhooks: `meeting.started`, `meeting.ended`.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["meeting_url","disclosure_accepted"],"properties":{"meeting_url":{"type":"string","format":"uri"},"disclosure_accepted":{"type":"boolean","description":"Must be true."},"avatar":{"type":"string","enum":["arthur","amara"],"default":"arthur"},"background":{"type":["string","null"],"description":"Hex colour like #E7F2FD (default: the avatar's own)."}}},"example":{"meeting_url":"https://meet.google.com/abc-defg-hij","disclosure_accepted":true,"avatar":"arthur"}}}},"responses":{"201":{"description":"Interpreter requested (joining).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"description":"An interpreter is already in this meeting (`meeting_already_interpreted`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/meetings/{id}":{"get":{"tags":["Meetings"],"operationId":"getMeeting","summary":"Get a meeting","description":"Free.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The meeting.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/meetings/{id}/stop":{"post":{"tags":["Meetings"],"operationId":"stopMeeting","summary":"Stop a meeting","description":"The interpreter leaves; billing settles to the minutes used and the rest of the hold is released. Free.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The ended meeting.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/voice":{"post":{"tags":["Voice"],"operationId":"createSpeech","summary":"Text to speech","description":"Natural speech audio (MP3) for `text`. $0.66/1,000 characters of text, charged on the characters sent. Returns `audio/mpeg` bytes with `Talksign-Usage-Characters` and `Talksign-Usage-Cost-Usd` headers, or JSON with base64 audio when `response_format` is `json`.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":5000},"voice":{"type":"string","description":"Voice id from GET /voice/voices (default voice when omitted)."},"response_format":{"type":"string","enum":["mp3","json"],"default":"mp3"}}},"example":{"text":"Welcome to Talksign."}}}},"responses":{"200":{"description":"Speech audio.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"audio_base64":{"type":"string"},"content_type":{"type":"string"},"characters":{"type":"integer"}}},"usage":{"$ref":"#/components/schemas/Usage"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/TextTooLong"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/voice/voices":{"get":{"tags":["Voice"],"operationId":"listVoices","summary":"List voices","description":"Preset voices for POST /voice. Free.","responses":{"200":{"description":"Voices.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"default":{"type":"boolean"}}}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/usage":{"get":{"tags":["Account"],"operationId":"listUsage","summary":"Usage records","description":"Billed calls and jobs of your account, newest first. Free.","parameters":[{"name":"from","in":"query","description":"Inclusive start (ISO 8601 or unix seconds).","schema":{"type":"string"}},{"name":"to","in":"query","description":"Exclusive end (ISO 8601 or unix seconds).","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"starting_after","in":"query","description":"Usage record id from the previous page (cursor).","schema":{"type":"string"}}],"responses":{"200":{"description":"A page of usage records.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/UsageRecord"}},"has_more":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/balance":{"get":{"tags":["Account"],"operationId":"getBalance","summary":"Wallet balance","description":"Available wallet balance, the amount held for unfinished jobs, and your prepaid credit with expiry dates. Free.","responses":{"200":{"description":"Balance.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"},"example":{"object":"balance","currency":"usd","available_usd":48.2,"reserved_usd":0.4,"credit_lots_usd":48.6,"lots":[{"remaining_usd":48.6,"expires_at":"2027-11-01T00:00:00.000Z"}]}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/openapi.json":{"get":{"tags":["Meta"],"operationId":"getOpenApi","summary":"This OpenAPI document","security":[],"responses":{"200":{"description":"OpenAPI 3.1 document (JSON).","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/avatars":{"get":{"tags":["Avatars"],"operationId":"listAvatarsAlias","summary":"List avatars","description":"Short alias of `/speech-to-sign/avatars`.\n\nSystem preset avatars plus your custom avatars (rejected ones are hidden). Not billed.","responses":{"200":{"description":"Avatars.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarsResponse"},"example":{"success":true,"data":{"system_avatars":[{"id":"amara","name":"Amara","is_preset":true,"languages":["asl","bsl"],"status":"ready"},{"id":"arthur","name":"Arthur","is_preset":true,"languages":["asl","bsl"],"status":"ready"}],"custom_avatars":[],"total":2}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}},"post":{"tags":["Avatars"],"operationId":"uploadAvatarAlias","summary":"Upload a custom avatar","description":"Short alias of `/speech-to-sign/avatars`.\n\nUpload a portrait (multipart, max 50 MB). The avatar is processed and reviewed before use.\n\nPricing: $199 per year per custom avatar slot, all sign languages included, no setup fee. Creating an\navatar uses a FREE slot you already own first (slots can be pre-purchased on Billing → Add-ons →\nAvatar slots; no new charge). Only when no slot is free does it add one slot to your avatar\nsubscription (prorated, charged to your saved card); without a saved payment method you get\n`402 payment_method_required` and nothing is uploaded. If the upload fails an added slot is removed again. Using a custom avatar in calls costs the normal per-minute price (no markup). If the slot\nsubscription is unpaid, the avatar is paused and calls using it return `402 avatar_slot_inactive`.\nAnti-abuse safety limit: 50 custom avatars per account. Deleting an avatar releases its slot: pre-purchased slots stay owned,\nautomatically added slots end at period end ($199/year recurring, removal at period end).\nTest keys (`sk-test-`) return a sample avatar and are never charged.\nQuality checks run first, before any slot is added (same rules as the Talksign apps). Synchronous:\n`file_type`, `file_size` (10 KB–50 MB), `resolution` (shortest side ≥ 320 px hard, < 720 px warning),\n`duration` (video 2–60 s), `lighting` (too dark = hard, dim/overexposed = warning), `framing` (very wide = warning).\nAsynchronous (during processing): `face_visible`, `both_hands_visible`, head-to-hips framing — on failure\nthe avatar's status becomes `rejected_quality` with `quality_reasons[]` and its slot is removed with prorated credit.\nHard failures return `422 avatar_quality_failed` with `checks[]`; warnings are returned as `warnings[]` on\nthe 201 response, or as 422 when `strict=true`. Pre-check for free with `POST /speech-to-sign/avatars/validate`.\nThe slot payment must succeed before anything is stored or rendered. At most 5 failed creations\n(422 + rejected_quality) per day: further attempts return `429 avatar_quality_retry_limit`.\nAlso available at the short alias `/avatars` (`GET/POST /avatars`, `GET/DELETE /avatars/{id}`).\n","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"},"strict":{"type":"boolean","default":false,"description":"Treat quality warnings as errors (422 avatar_quality_failed)."}}}}}},"responses":{"201":{"description":"Avatar created (processing).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Avatar"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"description":"Custom avatar safety limit reached (`avatar_limit`)."},"413":{"$ref":"#/components/responses/BadRequest"},"422":{"description":"Quality check failed (`avatar_quality_failed`) with `checks[]`; no slot added, nothing charged."},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"Upload or thumbnail failed (`avatar_upload_failed`); the slot was removed","nothing charged.":null}}}},"/avatars/validate":{"post":{"operationId":"validateAvatarAlias","tags":["Avatars"],"summary":"Check an avatar photo (free)","description":"Short alias of `/speech-to-sign/avatars/validate`.\n\nRuns the cheap synchronous avatar quality checks on a photo or video in memory (never stored, no AI\nrender) without billing. Live keys only (test keys get a sample result). Limits: 3 per minute and 20 per\nday per account (429 `rate_limit_exceeded` with Retry-After); photo ≤ 25 MB, video ≤ 100 MB and ≤ 60 s.\nEach check is counted in your usage analytics (cost 0). Also at `/avatars/validate`. `pass: null` with `async: true` means the check\n(face / hands) runs during processing after upload.\n","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Check results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarQualityResult"},"example":{"ok":true,"checks":[{"code":"file_type","pass":true,"severity":"hard","message":"Supported file type."},{"code":"resolution","pass":true,"severity":"hard","message":"Resolution 1080×1350 OK."},{"code":"lighting","pass":false,"severity":"soft","message":"The lighting is dim. Brighter","even light gives a better avatar.":null},{"code":"face_visible","pass":null,"severity":"hard","async":true,"message":"Checked during processing."}],"warnings":[{"code":"lighting","message":"The lighting is dim. Brighter","even light gives a better avatar.":null}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/avatars/{id}":{"delete":{"tags":["Avatars"],"operationId":"deleteAvatarAlias","summary":"Delete a custom avatar","description":"Short alias of `/speech-to-sign/avatars/{id}`.\n\nDeletes one of your custom avatars and its stored files. Not billed; the avatar's slot is released. Pre-purchased slots stay owned; an automatically added $199/year slot ends at the end of the billing period.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"example":{"success":true,"message":"Avatar deleted."}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"get":{"tags":["Avatars"],"operationId":"getAvatarAlias","summary":"Get an avatar","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"arthur"}],"responses":{"200":{"description":"Avatar.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Talksign-Test-Mode":{"$ref":"#/components/headers/Talksign-Test-Mode"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Avatar"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}},"description":"Short alias of `/speech-to-sign/avatars/{id}`."}}},"webhooks":{"job.succeeded":{"post":{"operationId":"webhookJobSucceeded","summary":"job.succeeded","description":"A job succeeded; data.object is the Job with its result.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"job.failed":{"post":{"operationId":"webhookJobFailed","summary":"job.failed","description":"A job failed (refunded in full); data.object.error says why.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"job.canceled":{"post":{"operationId":"webhookJobCanceled","summary":"job.canceled","description":"A job was canceled (refunded in full).","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"avatar.ready":{"post":{"operationId":"webhookAvatarReady","summary":"avatar.ready","description":"A custom avatar created with your API key is ready.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"avatar.failed":{"post":{"operationId":"webhookAvatarFailed","summary":"avatar.failed","description":"A custom avatar created with your API key could not be prepared.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"meeting.started":{"post":{"operationId":"webhookMeetingStarted","summary":"meeting.started","description":"The interpreter was let into the meeting; billing started. data.object is the Meeting.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}},"meeting.ended":{"post":{"operationId":"webhookMeetingEnded","summary":"meeting.ended","description":"The meeting ended (stopped, call ended, out of funds or failed); data.object is the Meeting with billed_seconds and cost_usd.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the event; anything else is retried after 1 m, 5 m, 30 m, 2 h and 6 h."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"sk-live-… | sk-test-…","description":"Secret API key from the developer portal. Keep it server-side."}},"headers":{"X-Request-Id":{"description":"Unique id for this request (a well-formed incoming X-Request-Id is echoed). Quote it to support.","schema":{"type":"string","example":"req_5f0c9a1e2b3d4c5e6f708192"}},"Talksign-Test-Mode":{"description":"Present (`true`) when the request used a test key; the payload is a deterministic sample.","schema":{"type":"string","enum":["true"]}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying (429 only).","schema":{"type":"integer"}},"Talksign-Version":{"description":"The dated API version that served the request (your `Talksign-Version` header, or the current version).","schema":{"type":"string","example":"2026-11-22"}},"Idempotent-Replayed":{"description":"`true` when the response is a stored replay for a repeated Idempotency-Key (not charged again).","schema":{"type":"string","enum":["true"]}}},"parameters":{"TalksignVersion":{"name":"Talksign-Version","in":"header","required":false,"description":"Optional dated API version (`2026-06-01` or `2026-11-22`). Echoed in the response; unknown values answer 400 `invalid_version`. Accepted on every endpoint.","schema":{"type":"string","example":"2026-11-22"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Any unique string (1–255 printable ASCII characters, e.g. a UUID). Retrying the same\nrequest with the same key within 24 hours returns the stored successful response (with\n`Idempotent-Replayed: true`) and is not charged again. Failed attempts are not stored, so the\nkey can be retried. A different body or endpoint with the same key returns 422\n`idempotency_key_reused`; a retry while the first call is still running returns 409\n`idempotency_in_progress`.\n","schema":{"type":"string","maxLength":255},"example":"7c9e6679-7425-40de-944b-e07fc1f90ae7"}},"responses":{"BadRequest":{"description":"Invalid request (`invalid_request`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"invalid_request","message":"text is required.","type":"invalid_request_error"},"request_id":"req_5f0c9a1e2b3d4c5e6f708192"}}}},"Unauthorized":{"description":"Missing or invalid API key (`invalid_api_key`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"invalid_api_key","message":"Invalid API Key.","type":"authentication_error"},"request_id":"req_5f0c9a1e2b3d4c5e6f708192"}}}},"PaymentRequired":{"description":"Insufficient wallet funds (`insufficient_credits`), no saved card for an avatar slot (`payment_method_required`), or the avatar slot is unpaid (`avatar_slot_inactive`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"insufficient_credits","message":"Insufficient wallet funds. Your API wallet has $0.00; this call needs at least $0.01. Top up in the Developer Dashboard or enable auto-recharge.","type":"billing_error"},"request_id":"req_5f0c9a1e2b3d4c5e6f708192"}}}},"Forbidden":{"description":"Not permitted (`permission_denied`, `avatar_pending_review`, `test_mode_unsupported`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Not found (`not_found`, `avatar_not_found`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limit exceeded (`rate_limit_exceeded`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"AvatarComingSoon":{"description":"The avatar can't be used yet (`avatar_coming_soon` for a preset listed as coming soon, `avatar_not_ready`, `avatar_unusable`) or the Idempotency-Key is in use (`idempotency_in_progress`). Nothing charged.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"avatar_coming_soon","message":"Elena is coming soon and can't be used yet. Pick another avatar.","type":"invalid_request_error"},"request_id":"req_5f0c9a1e2b3d4c5e6f708192"}}}},"AvatarNotAvailable":{"description":"`avatar_not_available` (AVATAR_NOT_AVAILABLE): the avatar has no Echo 2.0 signing yet, or `idempotency_key_reused`. Nothing charged.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"avatar_not_available","message":"This avatar isn't available yet. Pick another avatar.","type":"invalid_request_error"},"request_id":"req_5f0c9a1e2b3d4c5e6f708192"}}}},"TextTooLong":{"description":"`text_too_long`: text over 5,000 characters. Nothing charged.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Upstream engine unavailable (`service_unavailable`).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"examples":{"RealtimeExample":{"summary":"Realtime playlist","value":{"success":true,"data":{"language":"asl","avatar":"arthur","text":"Hello, how are you?","glosses":["HELLO","HOW","YOU"],"playlist":[{"gloss":"HELLO","url":"https://storage.googleapis.com/…/HELLO.mp4?X-Goog-Signature=…","tier":"exact","transition":{"effect":"crossfade","duration_ms":150},"in_url":"https://storage.googleapis.com/…/HELLO.in.mp4?X-Goog-Signature=…","out_url":"https://storage.googleapis.com/…/HELLO.out.mp4?X-Goog-Signature=…","active_start_s":0.6667,"active_end_s":1.5333,"in_out_speed":1.5,"group":null,"letter":null,"alphaUrl":null,"in_alpha_url":null,"out_alpha_url":null},{"gloss":"HOW","url":"https://storage.googleapis.com/…/HOW.mp4?X-Goog-Signature=…","tier":"exact","transition":{"effect":"crossfade","duration_ms":150},"in_url":"https://storage.googleapis.com/…/HOW.in.mp4?X-Goog-Signature=…","out_url":"https://storage.googleapis.com/…/HOW.out.mp4?X-Goog-Signature=…","active_start_s":0.6667,"active_end_s":1.5333,"in_out_speed":1.5,"group":null,"letter":null,"alphaUrl":null,"in_alpha_url":null,"out_alpha_url":null},{"gloss":"YOU","url":"https://storage.googleapis.com/…/YOU.mp4?X-Goog-Signature=…","tier":"exact","transition":{"effect":"crossfade","duration_ms":150},"in_url":"https://storage.googleapis.com/…/YOU.in.mp4?X-Goog-Signature=…","out_url":"https://storage.googleapis.com/…/YOU.out.mp4?X-Goog-Signature=…","active_start_s":0.6667,"active_end_s":1.5333,"in_out_speed":1.5,"group":null,"letter":null,"alphaUrl":null,"in_alpha_url":null,"out_alpha_url":null}],"idle":{"url":"https://storage.googleapis.com/…/_IDLE.mp4?X-Goog-Signature=…","expires_at":"2026-11-22T18:00:00.000Z"},"expires_at":"2026-11-22T18:00:00.000Z","transition":{"effect":"crossfade","duration_ms":150},"has_missing":false},"usage":{"type":"speech-to-sign/realtime","durationSeconds":2,"costUsd":0.02,"walletRemainingUsd":49.98}}}},"schemas":{"Error":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message","type"],"properties":{"code":{"type":"string","description":"Stable machine-readable code (see x-talksign-error-codes).","example":"invalid_request"},"message":{"type":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","not_found_error","rate_limit_error","api_error"]},"param":{"type":["string","null"],"description":"The request field at fault (e.g. `text`, `audio`, `model`), or null.","example":"text"}}},"request_id":{"type":"string"},"success":{"type":"boolean","const":false,"description":"Legacy field."},"message":{"type":"string","description":"Legacy copy of error.message."}}},"Usage":{"type":"object","properties":{"type":{"type":"string","example":"speech-to-sign/realtime"},"durationSeconds":{"type":"number","description":"Billed usage in seconds (sign video length for sign endpoints)."},"costUsd":{"type":"number","description":"USD charged for this call: rate × usage, rounded up to the cent, minimum 0.01 (0 in test mode).","example":0.02},"walletRemainingUsd":{"type":["number","null"],"description":"USD left in the wallet after this call (null in test mode).","example":49.98},"test_mode":{"type":"boolean","description":"Present and true for test keys."}}},"SignRequest":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text (or transcribed speech) to sign."},"language":{"type":"string","enum":["asl","bsl"],"default":"asl"},"avatar":{"type":"string","default":"arthur","description":"Preset id (arthur, amara; elena and daniel are coming soon) or one of your custom avatar ids. A preset listed with status coming_soon returns 409 avatar_coming_soon; an avatar without Echo 2.0 signing returns 422 avatar_not_available; another account's custom avatar returns 404 avatar_not_found."},"avatar_id":{"type":"string","description":"Alias of avatar."},"model":{"type":"string","enum":["echo-2.0"],"description":"Optional. Echo 2.0 is the only speech-to-sign model (default)."},"durationSeconds":{"type":"number","description":"Optional length hint (seconds, max 3600). Charges use the server-measured sign video length when available, otherwise the larger of this and the estimate from `text`."},"config":{"type":"object","additionalProperties":true,"description":"Advanced engine options."}}},"Clip":{"type":"object","properties":{"gloss":{"type":"string","description":"Gloss (sign word) this clip shows, e.g. HELLO."},"group":{"type":["integer","string","null"],"description":"Clips of one fingerspelled word share a group, so captions can show the word once. Null for ordinary words."},"letter":{"type":["string","null"],"description":"The letter when the clip is one fingerspelled letter, else null."},"url":{"type":["string","null"],"format":"uri","description":"Short-lived signed URL of the main clip (valid until `expires_at` of the response). Null when the clip is missing."},"alphaUrl":{"type":["string","null"],"format":"uri","description":"Optional matte of the main clip (colour | matte side by side) for transparent backgrounds. Null when absent."},"tier":{"type":"string","example":"TIER_1_EXACT","description":"How the gloss was matched to a clip (e.g. TIER_1_EXACT, TIER_1_ALIAS, TIER_1_COMPOUND, TIER_2_SYNONYM, TIER_3_FINGERSPELLING; `exact` when the engine gives none). Informational; do not branch on exact values."},"transition":{"type":"object","description":"Suggested transition from this clip to the next when not using in/out clips.","properties":{"effect":{"type":"string","example":"crossfade"},"duration_ms":{"type":"integer","example":150}}},"in_url":{"type":["string","null"],"format":"uri","description":"Signed URL of <WORD>.in.mp4 (neutral pose -> sign start). Null if the avatar has no transition clips."},"out_url":{"type":["string","null"],"format":"uri","description":"Signed URL of <WORD>.out.mp4 (sign end -> neutral pose). Null together with in_url."},"in_alpha_url":{"type":["string","null"],"format":"uri","description":"Matte of in_url (null when absent)."},"out_alpha_url":{"type":["string","null"],"format":"uri","description":"Matte of out_url (null when absent)."},"active_start_s":{"type":["number","null"],"description":"Start the main clip (`url`) here (seconds) when playing after in_url."},"active_end_s":{"type":["number","null"],"description":"Stop the main clip here (seconds), then play out_url."},"in_out_speed":{"type":["number","null"],"description":"Playback rate for in_url and out_url (e.g. 1.5). Null = normal speed (1.0)."}},"description":"Play order for seamless signing: for EVERY word play in_url (at in_out_speed), then url from active_start_s to active_end_s, then out_url (at in_out_speed), then the next word's in_url (and so on). Every word starts and ends in the same neutral pose, so the clips join without a cut. Preload the next clip while the current one plays. When in_url/out_url are null, play url in full. Between sentences loop the response's `idle` clip."},"IdleClip":{"type":["object","null"],"description":"The avatar's rest-pose loop (breathing in the neutral pose). Loop it between sentences. Null when the avatar has none.","properties":{"url":{"type":"string","format":"uri","description":"Signed URL of the idle loop."},"expires_at":{"type":"string","format":"date-time","description":"When this URL stops working."}}},"RealtimeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"language":{"type":"string"},"avatar":{"type":"string","description":"Avatar actually used (may differ from the request when a language is still preparing; see notice)."},"text":{"type":"string"},"glosses":{"type":"array","items":{"type":"string"}},"playlist":{"type":"array","items":{"$ref":"#/components/schemas/Clip"}},"idle":{"$ref":"#/components/schemas/IdleClip"},"expires_at":{"type":"string","format":"date-time","description":"Every signed URL in this response (playlist and idle) works until at least this time (6 to 12 hours after the call). Call again for fresh URLs after it."},"transition":{"type":"object"},"has_missing":{"type":"boolean","description":"True when some words had no clip."},"notice":{"type":"string","description":"Present when a fallback avatar was used."},"requested_avatar":{"type":"string","description":"Present with notice: the avatar you asked for."}}},"usage":{"$ref":"#/components/schemas/Usage"}}},"StudioResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"videoUrl":{"type":"string","format":"uri"},"video_url":{"type":"string","format":"uri"},"download_url":{"type":["string","null"],"format":"uri","description":"Signed link to the MP4, valid until expires_at (1 hour). Usable directly in <video src>."},"expires_at":{"type":["string","null"],"format":"date-time"},"requestId":{"type":["string","null"]},"durationSeconds":{"type":"number"},"avatar":{"type":"string"},"language":{"type":"string"}}},"usage":{"$ref":"#/components/schemas/Usage"}}},"GlossResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"text":{"type":"string"},"language":{"type":"string"},"gloss":{"type":"string"},"glosses":{"type":"array","items":{"type":"string"}},"proper_nouns":{"type":"array","items":{"type":"string"}}}}}},"Avatar":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"is_preset":{"type":"boolean"},"languages":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["pending","processing","ready","failed","rejected_quality"],"example":"ready","description":"A new custom avatar stays `processing` until every word of its primary sign\nlanguage is rendered (usually a few hours). It can't be used for translation\nuntil `ready`: calls with it return 409 `avatar_not_ready`.\n"},"quality_reasons":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}},"description":"Set when status is rejected_quality."},"moderationStatus":{"type":"string","enum":["pending","approved","rejected"]},"progress":{"type":"integer","minimum":0,"maximum":100,"description":"Percent of the whole preparation done (one bar across every render run; never goes down). 100 when ready."},"progress_label":{"type":["string","null"],"description":"Short human-readable stage, e.g. \"Teaching your avatar to sign\"."},"estimated_ready_at":{"type":["string","null"],"format":"date-time","description":"Estimated time the avatar becomes ready, from measured render speed. Null when ready, failed or unknown."},"preview_url":{"type":["string","null"]},"paused":{"type":"boolean","description":"True when the avatar's $199/year slot is unpaid (calls return 402 avatar_slot_inactive)."},"preparing_languages":{"type":"array","items":{"type":"string"},"description":"Languages still rendering; calls in these languages fall back to the preset avatar `arthur` with a notice."}}},"AvatarQualityResult":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when any hard check failed."},"checks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["file_type","file_size","resolution","duration","lighting","framing","face_visible","both_hands_visible"]},"pass":{"type":["boolean","null"]},"severity":{"type":"string","enum":["hard","soft"]},"async":{"type":"boolean"},"message":{"type":"string"}}}},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"AvatarsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"system_avatars":{"type":"array","items":{"$ref":"#/components/schemas/Avatar"}},"custom_avatars":{"type":"array","items":{"$ref":"#/components/schemas/Avatar"}},"total":{"type":"integer"}}}}},"SpeechToSpeechResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"translatedText":{"type":"string"},"fromLang":{"type":["string","null"]},"toLang":{"type":"string"}}},"usage":{"$ref":"#/components/schemas/Usage"}}},"ModelsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","additionalProperties":{"type":"object","properties":{"default":{"type":"string"},"options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"}}}}}}}}},"JobCreated":{"type":"object","properties":{"id":{"type":"string","example":"job_8c1d2e3f4a5b6c7d8e9f0a1b"},"object":{"type":"string","enum":["job"]},"type":{"type":"string","enum":["sign_video","captions","sign_morph"]},"status":{"type":"string","enum":["queued","succeeded","failed"],"description":"queued for live keys; test keys get an already finished sample job."},"livemode":{"type":"boolean","description":"Present and false for test-key jobs."},"created_at":{"type":"string","format":"date-time"}}},"Job":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["job"]},"type":{"type":"string","enum":["sign_video","captions","sign_morph"]},"status":{"type":"string","enum":["queued","processing","succeeded","failed","canceled"]},"created_at":{"type":"string","format":"date-time"},"started_at":{"type":["string","null"],"format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"},"result":{"type":["object","null"],"properties":{"download_url":{"type":["string","null"],"format":"uri","description":"Signed MP4 link, valid until expires_at."},"expires_at":{"type":["string","null"],"format":"date-time"},"video_url":{"type":["string","null"],"format":"uri"},"requestId":{"type":["string","null"]},"durationSeconds":{"type":"number"},"avatar":{"type":"string"},"language":{"type":"string"},"srt_url":{"type":["string","null"],"format":"uri","description":"captions: SRT file."},"vtt_url":{"type":["string","null"],"format":"uri","description":"captions: WebVTT file."},"lines":{"type":"integer","description":"captions: number of caption lines."},"transcript":{"type":"string","description":"Automatic transcript (audio input / auto captions)."},"input":{"type":"string","enum":["audio"],"description":"sign_video from audio."},"quality":{"type":"string","enum":["480p","720p"],"description":"sign_morph."},"billedSeconds":{"type":"number","description":"sign_morph: billed seconds (10 s minimum)."}}},"error":{"type":["object","null"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},"usage":{"type":["object","null"],"properties":{"type":{"type":"string"},"durationSeconds":{"type":["number","null"]},"costUsd":{"type":"number"}}}}},"CaptionsJobRequest":{"type":"object","required":["type","video_upload_id"],"description":"captions job with a video already uploaded through POST /uploads (or send multipart with `video`).","properties":{"type":{"type":"string","enum":["captions"]},"video_upload_id":{"type":"string"},"captions":{"type":"array","maxItems":300,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number"},"end":{"type":"number"},"text":{"type":"string","maxLength":200}}}},"language":{"type":"string"},"burn_in":{"type":"boolean","default":true},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"}}},"Upload":{"type":"object","properties":{"id":{"type":"string","example":"upl_0a1b2c3d4e5f60718293a4b5"},"object":{"type":"string","enum":["upload"]},"upload_url":{"type":"string","format":"uri"},"method":{"type":"string","enum":["PUT"]},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Send these headers with the PUT."},"expires_at":{"type":"string","format":"date-time"}}},"Meeting":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["meeting"]},"status":{"type":"string","enum":["requested","joining","waiting_room","live","ended","failed"]},"platform":{"type":"string","enum":["meet","zoom","teams"]},"meeting_url":{"type":"string"},"avatar":{"type":"string"},"background":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"joined_at":{"type":["string","null"],"format":"date-time"},"ended_at":{"type":["string","null"],"format":"date-time"},"end_reason":{"type":["string","null"],"description":"Why it ended (e.g. out_of_credits, not_admitted, max_length)."},"paused":{"type":"boolean"},"billed_seconds":{"type":"number","description":"Billable seconds so far (whole minutes once ended)."},"cost_usd":{"type":["number","null"],"description":"Final charge once ended; null while open."},"reserved_usd":{"type":"number","description":"Funds held while the meeting is open."}}},"UsageRecord":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["usage_record"]},"created_at":{"type":"string","format":"date-time"},"endpoint":{"type":"string"},"status":{"type":"integer"},"product":{"type":["string","null"]},"quantity":{"type":["number","null"]},"unit":{"type":["string","null"]},"cost_usd":{"type":"number"},"api_key_id":{"type":["string","null"]}}},"Balance":{"type":"object","properties":{"object":{"type":"string","enum":["balance"]},"currency":{"type":"string","enum":["usd"]},"available_usd":{"type":"number"},"reserved_usd":{"type":"number","description":"Held for queued or processing jobs (already deducted from available_usd)."},"credit_lots_usd":{"type":"number"},"lots":{"type":"array","items":{"type":"object","properties":{"remaining_usd":{"type":"number"},"expires_at":{"type":"string","format":"date-time"}}}}}},"WebhookEvent":{"type":"object","description":"Body POSTed to your webhook endpoint. Verify the `Talksign-Signature: t=<unix>,v1=<hex>` header: HMAC-SHA256 of `<t>.<raw body>` with your endpoint secret.","properties":{"id":{"type":"string","example":"evt_job_8c1d2e3f4a5b6c7d8e9f0a1b_succeeded"},"object":{"type":"string","enum":["event"]},"type":{"type":"string","enum":["job.succeeded","job.failed","job.canceled","avatar.ready","avatar.failed","meeting.started","meeting.ended"]},"created":{"type":"integer","description":"Unix seconds."},"data":{"type":"object","properties":{"object":{"type":"object","description":"The Job or Avatar."}}}}}}},"x-talksign-billing":{"unit":"usd","currency":"usd","wallet":"prepaid","generated":true,"description":"Calls are charged from your prepaid USD wallet: rate × measured usage, rounded up to\nthe cent, minimum $0.01. Sign endpoints are measured on the seconds of sign video\nproduced (server-measured when the engine reports it; otherwise the larger of the\nspoken-length estimate of `text` and your `durationSeconds`, capped at 3600 s).\nText is limited to 5,000 characters per call (413 `text_too_long`).\n\n| Endpoint | Product | Price |\n|---|---|---|\n| POST /speech-to-sign/realtime, /speech-to-sign/gloss, /speech-to-sign | Speech→Sign | $0.33 / min |\n| POST /speech-to-speech | Speech→Speech | $0.33 / min |\n| POST /meetings | Meeting | $0.396 / min |\n| POST /speech-to-sign/studio (or /speech-to-sign with mode=studio, or async via POST /jobs) | Sign Video | $1.32 / min |\n| POST /jobs (type captions) | Captions | $0.99 / min |\n| POST /jobs (type sign_morph, quality 480p) | Sign Morph 480p | $0.055 / s |\n| POST /jobs (type sign_morph, quality 720p) | Sign Morph 720p | $0.11 / s |\n| POST /voice | Voice | $0.66 / 1,000 characters |\n\nComing soon (no endpoint yet): Sign→Speech $0.33 / min.\n\nTop-ups: $50 to $10,000 (whole dollars). Volume bonus credit: +10% from $250, +15% from $500, +20% from $1,000, +25% from $2,500.\nPrepaid credit expires 12 months after purchase (oldest purchase is used first). Optional\nauto-recharge adds a top-up when the balance falls below your threshold.\nPaid calls reserve funds before work starts; otherwise 402 `insufficient_credits`.\nOnly 2xx responses are charged; failed calls are refunded in full. Test keys are never charged.\nEvery paid response has `usage: { type, durationSeconds, costUsd, walletRemainingUsd }`.\n\nCustom avatars cost $199 per year per avatar (all languages included, no setup fee; a free\npre-purchased slot is used first), added as a prorated slot on your saved card\n(402 `payment_method_required` without one); an unpaid slot pauses the avatar\n(402 `avatar_slot_inactive`). Deleting an avatar releases its slot: an automatically added\nslot ends at the end of the billing period (no partial refunds). Using a custom avatar costs the normal price.\nAudio input: Speech→Sign realtime with `audio` is billed on the measured audio length. Captions: measured source\nlength. Sign Morph: measured output length, 10 s minimum. Meetings: whole minutes while the interpreter is in the call\n(paused time excluded; nothing if it never got in). Voice: characters of `text`.\nFree: models, warmup, usage, balance, uploads, get/list/cancel jobs, get/stop meetings, voices, list/get/delete/validate avatars, get video.","prices":[{"id":"speech_to_sign","label":"Speech→Sign","usd":0.33,"unit":"minute","credits":10,"available":true,"display":"$0.33 / min"},{"id":"speech_to_speech","label":"Speech→Speech","usd":0.33,"unit":"minute","credits":10,"available":true,"display":"$0.33 / min"},{"id":"sign_to_speech","label":"Sign→Speech","usd":0.33,"unit":"minute","credits":10,"available":false,"display":"$0.33 / min"},{"id":"meeting","label":"Meeting","usd":0.396,"unit":"minute","credits":12,"available":true,"display":"$0.396 / min"},{"id":"sign_video","label":"Sign Video","usd":1.32,"unit":"minute","credits":40,"available":true,"display":"$1.32 / min"},{"id":"captions","label":"Captions","usd":0.99,"unit":"minute","credits":30,"available":true,"display":"$0.99 / min"},{"id":"sign_morph_480p","label":"Sign Morph 480p","usd":0.055,"unit":"second","credits":2,"available":true,"display":"$0.055 / s"},{"id":"sign_morph_720p","label":"Sign Morph 720p","usd":0.11,"unit":"second","credits":4,"available":true,"display":"$0.11 / s"},{"id":"voice","label":"Voice","usd":0.66,"unit":"1k_chars","credits":20,"available":true,"display":"$0.66 / 1,000 characters"}],"minimumChargeUsd":0.01,"minimumTopupUsd":50,"maximumTopupUsd":10000,"volumeBonuses":[{"fromUsd":250,"bonusPct":10},{"fromUsd":500,"bonusPct":15},{"fromUsd":1000,"bonusPct":20},{"fromUsd":2500,"bonusPct":25}],"creditExpiryMonths":12,"customAvatarAnnualUsd":199,"maxTextChars":5000,"maxDurationSeconds":3600},"x-talksign-rate-limits":{"defaultPerKeyPerMinute":60,"maxPerKeyPerMinute":600,"testKeyPerMinute":10,"globalPerKeyPerMinute":100,"description":"Each key has a per-minute limit (default 60 requests/min, configurable up to 600 under Usage\nlimits; test keys are capped at 10 requests/min). A global guard of 100\nrequests/min per key also applies. Responses carry `X-RateLimit-Limit`,\n`X-RateLimit-Remaining`, `X-RateLimit-Reset` (seconds) for the per-key window and\n`RateLimit-Limit` / `RateLimit-Remaining` / `RateLimit-Reset` / `RateLimit-Policy` for the global guard.\nA 429 includes `Retry-After` (seconds)."}}