A simple, powerful API that lets you integrate custom AI agents into any application
curl -X POST "https://yuzu.chat/api/agent/YOUR_AGENT_ID"
Responses in milliseconds with global edge deployment
Built by developers, for developers
Your agents remember conversations and learn from data
Security and compliance built-in
const response = await fetch("https://yuzu.chat/api/agent/YOUR_AGENT_ID", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
body: JSON.stringify({ prompt: "Your message here" })
}).then(res => res.json())
console.log(response.response)
Enable image uploads in the publishing dashboard and include files with the images
field or embed base64 data in JSON.
curl -X POST "https://yuzu.chat/api/agent/YOUR_AGENT_ID" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-F "prompt=Describe this photo" \
-F "images=@/path/to/image.jpg"
Repeat the -F "images=@..."
line to attach multiple files.
const response = await fetch("https://yuzu.chat/api/agent/YOUR_AGENT_ID", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
body: JSON.stringify({
prompt: "What do you see?",
images: [
"data:image/png;base64,BASE64_IMAGE_DATA"
]
})
}).then(res => res.json())
Provide data URLs or base64 strings. The assistant can answer with or without an accompanying text prompt.
Build AI agents that handle customer inquiries 24/7, reducing response times and support costs.
Create intelligent search experiences that understand user intent and provide relevant answers.
Integrate AI coding assistants that help developers write, debug, and optimize code.
Build agents that automate complex workflows and business processes.
Header | Description |
---|---|
Content-Type | application/json |
Authorization | Bearer YOUR_API_TOKEN |
Parameter | Type | Description |
---|---|---|
prompt | string | The message to send to the agent |
Field | Type | Description |
---|---|---|
response | string | The agent's response to the prompt |
Status Code | Description |
---|---|
400 | Invalid request body |
401 | Invalid API token |
403 | API access not enabled or origin not allowed |
404 | Agent not found |
500 | Internal server error |
Start building with the yuzu.chat API today. No complicated setup, no lengthy approval process.
Design your AI agent with custom knowledge
Generate your API token in the dashboard
Add AI capabilities to your app in minutes