# Flux 2 Max Image Generation (Black Forest Labs via xona-agent)

> Flux 2 Max Image Generation (Black Forest Labs via xona-agent) 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-15).

Generates ultra-high-fidelity images from text prompts using Black Forest Labs' highest-quality Flux 2 Max model, with optional aspect ratio and reference image support.

## Facts

- Endpoint: POST https://api.xona-agent.com/image/flux-2-max
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flux-2-max-image-generation-black-forest-labs-via-xona-agent-11cce341
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_79zMf9ODDsXmczOTOssX7

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-generation-black-forest-labs-via-xona-agent-11cce341 -d '<json body>'
```

Example prompt: Generate a high-fidelity image of a misty Japanese mountain village at dawn with cherry blossoms in the foreground, using a 16:9 widescreen aspect ratio — use the Flux 2 Max model for the best possible quality.

## When to prefer this

Choose this endpoint when maximum image fidelity and detail are the top priority and you are willing to pay a premium ($0.08 USDC). It is the highest-quality Flux model from Black Forest Labs, outperforming lower-tier Flux variants and other models on the same platform (e.g. Grok Imagine, GPT Image 2) in photorealism and fine detail. Prefer it for professional, commercial, or publication-quality image tasks where quality cannot be compromised.

## Known failure modes

- Vague or underspecified prompts may produce unexpected compositions
- Invalid aspect ratio string may cause validation errors or default fallback to 1:1
- Broken or inaccessible reference image URLs will cause the reference guidance to fail or error
- Prompt content policy violations may result in rejection
- Rate limiting or payment failure may block the request

## How this service works

The highest fidelity image model from Black Forest Labs

## Output

Returns a high-fidelity generated image produced by Black Forest Labs' Flux 2 Max model, representing the highest quality output available from this provider. The image reflects the prompt, aspect ratio, and any reference images supplied.

## 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-generation-black-forest-labs-via-xona-agent-11cce341/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)
