{"uid":"cap_RJT-RFqQ-BED7nzpjjKkR","slug":"blackwood-state-ai-image-generator-flux-1-schnell-aa772f9e","name":"Blackwood State AI Image Generator (FLUX.1 schnell)","description":"Use when you need image generation or text to image from a prompt for illustrations or mockups. Do not use for image edits, specific sizes, photos of real people or more than one image per call. Returns JSON with a 1024x1024 JPEG generated from a text prompt by FLUX.1 schnell on Workers AI, as base64 for 0.03 USDC per call. Asynchronous: the paid call returns a jobId and a free pollUrl; typical job time 10000 ms (p95). Category: Media.","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/image-gen?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"steps":{"type":"integer","maximum":8,"minimum":1,"description":"Diffusion steps (1-8, 4 when omitted); more steps, more detail"},"prompt":{"type":"string","maxLength":2048,"minLength":3,"description":"What the image should show, in English, e.g. a lighthouse on a cliff at sunset, watercolor"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["jobId","pollUrl","expiresAt","status"],"properties":{"next":{"type":"object","required":["service","tool","method","url","useWhen","sample"],"properties":{"url":{"type":"string","description":"Paid route of the next call"},"tool":{"type":"string","description":"MCP tool name of the same call"},"method":{"enum":["GET","POST"],"type":"string"},"sample":{"type":"string","description":"Free fixed sample of the whole family"},"service":{"type":"string","description":"Service id of the suggested next paid call"},"useWhen":{"type":"string","description":"When the next call is the right one"}},"description":"Suggested next paid call in the same family (call it in a loop when the task continues)","additionalProperties":false},"jobId":{"type":"string","maxLength":100,"minLength":1},"status":{"type":"string","const":"queued"},"pollUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"string","description":"ISO 8601: depois disso o resultado deixa de existir"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"jobId":"job_00000000000000000000000000000000","status":"queued","pollUrl":"https://gateway.example/v1/image-gen/jobs/job_00000000000000000000000000000000","expiresAt":"2026-01-31T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_UbG1c4XKEVM9g8PRDSuBs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"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 on Workers AI, returning a jobId and poll URL for async retrieval, at $0.03 USDC per call.","exampleAgentPrompt":"Generate an image of a lighthouse on a rocky cliff at sunset with dramatic storm clouds, watercolor style — use 6 diffusion steps for more detail.","exampleUseCases":[{"title":"UI mockup illustration for app","prompt":"Create an illustration of a friendly robot barista making coffee in a cozy futuristic café — I need it for a mobile app mockup, use 4 diffusion steps."},{"title":"Fantasy concept art for game","prompt":"Generate a fantasy landscape with a glowing crystal cave, stalactites, and an underground river, oil painting style, use 8 diffusion steps for maximum detail."},{"title":"Blog post header image","prompt":"Make me an image of a person meditating on a mountain peak at sunrise, minimal flat illustration style, 4 steps is fine."}],"resultDescription":"Returns a JSON object with a jobId (string), a pollUrl (URI) to check when the async job is done, an expiresAt ISO 8601 timestamp after which the result is no longer available, a status of 'queued', and a 'next' object suggesting how to poll for the result. The final polled result contains the 1024x1024 JPEG image encoded as base64.","failureModes":["Prompt too short (below 3 chars) or too long (above 2048 chars) returns validation error","Steps out of range (must be 1–8) returns validation error","Payment failure or insufficient USDC balance prevents job from starting","Job expiry — if the pollUrl is not checked before expiresAt, the result is lost","Slow inference — p95 job time is ~10 seconds; polling too early returns queued status"],"whenToPreferThis":"Choose this endpoint when you need a single AI-generated illustration or mockup image from a text prompt and the output does not need to be a specific non-square size, does not involve editing an existing image, does not depict a specific real person, and you only need one image per call. It is well-suited for concept art, blog illustrations, UI mockups, and creative assets where FLUX.1 schnell quality is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:45:11.983Z","isFirstParty":false,"canonicalSlug":"blackwood-state-ai-image-generator-flux-1-schnell-aa772f9e"}