{"uid":"cap_WGIakFEX6cv-vB4UIVeX7","slug":"agishub-text-to-image-generator-e480de73","name":"AGISHub Text-to-Image Generator","description":"Generate an image from a text prompt (returned base64-encoded PNG).","url":"https://api.agishub.com/paid/generate-image","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"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, default 4). More = higher quality but slower."},"prompt":{"type":"string","minLength":1,"description":"Text description of the image to generate."}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"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_hnTdCl0r-uR44kNyaLedw","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":"Can you generate an image of a serene mountain lake at sunset with golden reflections on the water, using 6 diffusion steps for higher quality?","exampleUseCases":[{"title":"Product mockup for e-commerce listing","prompt":"Generate an image of a sleek minimalist white ceramic coffee mug on a wooden table with soft morning light, use 8 diffusion steps for the best quality."},{"title":"Fantasy concept art for game design","prompt":"Create an image of a dark fantasy castle perched on a floating island surrounded by storm clouds and lightning, 6 diffusion steps please."},{"title":"Quick social media illustration","prompt":"Make me a fun, colorful image of a cartoon robot waving hello in a futuristic city, 4 diffusion steps is fine since I just need a quick draft."}],"resultDescription":"A JSON object containing the generated image as a base64-encoded PNG string, ready to be decoded and rendered or saved as an image file.","failureModes":["Empty or missing prompt parameter returns a validation error","Diffusion steps value outside 1-8 range returns a parameter error","Very long or complex prompts may produce unexpected or degraded results","Payment not provided or insufficient USDC balance results in a 402 Payment Required response","Server-side generation timeout for highly complex prompts"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call AI image generation capability without managing API keys or model infrastructure, especially in agentic workflows where x402 micropayment support is required. It is well-suited for low-volume, on-demand image creation with adjustable quality via diffusion steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:39:55.902Z","isFirstParty":false}