View raw init.json
{
"tables": [],
"project": {
"id": "d93b34cc-27c6-41e6-b960-04af39777b04",
"name": "Manufacturing Defect Locator",
"version": 1,
"description": "Send a photo URL and get the bounding box of the manufacturing defect on the part."
},
"resources": [
{
"id": "862350c3-81a1-4fd7-ba5b-8b425768fb60",
"data": {
"create": {
"tables": [],
"buckets": []
},
"tables": [],
"buckets": []
},
"name": "Detect Defect",
"input": {
"input": [
{
"name": "image_url",
"type": "url",
"fields": [],
"required": false,
"description": "URL of the image to analyze"
}
],
"description": "Input for Detect Defect"
},
"route": "https://api.init.computer/v1/428tjnocuf",
"method": "POST",
"output": {
"output": [
{
"name": "bounding_box",
"type": "object",
"fields": [
{
"name": "top",
"type": "number",
"fields": [],
"required": false,
"description": "Top coordinate as a fraction of image height"
},
{
"name": "left",
"type": "number",
"fields": [],
"required": false,
"description": "Left coordinate as a fraction of image width"
},
{
"name": "bottom",
"type": "number",
"fields": [],
"required": false,
"description": "Bottom coordinate as a fraction of image height"
},
{
"name": "right",
"type": "number",
"fields": [],
"required": false,
"description": "Right coordinate as a fraction of image width"
}
],
"required": false,
"description": "Fractional coordinates of the defect bounding box"
},
{
"name": "found",
"type": "boolean",
"fields": [],
"required": false,
"description": "Whether a defect was detected in the image"
},
{
"name": "confidence",
"type": "number",
"fields": [],
"required": false,
"description": "Confidence score for the detection (0‑1)"
}
],
"description": "Output from Detect Defect"
},
"status": "active",
"version": 1,
"description": "Find a manufacturing defect in an image and return its location as a fractional bounding box, a flag indicating if a defect was found, and a confidence score.",
"requestFormat": "json"
}
],
"schemaVersion": 1
}