Everything you need to integrate FullAI into your application.
Sign up at fullai.com/signup and create an API key from your dashboard.
Using curl:
curl https://fullai.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fullai-1",
"messages": [{"role": "user", "content": "Hello!"}]
}'FullAI is OpenAI-compatible. Just change the base URL:
from openai import OpenAI
client = OpenAI(
base_url="https://fullai.com/api/v1",
api_key="sk-full_your_key_here"
)
response = client.chat.completions.create(
model="fullai-1",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)https://fullai.com/api/v1Include your API key in the Authorization header:
Authorization: Bearer sk-full_your_key_here/chat/completionsCreate a chat completion.
{
"model": "fullai-1", // Required: Model ID
"messages": [ // Required: Array of messages
{
"role": "system", // "system", "user", or "assistant"
"content": "You are helpful"
},
{
"role": "user",
"content": "Hello!"
}
],
"temperature": 0.7, // Optional: 0-2, default 0.7
"max_tokens": 4096, // Optional: Max tokens to generate
"stream": false, // Optional: Enable streaming
"top_p": 1, // Optional: Nucleus sampling
"stop": ["\n"] // Optional: Stop sequences
}{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1699000000,
"model": "fullai-1",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 10,
"completion_tokens": 15,
"total_tokens": 25
}
}/modelsList available models.
{
"object": "list",
"data": [
{"id": "fullai-1", "object": "model", "owned_by": "fullai"},
{"id": "fullai-fast", "object": "model", "owned_by": "fullai"},
{"id": "fullai-large", "object": "model", "owned_by": "fullai"}
]
}Our most capable model. Best for complex reasoning, coding, analysis, and creative tasks.
Optimized for speed. Perfect for real-time applications, chatbots, and high-volume tasks.
Our newest and largest model. Pushing the boundaries of AI capabilities.
Enable streaming to receive partial responses as they are generated:
curl https://fullai.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fullai-1",
"messages": [{"role": "user", "content": "Tell me a story"}],
"stream": true
}'Streamed responses use Server-Sent Events (SSE):
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":"Once"}}]}
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":" upon"}}]}
data: {"id":"chatcmpl-123","choices":[{"delta":{"content":" a"}}]}
data: [DONE]| Tier | Requests/min | Tokens/day |
|---|---|---|
| Free | 10 | 10,000 |
| Starter | 60 | 100,000 |
| Pro | 120 | 1,000,000 |
| Enterprise | 1,000+ | Unlimited |
Errors are returned in a standard format:
{
"error": {
"message": "Invalid API key",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}401Invalid or missing API key429Rate limit exceeded400Invalid request body500Internal server error