{"uid":"cap_3W0PaOqQdF1iiCiagpbW0","slug":"flux-2-flex-max-quality-image-generation-base-mainnet-27c881e9","name":"Flux 2 Flex Max-Quality Image Generation (Base Mainnet)","description":"Max-quality image generation and editing with support for ten reference images (Base Mainnet).","url":"https://api.xona-agent.com/base-main/image/flux-2-flex","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","description":"Detailed prompt description for the image"},"aspect_ratio":{"type":"string","default":"1:1","description":"Image aspect ratio"},"referenceImage":{"type":"array","items":{"type":"string"},"description":"URLs of reference images for style/composition guidance"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1Nyhlhz_Yhh9ewR8ma2wK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates or edits high-quality images using the Flux 2 Flex model, supporting up to ten reference images for style and composition guidance.","exampleAgentPrompt":"Generate a max-quality image of a futuristic cityscape at dusk with neon reflections on rain-soaked streets, in a 16:9 aspect ratio, using these three reference images for style and color palette: [url1, url2, url3].","exampleUseCases":null,"resultDescription":"Returns a generated or edited image (likely a URL or binary image data) produced by the Flux 2 Flex model, reflecting the provided prompt, aspect ratio, and any reference image styles or compositions supplied.","failureModes":["Invalid or inaccessible reference image URLs — endpoint may fail to fetch references","More than ten reference images provided — may return a validation error","Unsupported aspect ratio string — may default to 1:1 or return an error","Empty or missing prompt — likely returns a 400 bad request","Network or model timeout — may return a 5xx error","Insufficient USDC balance for x402 payment — payment fails before call completes"],"whenToPreferThis":"Choose this endpoint when you need the absolute highest image quality available on the Flux lineup, especially when you want to guide generation with up to ten reference images for style, composition, or subject fidelity. Prefer it over lower-tier Flux variants (e.g. 8-reference version) when maximum reference capacity and top-tier output quality are both required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T20:17:38.400Z","isFirstParty":false}