{"uid":"cap_79zMf9ODDsXmczOTOssX7","slug":"flux-2-max-image-generation-black-forest-labs-via-xona-agent-11cce341","name":"Flux 2 Max Image Generation (Black Forest Labs via xona-agent)","description":"The highest fidelity image model from Black Forest Labs","url":"https://api.xona-agent.com/image/flux-2-max","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.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6KS860RA9QwpJL3vuQfQO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates ultra-high-fidelity images from text prompts using Black Forest Labs' highest-quality Flux 2 Max model, with optional aspect ratio and reference image support.","exampleAgentPrompt":"Generate a high-fidelity image of a misty Japanese mountain village at dawn with cherry blossoms in the foreground, using a 16:9 widescreen aspect ratio — use the Flux 2 Max model for the best possible quality.","exampleUseCases":[{"title":"Concept art for product launch","prompt":"Create a stunning, photorealistic product concept image of a sleek futuristic electric car on a rain-slicked night street with neon reflections — use the highest fidelity Flux model and make it 16:9 widescreen."},{"title":"Style-matched portrait generation","prompt":"Generate a high-quality portrait of a fictional fantasy warrior queen in dramatic lighting, matching the painterly style from this reference image I'm providing, in a 2:3 portrait aspect ratio using Flux 2 Max."},{"title":"Square social media visual creation","prompt":"I need a visually striking 1:1 square image of a vibrant tropical beach smoothie bar at golden hour for a social media post — please use the Flux 2 Max model to get the sharpest, most detailed result possible."}],"resultDescription":"Returns a high-fidelity generated image produced by Black Forest Labs' Flux 2 Max model, representing the highest quality output available from this provider. The image reflects the prompt, aspect ratio, and any reference images supplied.","failureModes":["Vague or underspecified prompts may produce unexpected compositions","Invalid aspect ratio string may cause validation errors or default fallback to 1:1","Broken or inaccessible reference image URLs will cause the reference guidance to fail or error","Prompt content policy violations may result in rejection","Rate limiting or payment failure may block the request"],"whenToPreferThis":"Choose this endpoint when maximum image fidelity and detail are the top priority and you are willing to pay a premium ($0.08 USDC). It is the highest-quality Flux model from Black Forest Labs, outperforming lower-tier Flux variants and other models on the same platform (e.g. Grok Imagine, GPT Image 2) in photorealism and fine detail. Prefer it for professional, commercial, or publication-quality image tasks where quality cannot be compromised.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:45:09.263Z","isFirstParty":false}