{"ok":true,"service":"Maximus Media House — AI Agent API (x402)","route":"/v1/images/edits","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":["qwen-image-edit-2511"]},"prompt":{"type":"string","minLength":1,"maxLength":1200,"description":"Instruction applied to the source image (identity/composition preserved)."},"image":{"type":"string","description":"Source image as base64 PNG/JPEG (no data: prefix)."},"image_url":{"type":"string","format":"uri","description":"Public https URL of the source image (SSRF-guarded). Send exactly one of image / image_url."},"size":{"type":"string","enum":["1024x1024","768x768","512x512"],"default":"1024x1024"},"seed":{"type":"integer","minimum":0,"maximum":4294967295},"response_format":{"type":"string","enum":["b64_json","url"],"default":"b64_json"}},"required":["model","prompt"]}},"products":[{"model":"qwen-image-edit-2511","price_usdc":"0.020000","price_micro_usdc":20000,"available":true,"payment_required":{"x402Version":2,"error":"payment_required","rejecting_layer":"payment_required","model":"qwen-image-edit-2511","resource":{"url":"https://agent.maximusmediahouse.com/v1/images/edits","mimeType":"application/json","serviceName":"Maximus Media House","tags":["image-generation","chat","x402","agents","media"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1D15aC2CAa30aBF43D45cE86eE0cB0F3C8B929F6","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","description":"Reference-conditioned image edit. Input: a JSON body with a source image (base64 bytes or a public https URL) and a text instruction. Output: the edited image with the source identity and composition preserved, as inline base64 PNG or a signed URL. Model: qwen-image-edit-2511 at $0.02 per call, paid in USDC on Base.","endpoint":"https://agent.maximusmediahouse.com/v1/images/edits","price_usdc":"0.020000","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":"qwen-image-edit-2511","prompt":"change the jacket to bright red, keep the face and pose","image":"<base64 PNG or JPEG bytes>","size":"1024x1024"}},"output":{"type":"json","example":{"id":"edit-7b2e4d10","object":"images","created":1761600000,"model":"qwen-image-edit-2511","usage":{"images":1},"data":[{"seed":7,"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":["qwen-image-edit-2511"]},"prompt":{"type":"string","minLength":1,"maxLength":1200,"description":"Instruction applied to the source image (identity/composition preserved)."},"image":{"type":"string","description":"Source image as base64 PNG/JPEG (no data: prefix)."},"image_url":{"type":"string","format":"uri","description":"Public https URL of the source image (SSRF-guarded). Send exactly one of image / image_url."},"size":{"type":"string","enum":["1024x1024","768x768","512x512"],"default":"1024x1024"},"seed":{"type":"integer","minimum":0,"maximum":4294967295},"response_format":{"type":"string","enum":["b64_json","url"],"default":"b64_json"}},"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"}}