Quick Start
Create an API key, install the SDK, and make your first request in four steps.
This guide takes you from a new account to your first Amharic response. Prefer to experiment without code first? Use the Playground guide.
Create an API key
- Open the API Keys Dashboard.
- Click Create API Key.

- Name your key (e.g.,
Addis AI App) in the popup window.

Important
You will see a key starting with sk_.... Copy this now.
You will not be able to see it again after closing the window.

Install the SDK and set your key
Keep the key on your server. The SDK reads it from ADDIS_API_KEY.
npm install addisai
export ADDIS_API_KEY="your_api_key"pip install addisai
export ADDIS_API_KEY="your_api_key"export ADDIS_API_KEY="your_api_key"Make your first request
import AddisAI from "addisai";
const addis = new AddisAI();
const response = await addis.chat.completions.create({
messages: [{
role: "user",
content: "ሰላም፣ ኢትዮጵያ ውስጥ ስንት ክልሎች አሉ?",
}],
});
console.log(response.choices[0].message.content);node index.mjsfrom addisai import AddisAI
addis = AddisAI()
response = addis.chat.completions.create(
messages=[{
"role": "user",
"content": "ሰላም፣ ኢትዮጵያ ውስጥ ስንት ክልሎች አሉ?",
}],
)
print(response["choices"][0]["message"]["content"])python main.pycurl https://api.addisassistant.com/api/v1/chat_generate \
-H "Content-Type: application/json" \
-H "x-api-key: $ADDIS_API_KEY" \
-d '{
"prompt": "ሰላም፣ ኢትዮጵያ ውስጥ ስንት ክልሎች አሉ?",
"target_language": "am"
}'Check the response
The SDK prints the model's answer. Wording varies between runs:
በአሁኑ ጊዜ በኢትዮጵያ ውስጥ 12 ክልሎች አሉ።...cURL returns the native JSON response, with the answer in response_text. See API overview for every response shape.
Next steps
Text Generation
Multi-turn chat, system instructions, function calling, and streaming.
Text-to-Speech
Generate your first Addis Voices 2 clip in Amharic, Afaan Oromo, Tigrinya, Swahili, Hausa, Sidama or Wolaytta.
Speech-to-Text
Transcribe Amharic, Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta and Swahili audio.
Translation
Translate between Amharic, Afaan Oromo, and English.
Realtime API
Build low-latency, interruption-capable voice conversations over WebSockets.
SDKs
Configure the Node.js and Python SDKs.
Last updated on