{"uid":"cap_NdfNJENh0ljAq_IHxKDnJ","slug":"molcloud-ai-image-generation-flux-schnell-c05b17dd","name":"MolCloud AI Image Generation (Flux Schnell)","description":"41 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.","url":"https://api.molcloud.net/api/ai/image-gen?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"steps":{"type":"integer","default":4,"description":"Diffusion steps (1-8, default: 4)"},"prompt":{"type":"string","description":"Detailed text prompt describing the image to generate"}}},"responseSchema":{"type":"json","example":{"data":{"model":"@cf/black-forest-labs/flux-1-schnell","imageDataUrl":"data:image/png;base64,..."},"status":"success","endpoint":"/api/ai/image-gen"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uRlraGeE-h_-BV8e3vyDj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using Black Forest Labs Flux-1-Schnell via Cloudflare Workers AI, paid per-request in USDC via x402.","exampleAgentPrompt":"Generate an image of a futuristic cityscape at sunset with neon lights and flying cars, using 6 diffusion steps for higher quality.","exampleUseCases":[{"title":"AI art for blog content","prompt":"Create an image of a serene Japanese zen garden with cherry blossoms and a koi pond for my travel blog article, using 4 diffusion steps."},{"title":"Product concept visualization","prompt":"Generate a photo-realistic image of a sleek black wireless headphone floating on a white background, 6 diffusion steps, for my product mockup."},{"title":"Fantasy game character art","prompt":"Make an image of an armored elven warrior queen standing in a glowing forest at night, 8 diffusion steps for maximum detail."}],"resultDescription":"A JSON object containing a base64-encoded PNG data URL of the generated image (data:image/png;base64,...), the model name (@cf/black-forest-labs/flux-1-schnell), a success status, and the endpoint path. The image can be decoded and used directly in web or app contexts.","failureModes":["Invalid or missing prompt returns a 400 error","Steps value outside 1-8 range may cause validation failure or clamping","Payment failure via x402 (insufficient USDC balance or misconfigured wallet) returns 402","Network timeouts on the edge worker for very complex prompts","Empty or nonsensical prompt may produce a low-quality or blank image"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap ($0.008 USDC) AI image generation with pay-per-request crypto settlement and no subscription required. Ideal for autonomous agents that need occasional image generation without managing API keys or monthly billing. Prefer over OpenAI DALL-E or Stability AI when operating in a Web3/x402 payment environment on Base chain. Best for quick concept images with 1-8 diffusion steps rather than ultra-high-fidelity renders.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:41:02.478Z","isFirstParty":false,"canonicalSlug":"molcloud-ai-image-generation-flux-schnell-c05b17dd"}