{"uid":"cap_SHRdm4geK3bMWbwtMd4Gj","slug":"three-ws-openai-compatible-chat-api-for-3d-ai-agents-b55201c7","name":"three.ws OpenAI-Compatible Chat API for 3D AI Agents","description":"Make a 3D AI agent from a selfie in 60 seconds. Drop one HTML tag to embed it on any website. Agents think on IBM watsonx.ai (Granite); optionally charge per chat with built-in micropayments.","url":"https://three.ws/api/v1/x/openai/chat","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JWzUabUzUDdcXp32xN1I6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat message to a 3D AI agent powered by IBM watsonx.ai (Granite), returning a conversational response via an OpenAI-compatible endpoint with per-call micropayment billing.","exampleAgentPrompt":"Chat with my three.ws 3D AI agent — send it the message 'What services do you offer?' and get the agent's response back; this is a POST with a JSON body and I'm okay paying the $0.005 USDC per-call fee.","exampleUseCases":null,"resultDescription":"A JSON object containing the AI agent's conversational reply, formatted in an OpenAI-compatible chat completion structure, generated by IBM watsonx.ai Granite running under the three.ws 3D agent layer.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Malformed request body missing required fields (input, type, method, bodyType, body) — returns 400 Bad Request","Invalid method enum value (not POST/PUT/PATCH) — returns 400 validation error","Agent not found or misconfigured — returns 404 or 500","watsonx.ai backend unavailable — returns 503 or timeout","Invalid bodyType enum value — returns 400 validation error"],"whenToPreferThis":"Choose this endpoint when you need to interact conversationally with a three.ws 3D AI agent that is embedded on a website, especially when the agent was created from a selfie and powered by IBM watsonx.ai Granite. Prefer this over generic OpenAI endpoints when you need the micropayment-gated x402 billing model or when integrating with a 3D avatar-based agent experience.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:15.027Z","isFirstParty":false}