{"uid":"cap_yEwyn47IoqUZQOszFHOVC","slug":"image-generation-from-prompt-9a6bd98f","name":"Image Generation from Prompt","description":"Generate an image from a text prompt: pass a description, get a JPEG plus sha256. No API key, no signup.","url":"https://llmrt-companion.manhliemcn4euwlu.workers.dev/image-generation-402?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["order_id"],"properties":{"width":{"type":"string"},"height":{"type":"string"},"prompt":{"type":"string"},"order_id":{"type":"string"}},"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.004793","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.004866/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004866","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004866","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zzGoekP2i_8fsLMrNuwEG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004866","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 and returns the image along with its SHA-256 hash, with no API key required.","exampleAgentPrompt":"Generate an image of a serene mountain lake at sunset with pine trees reflecting in the water — make it 1024 pixels wide and 768 pixels tall.","exampleUseCases":[{"title":"Blog post hero image creation","prompt":"Create an image of a futuristic city skyline at night with neon lights and flying cars, 1200 pixels wide and 630 pixels tall, for a blog post header."},{"title":"Product concept visualization","prompt":"Generate a 512x512 image of a sleek minimalist coffee mug on a wooden table with soft morning light and steam rising from it."},{"title":"Fantasy character illustration","prompt":"Make an image of an elven archer standing in an enchanted forest with glowing fireflies all around, 800 pixels wide and 1000 pixels tall."}],"resultDescription":"Returns a JPEG image binary generated from the provided text prompt, along with its SHA-256 hash for integrity verification. The image dimensions can be customized via width and height parameters.","failureModes":["Missing or empty prompt returns an error","Invalid or non-numeric width/height values may cause generation failure","Payment not completed (missing or invalid order_id) results in 402 Payment Required","Prompt describes content that violates content policies, resulting in a rejection","Very long or complex prompts may time out or produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call text-to-image generation with no API key or account signup required. It is ideal for lightweight agent workflows that need occasional image generation billed via x402 micropayments, and when SHA-256 hash verification of the output is useful for integrity checking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T20:55:16.853Z","isFirstParty":false,"canonicalSlug":"image-generation-from-prompt-9a6bd98f"}