{"uid":"cap_oHL3AjUEaX4Uul1pAP2EK","slug":"agishub-image-generation-daae7b68","name":"AGISHub Image Generation","description":"Generate an image from a text prompt (returned base64-encoded PNG).","url":"https://api.agishub.com/v1/generate-image","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"enum":["http"],"type":"string"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"steps":{"type":"integer","maximum":8,"minimum":1,"description":"Diffusion steps (1-8, default 4). More = higher quality but slower."},"prompt":{"type":"string","minLength":1,"description":"Text description of the image to generate."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"result":"Generate an image from a text prompt (returned base64-encoded PNG)."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FwBYcBMx-A_NhUu3Xe6Xl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a PNG image from a text prompt using diffusion, returning it base64-encoded.","exampleAgentPrompt":"Generate an image of a golden retriever playing fetch on a sunny beach, using 6 diffusion steps for higher quality.","exampleUseCases":[{"title":"Illustrate a blog post hero image","prompt":"Create an image of a futuristic city skyline at dusk with neon lights reflecting on rain-soaked streets — use 6 diffusion steps for a detailed result."},{"title":"Generate product concept art","prompt":"Generate an image of a sleek minimalist wireless headphone floating against a white background, high quality with 8 diffusion steps."},{"title":"Quick visual for a social post","prompt":"Make me an image of a cozy autumn coffee shop interior with warm lighting and falling leaves outside the window, 4 steps is fine for speed."}],"resultDescription":"A JSON object containing the generated image as a base64-encoded PNG string, ready to decode and display or save to disk.","failureModes":["Empty or missing prompt returns a 400 error","Steps value outside 1–8 range returns a 400 validation error","Payment not provided or insufficient triggers a 402 response","Prompt may be rejected if it violates content policies","Timeout possible for high step counts under heavy server load"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call text-to-image generation without managing model infrastructure. It is ideal for agents that occasionally need to produce images on demand and want a simple GET-based interface returning base64 PNG. The 1–8 diffusion steps parameter allows trading speed for quality. Prefer alternatives if you need high-resolution outputs, fine-tuned style control, or image-to-image workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:08:09.636Z","isFirstParty":false}