# NetIntel AI Image Generate

> NetIntel AI Image Generate is a paid API for AI agents from netintel.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Generates an AI image from a text prompt and returns a graded result with base64 image data, alt text, and a revised prompt

## Facts

- Endpoint: POST https://netintel.dev/ai-image/generate
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-ai-image-generate-298c4022
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zsNIb2Ttm1sSYt3iClStN

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 netintel-ai-image-generate-298c4022 -d '<json body>'
```

Example prompt: Generate an AI image of a clean, minimalist app icon featuring a blue network node graph on a white background, and tell me the quality grade and alt text for it.

## When to prefer this

Choose this endpoint when you need AI image generation with built-in quality grading and accessibility alt text in a single pay-per-call call with no API key or signup — ideal for agents that need a quick image plus a quality signal and revised prompt, particularly in agentic workflows that require on-demand media creation billed via USDC micropayments on Base.

## Known failure modes

- Invalid or missing prompt — input validation rejection, no charge
- Upstream AI provider failure — server error, no charge
- Payment failure — x402 USDC micropayment not completed, request not processed
- Low-quality generation resulting in a low grade/score despite successful call
- Rate limiting or network timeout from the AI backend

## How this service works

Generate agent-ready image assets (icons, logos, social graphics, thumbnails, banners) with gpt-image-1. Claude refines the prompt, screens content, adds alt text and a score. Returns image_url as a base64 PNG data URI. Flat $0.25; n=1; ratios 1:1/16:9/9:16.

## Output

A JSON object containing a letter grade (e.g. 'A'), a numeric score (e.g. 92), descriptive alt text for the image, the generated image as a base64-encoded data URI (data:image/png;base64,...), and a revised/optimized version of the prompt used to produce the image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "n": {
       "type": "number",
       "description": "Image count — currently clamped to 1."
      },
      "style": {
       "type": "string",
       "description": "Optional art direction."
      },
      "prompt": {
       "type": "string",
       "description": "What to create (3-2000 chars)."
      },
      "provider": {
       "type": "string",
       "description": "Optional image backend override; unknown values 400."
      },
      "use_case": {
       "type": "string",
       "description": "One of: app_icon, logo, banner, avatar, social_graphic, og_image, blog_thumbnail, product_mockup, illustration, web_image (default). Unknown values fall back to web_image with a warning."
      },
      "aspect_ratio": {
       "type": "string",
       "description": "1:1, 16:9, or 9:16 (aliases like square/wide/tall accepted)."
      },
      "brand_colors": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional palette."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "alt_text": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      },
      "revised_prompt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "A",
  "score": 92,
  "alt_text": "App icon.",
  "image_url": "data:image/png;base64,...",
  "revised_prompt": "A clean app icon..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-ai-image-generate-298c4022/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
