Waguri API
Created by Jay Mar
Try It Out
Loading...
Response will appear here...
GET /waguri/models
Returns a list of all available models.
Sample (cURL)
curl https://chatcompletion.ooguy.com/models
Response
{
"author": "Jay Mar",
"models": [
{ "id": "gpt-4o", "owned_by": "openai" },
{ "id": "grok-3", "owned_by": "x.ai" },
{ "id": "deepseek-r1", "owned_by": "deepseek" },
{ "id": "claude-opus-4-20250514", "owned_by": "anthropic" }
]
}
POST /waguri/chat
Send a prompt to a specific model and get a response.
Request
{
"model": "gpt-4o",
"prompt": "What is the capital of Japan?"
}
Sample (Node.js)
const axios = require("axios");
axios.post("https://chatcompletion.ooguy.com/chat", {
model: "gpt-4o",
prompt: "What is the capital of Japan?"
}).then(res => console.log(res.data));
Sample (Python)
import requests
url = "https://chatcompletion.ooguy.com/chat"
payload = {
"model": "gpt-4o",
"prompt": "What is the capital of Japan?"
}
response = requests.post(url, json=payload)
print(response.json())
Sample (JavaScript - Fetch)
fetch("https://chatcompletion.ooguy.com/chat", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: "gpt-4o",
prompt: "What is the capital of Japan?"
})
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
Response
{
"author": "Jay Mar",
"model": "gpt-4o",
"response": "The capital of Japan is Tokyo."
}