Every tool on this site is a plain HTTP API. With a personal key an agent can drive the same jobs the pages do, and sees only the jobs it submitted. There are no accounts: a key is a name that John mints for you.
Paste this into Claude or Codex and it can drive the whole API. It has a placeholder where your key goes; never paste a real key into a shared chat.
VFX TOOLS AGENT API
Base URL: https://alienrobot-server-production.up.railway.app/keyer
Auth: send "Authorization: Bearer <YOUR_KEY>" on every request. The key looks like vfx_...
Replace <YOUR_KEY> with your personal key (ask John for one). Never paste a real key into a
shared document or a repo. You only ever see and download jobs submitted with your own key;
anything else returns 404.
LIMITS: 3 active or waiting jobs per key, 60 submits per hour per key. Admin, queue-wide
clean and broadcast routes are not available to keys.
FLOW: upload -> submit -> poll -> download.
1. UPLOAD
GET /upload-url?filename=<name>
-> {"uploadUrl":"...","objectKey":"input/...","provider":"b2","bucket":"vfxtools"}
PUT the file bytes to uploadUrl (no auth header). Keep objectKey. If provider and bucket
came back, send them on submit as inputProvider and inputBucket (optional; the server
also finds the file itself).
Files over ~4.5 GB: POST /upload/multipart/init {"filename","contentType"}
-> {"uploadId","objectKey","provider","bucket"}
For each 64 MB part n: POST /upload/multipart/part-url
{"objectKey","uploadId","partNumber":n,"provider"} -> {"uploadUrl"}; PUT the bytes there
and keep the ETag response header. Then POST /upload/multipart/complete
{"objectKey","uploadId","provider","parts":[{"partNumber":1,"etag":"..."}]}
(POST /upload/multipart/abort {"objectKey","uploadId","provider"} on failure.)
2. SUBMIT (POST, Content-Type: application/json). Optional ?target=<box> from GET /targets;
omit it to let the server choose. Every submit returns
{"jobId":"t-1234","status":"queued","target":"...","queuePosition":0}
Matte: POST /jobs {"objectKey","fileName","prompt":"person","methods":["corridorkey"]}
(optional: stages, startTime, testFrame, bbox, subjects, depthMode)
Scan: POST /scan {"objectKey","fileName"}
Tracker: POST /tracker {"objectKey","fileName","methods":["camera"]}
Clean plate: POST /cleanplate {"objectKey","fileName","bgPrompt":"empty street"}
Env to HDRI: POST /env-to-hdri {"objectKey","fileName","prompt":"optional scene hint"}
Ghostery: POST /ghostery {"objectKey","fileName","params":{}}
Render: POST /render {"objectKey","fileName","params":{"format":"EXR","resolution":100,"frameStart":1001,"frameEnd":1020}}
3. POLL
GET /jobs/<jobId> -> {"state":"waiting|active|completed|failed","progress":0-100,
"returnvalue":{...},"failedReason":"..."}. Poll every 5-10 seconds until completed or failed.
GET /jobs lists your jobs. DELETE /jobs/<jobId> cancels. POST /jobs/<jobId>/retry retries a failed job.
4. DOWNLOAD
GET /jobs/<jobId>/outputs -> {"files":[{"key":"output/<jobId>/hdri.exr","size":123,"name":"hdri.exr"}]}
GET /download-url?objectKey=<key> -> {"downloadUrl":"...","filename":"hdri.exr"}
GET the downloadUrl with no auth header (signed, valid 24 hours). Do not share it publicly.
ERRORS: 400 bad or missing field, or the upload is gone; 401 key missing, wrong or revoked;
403 route not available to keys; 404 no such job or not yours; 429 over the 3-job or
60-per-hour limit (read the message, honour Retry-After); 503 chosen GPU box offline,
retry or pick another target.
MCP SERVER (alternative to raw HTTP): the keyer repo has agent-mcp/server.mjs (Node 18+, no
dependencies) with tools upload_file, submit_job, job_status, list_outputs, download_output.
Claude Code: claude mcp add vfx-tools --env VFX_API_KEY=<YOUR_KEY> -- node /path/to/keyer/agent-mcp/server.mjs
Codex (~/.codex/config.toml):
[mcp_servers.vfx-tools]
command = "node"
args = ["/path/to/keyer/agent-mcp/server.mjs"]
env = { VFX_API_KEY = "<YOUR_KEY>" }
Ask John for a key. It looks like vfx_…, is shown once, and can be revoked
at any time. Send it as a bearer token on every request:
export VFX_API_KEY=vfx_your_key_here
export API=https://alienrobot-server-production.up.railway.app/keyer
curl -s -H "Authorization: Bearer $VFX_API_KEY" $API/targets
Jobs, outputs and downloads are tied to your key. Another key
asking for your job gets 404, exactly as if it did not exist. Admin,
queue-wide cleaning and the broadcast banner are not available to keys.
| Limit | Value | When you hit it |
|---|---|---|
| Active + waiting jobs | 3 per key | 429 — wait for one to finish or cancel it |
| Submits | 60 per hour | 429 with Retry-After seconds |
| File size | up to 5 GB single PUT | Use the multipart upload for bigger files |
Upload the file straight to storage with a signed URL, tell the server which job to run on it,
poll until it is completed, then ask for a signed download URL for each output.
Small file (under about 4.5 GB):
curl -s -H "Authorization: Bearer $VFX_API_KEY" "$API/upload-url?filename=sky.mp4"
# {"uploadUrl":"https://…","objectKey":"input/…-sky.mp4","provider":"b2","bucket":"vfxtools"}
curl -X PUT --upload-file sky.mp4 "<uploadUrl>"
Keep objectKey. If the response also has provider and
bucket, send them back on submit as inputProvider and
inputBucket. The server checks where the file really is, so leaving them out
still works.
Large file: POST /upload/multipart/init {"filename","contentType"} returns
uploadId and objectKey. For each 64 MB part call
POST /upload/multipart/part-url {"objectKey","uploadId","partNumber"}, PUT the
bytes to the returned uploadUrl and keep the ETag response header.
Finish with POST /upload/multipart/complete {"objectKey","uploadId","parts":[{"partNumber","etag"}]}
(or /abort on failure). Pass along any provider the init returned.
Every submit returns {"jobId":"t-1234","status":"queued","target":"…","queuePosition":n}.
Add ?target=linuxdev (see GET /targets) to pick a box, or leave it
off and the server chooses.
| Job | Route | Fields |
|---|---|---|
| Matte / key | POST /jobs | objectKey, prompt required; methods, stages, startTime, testFrame, bbox, subjects, depthMode |
| Scan objects | POST /scan | objectKey; startTime |
| Tracker | POST /tracker | objectKey; methods[], startTime, cameraOptions |
| Clean plate | POST /cleanplate | objectKey; bgPrompt, pass2 |
| Env to HDRI | POST /env-to-hdri | objectKey; prompt, sunPeak, removePeople |
| Ghostery kit | POST /ghostery | objectKey; params{} (see the reference) |
| Blender render | POST /render | objectKey (the .blend or zip); params{format, resolution, frameStart, frameEnd, samples} |
curl -s -X POST $API/jobs -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-clip.mp4","fileName":"clip.mp4","prompt":"person","methods":["corridorkey"]}'
curl -s -X POST $API/scan -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-clip.mp4","fileName":"clip.mp4"}'
curl -s -X POST $API/tracker -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-clip.mp4","fileName":"clip.mp4","methods":["camera"]}'
curl -s -X POST $API/cleanplate -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-clip.mp4","fileName":"clip.mp4","bgPrompt":"empty street"}'
curl -s -X POST $API/env-to-hdri -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-sky.mp4","fileName":"sky.mp4","prompt":"open desert, no buildings"}'
curl -s -X POST $API/ghostery -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-clip.mp4","fileName":"clip.mp4","params":{}}'
curl -s -X POST $API/render -H "Authorization: Bearer $VFX_API_KEY" -H "Content-Type: application/json" \
-d '{"objectKey":"input/…-shot.zip","fileName":"shot.zip","params":{"format":"EXR","resolution":100,"frameStart":1001,"frameEnd":1020}}'
curl -s -H "Authorization: Bearer $VFX_API_KEY" $API/jobs/t-1234
state is waiting, active, completed or
failed; progress is 0–100. On failure read failedReason.
Poll every 5–10 seconds. GET /jobs lists your own jobs.
DELETE /jobs/:id cancels one and POST /jobs/:id/retry retries a failed one.
curl -s -H "Authorization: Bearer $VFX_API_KEY" $API/jobs/t-1234/outputs
# {"files":[{"key":"output/t-1234/hdri.exr","size":…,"name":"hdri.exr"}]}
curl -s -H "Authorization: Bearer $VFX_API_KEY" "$API/download-url?objectKey=output/t-1234/hdri.exr"
# {"downloadUrl":"https://…","filename":"hdri.exr"}
curl -L -o hdri.exr "<downloadUrl>"
The download URL is signed and lasts 24 hours. It needs no key, so do not paste it anywhere public.
| Status | Meaning |
|---|---|
| 400 | Missing field, or the upload is not in storage any more |
| 401 | Key missing, wrong or revoked |
| 403 | Route not available to keys (admin, queue-wide clean) |
| 404 | No such job, or it is not yours |
| 429 | Over the active-job or hourly limit; the message says which |
| 503 | The chosen GPU box is offline; retry or pick another target |
The repo ships a small stdio MCP server in agent-mcp/ with the tools
upload_file, submit_job, job_status,
list_outputs and download_output. It reads your key from
VFX_API_KEY.
# Claude Code
claude mcp add vfx-tools --env VFX_API_KEY=vfx_your_key_here -- node /path/to/keyer/agent-mcp/server.mjs
# Codex (~/.codex/config.toml)
[mcp_servers.vfx-tools]
command = "node"
args = ["/path/to/keyer/agent-mcp/server.mjs"]
env = { VFX_API_KEY = "vfx_your_key_here" }