{"uid":"cap_L-wzelD3kbAfeqyCQPLmQ","slug":"x402-tokens-flux-1-1-pro-image-generation-80312c7c","name":"x402-tokens FLUX.1.1-pro Image Generation","description":"Together black-forest-labs/FLUX.1.1-pro — per-megapixel, reconciled to actual cost, at 2026-08-31T16:51:27.266Z","url":"https://x402-tokens.fly.dev/v1/images/generations","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.041944","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.041944/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.041944","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.041944","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tER2m-cFrOSbQ773AVYXU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.041944","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates high-quality images from text prompts using Black Forest Labs FLUX.1.1-pro via Together AI, billed per megapixel at reconciled actual cost over x402 micropayment protocol","exampleAgentPrompt":"Generate an image of a misty Japanese forest at dawn with golden light filtering through bamboo trees — use FLUX.1.1-pro and make it high resolution, paying per megapixel.","exampleUseCases":[{"title":"Marketing visual asset creation","prompt":"Create a photorealistic product image of a sleek black coffee mug on a marble countertop with soft morning light — I need it for a social media campaign, use FLUX.1.1-pro for the best quality."},{"title":"Fantasy concept art generation","prompt":"Generate a detailed fantasy landscape showing a floating castle above storm clouds at sunset with dramatic purple and orange skies, high resolution please."},{"title":"Portrait illustration for branding","prompt":"Make a stylized portrait illustration of a professional woman with short dark hair in a modern office setting, clean and polished look suitable for a company website."}],"resultDescription":"Returns generated image data or a URL to the created image produced by FLUX.1.1-pro, billed at the reconciled per-megapixel cost (~$0.042 USDC per call) after generation completes.","failureModes":["Invalid or missing prompt in request body returns 400 error","Payment failure or insufficient USDC balance over x402 protocol causes 402 Payment Required","Model overload or Together AI backend unavailability returns 503","Malformed JSON body returns 422 validation error","Prompt content policy violation returns 400 or 403"],"whenToPreferThis":"Choose this endpoint when you need state-of-the-art image quality from FLUX.1.1-pro (one of the highest-quality text-to-image models as of 2025-2026) and want per-megapixel billing reconciled to actual cost rather than flat-rate pricing. Ideal for agents operating in micropayment environments using the x402 protocol with USDC. Prefer over other image generation endpoints when FLUX model quality is specifically required or when cost-efficiency at scale matters due to per-megapixel reconciliation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T20:29:15.249Z","isFirstParty":false}