Alt-text generator API
x402.forgemesh.io/image-alt-text
Alt-text generator API: a short alt text (at most 125 characters) for any image URL — the first sentence of a caption written by our locally-hosted vision engine, cut to length. A machine-written draft, not a WCAG conformance check. Use for CMS pipelines and bulk alt-attribute drafts. Images are never stored.
POST
https://x402.forgemesh.io/image-alt-textUptime100% of 1 check 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://x402.forgemesh.io/image-alt-text", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"image_url":"https://x402.forgemesh.io/fixtures/photo.jpg"}),
});
console.log(await res.json());Example input
{
"image_url": "https://x402.forgemesh.io/fixtures/photo.jpg"
}