# Flux 2 Max Image Generator (Base Mainnet) — api.xona-agent.com

> Flux 2 Max Image Generator (Base Mainnet) — api.xona-agent.com is a paid API for AI agents from api.xona-agent.com, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Generates ultra-high-fidelity images using Black Forest Labs' Flux 2 Max model, the highest quality image model available, via a paid x402 endpoint on Base Mainnet.

## Facts

- Endpoint: POST https://api.xona-agent.com/base-main/image/flux-2-max
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flux-2-max-image-generator-base-mainnet-api-xona-agent-com-a833963a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eZqV7Y-eWk4zon-ThnH-B

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 flux-2-max-image-generator-base-mainnet-api-xona-agent-com-a833963a -d '<json body>'
```

Example prompt: Generate a hyper-realistic image of a misty Japanese forest at dawn with a lone torii gate in the foreground, rendered in a 16:9 aspect ratio — use the highest quality Flux 2 Max model.

## When to prefer this

Choose this endpoint when maximum image quality and fidelity are required — it uses Black Forest Labs' top-tier Flux 2 Max model, making it the best option for professional creative output, detailed concept art, or any use case where visual quality cannot be compromised. Prefer this over sibling image endpoints (e.g. Seedream-4.5, Nano Banana, xona designer) when you need the absolute best output and are willing to pay the premium per-call price of $0.08 USDC. Use the reference image feature when compositional or style consistency with existing visuals is important.

## Known failure modes

- Missing or vague prompt may produce unexpected or low-quality output
- Invalid aspect ratio string returns a validation error
- Reference image URLs that are inaccessible or non-image URLs will fail or be ignored
- Payment failure (insufficient USDC or x402 protocol error) results in 402 Payment Required
- Rate limiting or model overload may cause timeout or 503 errors
- Prompt violates content policy and is rejected with a 400 or 422 error

## How this service works

The highest fidelity image model from Black Forest Labs (Base Mainnet).

## Output

Returns a high-fidelity generated image produced by the Flux 2 Max model from Black Forest Labs, reflecting the prompt, chosen aspect ratio, and any reference image style/composition cues provided. The output is the highest quality image available from this provider, suitable for professional creative, marketing, or concept work.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "description": "Detailed prompt description for the image"
  },
  "aspect_ratio": {
   "type": "string",
   "default": "1:1",
   "description": "Image aspect ratio"
  },
  "referenceImage": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "URLs of reference images for style/composition guidance"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/flux-2-max-image-generator-base-mainnet-api-xona-agent-com-a833963a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xona-agent.com](https://www.zero.xyz/host/api.xona-agent.com/llms.txt)
