{"uid":"cap_7BpXxDW_yBpjgOmAsD6IH","slug":"gedx402-stable-diffusion-img2img-x402-42e932e2","name":"GEDX402 Stable Diffusion img2img (x402)","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-v1-5-img2img","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.035","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.035/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fxzv-IlP9a2R16H8JqXJl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transforms an input image using Stable Diffusion v1.5 img2img, guided by a text prompt, paid via USDC on-chain with no API keys required.","exampleAgentPrompt":"Take this image and transform it into a cyberpunk cityscape at night — use the prompt 'neon-lit cyberpunk city, rain-soaked streets, futuristic buildings', output at 512x512 pixels with 20 diffusion steps.","exampleUseCases":[{"title":"Reimagine product photos with AI style","prompt":"Take our product photo and transform it into a luxury magazine photoshoot style — use the prompt 'high-end luxury product photography, soft studio lighting, premium aesthetic, white background' to make it look like a professional advertisement."},{"title":"Convert sketches into finished artwork","prompt":"I have a rough sketch that I'd like to transform into a polished oil painting — apply the prompt 'classical oil painting, detailed brushstrokes, museum quality, warm color palette' to turn my sketch into finished fine art."},{"title":"Generate variations for creative exploration","prompt":"Take this portrait and create a steampunk-themed version of it — use the prompt 'steampunk character, vintage goggles, brass gears, intricate mechanical details, Victorian era aesthetic' to explore a completely different artistic direction."}],"resultDescription":"A JSON object containing a base64-encoded PNG image of the transformed result, produced by Stable Diffusion v1.5 img2img guided by the provided prompt.","failureModes":["Payment not received or USDC transaction failed — returns HTTP 402 Payment Required","Prompt missing or empty — may return an error or blank image","num_steps out of range (must be 1–20) — validation error","Unsupported width/height values for the model — may be ignored or cause an error","Network timeout on the Cloudflare Worker — generic 5xx error"],"whenToPreferThis":"Choose this endpoint when you need image-to-image transformation via Stable Diffusion v1.5 without managing API keys or subscriptions, and you can pay per-call in USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents with crypto wallet access that need on-demand generative AI image transformation at a fixed low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T04:41:25.042Z","isFirstParty":false}