Documentation Index
Fetch the complete documentation index at: https://docs.samuraiapi.in/llms.txt
Use this file to discover all available pages before exploring further.
Enter your API key in the Authentication field at the top of each endpoint page to send live requests. All calls go to
https://www.samuraiapi.in/v1.Base URL
Authentication
All requests require aBearer token:
Available Endpoints
Chat Completions
POST /chat/completions — Generate text with any modelList Models
GET /models — See all available modelsGenerate Image
POST /images/generations — DALL-E 3, Flux, and moreText to Speech
POST /audio/speech — 6 voices, 5 formatsTranscribe Audio
POST /audio/transcriptions — Whisper, 99 languagesCreate Embedding
POST /embeddings — Vector embeddings for RAG & search