{"uid":"cap_E8k03KBkyJb2qoMWUmkrG","slug":"sitecheck-api-image-generation-157d57f8","name":"SiteCheck API – Image Generation","description":"Pay-per-call tools for AI agents: image generation, speech-to-text, text-to-speech, embeddings, LLM chat, website audits and contact enrichment. Plus prediction-market search, briefs, quotes and unsigned buy transactions, powered by Panta. Payment: x402, USDC on Base, Solana or Arc. No signup, no API key.","url":"https://api.sitecheck-api.workers.dev/api/image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"steps":{"type":"integer","description":"1-8, default 4"},"prompt":{"type":"string","description":"Up to 2048 chars"}}},"responseSchema":{"type":"json","example":{"mime":"image/jpeg","model":"@cf/black-forest-labs/flux-1-schnell","image_base64":"/9j/4AAQ..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GELZ2Hywsk22Uc0736H7l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a JPEG image from a text prompt using Cloudflare Workers AI (Flux 1 Schnell), returning base64-encoded image data","exampleAgentPrompt":"Generate an image of a sunlit coastal café with outdoor seating and colorful umbrellas, using 6 diffusion steps for higher quality.","exampleUseCases":[{"title":"Product mockup for e-commerce listing","prompt":"Create an image of a sleek black wireless headphone floating on a white background with soft shadows, use 6 steps for a clean look."},{"title":"Blog post hero illustration","prompt":"Generate an image of a futuristic city skyline at dusk with neon lights and flying cars for my tech blog post — use 8 steps for the best quality."},{"title":"Social media visual content","prompt":"Make me an image of a cozy coffee shop interior with warm lighting and a latte art close-up, 4 steps is fine for a quick draft."}],"resultDescription":"Returns a JSON object containing the MIME type ('image/jpeg'), the model used ('cf/black-forest-labs/flux-1-schnell'), and the full base64-encoded JPEG image string ready for decoding or embedding in an img tag.","failureModes":["Prompt exceeds 2048 characters — request rejected","Steps value outside 1–8 range — validation error","Payment not included or insufficient USDC balance — 402 Payment Required response","Cloudflare Workers AI upstream failure — 500 or timeout error","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a low-cost ($0.005 USDC), no-signup, pay-per-call image generation API that accepts a text prompt and returns a base64 JPEG. It is ideal for agents that already use x402/USDC on Base for payments and want a fast Flux 1 Schnell generation without OAuth or API key management. Prefer alternatives if you need PNG output, higher resolution control, style presets, or image-to-image capabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:11:42.392Z","isFirstParty":false,"canonicalSlug":"sitecheck-api-image-generation-157d57f8"}