{"ok":true,"service":"Maximus Media House — AI Agent API (x402)","route":"/v1/chat/completions","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":["qwen3.5"]},"messages":{"type":"array","minItems":1,"items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}},"required":["role","content"]}},"temperature":{"type":"number","minimum":0,"maximum":2,"default":0.7},"max_tokens":{"type":"integer","minimum":1,"default":1024,"description":"Output cap. Chat is billed FLAT $0.003/call, not per token."},"stream":{"type":"boolean","default":false}},"required":["model","messages"]}},"products":[{"model":"qwen3.5","price_usdc":"0.003000","price_micro_usdc":3000,"available":true,"payment_required":{"x402Version":2,"error":"payment_required","rejecting_layer":"payment_required","model":"qwen3.5","resource":{"url":"https://agent.maximusmediahouse.com/v1/chat/completions","mimeType":"application/json","serviceName":"Maximus Media House","tags":["image-generation","chat","x402","agents","media"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1D15aC2CAa30aBF43D45cE86eE0cB0F3C8B929F6","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","description":"OpenAI-compatible chat completion. Input: a JSON body with messages (role/content) and optional model, temperature and max_tokens. Output: a chat.completion object containing the assistant reply and token usage. Model: qwen3.5 at a flat $0.003 per call (priced per call, not per token), paid in USDC on Base.","endpoint":"https://agent.maximusmediahouse.com/v1/chat/completions","price_usdc":"0.003000","requested_network":"eip155:8453"},"usdc_contract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain_id":8453,"decimals":6}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"model":"qwen3.5","messages":[{"role":"user","content":"Explain x402 in one sentence."}],"temperature":0.7,"max_tokens":256}},"output":{"type":"json","example":{"id":"chat-1a2b3c4d5e6f7a8b","object":"chat.completion","created":1761600000,"model":"qwen3.5","choices":[{"index":0,"message":{"role":"assistant","content":"x402 settles stablecoin micropayments per HTTP request."},"finish_reason":"stop"}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}}}},"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":["qwen3.5"]},"messages":{"type":"array","minItems":1,"items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}},"required":["role","content"]}},"temperature":{"type":"number","minimum":0,"maximum":2,"default":0.7},"max_tokens":{"type":"integer","minimum":1,"default":1024,"description":"Output cap. Chat is billed FLAT $0.003/call, not per token."},"stream":{"type":"boolean","default":false}},"required":["model","messages"]}},"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"}}