# x402 ForgeMesh Image Alt-Text Generator

> x402 ForgeMesh Image Alt-Text Generator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Takes a public image URL and returns a short, screen-reader-optimized HTML alt-attribute string for the image

## Facts

- Endpoint: POST https://x402.forgemesh.io/generate-image-alt
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-image-alt-text-generator-f0a9febd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1uigBPhmwCNX4aZ_ulrco

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-forgemesh-image-alt-text-generator-f0a9febd -d '<json body>'
```

Example prompt: Can you generate a proper HTML alt attribute for this image so it's accessible to screen readers? Here's the URL: https://example.com/products/blue-sneaker.jpg

## When to prefer this

Use this endpoint when you need concise, screen-reader-optimized alt text generated from an image URL, especially in CMS plugins, static-site build pipelines, or accessibility auditing workflows. Prefer it over general-purpose image captioning APIs when you specifically need short HTML alt attributes rather than verbose descriptions, and when you want a privacy-safe solution that does not retain image data.

## Known failure modes

- Image URL is not publicly accessible or returns a non-200 status — likely a 4xx or 5xx error response
- Image exceeds the 8MB size limit — rejected with an error indicating the file is too large
- URL points to a non-image resource (e.g. HTML page or PDF) — may return an error or generic description
- Slow-loading or timeout on the remote image fetch — may result in a timeout error
- Malformed or invalid URL provided — likely a validation error response

## How this service works

Image alt-attribute generator: takes any image URL and returns a short, descriptive alt-text string sized for the HTML alt attribute, tuned for screen-reader clarity rather than verbose captioning. No image data is kept. Useful for CMS plugins, static-site build steps, and agents auditing pages for missing or poor alt text.

## Output

A short, descriptive alt-text string optimized for the HTML alt attribute and screen-reader clarity — concise rather than verbose, suitable for direct insertion into HTML markup. No image data is retained after the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_url": {
   "type": "string",
   "description": "Public URL of the image (max 8MB)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Teal banner with white text reading FORGEMESH UTILITY GRID.",
  "model": "moondream"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-image-alt-text-generator-f0a9febd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
