{"uid":"cap_3BLpuVnOdJ4hzNgSDaHC5","slug":"agent-data-tools-ai-image-generation-258e8253","name":"Agent Data Tools – AI Image Generation","description":"Pay-per-call tools for AI agents: web page text extraction and summaries, screenshots, image generation, speech-to-text, image description, domain and email-auth intelligence, and live Base token and wallet lookups. No account or API key; pay per request in USDC on Base via x402.","url":"https://agent-data-tools.revmesh2074.workers.dev/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":{"steps":{"type":"integer","description":"Diffusion steps, 1-8 (default 4)"},"prompt":{"type":"string","description":"What the image should show (3-800 characters)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"model":"@cf/black-forest-labs/flux-1-schnell","steps":4,"prompt":"a lighthouse on a cliff at sunset, watercolor","contentType":"image/jpeg","imageBase64":"/9j/4AAQSkZJRgABAQAAAQABAAD..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A7SID0M4fGSVExPk2qjNn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text prompt using Flux-1-Schnell diffusion model, returning a base64-encoded JPEG, paid per-call in USDC on Base via x402.","exampleAgentPrompt":"Generate an image of a futuristic city skyline at night with neon lights and flying cars, using 6 diffusion steps.","exampleUseCases":[{"title":"Blog post hero image creation","prompt":"Create an image of a cozy autumn coffee shop with warm lighting and people reading books — use 6 diffusion steps to make it look polished."},{"title":"Product concept art rendering","prompt":"Generate a concept art image of a sleek electric sports car on a mountain road at sunrise, 8 diffusion steps for maximum detail."},{"title":"Children's story illustration","prompt":"Make a whimsical watercolor illustration of a small fox wearing a wizard hat standing in an enchanted forest, 4 diffusion steps is fine."}],"resultDescription":"A JSON object containing the model identifier ('model'), number of steps used, the original prompt, content type ('image/jpeg'), and the full image encoded as a base64 JPEG string under 'imageBase64', ready to decode and display or store.","failureModes":["Missing or empty 'prompt' query parameter returns a 400 error","Prompt shorter than 3 or longer than 800 characters rejected","Steps value outside 1-8 range may cause validation error","Payment not settled in USDC on Base triggers 402 Payment Required","Cloudflare Workers AI backend unavailability causes 500/timeout","Network timeout on slow connections given inference latency"],"whenToPreferThis":"Choose this endpoint when you need no-signup, pay-per-call AI image generation billed in USDC on Base with no API key management. Ideal for autonomous AI agents that need to spin up image generation on demand without provisioning accounts. Prefer this over OpenAI DALL-E or Stability AI when you want crypto-native micropayment billing via x402 and are already operating on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:05.010Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-ai-image-generation-258e8253"}