{"uid":"cap_X_pJIXFye52GESWO-_-KX","slug":"flux-1-ai-image-generator-onchaincheck-dev-b75785c6","name":"FLUX.1 AI Image Generator (onchaincheck.dev)","description":"Generate an image from a text prompt with FLUX.1 [schnell]: a 1024x1024 JPEG returned as base64 in JSON. Optional steps (1-8, default 4) and seed for repeatable results.","url":"https://onchaincheck.dev/ai/image?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":{"seed":{"type":"string","pattern":"^\\d{1,10}$","description":"Seed for a repeatable image"},"steps":{"type":"string","pattern":"^[1-8]$","description":"Diffusion steps 1-8 (default 4)"},"prompt":{"type":"string","pattern":"^[\\s\\S]{1,1000}$","description":"What to draw, up to 1,000 characters"}},"additionalProperties":false}},"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_E1bkokOxe01eUTb-JtMS2","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 FLUX.1 [schnell], returned as base64-encoded JSON, with optional diffusion steps and seed for reproducibility.","exampleAgentPrompt":"Can you generate an image of a futuristic city skyline at sunset with neon lights reflecting on wet streets — use 8 diffusion steps and seed 42 so I can reproduce it later?","exampleUseCases":[{"title":"AI artwork for a blog post","prompt":"Generate an image of a serene Japanese zen garden with cherry blossom trees and a koi pond at dawn — use 6 steps for good quality."},{"title":"Reproducible product concept visual","prompt":"Create a picture of a sleek electric sports car on a mountain road at dusk, using seed 1234 and 8 steps so I get the same image every time I run it."},{"title":"Quick logo concept sketch","prompt":"Generate an image of a minimalist wolf logo on a dark background, 4 steps is fine, I just need a rough concept fast."}],"resultDescription":"A JSON object containing a base64-encoded 1024x1024 JPEG image generated from the prompt. The agent can decode the base64 string to obtain the raw image bytes for display, storage, or further processing.","failureModes":["Missing required 'prompt' parameter returns an error","Prompt exceeding 1,000 characters is rejected","Steps value outside 1-8 range is rejected","Seed value exceeding 10 digits is rejected","Payment failure (x402 protocol) if USDC balance is insufficient","Upstream FLUX.1 model timeout or unavailability"],"whenToPreferThis":"Choose this endpoint when you need fast, low-cost ($0.01 USDC) AI image generation via FLUX.1 [schnell] with reproducibility via seed control, especially in agentic or x402-payment-enabled workflows. It is ideal when you want a simple GET-based API returning base64 JSON without managing complex diffusion infrastructure. Prefer alternatives if you need higher resolution, style fine-tuning, image-to-image, or non-FLUX models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T15:50:46.525Z","isFirstParty":false,"canonicalSlug":"flux-1-ai-image-generator-onchaincheck-dev-b75785c6"}