{"uid":"cap_XkaN5rYRKpB4Lw0zgKS__","slug":"text-to-image-generation-flux-1-schnell-0154788c","name":"Text-to-Image Generation (FLUX.1 schnell)","description":"Generates a 1024x1024 JPEG from a text prompt with FLUX.1 [schnell] in about 2 seconds. Returns a hosted image URL valid for 24 hours that you can hand straight to the next tool; add inline=true to also get the base64. Choose 1-8 diffusion steps (default 4). You are only charged if the image is delivered. No API key, no account.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image","method":"POST","headers":{},"bodySchema":null,"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_JGHFCUmn6huY9qy-xe6LM","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 1024x1024 JPEG image from a text prompt using the FLUX.1 schnell diffusion model, returning a hosted URL and optionally base64 data.","exampleAgentPrompt":"Generate an image of a golden retriever puppy sitting in a field of sunflowers at sunset, using 6 diffusion steps, and give me both the hosted URL and the base64 so I can embed it.","exampleUseCases":[{"title":"Marketing visual from product description","prompt":"Create a 1024x1024 image of a sleek black coffee mug on a minimalist white desk with soft morning light — use 6 diffusion steps and return the hosted URL so I can drop it into our ad campaign."},{"title":"Children's story illustration","prompt":"Generate an illustration of a friendly dragon reading a book under a giant oak tree in an enchanted forest, 4 diffusion steps, and include the base64 so I can embed it directly in the story app."},{"title":"Concept art for game design","prompt":"Make a detailed fantasy landscape with snow-capped mountains, a glowing blue river, and a lone castle on a cliff — 8 diffusion steps for maximum quality — and give me the image URL."}],"resultDescription":"Returns a hosted JPEG image URL valid for 24 hours at 1024x1024 resolution. If inline=true is passed, also returns the base64-encoded image data. The response includes the image URL ready to pass to downstream tools.","failureModes":["Invalid or empty prompt returns an error with no image generated","Steps value outside 1-8 range may be rejected or clamped","Hosted URL expires after 24 hours — agent must use image within that window","Transient worker errors may return a 5xx with no image delivered (no charge in that case)","Extremely long or complex prompts may produce unexpected outputs"],"whenToPreferThis":"Choose this endpoint when you need a fast (≈2 second), low-cost ($0.01 USDC) AI image generation with no API key or account setup required. It is ideal for agents that need to produce a ready-to-use hosted image URL on the fly. Prefer it over heavier alternatives when turnaround speed and zero-signup frictionless access matter more than maximum image quality or fine-tuning control.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:26.879Z","isFirstParty":false}