Developer API
Use the AutoRig HTTP API to create rigging jobs from a link or upload, poll until completion, then download prepared GLB, animation packs, and related files via stable URLs.
Base URL:
https://autorig.online
Authentication
Send your secret key on every request using either header: Authorization: Bearer <key> or X-API-Key: <key>. Keys look like ar_<prefix>_<secret>. Logged-in users and anonymous visitors (browser session cookie) can create keys from this page.
API keys
Generate an API key to use AutoRig REST API from external tools.
Main endpoints
| Method | Path | Notes |
|---|---|---|
| POST | /api/task/create | multipart form: source=link, input_url, type=t_pose |
| GET | /api/task/{id} | Task status and metadata |
| GET | /api/task/{id}/prepared.glb | Preview / prepared model GLB |
| GET | /api/task/{id}/animations.glb | Combined animations GLB |
| GET | /api/task/{id}/animations.fbx | Animations FBX (Unity etc.) |
| GET | /api/task/{id}/model.glb | Base model GLB |
| GET | /api/task/{id}/cached-files | JSON list of cached files and download URLs |
Examples
Replace TASK_ID and YOUR_API_KEY. For link-based input, use a publicly reachable URL to your GLB/FBX/OBJ.
curl -X POST "$BASE/api/task/create" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input_url":"https://example.com/model.glb"}'
curl -X POST "$BASE/api/task/create" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "input_url=https://example.com/model.glb"
curl -H "Authorization: Bearer YOUR_API_KEY" "$BASE/api/task/TASK_ID"
curl -o out.glb -H "Authorization: Bearer YOUR_API_KEY" "$BASE/api/task/TASK_ID/prepared.glb"