# Citiview Agent Market – FLUX.1 Image Generation

> Citiview Agent Market – FLUX.1 Image Generation is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Generates a 1024px JPEG image from a text prompt using FLUX.1 schnell, returning base64 JSON or a data URL, via an OpenAI-compatible interface

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/images/generations?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-agent-market-flux-1-image-generation-2e6ce9a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZyGcUH1UR1fHeuXNgiwBK

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 citiview-agent-market-flux-1-image-generation-2e6ce9a3
```

Example prompt: Generate an image of a misty mountain lake at sunrise with pine trees reflecting in the water, and return it as a base64 JPEG.

## When to prefer this

Choose this endpoint when you need a quick, flat-rate ($0.01 USDC) image generation call with no API key, especially if you're already using OpenAI SDK tooling and want a drop-in compatible FLUX.1 schnell endpoint. Prefer it over OpenAI DALL-E when you want FLUX.1 quality at a fixed micropayment price, or when you need a GET-compatible interface for simple integrations.

## Known failure modes

- Missing prompt parameter returns an error — prompt is required
- n must be exactly 1; other values are unsupported
- Payment failure or missing x402 payment results in a 402 response
- Invalid response_format value may fall back to default b64_json
- Network timeouts possible for complex prompts under load

## How this service works

OpenAI-compatible image generation (FLUX.1 schnell): same shape as OpenAI /v1/images/generations, returns b64_json (or a data URL with response_format=url). One 1024px JPEG per call, flat price, no API key. Also callable as GET with the same fields as query parameters.

## Output

A single 1024×1024 JPEG image returned in OpenAI /v1/images/generations response shape: either a b64_json field containing the base64-encoded image, or a url field containing a data URL, depending on the response_format parameter.

## 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": {
      "n": {
       "type": "integer",
       "description": "Must be 1"
      },
      "prompt": {
       "type": "string"
      },
      "response_format": {
       "type": "string",
       "description": "b64_json (default) | url (data URL)"
      }
     }
    }
   },
   "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/citiview-agent-market-flux-1-image-generation-2e6ce9a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
