Image metadata for the URL or base64 you send
images-api.gedx402.com/v1/images/info
Image metadata for the URL or base64 you send. POST { url | image_base64 } on images-api.gedx402.com. Returns { format, file_size, width, height }. Example: { url: "https://gedx402.com/logo.png" }. x402 settlement USDC per request (see unpaid 402 or GET /v1/models) worst-case. Bundle: GET /v1/models?bundle=artifacts.
POST
https://images-api.gedx402.com/v1/images/infoUptimeNot 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://images-api.gedx402.com/v1/images/info", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://gedx402.com/logo.png"}),
});
console.log(await res.json());Example input
{
"url": "https://gedx402.com/logo.png"
}More from GEDX402 Images API
- images-api.gedx402.com/v1/images/blurA blurred image for the URL or base64 you send. POST { url | image_base64, blur, format? } on images-api.gedx402.com. blur is 1–250. format is webp, jpeg, png, or avif. Returns { image_base64, content_type, byte_length, blur }. Example: { url: "https://gedx402.com/logo.png", blur: 50, format: "webp" }. x402 settlement USDC per request (see unpaid 402 or GET /v1/models) worst-case. Bundle: GET /v1/0.005
- images-api.gedx402.com/v1/images/rotateA rotated or flipped image for the URL or base64 you send. POST { url | image_base64, rotate? | flip?, format? } on images-api.gedx402.com. rotate is 90/180/270; flip is h/v/hv (need one). format is webp, jpeg, png, or avif. Returns { image_base64, content_type, byte_length, rotate?, flip? }. Example: { url: "https://gedx402.com/logo.png", rotate: 90 }. x402 settlement USDC per request (see unpaid0.005
- images-api.gedx402.com/v1/images/transformA resized or transcoded image for the URL or base64 you send. POST { url | image_base64, width?, height?, format?, fit? } on images-api.gedx402.com. format is webp, jpeg, png, or avif. Returns { image_base64, content_type, byte_length, width, height }. Example: { url: "https://gedx402.com/logo.png", width: 800, format: "webp" }. x402 settlement USDC per request (see unpaid 402 or GET /v1/models) w0.005
