# x402.agentutility.ai Flux 2 Pro Image Generator

> x402.agentutility.ai Flux 2 Pro Image Generator is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-20).

Generates a SFW image using Venice's Flux 2 Pro model and returns a permanent fal-hosted PNG URL, billed at $0.04 USDC per call via x402.

## Facts

- Endpoint: POST https://x402.agentutility.ai/flux-2-pro?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agentutility-ai-flux-2-pro-image-generator-2727aa93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hxTdgYzPiybDg4kWVWlfd

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-agentutility-ai-flux-2-pro-image-generator-2727aa93 -d '<json body>'
```

Example prompt: Generate a photorealistic image of a misty mountain lake at sunrise with pine trees reflected in the water, using the Flux 2 Pro model.

## When to prefer this

Choose this endpoint when you specifically need Venice's flux-2-pro model and want a fixed, predictable route without model selection overhead. Prefer it over generic image-generate-pro when you know Flux 2 Pro is the target model, need a stable dedicated endpoint for automation, or want the cost certainty of a single $0.04 per-call price. Also ideal when the downstream consumer expects a permanent fal-hosted PNG URL directly.

## Known failure modes

- Invalid or missing prompt — returns an error indicating the required text prompt is absent
- Prompt flagged as NSFW — endpoint only supports SFW content and will reject adult or prohibited content requests
- Payment failure — x402 USDC payment not confirmed on Base, request rejected before generation
- Model unavailability — upstream Venice/fal service outage returns a 5xx error
- Malformed request body — missing required fields returns a 400-level validation error

## How this service works

Generates SFW images with Venice's flux-2-pro model on a dedicated endpoint. Fixed-model route for buyers searching specifically for Flux 2 Pro / FLUX.2 Pro image generation; use image-generate-pro when you want a selectable premium model tier. Returns a permanent fal-hosted PNG URL.

## Output

A permanent fal-hosted PNG image URL pointing to the generated image. The response contains a direct link to the rendered output that can be embedded or shared without expiration concerns.

## 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": {
     "required": [
      "prompt"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "description": "Random seed. Optional."
      },
      "steps": {
       "type": "number",
       "description": "Diffusion steps. Optional; depends on model."
      },
      "width": {
       "type": "number",
       "description": "Output width in pixels. Range [256, 1024]. Default 1024."
      },
      "height": {
       "type": "number",
       "description": "Output height in pixels. Range [256, 1024]. Default 1024."
      },
      "prompt": {
       "type": "string",
       "description": "Image description. Up to 3000 chars."
      },
      "cfg_scale": {
       "type": "number",
       "description": "Classifier-free guidance scale. Optional."
      },
      "negative_prompt": {
       "type": "string",
       "description": "Negative prompt. Optional."
      }
     }
    },
    "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": {
      "tier": {
       "type": "string"
      },
      "model": {
       "type": "string"
      },
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "balanced",
  "model": "flux-2-pro",
  "width": 1024,
  "height": 1024,
  "source": "venice",
  "image_url": "https://v3.fal.media/files/abc/xyz/image.png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agentutility-ai-flux-2-pro-image-generator-2727aa93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
