{"uid":"cap_i8lvh0Tt0KOt2Hxe2GYIC","slug":"agentrxi-flux-1-image-generation-40e13d7d","name":"AgentRXI FLUX.1 Image Generation","description":"OpenAI-compatible image generation (FLUX.1 schnell): same shape as OpenAI /v1/images/generations, returns b64_json (or a data URL with response_format=url). One 1024px JPEG per call, flat price, no API key. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/images/generations?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"n":{"type":"integer","description":"Must be 1"},"prompt":{"type":"string"},"response_format":{"type":"string","description":"b64_json (default) | url (data URL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_4Hrp1XA3lIXj6H3a3o60x","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 a single 1024px JPEG image from a text prompt using FLUX.1 schnell, returning it as base64 JSON or a data URL, with an OpenAI-compatible interface","exampleAgentPrompt":"Generate an image of a serene Japanese zen garden at sunset with cherry blossom petals floating in the air, and give it back to me as a base64 JPEG.","exampleUseCases":[{"title":"Blog post hero image generation","prompt":"Create an image of a futuristic city skyline at night with neon lights reflecting on rain-slicked streets — I need it as a base64 JPEG to embed in my blog post."},{"title":"Product mockup background creation","prompt":"Generate a clean, minimalist studio background image with soft white lighting and a subtle gradient — return it as a data URL so I can use it directly in my app."},{"title":"Social media visual for campaign","prompt":"Make an image of a cozy autumn coffee shop interior with warm lighting, steaming mugs, and falling leaves outside the window — I'll use it as a social media post visual."}],"resultDescription":"Returns an OpenAI-compatible JSON response containing a single generated 1024×1024 JPEG image. By default the image is encoded as a base64 string in the `b64_json` field. If `response_format=url` is specified, it returns a data URL instead. The response shape mirrors OpenAI's /v1/images/generations format with a `data` array containing one image object.","failureModes":["Missing or empty prompt returns a validation error","n values other than 1 are not supported and will fail","Unsupported response_format values cause errors","Payment not completed (x402 flow not resolved) results in a 402 response","Very long or complex prompts may time out or produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC flat), OpenAI-compatible image generation call using FLUX.1 schnell with no API key required. It is ideal for agents already using the x402 micropayment protocol, for drop-in replacement of OpenAI image generation calls, or when you need a base64-encoded or data URL image output in a single synchronous call. Prefer alternatives if you need multiple image sizes, multiple images per call, style fine-tuning, or a different underlying model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:01.816Z","isFirstParty":false,"canonicalSlug":"agentrxi-flux-1-image-generation-40e13d7d"}