{"uid":"cap_K42fvJBcgO8ur6mP19ZGq","slug":"gedx402-stable-diffusion-xl-lightning-image-generator-7552fc31","name":"GEDX402 Stable Diffusion XL Lightning Image Generator","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://ged-x402-image.jvalamis.workers.dev/v1/image/stable-diffusion-xl-lightning","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string"},"num_steps":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"image":"<base64>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.024","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.024/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lIux31WEY5YR7500RTWSw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.024","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using Stable Diffusion XL Lightning via Cloudflare Workers AI, paid per-call with USDC on-chain — no API key required.","exampleAgentPrompt":"Generate a photorealistic image of a misty mountain lake at sunrise with pine trees in the foreground — make it 1024x768 pixels, use 20 diffusion steps for best quality.","exampleUseCases":[{"title":"Marketing asset creation for startups","prompt":"I need product mockup images for our landing page. Can you generate a sleek, modern SaaS dashboard interface showing analytics charts, maybe in a minimalist blue and white color scheme? Make it look professional and ready to use."},{"title":"Social media content generation","prompt":"Create a few eye-catching thumbnail images for our tech blog posts. We're covering AI trends, so generate something abstract and futuristic—think glowing neural networks and digital landscapes. Make them vibrant and shareable on Twitter and LinkedIn."},{"title":"Game asset prototyping","prompt":"We're building a fantasy RPG and need some quick concept art. Generate a medieval village square at dusk with stone buildings, lanterns, and NPCs walking around. Give it a painterly, storybook illustration style that we can use for our design docs."}],"resultDescription":"A JSON object containing a base64-encoded string of the generated image, which can be decoded and saved as a PNG or JPEG file.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required response","Invalid prompt or missing required field — 400 Bad Request","num_steps out of range (must be 1–20) — validation error","Unsupported width/height combination for the model — generation failure or distorted output","Network timeout if diffusion steps are high and worker times out","Unsupported blockchain network provided for payment"],"whenToPreferThis":"Choose this endpoint when you need a fast, no-signup image generation capability paid per-call with USDC on supported blockchains (Base, Polygon, Arbitrum, World, Solana). Ideal for agents that lack traditional API key management but can execute on-chain micropayments. Best for single image generation from a text prompt with SDXL Lightning quality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:15.546Z","isFirstParty":false}