{"uid":"cap_xZQqf6pL3gkwssb3Top5U","slug":"agent-data-tools-revmesh2074-workers-dev-flux-1-schnell-ai-image-c5f72574","name":"FLUX.1 Schnell AI Image Generator","description":"Generate an image from a text prompt with FLUX.1 schnell: send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds, with an optional steps setting (1-8) for more detail. Use for illustrations, thumbnails, mockups, avatars, product shots and social media images inside an agent workflow.","url":"https://agent-data-tools.revmesh2074.workers.dev/image/generate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"steps":{"type":"integer","description":"Diffusion steps, 1-8 (default 4)"},"prompt":{"type":"string","description":"What the image should show (3-800 characters)"}}},"responseSchema":{"type":"object","properties":{"model":{"type":"string"},"steps":{"type":"number"},"prompt":{"type":"string"},"contentType":{"type":"string"},"imageBase64":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USD","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_obYuia_GvYviZr7tTLJYB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Generates a 1024x1024 JPEG image from a text prompt using the FLUX.1 schnell diffusion model, returning it as base64 within seconds","exampleAgentPrompt":"Generate an image of a futuristic city skyline at sunset with flying cars and neon lights, using 6 diffusion steps for extra detail.","exampleUseCases":[{"title":"Blog post thumbnail generator","prompt":"Create an image of a cozy coffee shop interior with warm lighting and books on the shelves — something I can use as a thumbnail for my blog post, with 5 diffusion steps."},{"title":"Social media avatar creation","prompt":"Generate a portrait of a friendly robot astronaut with a glowing helmet visor against a starry background — I want to use it as a profile avatar, 6 steps for quality."},{"title":"Product mockup for e-commerce","prompt":"Make a product shot image of a sleek black water bottle sitting on a marble countertop with a minimal white background, 4 steps is fine for speed."}],"resultDescription":"Returns a JSON object containing the base64-encoded 1024x1024 JPEG image (imageBase64), the content type ('image/jpeg'), the model identifier, the number of diffusion steps used, and the original prompt echoed back.","failureModes":["Prompt too short (<3 chars) or too long (>800 chars) returns a validation error","Steps value outside 1-8 range returns a parameter error","Payment failure (insufficient USDC balance or card credits) returns 402 Payment Required","Model inference timeout on complex prompts may return a 5xx error","Empty or nonsensical prompt may produce a low-quality or blank image"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.03/call) AI-generated image in a standard 1024x1024 JPEG format within an agent workflow, with no account setup required. It is ideal for single-image generation tasks where FLUX.1 schnell's speed-optimized diffusion model is sufficient. Prefer alternatives if you need larger resolutions, vector output, style-consistent series, or non-JPEG formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T22:25:05.101Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-flux-1-schnell-ai-image-c5f72574"}