Skip to content
Fourohtwo

A description of the image you send

media.gedx402.com/v1/vision/:model

A description of the image you send. POST { task: query|caption|point|detect, image?, question?, caption_length?, target?, max_tokens? }. Image is an HTTPS URL or data URI (required except query). x402 priced from the input token bound (≤2304 vision tokens per image) and max_tokens (default 768, cap 2048). Streaming is not sold.

BaseAnswering
POSThttps://media.gedx402.com/v1/vision/:model

Uptime100% of 5 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://media.gedx402.com/v1/vision/:model", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image":"https://example.com/scene.png","max_tokens":256,"question":"How many vehicles are on the road?","task":"query"}),
});
console.log(await res.json());

Example input

{
  "image": "https://example.com/scene.png",
  "max_tokens": 256,
  "question": "How many vehicles are on the road?",
  "task": "query"
}

More from GEDX402 MediaProvider status