# x402-deployer Image Generate (Fast/Cheap)

> x402-deployer Image Generate (Fast/Cheap) is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.01/call, not verified (last probed 2026-10-11); live alternatives: WithZero Grok Imagine Image Generation ($0.05) and Generate Images via Google Gemini 3.1 Flash ($0.07).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [WithZero Grok Imagine Image Generation](https://www.zero.xyz/c/withzero-grok-imagine-image-generation-58f6270b) ($0.05)
- [Generate Images via Google Gemini 3.1 Flash](https://www.zero.xyz/c/image-withzero-xyz-generate-images-via-google-gemini-3-1-flash-nano-a910a17d) ($0.07)

Generates a safe-for-work image from a text prompt using one of four Venice-backed AI models, returning a permanent fal-hosted PNG URL within 5 seconds for $0.01 USDC.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/image-generate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-07-29
- Success rate: 87% of calls made through Zero
- Rating: 4.9 / 5 from 6 reviews
- Activations on Zero: 79
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c63129b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QBElam7_MvQ2DNPdmgE80

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 x402-deployer-x402-deployer-workers-dev-c63129b8 -d '<json body>'
```

Example prompt: Generate me a fast SFW image of a misty mountain lake at sunrise with pine trees reflected in the water — use the 'creative' tier for a more artistic look.

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01) SFW text-to-image generation with sub-5-second turnaround. Prefer the 'fast' tier for bulk or draft images, 'creative' for artistic quality, 'anime' for illustration/anime styles, and 'sd35' for Stable Diffusion 3.5 aesthetics. Use sibling endpoints image-generate-pro ($0.10) or image-generate-ultra ($0.30) when top-tier quality (Flux 2 Pro, GPT-Image-2) is required.

## Known failure modes

- Prompt contains NSFW content — rejected with policy violation error
- Invalid model tier string returns 400 bad request
- Payment not included or insufficient USDC — returns 402 Payment Required
- Upstream Venice/fal model timeout — may return 503 or empty response
- Overly long or malformed prompt may cause generation failure

## How this service works

Image generate (fast/cheap) / text-to-image / AI art. SFW, sub-5s turnaround. Four tiers backed by curated $0.01 Venice models: 'fast' (z-image-turbo, default), 'creative' (chroma), 'anime' (wai-Illustrious), 'sd35' (venice-sd35). For top-tier quality use image-generate-pro ($0.10, Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro) or image-generate-ultra ($0.30, Google nano-banana-pro / OpenAI gpt-image-2). Returns a permanent fal-hosted PNG URL.

## Output

Returns a permanent fal-hosted PNG image URL. The image is safe-for-work, generated within ~5 seconds, and accessible via a stable direct link.

## Example request

```json
{
 "input": {
  "body": {
   "tier": "creative",
   "width": 1024,
   "height": 1024,
   "prompt": "A serene misty mountain lake at sunrise with pine trees reflected in calm water, soft golden light, peaceful landscape"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "prompt"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "description": "Random seed. Optional."
      },
      "tier": {
       "enum": [
        "fast",
        "creative",
        "anime",
        "sd35"
       ],
       "type": "string",
       "description": "Model shorthand. Default 'fast'."
      },
      "model": {
       "type": "string",
       "description": "Override the model. Must be one of: z-image-turbo, chroma, wai-Illustrious, venice-sd35."
      },
      "steps": {
       "type": "number",
       "description": "Diffusion steps. Optional; depends on model."
      },
      "width": {
       "type": "number",
       "description": "Output width in pixels. Range [256, 1024], snapped to multiples of 16. Default 1024."
      },
      "height": {
       "type": "number",
       "description": "Output height in pixels. Range [256, 1024], snapped to multiples of 16. Default 1024."
      },
      "prompt": {
       "type": "string",
       "description": "Image description. Up to 2000 chars."
      },
      "cfg_scale": {
       "type": "number",
       "description": "Classifier-free guidance scale. Optional."
      },
      "negative_prompt": {
       "type": "string",
       "description": "Negative prompt. Optional, up to 1000 characters."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "image_url",
      "model",
      "width",
      "height",
      "source"
     ],
     "properties": {
      "seed": {
       "type": [
        "number",
        "null"
       ],
       "description": "Seed reported by the provider, when available."
      },
      "tier": {
       "enum": [
        "fast",
        "creative",
        "anime",
        "sd35"
       ],
       "t
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c63129b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
