agent402.tools/v1/judge/vision
Ask typed questions about up to 4 images (PNG or JPEG) and get answers your code can branch on: noul (yes/no probability), choice, score, and box (where something is, as edges from 0 to 1). Name each image, then refer to it as `name` in a question. Preview: built on Jev features its maker labels experimental. Answers come from a model, not deterministic code.
POST
https://agent402.tools/v1/judge/visionUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/v1/judge/vision", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"images":{"picture":{"format":"png","data_base64":"<1096 characters; the full example is in /openapi.json>"}},"questions":{"has_red":{"type":"noul","instructions":"Does `picture` contain a red shape?"}}}),
});
console.log(await res.json());Example input
{
"images": {
"picture": {
"format": "png",
"data_base64": "<1096 characters; the full example is in /openapi.json>"
}
},
"questions": {
"has_red": {
"type": "noul",
"instructions": "Does `picture` contain a red shape?"
}
}
}