Powering intelligent applications


|

Chat, voice, vision, video, code, agent, documents, database, text AI, moderation, embeddings, web intelligence, and memory β€” all through a single RESTful API. Integrate AI into any project in minutes, not months.

82 API Endpoints
15 AI Modalities
<100ms Avg Latency
99.9% Uptime SLA

Everything you need to build AI-powered applications

From conversational AI to document generation, Jamii AI provides a comprehensive suite of endpoints you can integrate with any tech stack.

AI Chat

Conversational AI powered by GPT-4o-mini with persistent history, custom system prompts, and streaming support.

POST /chat GET /chat/history POST /chat/reset PUT /chat/system-prompt

Voice Chat

Full audio pipeline β€” speech-to-text with Whisper, text-to-speech, and end-to-end audio-in/audio-out conversations.

POST /voice/audio-to-audio POST /voice/speech-to-text POST /voice/text-to-speech POST /voice/text-to-audio

Video Chat

Extract audio from videos for transcription or conversation, and describe video frames with GPT-4 Vision.

POST /video/video-to-audio POST /video/video-to-text POST /video/text-to-video-reply POST /video/video-to-description

Code Assistant

Generate, review, explain, and refactor code using AI β€” with task-specific system prompts for focused results.

POST /code/generate POST /code/review POST /code/explain POST /code/refactor

AI Agent

Autonomous task execution with built-in tools β€” the agent plans, calls tools, observes results, and iterates until complete.

POST /agent/task GET /agent/history POST /agent/reset

Image Intelligence

Describe images, answer visual questions with GPT-4 Vision, and generate images from text prompts with DALL-E 3.

POST /image/image-to-text POST /image/image-to-answer POST /image/text-to-image

Document Generation

Transform text into professional Word documents, PowerPoint presentations, and PDF files β€” ready for download.

POST /document/text-to-word POST /document/text-to-powerpoint POST /document/text-to-pdf

Database Intelligence

Ask questions in plain English β€” Jamii AI translates them to SQL, executes securely, and returns human-readable answers.

POST /db/chat GET /db/schema POST /db/query POST /db/select_for_customer GET /db/companies POST /db/select_for_company

Enterprise Auth

Four-role JWT authentication with row-level access control. Admins, companies, employees, and customers each get tailored access.

POST /auth/customer/login POST /auth/admin/login POST /auth/employee/login POST /auth/company/login

Text AI

Translate text, generate summaries, analyse sentiment, and extract structured data β€” all powered by GPT.

POST /text/translate POST /text/summarize POST /text/sentiment POST /text/extract

Content Moderation

Detect harmful, hateful, or violent content instantly with OpenAI's moderation model and detailed category scores.

POST /moderation/check

Embeddings

Generate text embeddings for semantic search, clustering, and compute cosine similarity between any two texts.

POST /embeddings/generate POST /embeddings/similarity

Web Intelligence

Fetch any public URL, extract its text content, and summarize it or answer questions about it with AI.

POST /web/summarize

Long-term Memory

Store, semantically recall, and manage persistent memories with embedding-based search for context-aware AI.

POST /memory/store POST /memory/recall POST /memory/clear

Africa Lang

African language translation & detection, voice STT/TTS, context chat, content moderation, and supported-language listing.

POST /africa/translate POST /africa/detect-language POST /africa/chat POST /africa/moderate

Africa Life

Agriculture advisory, education & exam prep, legal & business regulatory guidance, African currency formatting & conversion, and mobile money transaction parsing.

POST /africa/agriculture/ask POST /africa/education/ask POST /africa/legal/ask POST /africa/mobile-money/parse

Africa Culture

African proverbs & wisdom by theme or culture, and storytelling β€” folktales, legends, and folklore from across the continent.

POST /africa/proverbs/get POST /africa/storytelling/tell

Knowledge Base

Namespace-scoped document ingestion (text & URL) with RAG-powered Q&A β€” build custom knowledge stores for any web application.

POST /kb/ingest POST /kb/ingest-url POST /kb/query GET /kb/list POST /kb/clear

82 endpoints, one unified API

Every capability is accessible through clean, well-documented REST endpoints with JWT authentication and auto-generated Swagger docs.

AI Chat

Send messages and receive intelligent responses with full conversation context.

