Kautilya KAUTILYA AI Documentation

Overview

Welcome to the ultimate guide for integrating and using Kautilya AI services. Here you will find comprehensive documentation on how to utilize the Workspace Dashboard, handle API authentications, and make external calls to our powerful models.

Dashboard Features

The new RevealIQ Studio Dashboard offers centralized management for all your AI assets.

API Integration Basics

To use the API, you must first generate an API key from the Dashboard and include it in your HTTP headers as a Bearer token.

Authentication Header

Authorization: Bearer kautilya-your_api_key_here

All endpoints are hosted at: https://ai.revealiq.in/api/v1/

Text Generation (Chat Completions)

Interact with our fast and capable LLMs. Compatible with OpenAI standard schema.

Endpoint

POST /api/v1/chat/completions

Example Request

curl -X POST https://ai.revealiq.in/api/v1/chat/completions \
  -H "Authorization: Bearer kautilya-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kautilya-daily",
    "messages": [
      {"role": "user", "content": "Hello, Kautilya!"}
    ]
  }'

Text to Speech (TTS)

High-quality neural text-to-speech built for low latency. Billed by characters.

Endpoint

POST /api/v1/audio/speech

Example Request

curl -X POST https://ai.revealiq.in/api/v1/audio/speech \
  -H "Authorization: Bearer kautilya-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "नमस्ते, मैं कौटिल्य हूँ।",
    "language": "hi-IN"
  }' \
  --output audio.mp3

Speech to Text (STT)

Transcribe large audio files quickly. Billed by audio seconds.

Endpoint

POST /api/v1/audio/transcriptions

Example Request

curl -X POST https://ai.revealiq.in/api/v1/audio/transcriptions \
  -H "Authorization: Bearer kautilya-xxx" \
  -F file="@/path/to/meeting.mp3" \
  -F model="whisper-large-v3"