SIGNAPI
API quickstart
Create a key, send text, and download your first sign language video.
Step 1
Create an API key
Open your personal workspace and create a key with permission to create jobs, read their status, and download files. Store it on your server.
Open API keysexport FINGERDANCE_API_KEY='your_api_key'
export REQUEST_ID="$(uuidgen)"Step 2
Check that you have video credits
Open Billing to check your available video credits. A job holds a limit worked out from your text (the sample holds 30 seconds) and uses only the delivered video time. If your balance is zero, add credits in Billing before submitting. You can watch the sample in Playground without using credits.
Step 3
Submit your first job
Keep the same request ID if you retry this submission. Use a new ID for each new job.
curl --fail-with-body "https://signapi.fingerdance.ai/v1/jobs" \
-H "Authorization: Bearer $FINGERDANCE_API_KEY" \
-H "Idempotency-Key: $REQUEST_ID" \
-H 'Content-Type: application/json' \
--data '{
"text": "Hello. Thank you.",
"sign_language": "aslue",
"quality": "fast",
"resolution": "1280x720"
}'The first submission returns 202 Accepted with a job ID and a Location header. Retrying the same request with the same key returns 200 OK and the existing job.
Step 4
Get the video
Read the job until its status is succeeded. Find the mp4 entry in artifacts, then exchange its ID for a short-lived download URL.
curl "https://signapi.fingerdance.ai/v1/jobs/JOB_ID" -H "Authorization: Bearer $FINGERDANCE_API_KEY"
curl "https://signapi.fingerdance.ai/v1/artifacts/ARTIFACT_ID" -H "Authorization: Bearer $FINGERDANCE_API_KEY"