{"uid":"cap_BAjhVJkM_5FYzOBaJoW2x","slug":"gedx402-stable-diffusion-xl-image-generation-a92929a5","name":"GEDX402 Stable Diffusion XL Image Generation","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://image.gedx402.com/v1/image/stable-diffusion-xl-base-1.0","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"width":{"type":"integer","description":"Output width in pixels when supported by the model."},"height":{"type":"integer","description":"Output height in pixels when supported by the model."},"prompt":{"type":"string","description":"Natural-language description of the image to generate."},"num_steps":{"type":"integer","maximum":20,"minimum":1,"description":"Diffusion steps (quality vs speed)."}}},"responseSchema":{"type":"json","example":{"image":"<base64>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.046","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.046/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fnwGCTE4la_km7q7iLfKA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.046","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using Stable Diffusion XL Base 1.0, paid per-call with USDC via x402 protocol on multiple blockchains","exampleAgentPrompt":"Generate a photorealistic image of a red fox sitting in a snowy forest at sunset, 1024 pixels wide and 1024 pixels tall, using 20 diffusion steps for maximum quality.","exampleUseCases":null,"resultDescription":"A JSON object containing a base64-encoded image string (field: 'image') representing the generated image, which can be decoded and displayed or saved as a PNG/JPEG file.","failureModes":["Payment failure — insufficient USDC balance or unsupported blockchain returns a 402 Payment Required error","Invalid prompt — empty or malformed prompt string may result in a generation error","Out-of-range num_steps — values below 1 or above 20 will be rejected by schema validation","Unsupported dimensions — very large or non-standard width/height values may cause model errors or timeouts","Service unavailability — Cloudflare Workers AI backend downtime results in 5xx errors"],"whenToPreferThis":"Use this endpoint when you need on-demand Stable Diffusion XL image generation without a subscription or API key, paying only per call with USDC on Base, Polygon, Arbitrum, World, or Solana chains. Prefer this over managed API services (OpenAI, Stability AI, Replicate) when you want crypto-native pay-as-you-go billing with no account registration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:38:14.165Z","isFirstParty":false}