POST /chat Bearer
GET /chat/history Bearer
POST /chat/reset Bearer
PUT /chat/system-prompt Bearer
Python
import requests

BASE = "https://api.jamiiai.com"
headers = {"Authorization": f"Bearer {token}"}

# Send a message
resp = requests.post(
    f"{BASE}/chat",
    json={"message": "Explain quantum computing"},
    headers=headers,
)

print(resp.json()["response"])
# "Quantum computing uses qubits..."

Voice Chat

Full audio pipeline β€” transcribe speech, synthesize audio, or have complete audio conversations.

POST /voice/audio-to-audio Bearer
POST /voice/speech-to-text Bearer
POST /voice/text-to-speech Bearer
POST /voice/text-to-audio Bearer
Python
# Transcribe audio to text
with open("question.wav", "rb") as f:
    resp = requests.post(
        f"{BASE}/voice/speech-to-text",
        files={"file": f},
        headers=headers,
    )
print(resp.json()["text"])

# Text to speech
resp = requests.post(
    f"{BASE}/voice/text-to-speech",
    json={"text": "Hello world!"},
    headers=headers,
)
with open("output.mp3", "wb") as f:
    f.write(resp.content)

Video Chat

Extract audio from videos for transcription, conversation, and describe video frames with vision AI.

POST /video/video-to-audio Bearer
POST /video/video-to-text Bearer
POST /video/text-to-video-reply Bearer
POST /video/video-to-description Bearer
Python
# Transcribe video audio to text
with open("clip.mp4", "rb") as f:
    resp = requests.post(
        f"{BASE}/video/video-to-text",
        files={"file": f},
        headers=headers,
    )
print(resp.json()["text"])

# Describe a video frame
with open("clip.mp4", "rb") as f:
    resp = requests.post(
        f"{BASE}/video/video-to-description",
        files={"file": f},
        headers=headers,
    )
print(resp.json()["description"])

Code Assistant

Generate, review, explain, and refactor code with task-specific AI prompts.

POST /code/generate Bearer
POST /code/review Bearer
POST /code/explain Bearer
POST /code/refactor Bearer
Python
# Generate code from a description
resp = requests.post(
    f"{BASE}/code/generate",
    json={"description": "A function to merge two sorted lists",
          "language": "python"},
    headers=headers,
)
print(resp.json()["result"])

# Review existing code
resp = requests.post(
    f"{BASE}/code/review",
    json={"code": "def sort(arr): return sorted(arr)"},
    headers=headers,
)
print(resp.json()["result"])

AI Agent

Autonomous task execution β€” the agent uses tool calling to plan, act, and iterate until the task is complete.

POST /agent/task Bearer
GET /agent/history Bearer
POST /agent/reset Bearer
Python
# Submit a task for the agent
resp = requests.post(
    f"{BASE}/agent/task",
    json={"task": "What is sqrt(144) + 3?"},
    headers=headers,
)
print(resp.json()["result"])
print(resp.json()["tools_available"])

Image Intelligence

Analyse images with GPT-4 Vision or generate new ones with DALL-E 3.

POST /image/image-to-text Bearer
POST /image/image-to-answer Bearer
POST /image/text-to-image Bearer
Python
# Generate an image with DALL-E 3
resp = requests.post(
    f"{BASE}/image/text-to-image",
    json={
        "prompt": "A futuristic city at sunset",
        "size": "1024x1024",
        "quality": "hd",
    },
    headers=headers,
)
print(resp.json()["url"])

# Describe an uploaded image
with open("photo.jpg", "rb") as f:
    resp = requests.post(
        f"{BASE}/image/image-to-text",
        files={"file": f},
        headers=headers,
    )
print(resp.json()["description"])

Document Generation

Generate Word, PowerPoint, and PDF files from text β€” ready for download.

POST /document/text-to-word Bearer
POST /document/text-to-powerpoint Bearer
POST /document/text-to-pdf Bearer
Python
# Generate a PDF report
resp = requests.post(
    f"{BASE}/document/text-to-pdf",
    json={
        "text": "Q3 revenue grew 25%...",
        "title": "Quarterly Report",
    },
    headers=headers,
)
with open("report.pdf", "wb") as f:
    f.write(resp.content)

