{"uid":"cap_nQP2pmDM1NVlBn5JxreRZ","slug":"gedx402-flux-1-schnell-image-generation-4a8f2750","name":"GEDX402 Flux-1-Schnell Image Generation","description":"Flux schnell text-to-image — fast generation, one x402 payment per image.","url":"https://ged-x402-image.jvalamis.workers.dev/v1/image/flux-1-schnell","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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_P_9D9T2cIDBPYS2xdPA0z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 the Flux-1-Schnell diffusion model, paid per-call with USDC via x402 protocol — no API keys required.","exampleAgentPrompt":"Generate a photorealistic image of a red fox sitting in a snowy forest at dusk — make it 1024x768 pixels with 20 diffusion steps for maximum quality.","exampleUseCases":[{"title":"Create social media graphics on-demand","prompt":"Generate me a vibrant, modern illustration of a coffee shop storefront with warm lighting and people inside — make it 1024x1024 pixels and crank up the diffusion steps for really polished detail."},{"title":"Design product mockup visualizations","prompt":"Create a sleek product photo of a minimalist smartwatch on a marble table with soft studio lighting — render it at 768x768 pixels with high quality diffusion for our marketing deck."},{"title":"Generate custom artwork for NFT collections","prompt":"Make me a surreal digital art piece of a crystal cave with bioluminescent plants and floating orbs of light — go with 1024x1024 resolution and plenty of diffusion steps to capture all the intricate details."}],"resultDescription":"A JSON object containing a single 'image' field with the base64-encoded generated image, ready to decode and display or save as a file.","failureModes":["Payment not received or insufficient USDC — returns 402 Payment Required","Invalid prompt (empty or missing) — returns 400 Bad Request","num_steps out of range (must be 1–20) — returns 400 validation error","Unsupported width/height values for the model — may return 400 or produce unexpected output","Network timeout on Workers AI backend — returns 5xx error","Unsupported blockchain network for payment — payment fails before request is processed"],"whenToPreferThis":"Choose this endpoint when you need fast, on-demand text-to-image generation without API key registration, want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana, and specifically want the Flux-1-Schnell model's speed-quality tradeoff. Prefer over alternatives when the agent environment supports x402 micropayments natively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:39:49.972Z","isFirstParty":false}