# FLUX.1 Schnell AI Image Generator

> FLUX.1 Schnell AI Image Generator is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-22).

Generates a 1024x1024 JPEG image from a text prompt using the FLUX.1 schnell diffusion model, returning it as base64 within seconds

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/image/generate?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-flux-1-schnell-ai-image-c5f72574
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xZQqf6pL3gkwssb3Top5U

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 agent-data-tools-revmesh2074-workers-dev-flux-1-schnell-ai-image-c5f72574
```

Example prompt: Generate an image of a futuristic city skyline at sunset with flying cars and neon lights, using 6 diffusion steps for extra detail.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.03/call) AI-generated image in a standard 1024x1024 JPEG format within an agent workflow, with no account setup required. It is ideal for single-image generation tasks where FLUX.1 schnell's speed-optimized diffusion model is sufficient. Prefer alternatives if you need larger resolutions, vector output, style-consistent series, or non-JPEG formats.

## Known failure modes

- Prompt too short (<3 chars) or too long (>800 chars) returns a validation error
- Steps value outside 1-8 range returns a parameter error
- Payment failure (insufficient USDC balance or card credits) returns 402 Payment Required
- Model inference timeout on complex prompts may return a 5xx error
- Empty or nonsensical prompt may produce a low-quality or blank image

## How this service works

Generate an image from a text prompt with FLUX.1 schnell: send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds, with an optional steps setting (1-8) for more detail. Use for illustrations, thumbnails, mockups, avatars, product shots and social media images inside an agent workflow.

## Output

Returns a JSON object containing the base64-encoded 1024x1024 JPEG image (imageBase64), the content type ('image/jpeg'), the model identifier, the number of diffusion steps used, and the original prompt echoed back.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "steps": {
   "type": "integer",
   "description": "Diffusion steps, 1-8 (default 4)"
  },
  "prompt": {
   "type": "string",
   "description": "What the image should show (3-800 characters)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "steps": {
   "type": "number"
  },
  "prompt": {
   "type": "string"
  },
  "contentType": {
   "type": "string"
  },
  "imageBase64": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-flux-1-schnell-ai-image-c5f72574/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
