{"name":"pixel402","description":"AI image generation powered by flux-schnell. Pay $0.01 USDC on Base per image (1-4 per request); results stored durably and retrievable anytime by job_id.","x402":true,"flow":["1. POST /generate with x402 payment ($0.01 × num_outputs, USDC on Base) and a JSON body with your prompt.","2. You always get a job_id (your claim ticket). Fast generations return 200 with image_urls; slower ones return 202 with result_url.","3. GET /result/{job_id} (free) returns the image bytes when ready (202 JSON while processing). Multi-image jobs: /result/{job_id}/{k} for the k-th image. No expiry; retrieve anytime."],"endpoints":{"POST /generate":{"price":"$0.01 per image × num_outputs (1-4)","network":"Base (EVM)","description":"Generate 1-4 images from a text prompt using flux-schnell. Payment settles at submission; returns job_id claim ticket."},"GET /result/{job_id}":{"price":"free","description":"Retrieve the generated image (or JSON status with Accept: application/json). Stored durably, no ~1h expiry."},"GET /result/{job_id}/{index}":{"price":"free","description":"Retrieve the k-th image (1-based) of a multi-image job."}},"policy":{"retries":"Failed generations are retried automatically up to 3 times; a ticket may stay 'processing' a few minutes before resolving.","refunds":"Prompts rejected by the model's safety filter fail permanently and are not refunded. For genuine service failures, contact dylan.caponi@gmail.com."},"parameters":{"prompt":"required: text description of the image to generate","aspect_ratio":"optional: 1:1, 16:9, 9:16, 4:3, 3:4, etc. Default: 1:1","output_format":"optional: webp, jpg, png. Default: webp","output_quality":"optional: 1-100. Default: 80","seed":"optional: integer for reproducible generations","num_outputs":"optional: 1-4 images; price scales at $0.01 per image. Default: 1","num_inference_steps":"optional: 1-4 denoising steps; fewer is faster/lower quality. Default: 4","megapixels":"optional: '1' or '0.25' (approximate resolution). Default: '1'","go_fast":"optional: boolean; speed-optimized fp8 model. Default: true"},"model":"black-forest-labs/flux-schnell"}