{"uid":"cap_seT39i-xPRGmDvRZcZk3l","slug":"cluster-protocol-image-generation-0bf52141","name":"Cluster Protocol Image Generation","description":"Liberation Engine for Internet Capital Market","url":"https://api.clusterprotocol.ai/v1/images/generations?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"input":{"type":"object","required":["model","prompt"],"properties":{"n":{"type":"integer","maximum":4,"minimum":1},"size":{"type":"string","description":"Dimensions (e.g. '1024x1024')"},"model":{"type":"string","description":"Image model slug"},"prompt":{"type":"string","description":"Text prompt describing the image"}}},"output":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"b64_json":{"type":"string"}}}}}},"properties":{"input":{"required":["method"],"properties":{"method":{"enum":["POST"],"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_ouVPRwOJmBVcHpF4aXnoY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using selectable image models, returning image URLs or base64 JSON","exampleAgentPrompt":"Using Cluster Protocol, generate 2 images of a futuristic cityscape at sunset with neon lights reflecting on wet streets, using the stable-diffusion model at 1024x1024.","exampleUseCases":[{"title":"AI concept art for game design","prompt":"Generate 4 images of a dark fantasy dungeon with glowing runes on the walls and a stone altar in the center, using the best available model at 1024x1024."},{"title":"Product mockup visualization","prompt":"Create an image of a sleek black coffee mug sitting on a minimalist wooden desk with soft morning light, dimensions 1024x1024, just 1 image."},{"title":"Social media visual content creation","prompt":"Generate a vibrant image of a tropical beach at golden hour with palm trees and crystal-clear water for an Instagram post, 1024x1024 size, 1 image."}],"resultDescription":"Returns a JSON object containing a data array where each element has either a url field (public link to the generated image) or a b64_json field (base64-encoded image data), corresponding to the number of images requested.","failureModes":["Invalid or unsupported model slug returns an error","Prompt that violates content policy may be rejected","n outside the 1–4 range causes a validation error","Malformed size string (not in WxH format) may cause failure","Payment failure or insufficient USDC balance blocks the call","Overly long or complex prompts may be truncated or rejected"],"whenToPreferThis":"Choose this endpoint when you need programmatic image generation via the x402 micropayment protocol (USDC per call) and want flexibility to specify model slug, image count (1-4), and output dimensions. It is well-suited for agent workflows that need to generate images on demand without a subscription, paying only per generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:06:40.538Z","isFirstParty":false,"canonicalSlug":"cluster-protocol-image-generation-0bf52141"}