# PayWeave Fal · FLUX Dev Image Generation

> PayWeave Fal · FLUX Dev Image Generation is a paid API for AI agents from fal.payweave.services, paid per call via x402, $0.05/call, status healthy (last checked 2026-09-15, last successful call 2026-09-15).

Generates images from text prompts using the FLUX Dev model via fal.ai, billed at $0.05 USDC per call over x402

## Facts

- Endpoint: POST https://fal.payweave.services/models/fal-ai/flux/dev/run
- Price: $0.05/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-09-15
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 6
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-fal-flux-dev-image-generation-e247a68c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KjwnuJgTAmfb1QDm2nz-D

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-dev-image-generation-e247a68c -d '<json body>'
```

Example prompt: Generate an image of a misty mountain lake at sunrise with pine trees reflected in the water, using the FLUX Dev model — I want a high-quality photorealistic result.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call text-to-image generation using the FLUX Dev model specifically, billed in USDC via x402 protocol with no subscription required. Ideal for agents that need on-demand image synthesis without managing API keys or monthly plans, especially when cost predictability ($0.05/call) matters.

## Known failure modes

- Invalid or missing input object returns a 400-level error
- Payment failure or insufficient USDC balance returns a 402 error preventing inference
- Model overload or timeout may return an error field with a non-null message and no output
- CDN URL expiration after ~24h means stored image links become invalid
- Malformed prompt or unsupported input parameters may yield null output with an error string

## 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, status ('succeeded'), a CDN URL for the generated image (hosted on fal.ai with ~24-hour TTL), inference time in seconds, and the USD amount charged for the call.

## 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"
    },
    "guidance_scale": {
     "type": "number",
     "maximum": 20,
     "minimum": 0
    },
    "num_inference_steps": {
     "type": "integer",
     "maximum": 50,
     "minimum": 1
    },
    "enable_safety_checker": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-fal-flux-dev-image-generation-e247a68c/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)
