Quickstart
Get started with Oxlo.ai
Get started with Oxlo.ai in under 5 minutes.
By the end of this guide, you’ll have sent your first request to an Oxlo-hosted AI model.
What you’ll do
- Create an Oxlo.ai account
- Generate an API key
- Make your first API request
1. Create an account
Sign up at:
👉 https://portal.oxlo.aiOnce you’re logged in, you’ll land on the dashboard.
2. Generate an API key
- Open the API Keys section in the dashboard
- Click Create API Key
- Copy the key and store it securely
⚠️ Treat your API key like a password.Do not expose it in client-side code or public repositories.
3. Make your first request
Oxlo.ai uses a simple HTTP-based API. Authentication is handled via a Bearer token.
Base URL
https://api.oxlo.ai/v1Example: Text generation (curl)
bash
curl https://api.oxlo.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.2-3b-instruct",
"messages": [
{ "role": "user", "content": "Explain edge AI in simple terms." }
]
}'If everything is set up correctly, you’ll receive a JSON response containing the model output.
Example response (simplified)
json
{
"id": "chatcmpl-xyz",
"model": "llama-3.2-3b-instruct",
"choices": [
{
"message": {
"role": "assistant",
"content": "Edge AI refers to running AI models closer to where data is generated..."
}
}
]
}Using the Playground (optional)
If you prefer to test without writing code:
- Open the Playground in the dashboard
- Select a model
- Enter a prompt
- Run the request
The Playground uses the same API under the hood and is a good way to inspect request and response formats.
What's next?
Now that your first request works, you can:
Was this tutorial helpful?Give Feedback