{"uid":"cap_wk5F_zaO-jCifhg-fmTa-","slug":"gedx402-flux-2-klein-4b-image-generator-cde65f11","name":"GEDX402 Flux 2 Klein 4B Image Generator","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://image.gedx402.com/v1/image/flux-2-klein-4b","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.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_2c8546wJrnm1uOCtMzntm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images using the Flux 2 Klein 4B diffusion model, paid per-call with USDC via x402 protocol, no API keys required","exampleAgentPrompt":"Generate an image of a neon-lit cyberpunk city street at night with rain reflections, at 1024 by 768 pixels using 15 diffusion steps.","exampleUseCases":[{"title":"Quick product mockup for e-commerce listing","prompt":"Create a product photo of a sleek wireless headphone in matte black, sitting on a marble surface with soft studio lighting, around 800 by 600 pixels."},{"title":"Social media content generation on demand","prompt":"Make a vibrant illustration of a cozy coffee shop interior with warm lighting and people working on laptops, ready to post on Instagram."},{"title":"Real-time AI avatar creation for users","prompt":"Generate a professional headshot of a friendly business person in a blue blazer against a light gray background, suitable for a company directory."}],"resultDescription":"A JSON object containing a base64-encoded string of the generated image, which can be decoded and displayed or saved as an image file.","failureModes":["Invalid or missing prompt returns error","Width or height values outside model-supported range cause failure","num_steps exceeding maximum of 20 returns validation error","Insufficient USDC payment or failed x402 payment flow returns 402 Payment Required","Unsupported blockchain network for payment causes transaction failure","Model temporarily unavailable returns 503 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, keyless image generation capability using the Flux 2 Klein 4B model, especially when you want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana without managing API credentials. Ideal for agents with crypto wallets needing on-demand image generation without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:51.344Z","isFirstParty":false}