{"uid":"cap_GEDdwMg-rQrWqaOTfdB8-","slug":"gedx402-flux-2-klein-4b-image-generator-dda475b1","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://ged-x402-image.jvalamis.workers.dev/v1/image/flux-2-klein-4b","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_-WVkrT5v-aXLn0qC1gAdR","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 using the Flux-2 Klein 4B diffusion model, paid per-call with USDC on multiple blockchains, no API key required.","exampleAgentPrompt":"Generate an image of a misty mountain lake at sunrise with golden reflections on the water, 1024 pixels wide and 768 pixels tall, using 15 diffusion steps for good quality.","exampleUseCases":[{"title":"Product mockup generation for e-commerce","prompt":"Create a product image of a sleek wireless headphone in matte black, sitting on a minimalist wooden table with soft studio lighting, 1280 by 720 pixels, using 20 diffusion steps for high quality output."},{"title":"Social media content creation pipeline","prompt":"Generate a vibrant abstract digital art piece with flowing neon colors and geometric shapes, 1024 by 1024 pixels square format, using 12 diffusion steps to balance quality and speed."},{"title":"Game asset and scene visualization","prompt":"Draw a fantasy tavern interior scene with warm candlelight, wooden beams, and a stone fireplace, 1600 pixels wide and 900 pixels tall, using 18 diffusion steps for detailed artwork."}],"resultDescription":"A JSON object containing a single 'image' field with the generated image encoded as a base64 string, ready to decode and display or save as an image file.","failureModes":["Invalid or missing prompt results in a bad request error","Width or height values unsupported by the model may be silently clamped or cause an error","num_steps outside range 1-20 will be rejected as invalid","Payment failure or insufficient USDC balance causes a 402 Payment Required response","Network timeout if the diffusion model takes too long to generate","Unsupported blockchain network for payment causes transaction failure"],"whenToPreferThis":"Choose this endpoint when you need AI image generation without setting up API keys or accounts — ideal for agents that can pay with USDC on Base, Polygon, Arbitrum, World, or Solana. Best suited for single image generation tasks using the Flux-2 Klein 4B model specifically, with control over resolution and quality/speed tradeoff via diffusion steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:26.918Z","isFirstParty":false}