# PayWeave Fal · FLUX Schnell Image Generation

> PayWeave Fal · FLUX Schnell Image Generation is a paid API for AI agents from fal.payweave.services, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Generates images from text prompts using the FLUX Schnell model via a pay-per-call API with USDC micropayments.

## Facts

- Endpoint: POST https://fal.payweave.services/models/fal-ai/flux/schnell/run
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-fal-flux-schnell-image-generation-574681f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w8mQQ58b0_v7DSu7PCi57

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 payweave-fal-flux-schnell-image-generation-574681f3 -d '<json body>'
```

Example prompt: Using the fal.ai FLUX Schnell model, generate an image of a golden retriever puppy playing in autumn leaves in a sun-dappled forest.

## When to prefer this

Choose this endpoint when you need sub-second text-to-image generation using the FLUX Schnell model specifically, want pay-per-call USDC micropayment billing with no subscription, and are operating in an x402-compatible agent environment. Prefer over other image generators when low latency and per-call crypto payments are required.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment rejected — returns 402 Payment Required
- Invalid input schema: missing or malformed 'input' object — returns 400 Bad Request
- Model inference error: fal backend failure — returns non-null error field in response body
- CDN URL expiry: generated image URLs expire after ~24 hours
- Rate limiting or quota exceeded on fal.ai backend — returns 429 or error status

## How this service works

Sub-second generative AI inference — image, video, audio.

## Output

Returns a JSON object with a fal request ID, the model name, a status of 'succeeded', an output field containing one or more CDN-hosted image URLs (valid for ~24 hours), inference time in seconds, and the USD amount charged for the call. Null error field on success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "prompt"
   ],
   "properties": {
    "seed": {
     "type": "integer",
     "minimum": 0,
     "description": "Random seed; omit for non-deterministic outputs."
    },
    "prompt": {
     "type": "string",
     "maxLength": 5000,
     "minLength": 1,
     "description": "Text prompt describing the desired image."
    },
    "image_size": {
     "enum": [
      "square_hd",
      "square",
      "portrait_4_3",
      "portrait_16_9",
      "landscape_4_3",
      "landscape_16_9"
     ],
     "type": "string"
    },
    "output_format": {
     "enum": [
      "jpeg",
      "png"
     ],
     "type": "string"
    },
    "num_inference_steps": {
     "type": "integer",
     "maximum": 12,
     "minimum": 1
    },
    "enable_safety_checker": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-fal-flux-schnell-image-generation-574681f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fal.payweave.services](https://www.zero.xyz/host/fal.payweave.services/llms.txt)
