Datumwell

Unified prediction API

By default, each user can submit up to 10 jobs concurrently. This limit applies across all API tokens on your account for model inference, video annotation and standalone 3D Hand Pose. Each accepted video in a batch uses one slot, including while it waits to run. Contact us for higher concurrency or faster processing.

Dream-1, Poke-Aurora, DM0.5 and WALL-OSS-1.0 share POST /api/v1/inference, selected by model. Predictions cost $0.04 per 1,000 action tokens from the same USD credits used for annotation.

Open each model under Model on the left for its observation format and complete request example.

Uploading a video, polling status and reading results do not use an execution slot.

Capacity responses: 429 account_concurrency_exceeded means the account has no free slots. 503 service_capacity_exceeded means the service cannot accept new work right now. 503 capacity_busy means admission is temporarily busy. These responses do not queue work, start an upstream call, or place a new credit hold.

Retry these three capacity errors after the time in Retry-After (in seconds, currently 5). Add a small random delay and cap retries. Reuse the same request_key and payload for inference, or the same job UUID for annotation. For other 503 responses or network timeouts, check the original request status before retrying.

HTTP
export ROBOROUTER_TOKEN='YOUR_API_TOKEN'
BASE=https://datumwell.io

# observation.json contains your instruction, measured state and JPEG data URLs.
# Save request.json and reuse it when checking the same request.
python3 - <<'PY'
import json, uuid
with open('observation.json') as f:
    observation = json.load(f)
with open('request.json', 'w') as f:
    json.dump({'model': 'rr/poke-aurora', 'request_key': str(uuid.uuid4()),
               'observation': observation}, f)
PY

curl --fail-with-body -sS "$BASE/api/v1/inference" \
  -H "Authorization: Bearer $ROBOROUTER_TOKEN" \
  -H 'Content-Type: application/json' \
  --data-binary @request.json > receipt.json
cat receipt.json

# Read the saved request. GET does not call the model or charge again.
REQUEST_ID=$(python3 -c 'import json; print(json.load(open("receipt.json"))["id"])')
curl --fail-with-body -sS "$BASE/api/v1/inference/$REQUEST_ID/result" \
  -H "Authorization: Bearer $ROBOROUTER_TOKEN"