{"ok":true,"service":"Maximus Media House — AI Agent API (x402)","route":"/v1/images/generations","sell_method":"POST","note":"Read-only capability view. This route is SOLD on POST: an unpaid POST returns HTTP 402 carrying the payment requirements below. A GET is never billed and never renders.","capability":{"method":"POST","body_type":"json","input_schema":{"type":"object","properties":{"model":{"type":"string","enum":["flux3-klein","flux-2-klein-4b"],"description":"flux3-klein ($0.03, premium house-quality) or flux-2-klein-4b ($0.01, fast/cheap)."},"prompt":{"type":"string","minLength":1,"maxLength":1200,"description":"Text prompt describing the image to generate."},"n":{"type":"integer","minimum":1,"maximum":4,"default":1,"description":"Number of images (server caps at 4)."},"size":{"type":"string","enum":["1024x1024","768x768","512x512"],"default":"1024x1024"},"seed":{"type":"integer","minimum":0,"maximum":4294967295,"description":"Optional deterministic seed."},"response_format":{"type":"string","enum":["b64_json","url"],"default":"b64_json"},"refs":{"type":"array","items":{"type":"string"},"maxItems":4,"description":"Optional reference image URLs (SSRF-guarded)."}},"required":["model","prompt"]}},"products":[{"model":"flux-2-klein-4b","price_usdc":"0.010000","price_micro_usdc":10000,"available":true,"payment_required":{"x402Version":2,"error":"payment_required","rejecting_layer":"payment_required","model":"flux-2-klein-4b","resource":{"url":"https://agent.maximusmediahouse.com/v1/images/generations","mimeType":"application/json","serviceName":"Maximus Media House","tags":["image-generation","chat","x402","agents","media"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1D15aC2CAa30aBF43D45cE86eE0cB0F3C8B929F6","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","description":"Text-to-image generation. Input: a JSON body with a text prompt (optional model, size, n, seed, reference image URLs). Output: one to four generated images as inline base64 PNG or a signed URL, each with a durable content-addressed handle. Models: flux-2-klein-4b at $0.01 and flux3-klein at $0.03 per image, paid in USDC on Base.","endpoint":"https://agent.maximusmediahouse.com/v1/images/generations","price_usdc":"0.010000","requested_network":"eip155:8453","delivery":{"composable":true,"content_addressed":true,"handle_field":"data[].sha256","durable_url_field":"data[].durable_url","durable_url_template":"https://agent.maximusmediahouse.com/v1/artifacts/{sha256}","fetch":"GET — no expiry, no signature, no job id","inline_images":"set response_format=b64_json for inline base64 bytes","signed_url_ttl_s":86400,"note":"Hand data[].sha256 (or data[].durable_url) to any third party; it never expires. The 24h signed url is an optional convenience, not the only way to retrieve the output."}},"usdc_contract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain_id":8453,"decimals":6}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"model":"flux3-klein","prompt":"a red fox in a snowy pine forest, golden hour, photoreal","n":1,"size":"1024x1024","response_format":"b64_json"}},"output":{"type":"json","example":{"id":"img-3f9c1a2b","object":"images","created":1761600000,"model":"flux3-klein","usage":{"images":1},"data":[{"seed":42,"size_resolved":"1024x1024","b64_json":"<base64 PNG bytes>"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["flux3-klein","flux-2-klein-4b"],"description":"flux3-klein ($0.03, premium house-quality) or flux-2-klein-4b ($0.01, fast/cheap)."},"prompt":{"type":"string","minLength":1,"maxLength":1200,"description":"Text prompt describing the image to generate."},"n":{"type":"integer","minimum":1,"maximum":4,"default":1,"description":"Number of images (server caps at 4)."},"size":{"type":"string","enum":["1024x1024","768x768","512x512"],"default":"1024x1024"},"seed":{"type":"integer","minimum":0,"maximum":4294967295,"description":"Optional deterministic seed."},"response_format":{"type":"string","enum":["b64_json","url"],"default":"b64_json"},"refs":{"type":"array","items":{"type":"string"},"maxItems":4,"description":"Optional reference image URLs (SSRF-guarded)."}},"required":["model","prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}},{"model":"flux3-klein","price_usdc":"0.030000","price_micro_usdc":30000,"available":true,"payment_required":{"x402Version":2,"error":"payment_required","rejecting_layer":"payment_required","model":"flux3-klein","resource":{"url":"https://agent.maximusmediahouse.com/v1/images/generations","mimeType":"application/json","serviceName":"Maximus Media House","tags":["image-generation","chat","x402","agents","media"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"30000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1D15aC2CAa30aBF43D45cE86eE0cB0F3C8B929F6","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","description":"Text-to-image generation. Input: a JSON body with a text prompt (optional model, size, n, seed, reference image URLs). Output: one to four generated images as inline base64 PNG or a signed URL, each with a durable content-addressed handle. Models: flux-2-klein-4b at $0.01 and flux3-klein at $0.03 per image, paid in USDC on Base.","endpoint":"https://agent.maximusmediahouse.com/v1/images/generations","price_usdc":"0.030000","requested_network":"eip155:8453","delivery":{"composable":true,"content_addressed":true,"handle_field":"data[].sha256","durable_url_field":"data[].durable_url","durable_url_template":"https://agent.maximusmediahouse.com/v1/artifacts/{sha256}","fetch":"GET — no expiry, no signature, no job id","inline_images":"set response_format=b64_json for inline base64 bytes","signed_url_ttl_s":86400,"note":"Hand data[].sha256 (or data[].durable_url) to any third party; it never expires. The 24h signed url is an optional convenience, not the only way to retrieve the output."}},"usdc_contract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain_id":8453,"decimals":6}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"model":"flux3-klein","prompt":"a red fox in a snowy pine forest, golden hour, photoreal","n":1,"size":"1024x1024","response_format":"b64_json"}},"output":{"type":"json","example":{"id":"img-3f9c1a2b","object":"images","created":1761600000,"model":"flux3-klein","usage":{"images":1},"data":[{"seed":42,"size_resolved":"1024x1024","b64_json":"<base64 PNG bytes>"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["flux3-klein","flux-2-klein-4b"],"description":"flux3-klein ($0.03, premium house-quality) or flux-2-klein-4b ($0.01, fast/cheap)."},"prompt":{"type":"string","minLength":1,"maxLength":1200,"description":"Text prompt describing the image to generate."},"n":{"type":"integer","minimum":1,"maximum":4,"default":1,"description":"Number of images (server caps at 4)."},"size":{"type":"string","enum":["1024x1024","768x768","512x512"],"default":"1024x1024"},"seed":{"type":"integer","minimum":0,"maximum":4294967295,"description":"Optional deterministic seed."},"response_format":{"type":"string","enum":["b64_json","url"],"default":"b64_json"},"refs":{"type":"array","items":{"type":"string"},"maxItems":4,"description":"Optional reference image URLs (SSRF-guarded)."}},"required":["model","prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}}],"documentation":{"x402":"https://agent.maximusmediahouse.com/.well-known/x402","openapi":"https://agent.maximusmediahouse.com/.well-known/openapi.json","agent_card":"https://agent.maximusmediahouse.com/.well-known/agent-card.json","llms":"https://agent.maximusmediahouse.com/llms.txt"}}