# Agent Hub Image Generator (FLUX.1 schnell)

> Agent Hub Image Generator (FLUX.1 schnell) is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-14).

Generates a JPEG image from a text prompt using the FLUX.1 schnell model, suitable for thumbnails, social posts, mockups, and illustrations.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/image/generate?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-image-generator-flux-1-schnell-735f14fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wfptvzR-ZSlHSAcqqa4Dv

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-hub-image-generator-flux-1-schnell-735f14fd
```

Example prompt: Generate an image of a cozy coffee shop at golden hour with warm lighting and people reading books — use 6 inference steps for better quality.

## When to prefer this

Choose this endpoint when you need fast, low-cost AI image generation without an API key, billed per-call at $0.02 USDC via x402. Ideal for agents that need occasional image generation without committing to a subscription. FLUX.1 schnell is optimized for speed (1-8 steps), making it best for thumbnails, social posts, and mockups rather than highly detailed fine-art generation.

## Known failure modes

- Missing required 'prompt' query parameter returns an error
- Steps value outside 1-8 range may be rejected or clamped
- Payment failure (x402) if USDC funds are insufficient
- Prompt content policy violations may return an error
- Very long or complex prompts may produce unexpected results
- Network timeout for slow image generation jobs

## How this service works

Generate an image from a text prompt (FLUX.1 schnell). Returns JPEG bytes. Good for thumbnails, social posts, mockups and illustrations. Also callable as GET with the same fields as query parameters.

## Output

Raw JPEG image bytes representing the AI-generated image matching the text prompt. The response is the image file itself, ready to be saved or displayed directly.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "steps": {
       "type": "integer",
       "description": "1 to 8, default 4"
      },
      "prompt": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-image-generator-flux-1-schnell-735f14fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
