{
  "name": "TjMakeBot OpenClaw Hosted Workflow",
  "version": "2.0.1",
  "description": "Hosted OpenClaw workflow template that uses the TjMakeBot capability layer for annotate-train-export.",
  "inputs": {
    "projectId": "pj_openclaw_demo",
    "datasetUri": "s3://bucket/dataset.zip",
    "mode": "2d",
    "autoLabel": "true",
    "model": "yolo11s",
    "epochs": "120",
    "batchSize": "16",
    "imageSize": "640",
    "exportFormat": "onnx",
    "callbackUrl": "https://openclaw.example/callback"
  },
  "nodes": [
    {
      "id": "workflowRun",
      "type": "http",
      "name": "Run Hosted Workflow",
      "request": {
        "method": "POST",
        "url": "{{baseUrl}}/api/openclaw-gateway/workflow/run",
        "json": {
          "projectId": "{{inputs.projectId}}",
          "datasetUri": "{{inputs.datasetUri}}",
          "mode": "{{inputs.mode}}",
          "autoLabel": "{{inputs.autoLabel}}",
          "model": "{{inputs.model}}",
          "epochs": "{{inputs.epochs}}",
          "batchSize": "{{inputs.batchSize}}",
          "imageSize": "{{inputs.imageSize}}",
          "format": "{{inputs.exportFormat}}",
          "callbackUrl": "{{inputs.callbackUrl}}"
        }
      }
    }
  ]
}
