{"uid":"cap_tcyVqpYHB71tJmL0tZUGq","slug":"x402engine-flux-2-pro-high-quality-image-generation-96ba69b7","name":"x402engine FLUX.2 Pro High-Quality Image Generation","description":"x402engine — High-quality image generation using FLUX.2 Pro (~5s, production-ready)","url":"https://x402engine.app/api/image/quality?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"seed":{"type":"number","example":42,"description":"Random seed for reproducibility"},"width":{"type":"number","default":1024,"example":1024,"description":"Image width in pixels (256-2048)"},"height":{"type":"number","default":1024,"example":1024,"description":"Image height in pixels (256-2048)"},"prompt":{"type":"string","example":"a sunset over mountains","description":"Text description of image to generate"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xaZOsmplsjzP3i6q6O-PB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a high-quality image from a text prompt using FLUX.2 Pro, returning a production-ready result in approximately 5 seconds","exampleAgentPrompt":"Generate a high-quality 1024×1024 image of a misty forest at dawn with golden light filtering through the trees — use seed 42 so I can reproduce it later.","exampleUseCases":[{"title":"Marketing visual asset creation","prompt":"Create a high-quality 1280×768 image of a sleek modern laptop on a minimalist white desk for a product landing page — make it look professional and production-ready."},{"title":"Concept art for game design","prompt":"Generate a detailed fantasy castle on a clifftop at sunset, 1024×1024 pixels, using seed 99 so our team can reproduce the same image consistently for our concept art review."},{"title":"Social media content generation","prompt":"Make a vibrant 1024×1024 image of a tropical beach with crystal-clear turquoise water and white sand for an Instagram post — I want it to look vivid and photorealistic."}],"resultDescription":"Returns a production-ready generated image (PNG) based on the provided text prompt, rendered at the specified resolution (default 1024×1024) using FLUX.2 Pro, typically delivered in approximately 5 seconds. The result is high-quality and suitable for direct use in applications, marketing, or content pipelines.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Width or height outside the 256–2048 pixel range may cause a 400 or generation error","Payment not fulfilled via x402 protocol results in a 402 Payment Required response","Invalid seed value (non-numeric) returns a schema validation error","Server-side generation timeout if the model is overloaded may return a 503"],"whenToPreferThis":"Choose this endpoint when you need high-quality, production-ready image generation (~5s) from a text prompt using FLUX.2 Pro, and are operating in an agentic or automated context where pay-per-call micropayments (x402/USDC) are acceptable. Prefer this over GPT Image or other siblings on x402engine when FLUX.2 Pro quality and speed are specifically required, or when you need seed-based reproducibility for consistent outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-08T20:26:08.686Z","lastSuccessfullyRanAt":"2026-10-08T20:26:08.686Z","lastHealthCheckAt":"2026-12-01T07:06:08.665Z","isFirstParty":false,"canonicalSlug":"x402engine-flux-2-pro-high-quality-image-generation-96ba69b7"}