# NetIntel AI Image Generate

> NetIntel AI Image Generate is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Generates a single AI image from a text prompt with optional style, aspect ratio, use-case classification, and brand color guidance, returning a base64-encoded PNG with quality score and alt text

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/ai-image/generate
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-ai-image-generate-7026c6c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yHAXKT7Xxi_EMIItmzHTH

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-7026c6c0 -d '<json body>'
```

Example prompt: Generate a clean, minimalist app icon image for a productivity tool called 'FocusFlow' — use a 1:1 square format, a blue and white color palette, and style it as a modern flat illustration.

## When to prefer this

Choose this endpoint when you need pay-per-call AI image generation with no API key setup, especially for UI assets like app icons, OG images, social graphics, blog thumbnails, and product mockups. The use_case and aspect_ratio enums make it particularly suited for agents automating visual content pipelines. The automatic no-charge policy on failures makes it safe for automated or high-volume agentic workflows where error handling is critical.

## Known failure modes

- 400 Bad Request if prompt is under 3 or over 2000 characters
- 400 Bad Request if an unknown provider value is supplied
- 400 if aspect_ratio is not one of the accepted values or aliases
- Upstream image generation service failure — no charge applied per NetIntel policy
- Input validation rejection — no charge applied
- Malformed JSON body returns 400 with validation error

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a JSON object containing: image_url (base64-encoded data URI of the generated PNG), a letter grade (e.g. 'A'), a numeric quality score (0–100), descriptive alt_text for accessibility, and a revised_prompt showing how the model interpreted the input.

## 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-7026c6c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