# Generate a PowerPoint deck
resp = requests.post(
    f"{BASE}/document/text-to-powerpoint",
    json={"text": "Slide content...", "title": "Pitch"},
    headers=headers,
)

Database Intelligence

Natural-language queries with row-level access control. Ask your database anything.

POST /db/chat Bearer
GET /db/schema Bearer
POST /db/query Admin
POST /db/select_for_customer Bearer
GET /db/companies Admin/Employee
POST /db/select_for_company Admin/Employee
Python
# Ask your database in plain English
resp = requests.post(
    f"{BASE}/db/chat",
    json={
        "question": "How many orders were placed last month?"
    },
    headers=headers,
)
print(resp.json()["answer"])
# "There were 1,247 orders placed in February 2026."

# Get database schema
schema = requests.get(
    f"{BASE}/db/schema",
    headers=headers,
).json()

Text AI

Translate, summarize, analyse sentiment, and extract structured data from any text.

POST /text/translate Bearer
POST /text/summarize Bearer
POST /text/sentiment Bearer
POST /text/extract Bearer
Python
# Translate text
resp = requests.post(
    f"{BASE}/text/translate",
    json={"text": "Hello world",
          "target_language": "French"},
    headers=headers,
)
print(resp.json()["translated"])

# Analyse sentiment
resp = requests.post(
    f"{BASE}/text/sentiment",
    json={"text": "I love this product!"},
    headers=headers,
)
print(resp.json()["sentiment"])

Content Moderation

Detect harmful content with category-level flags and confidence scores.

POST /moderation/check Bearer
Python
# Check content for policy violations
resp = requests.post(
    f"{BASE}/moderation/check",
    json={"text": "User-generated content here"},
    headers=headers,
)
result = resp.json()
print(result["flagged"])
print(result["categories"])

Embeddings

Generate vector embeddings and compute semantic similarity between texts.

POST /embeddings/generate Bearer
POST /embeddings/similarity Bearer
Python
# Generate an embedding vector
resp = requests.post(
    f"{BASE}/embeddings/generate",
    json={"text": "Machine learning is great"},
    headers=headers,
)
print(f"Dimensions: {resp.json()['dimensions']}")

# Compare two texts
resp = requests.post(
    f"{BASE}/embeddings/similarity",
    json={"text1": "cat", "text2": "kitten"},
    headers=headers,
)
print(resp.json()["score"])

Web Intelligence

Fetch a public URL and get an AI-powered summary or answer questions about the content.

POST /web/summarize Bearer
Python
# Summarize a web page
resp = requests.post(
    f"{BASE}/web/summarize",
    json={"url": "https://example.com/article"},
    headers=headers,
)
print(resp.json()["summary"])

# Ask a question about the page
resp = requests.post(
    f"{BASE}/web/summarize",
    json={"url": "https://example.com",
          "question": "What is the main topic?"},
    headers=headers,
)
print(resp.json()["summary"])

Long-term Memory

Store and semantically recall memories for context-aware conversations.

POST /memory/store Bearer
POST /memory/recall Bearer
POST /memory/clear Bearer
Python
# Store a memory
requests.post(
    f"{BASE}/memory/store",
    json={"content": "User prefers dark mode"},
    headers=headers,
)

# Recall relevant memories
resp = requests.post(
    f"{BASE}/memory/recall",
    json={"query": "UI preferences", "top_k": 3},
    headers=headers,
)
for m in resp.json()["memories"]:
    print(m["content"], m["score"])

Knowledge Base

Namespace-scoped document ingestion with RAG-powered Q&A for any web application.

POST /kb/ingest Bearer
POST /kb/ingest-url Bearer
POST /kb/query Bearer
GET /kb/list Bearer
POST /kb/clear Bearer
Python
# Ingest text into a knowledge base
requests.post(
    f"{BASE}/kb/ingest",
    json={"namespace": "my-app", "text": "Returns are accepted within 30 days."},
    headers=headers,
)

# Query the knowledge base
resp = requests.post(
    f"{BASE}/kb/query",
    json={"namespace": "my-app", "question": "What is the return policy?"},
    headers=headers,
)
print(resp.json()["answer"])

Africa Lang

African language translation & detection, voice STT/TTS, context-aware chat, content moderation, and supported-language listing.

