{"uid":"cap_GSQiMsDhbskSw80wl2G6-","slug":"wafermap-xyz-flux-2-klein-4b-image-generator-4afd062f","name":"wafermap.xyz FLUX.2 Klein 4B Image Generator","description":"FLUX.2 klein 4B — Smallest FLUX.2. Fast drafts and variations.","url":"https://wafermap.xyz/v1/flux-2-klein-4b?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"enum":["1024x1024","1280x768","768x1280"],"type":"string","description":"Square, wide or tall."},"prompt":{"type":"string","maxLength":2000,"minLength":1,"description":"Describe the image."}}},"responseSchema":null,"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_OGrKDY-wU8WVzzK5WM_OD","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.2 Klein 4B model — the smallest and fastest FLUX.2 variant, optimized for quick drafts and visual variations.","exampleAgentPrompt":"Generate a quick draft image of a cozy autumn coffee shop with warm golden lighting and rain on the windows — make it square format.","exampleUseCases":[{"title":"Fast concept art draft","prompt":"Can you whip up a quick draft image of a futuristic cityscape at night with neon lights reflected on wet streets? Square format is fine."},{"title":"Wide-format product mockup","prompt":"Generate a wide landscape image of a minimalist white desk with a laptop and a succulent plant, clean and modern studio lighting."},{"title":"Portrait illustration for social media","prompt":"Make a tall portrait-oriented image of a fantasy elf archer standing in a misty forest, detailed but just a quick draft version."}],"resultDescription":"Returns a generated image based on the provided text prompt, in the requested size (1024x1024 square, 1280x768 wide, or 768x1280 tall). The output is produced by the FLUX.2 Klein 4B model, optimized for speed and low cost rather than maximum fidelity.","failureModes":["Prompt too short or empty — minimum 1 character required","Prompt exceeds 2000 character limit — truncate or shorten the description","Invalid size value — must be exactly '1024x1024', '1280x768', or '768x1280'","Payment failure or insufficient USDC balance — x402 payment of $0.0069 USDC required per call","Server-side model inference timeout for unusually complex prompts"],"whenToPreferThis":"Choose this endpoint when speed and cost matter more than maximum image quality — ideal for rapid iteration, concept drafts, A/B visual variations, or automated pipelines where you need many images cheaply. It is significantly faster and cheaper ($0.0069/call) than FLUX.2 dev or other high-fidelity options. Prefer FLUX.2 dev or FLUX.1 schnell alternatives when photorealism, precise text-in-image rendering, or production-grade quality is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:05:28.928Z","isFirstParty":false,"canonicalSlug":"wafermap-xyz-flux-2-klein-4b-image-generator-4afd062f"}