Airento API

Integrate AI capabilities into your app effortlessly

Overview

The Airento API provides intelligent chat completions using a fixed AI model: LLaMA-3.3-70B-Instruct. The endpoint is secured with a Bearer token valid for 7 days. Contact the Airento team to get your access key.

Endpoint

POST https://demo.airento.site/api/v1

Headers

Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

Request Body

{
  "messages": [
    { "role": "user", "content": "Hello, how are you?" }
  ],
  "max_tokens": 100
}

Response Example

{
  "id": "unique_id",
  "object": "chat.completion",
  "created": 123456789,
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "I'm just an AI, but I'm doing great! How can I assist you today?"
      }
    }
  ]
}

Code Examples

curl -X POST https://demo.airento.site/api/v1 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "messages": [
      { "role": "user", "content": "Hello, how are you?" }
    ],
    "max_tokens": 100
}'