POST /africa/translate Bearer
POST /africa/detect-language Bearer
GET /africa/languages Bearer
POST /africa/transcribe Bearer
POST /africa/synthesize Bearer
POST /africa/chat Bearer
POST /africa/chat/reset Bearer
POST /africa/moderate Bearer
Python
# Translate to an African language
resp = requests.post(
    f"{BASE}/africa/translate",
    json={"text": "Hello, how are you?", "target_language": "Swahili"},
    headers=headers,
)
print(resp.json()["translated"])

Africa Life

Agriculture advisory, education & exam prep, legal & business regulatory guidance, African currency formatting & conversion, and mobile money transaction parsing.

POST /africa/agriculture/ask Bearer
POST /africa/education/ask Bearer
POST /africa/legal/ask Bearer
POST /africa/currency/format Bearer
POST /africa/currency/convert Bearer
GET /africa/currencies Bearer
POST /africa/mobile-money/ask Bearer
POST /africa/mobile-money/parse Bearer
Python
# Parse a mobile money transaction
resp = requests.post(
    f"{BASE}/africa/mobile-money/parse",
    json={"message": "Confirmed. Ksh500 sent to +254712345678"},
    headers=headers,
)
print(resp.json()["provider"], resp.json()["amount"])

Africa Culture

African proverbs & wisdom by theme or culture, and storytelling β€” folktales, legends, and folklore from across the continent.

POST /africa/proverbs/get Bearer
POST /africa/storytelling/tell Bearer
Python
# Get an African proverb
resp = requests.post(
    f"{BASE}/africa/proverbs/get",
    json={"theme": "wisdom", "culture": "Yoruba"},
    headers=headers,
)
print(resp.json()["proverb"])

Integrate with any language

Jamii AI is a standard REST API. If your platform can make HTTP requests, it can use Jamii AI.

1

Authenticate

Call one of the four login endpoints to receive a JWT token. Tokens expire after a configurable duration.

2

Call any endpoint

Use your token in the Authorization: Bearer header. Send JSON payloads, receive structured responses.

3

Ship your product

That's it. No SDKs to install, no vendor lock-in. Works with Python, JavaScript, Go, Java, C#, cURL β€” anything.

Python β€” requests
import requests

BASE = "https://api.jamiiai.com"

# 1. Login
token = requests.post(f"{BASE}/auth/admin/login", json={
    "username": "admin",
    "secret_answer": "Red",
}).json()["access_token"]

headers = {"Authorization": f"Bearer {token}"}

# 2. Chat
reply = requests.post(
    f"{BASE}/chat",
    json={"message": "Hello, Jamii!"},
    headers=headers,
).json()["response"]

print(reply)
JavaScript β€” fetch
const BASE = "https://api.jamiiai.com";

// 1. Login
const { access_token } = await fetch(`${BASE}/auth/admin/login`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    username: "admin",
    secret_answer: "Red",
  }),
}).then(r => r.json());

// 2. Chat
const { response } = await fetch(`${BASE}/chat`, {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": `Bearer ${access_token}`,
  },
  body: JSON.stringify({ message: "Hello, Jamii!" }),
}).then(r => r.json());

console.log(response);
cURL
# 1. Login
TOKEN=$(curl -s -X POST https://api.jamiiai.com/auth/admin/login \
  -H "Content-Type: application/json" \
  -d '{"username": "admin", "secret_answer": "Red"}' \
  | jq -r '.access_token')

# 2. Chat
curl -X POST https://api.jamiiai.com/chat \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"message": "Hello, Jamii!"}'

# 3. Generate a PDF
curl -X POST https://api.jamiiai.com/document/text-to-pdf \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"text": "Report content", "title": "Q3"}' \
  -o report.pdf

Simple, transparent pricing

Start free. Scale as you grow. No hidden fees.

Starter
$19 /month

Perfect for prototyping and personal projects.

  • 1,000 API calls / month
  • All 82 endpoints
  • Community support
  • Swagger documentation
  • Single-user authentication
Start 14-Day Trial
Enterprise
$199 /month

Dedicated infrastructure for your organisation.

  • Unlimited API calls
  • All 82 endpoints
  • Dedicated support engineer
  • Custom model fine-tuning
  • On-premise deployment
  • SSO / SAML integration
  • White-label AI chatbot widget
  • Custom SLA
  • Data residency options
Subscribe Now