AI Utilities
AI IMAGE GENERATION — POST {prompt} and get back a PNG, base64 in JSON (?raw=1 for raw bytes)
AI IMAGE GENERATION — POST {prompt} and get back a PNG, base64 in JSON (?raw=1 for raw bytes). Gemini 2.5 Flash Image (nano-banana): photoreal scenes, illustrations, product shots, UI mockups — renders text in images well. Optional {aspect_ratio}: 1:1 (default), 16:9, 9:16, 4:3 + 6 more. Reference images: pass {url} or {image_base64}, or up to 3 in {reference_images}, to edit, restyle, or compose ('put this product on this beach'). The x402 payment IS the auth.
Price: $0.07 per call, paid in USDC via the x402 protocol (see the x402 security scheme).
post/api/generate-image
Request
- Base URL: https://api.webbersites.com
- URL: https://api.webbersites.com/api/generate-image
- Auth: API key in header X-PAYMENT
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.