DOCUMENTATION

Build with Nile AI.

Everything you need to integrate African language AI into your product.

Quickstart

Get an Amharic AI response in under 30 seconds. Works with Python, Node.js, Go, Rust, or curl.

1. Get your API key

Sign up at nileai.com to receive your API key.

export NILE_API_KEY=nk_live_your_key_here

2. Install any OpenAI-compatible SDK

# Python
pip install openai

# Node.js
npm install openai

# Or use any HTTP client — curl, Go, Rust, etc.

3. Send a request

from openai import OpenAI

client = OpenAI(
    base_url="https://api.nileai.com/v1",
    api_key="nk_live_..."
)

response = client.chat.completions.create(
    model="nile-amharic-8b",
    messages=[{"role": "user", "content": "\u1230\u120B\u121D! \u12A5\u1295\u12F0\u121D\u1295 \u1290\u12CE\u1275?"}]
)
print(response.choices[0].message.content)