{"uid":"cap_FVuT-X9AzbtMpF6bu55cj","slug":"gedx402-flux-1-schnell-image-generation-95d8a205","name":"GEDX402 Flux-1-Schnell Image Generation","description":"Flux schnell text-to-image — fast generation, one x402 payment per image.","url":"https://image.gedx402.com/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":"settled","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_wX3OOg2KKDFzDgF1RLGDU","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, payable with USDC on-chain via x402 protocol — no API keys required.","exampleAgentPrompt":"Generate an image of a futuristic city skyline at sunset with neon lights reflecting on wet streets, 1024 pixels wide by 768 pixels tall, using 20 diffusion steps for maximum quality.","exampleUseCases":null,"resultDescription":"A JSON object containing a single field 'image' whose value is a base64-encoded string of the generated image. The agent can decode this to display or save the image.","failureModes":["Payment not provided or insufficient USDC — HTTP 402 returned requiring x402 payment","Prompt missing from request — likely 400 or empty/error response","num_steps out of range (must be 1–20) — validation error","Width or height values unsupported by the model — may return an error or fall back to defaults","Network timeout if diffusion inference takes too long","On-chain payment confirmation delays causing request failure"],"whenToPreferThis":"Choose this endpoint when you need fast, cost-effective AI image generation (Flux-1-Schnell) without managing API keys or subscriptions, and you can pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol. Ideal for agents that need on-demand image generation with crypto micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:45:56.176Z","isFirstParty":false}