x402.press Image
simple-inference

Image

AI text-to-image generation from a text prompt — pay per image in USDC or EURC. No API key, no account required.

imagegenerationtext-to-imageaiartx402

What is Image?

Text-to-image generation behind x402 micropayments, modelled on x402.press/music. A single POST /generate endpoint accepts a natural-language prompt (plus optional model and size) and returns an image_id. The image is generated asynchronously by the DashScope qwen-image backend; poll GET /status/{image_id} (free) until completed, then download the PNG via GET /download/{image_id} (free). Three models: qwen-image-3.0-pro and qwen-image-3.0 (latest flagship family, 2K output) and qwen-image-2.0-pro-2026-06-22 (pinned 2.0 snapshot for reproducibility). Sizes are flexible WIDTH*HEIGHT up to 2048 pixels per side. Images are stored for 2 hours after generation.

Pay per call in USDC, EURC across Base, Arbitrum, Polygon, Avalanche, Ethereum, Robinhood and Arc via the x402 micropayment protocol — no subscriptions, no API keys, no wallets to configure for the caller.

Operations

inference

MethodEndpointDescriptionTier
POST/generateGenerate an image from a text prompt. Billed on the Premium tier (same tier as /music/generate), per image. Returns an image_id immediately; poll /status/{image_id} then download /download/{image_id} (both free).premium

Workflows

Data sources

Examples

generate

Generate a square 1K image with the default flagship model

{
  "prompt": "a red apple on a wooden table, studio light, photorealistic",
  "size": "1024*1024"
}