Welcome
Welcome to the comprehensive documentation for AKBXR AI API - a powerful OpenAI-compatible API platform that provides access to cutting-edge AI models through a simple, unified interface.
Overview
Our API provides seamless access to advanced AI models through an OpenAI-compatible interface. Whether you're building chatbots, content generators, or intelligent applications, our API makes it easy to integrate AI capabilities into your projects.
Quick Start
Get up and running with our API in minutes
Authentication
Learn how to authenticate your API requests
Chat Completions
Generate conversational AI responses
Code Examples
Implementation examples in multiple languages
Base URL:
https://api.akbxr.com/v1
API Endpoints
Endpoint | Method | Description |
---|---|---|
/chat/completions | POST | Generate chat completions |
Response Format
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "Hello! How can I help you today? 😊",
"padding": "ab",
"role": "assistant"
}
}
],
"id": "chatcmpl-BsUHauKz8BExyFxRJTp751pdXwbb8",
"usage": {
"completion_tokens": 11,
"prompt_tokens": 11,
"prompt_tokens_details": {
"cached_tokens": 0
},
"total_tokens": 22
},
"model": "auto",
"system_fingerprint": "fp_07e970ab25"
}
Quick Start
Get started with our API in just a few steps:
Get Your API Key
Use the free beta key: UNLIMITED-BETA
(no signup required during beta)
Make Your First Request
Start generating AI responses with a simple API call:
import OpenAI from "openai";
const openai = new OpenAI({
baseURL: "https://api.akbxr.com/v1",
apiKey: "YOUR_API_KEY",
});
const completion = await openai.chat.completions.create({
messages: [{ role: "user", content: "Hello, AI!" }],
model: "auto",
});
console.log(completion.choices[0].message.content);
import openai
openai.api_key = "YOUR_API_KEY"
openai.api_base = "https://api.akbxr.com/v1"
response = openai.ChatCompletion.create(
model="auto",
messages=[{"role": "user", "content": "Hello, AI!"}]
)
print(response.choices[0].message.content)
curl -X POST https://api.akbxr.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "auto",
"messages": [{"role": "user", "content": "Hello, AI!"}],
"stream": false
}'
Key Features
- 🔗 OpenAI Compatible: Drop-in replacement for OpenAI's API
- 🚀 Fast Response Times: Optimized for low latency
- 🖼️ Vision Support: Analyze images with AI models
- 📡 Streaming: Real-time response streaming
- 🔄 Auto Model Selection: Intelligent model routing
- 💰 Free Beta: No cost during beta period
Supported Features
Chat Completions
Generate conversational responses with support for:
- Text-only conversations
- Image analysis and description
- System messages for behavior control
- Streaming responses
Model Capabilities
- Auto Model Selection: Automatically choose the best model for your request
- Vision Capabilities: Analyze and describe images
- Context Awareness: Maintain conversation context
- Temperature Control: Adjust response creativity
Getting Help
- 📚 Documentation: Browse our comprehensive guides
- 💬 Examples: Check out practical implementation examples
- 🔧 Troubleshooting: Common issues and solutions
Ready to get started? Check out our Quick Start Guide or explore the API Reference.