Datumwell

WALL-OSS-1.0 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.

Use your RoboRouter API token to submit a Franka single-arm observation to WALL-OSS-1.0. Capture a front view (front.jpg) and a right wrist view (right_wrist.jpg) at the same instant, each as a 480×360 RGB JPEG.

Save the measured state in state.json as [x,y,z,qx,qy,qz,qw,gripper]. Position is in metres relative to the robot base. Use a unit quaternion and a gripper value from 0 (open) to 1 (closed).

Each returned step counts as one action token. A 32-step prediction costs $0.00128 in production credits.

The result contains 32 absolute end-effector targets at 15 Hz in the same channel order. Set ROBOROUTER_TOKEN and run the example from the directory containing the three files. Keep wall-request.json for retries and use a new directory for each new prediction.

HTTP
(
set -eu
: "${ROBOROUTER_TOKEN:?Set ROBOROUTER_TOKEN}"
BASE=https://datumwell.io/api/v1
if [ ! -f wall-request.json ]; then
  python3 - <<'PY'
import base64, json, uuid
from pathlib import Path

images = []
for role in ("front", "right_wrist"):
    data = base64.b64encode(Path(role + ".jpg").read_bytes()).decode("ascii")
    images.append({"role": role, "frames": ["data:image/jpeg;base64," + data]})
observation = {
    "instruction": "Pick up the red block.",
    "images": images,
    "state": json.loads(Path("state.json").read_text()),
}
with open("wall-request.json", "x") as f:
    json.dump({"request_key": str(uuid.uuid4()), "model": "rr/wall-oss-1.0",
               "observation": observation}, f)
PY
fi
curl -fsS "$BASE/inference" -H "Authorization: Bearer $ROBOROUTER_TOKEN" \
  -H 'Content-Type: application/json' --data-binary @wall-request.json -o wall-receipt.json
cat wall-receipt.json
ID=$(python3 - <<'PYTHON'
import json
with open("wall-receipt.json") as f:
    receipt = json.load(f)
if receipt["status"] == "succeeded":
    print(receipt["id"])
PYTHON
)
if [ -n "$ID" ]; then
  curl -fsS "$BASE/inference/$ID/result" -H "Authorization: Bearer $ROBOROUTER_TOKEN"
fi
)