Videos
Turn signs into an MP4 of the avatar signing them, dressed in the colours you choose.
The request
POST
/v1/sign/videoThe body is the .sgn you got from /v1/sign, sent as it is with Content-Type: application/octet-stream. The look of the avatar goes in the query string. The answer is the video, video/mp4.
curl "https://api.usesigna.org/v1/sign/video?shirt=3f72a0&skin=8c5a33&gender=female" \
-H "Authorization: Bearer $SIGNA_KEY" \
-H "Content-Type: application/octet-stream" \
--data-binary @mwiriwe.sgn \
--output mwiriwe.mp4The avatar's look
Every parameter is optional. Colours are hex without the #; any colour works, these are the ones our apps offer.
| Parameter | Default | Values |
|---|---|---|
skin | ffdcc1 | ffdcc1 fairf4c08e lightd99d6a tanb67a4a olive8c5a33 brown5a3520 deep |
hair | 2a1810 | 2a1810 black4a2e1c dark brown7a4d2d brownd2b46a blondea8502a auburnb5b2ab grey |
shirt | 3c5a6b | 3c5a6b slate3f72a0 blue2f6b5e teal3c3c44 charcoal6b4a7a plum9c4a4f redYour brand colour works well here. |
pants | 23283a | 23283a navy515c68 slate4f6f9e denim6b4f38 brown |
gender | male | male or female: the face and hair. |
age | adult | adult, teen or child: proportions and face. |
The video
| Details | |
|---|---|
| Format | MP4 (H.264), 720 × 960 portrait, no sound |
| Frame rate | The signs' own, usually 25 frames per second |
| Length | The signing at its natural pace, then a one-second hold on the last sign; at most about 80 seconds per video |
| Watermark | The Signa mark in a corner, unless your plan includes clean videos |
| Time to make | A few seconds for a sentence |
Over your own picture
To put the signer over a programme or a live picture, use an overlay: it draws the signer on a see-through background, live, in your studio's graphics system.
Billing
Each video counts against your monthly video limit. The signs were already counted when you signed the text, so a video costs no characters. A video that fails is not counted. For longer texts, make one video per sentence or caption.