Documentation
Everything you need to integrate Pawan.Krd into your application.
Pawan.Krd API documentation
Pawan.Krd provides an OpenAI-compatible API for chat, text, embeddings, reranking, moderation, image, video, and audio models. Use these guides to authenticate requests, choose a model, and connect your application.
New to the API? Follow the quick start, learn how to use your API key, and browse the model catalog.
Getting Started
Introduction
Get started with the Pawan.Krd API. Learn about the base URL, features, and how to authenticate your requests.
Authentication
Learn how to authenticate API requests with Pawan.Krd using API keys. Generate and manage keys from your dashboard.
Quick Start
Get up and running with the Pawan.Krd AI API in minutes. Step-by-step guide to make your first API call.
Core Concepts
Models & Types
All model types supported by Pawan.Krd — chat, text, embeddings, rerankers, moderation, TTS, STT, image, and video — with capability flags and parameters.
Base URLs & Routing
Three URL patterns for calling Pawan.Krd: standard /v1, model-scoped, and provider/model-scoped base URLs. Path overrides body model.
Response Format
Understand the API response format for Pawan.Krd endpoints. JSON structure, streaming events, and error responses.
Error Codes
Complete list of API error codes and their meanings. Troubleshoot Pawan.Krd API responses with detailed explanations.
Rate Limits
Understand rate limits and concurrency limits for the Pawan.Krd API. Plan-based quotas, credit consumption, and best practices.
API Reference
Chat Completions
API reference for the Chat Completions endpoint. OpenAI-compatible format with streaming support, function calling, and more.
Text Completions
Prompt-style text completion endpoint for base / instruct text models, OpenAI-compatible.
Proofreadings
Correct spelling, grammar, punctuation and tone, rewrite, paraphrase and analyze text with /v1/proofreadings.
Embeddings
Convert text into dense vectors for semantic search, RAG, and clustering with the OpenAI-compatible /v1/embeddings endpoint.
Rerank
Score and reorder candidate documents for a query using cross-encoder rerankers via /v1/rerank.
Moderations
Classify text against safety categories using the OpenAI-compatible /v1/moderations endpoint.
Images
Generate, edit, and upscale images via /v1/images/generations, /v1/images/edits, and /v1/images/upscale.
Videos
Generate and edit short videos with /v1/videos/generations and /v1/videos/edits.
Speech (TTS)
Synthesize natural speech from text via /v1/audio/speech, with voice selection, multiple formats, and optional voice cloning.
Transcriptions (STT)
Transcribe and translate audio with /v1/audio/transcriptions and /v1/audio/translations, including word-level timestamps and SRT/VTT output.
List Models
Discover available models, their types, capabilities, and parameter ranges via /v1/models.
SDKs & Libraries
OpenAI SDK
Use the official OpenAI SDK with Pawan.Krd. Drop-in compatible - just change the base URL and API key.
Python
Integrate Pawan.Krd AI models into your Python application. Code examples, installation, and usage guide.
Node.js
Integrate Pawan.Krd AI models into your Node.js application. Code examples, installation, and usage guide.
cURL
Copy-paste cURL recipes for every Pawan.Krd endpoint — chat, embeddings, TTS, STT, images, and more.
LangChain
Use Pawan.Krd AI models with LangChain. Integration guide for Python and JavaScript LangChain frameworks.
Integrations
SillyTavern
Connect SillyTavern to Pawan.Krd for AI character chat. Step-by-step setup guide with configuration details.
Open WebUI
Connect Open WebUI to Pawan.Krd for a ChatGPT-like interface with your AI models. Setup and configuration guide.
ChubAI
Connect ChubAI to Pawan.Krd for AI character interactions. Step-by-step integration and configuration guide.
JanitorAI
Connect JanitorAI to Pawan.Krd for AI character chat. Step-by-step setup guide with API configuration details.
OAuth Applications
Learn how to integrate 'Login with Pawan.Krd' via OAuth 2.0 into your applications.