Create sign clips

POSThttps://api-staging.talksign.co/v1/speech-to-sign/realtime

A playlist of short sign clips to play back to back, for live use. Send text, or multipart/form-data with an audio file (up to 10 minutes, 25 MB) to have it transcribed first. Billed at $0.33 / min of sign video produced.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where the token is your API key (sk-live-… or sk-test-…).

Idempotency-KeystringOptional

Any unique string (up to 255 characters). A retry with the same key and body returns the first answer and is never charged twice. See Idempotency.

Talksign-VersionstringOptional

Optional dated API version. See Versioning.

Request body

This endpoint expects an object.

textstringRequired

The text to sign, 1 to 5,000 characters. Words without a sign are fingerspelled or swapped for a synonym.

languageenumOptional

The sign language to sign in. ASL (asl) is live and is the default.

asl
avatarstringOptional

Who signs. A preset id (defaults to arthur) or one of your custom avatar ids. elena and daniel are coming soon and return 409.

arthuramara
modelenumOptional

The signing model. Defaults to echo-2.0, the only one. Any other value returns 400.

echo-2.0
durationSecondsnumberOptional

Length hint in seconds, max 3600. Billing uses the measured video length when available.

Response

Returns the playlist in data. Play per word: in_url, then url between active_start_s and active_end_s, then out_url; loop idle.url between sentences.

glossesstring[]Optional

Sign words in signing order.

playlistarrayOptional

One clip per sign: gloss, url, in_url, out_url, active_start_s, active_end_s, alphaUrl (matte for transparent backgrounds), tier, transition.

idleobjectOptional

{ url, expires_at }: the rest-pose loop, or null.

expires_atstringOptional

Every URL works until at least this time (6 to 12 hours).

has_missingbooleanOptional

true when a word had no clip (its url is null).

Errors

StatusNameWhen
400Bad requestA required field is missing or a value is not allowed (invalid_request).
401UnauthorizedThe API key is missing or not valid (invalid_api_key).
402Payment requiredYour wallet does not have enough funds for this request (insufficient_credits). Nothing is charged.
413Payload too largetext is longer than 5,000 characters (text_too_long). Nothing is charged.
429Too many requestsYou hit a rate limit. Wait for Retry-After seconds. See Rate limits.
503Service unavailableThe signing engine is busy. Retry with backoff.

Example request

curl https://api-staging.talksign.co/v1/speech-to-sign/realtime \
  -H "Authorization: Bearer $TALKSIGN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello, how are you?",
    "language": "asl",
    "avatar": "arthur"
  }'

Example response

200
Response
{
  "success": true,
  "data": {
    "language": "asl",
    "avatar": "arthur",
    "text": "Hello, how are you?",
    "glosses": [
      "HELLO",
      "HOW",
      "YOU"
    ],
    "playlist": [
      {
        "gloss": "HELLO",
        "url": "https://…/HELLO.mp4?…",
        "in_url": "https://…/HELLO.in.mp4?…",
        "out_url": "https://…/HELLO.out.mp4?…",
        "active_start_s": 0.6667,
        "active_end_s": 1.5333,
        "tier": "TIER_1_EXACT"
      }
    ],
    "idle": {
      "url": "https://…/_IDLE.mp4?…",
      "expires_at": "2026-11-22T18:00:00.000Z"
    },
    "expires_at": "2026-11-22T18:00:00.000Z",
    "has_missing": false
  },
  "usage": {
    "type": "speech-to-sign/realtime",
    "durationSeconds": 2,
    "costUsd": 0.02,
    "walletRemainingUsd": 49.98
  }
}

Read more in the full reference: Speech to sign.

Was this page helpful?
Esc