{"uid":"cap_8kuucqMyNPaJyvaC_Vjp_","slug":"agent-hub-flux-1-image-generation-91fc8d55","name":"Agent Hub 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://agents.torbrooknews.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_WlGPy5BWH1U4l3NBISVJr","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 1024px JPEG image from a text prompt using the FLUX.1 schnell model via an OpenAI-compatible /v1/images/generations interface","exampleAgentPrompt":"Generate an image of a serene Japanese garden with cherry blossoms reflecting in a koi pond at sunset, and give me the result as a base64 image.","exampleUseCases":[{"title":"Blog post hero image generation","prompt":"Create an image of a futuristic cityscape at night with neon lights and flying cars for a blog post about smart cities — return it as a base64 JPEG."},{"title":"Product mockup scene creation","prompt":"Generate an image of a minimalist white desk with a laptop, a coffee cup, and a small succulent plant, in soft morning light — I need it as a data URL."},{"title":"Social media visual creation","prompt":"Make me an image of a golden retriever puppy playing in autumn leaves in a park, bright and cheerful, for a social media post."}],"resultDescription":"Returns an OpenAI-compatible JSON response with a `data` array containing one image object. By default the image is returned as a base64-encoded JPEG string (`b64_json`). If `response_format=url` is specified, the image is returned as a base64 data URL. The image is always a single 1024×1024 JPEG.","failureModes":["Missing `prompt` parameter returns a 400 error","Setting `n` to anything other than 1 is not supported and may be ignored or cause an error","Content policy violations may result in a rejected generation","Payment not completed (x402) results in a 402 Payment Required response","Overly long or complex prompts may be truncated or produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01 USDC flat), no-API-key image generation call that is OpenAI-compatible and returns a base64 JPEG or data URL. It is ideal for agents that already use the OpenAI images API shape and want to drop in a low-cost FLUX.1 schnell alternative. Prefer it over OpenAI's DALL-E when cost per image is a priority and the OpenAI interface shape is required. Not suitable for batch image generation, high-resolution outputs beyond 1024px, or formats other than JPEG.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:05:55.140Z","isFirstParty":false,"canonicalSlug":"agent-hub-flux-1-image-generation-91fc8d55"}