API documentation
One key, one prepaid balance, one API for chat, image, video and audio models. Start with the quickstart, then pick the section you need. The balance does not expire and there is no subscription.
Sections
| Section | Page |
|---|---|
| Getting started | Quickstart Make your first Jantaris API calls in five minutes - create a key, send a chat request, generate an image and check your balance with curl, Python or JS. |
| Authentication How Jantaris API keys work - key format, the Authorization and x-api-key headers, per-key monthly spend limits, key rotation and safe storage. | |
| Billing How Jantaris billing works - prepaid USD balance with no expiry, top-up packs, holds for running tasks, GET /v1/balance, spend limits and referral credit. | |
| Endpoints | Chat completions POST /v1/chat/completions reference - OpenAI-compatible chat for Claude, GPT, Gemini, DeepSeek and more, with streaming, tool calls and token usage. |
| Anthropic Messages POST /v1/messages reference - Anthropic-compatible endpoint for Claude models that works with the official Anthropic SDKs, streaming and Claude Code. | |
| Generate POST /v1/generate reference - start image, video and audio generation tasks, validate input against model schemas, wait for results and read costs. | |
| Tasks GET /v1/tasks/{id} reference - task statuses, output items, cost and errors, plus polling loops in Python and JavaScript and downloading result files. | |
| Models GET /v1/models reference - list chat, image, video and audio models with prices in USD or PLN, and read each model's input schema before you call it. | |
| Guides | Webhooks Get notified when Jantaris tasks finish - webhook payload and headers, HMAC-SHA256 signature checks in Python and Node.js, retry schedule and dedupe. |
| Errors Jantaris API error format, all error types with HTTP status codes, default rate limits and which errors to retry, with retry code in Python and JavaScript. | |
| Claude Code and IDE tools Run Claude Code, Cursor, Cline, Continue and other OpenAI-compatible tools on Jantaris by changing the base URL and key. Setup for macOS, Linux, Windows. | |
| n8n, Make and Zapier Use Jantaris in n8n, Make and Zapier without code - HTTP node settings for chat and media generation, polling loops and webhook triggers for video tasks. | |
| Integrations | Integrations: Claude Code, Codex, Cursor and more Connect Jantaris to Claude Code, Codex CLI, Cursor, VS Code, Cline, Claude Desktop, n8n and other tools. One table, copy-paste commands for each. |
| MCP server: generate video and images from your agent Connect the Jantaris MCP server to Claude Code, Codex, Cursor, VS Code and Cline. Your agent estimates cost and makes video, images and music with one key. | |
| Codex CLI with Jantaris OpenAI Codex CLI with Jantaris - an MCP server for generating video and images and asking Claude or Gemini. config.toml setup for Windows, macOS and Linux. | |
| AGENTS.md file for agents Download a ready AGENTS.md for the Jantaris API into your repo. Codex, Cursor, Claude Code and other agents then know how to make video, images and chat. |
Reference
GET /v1/models- machine-readable list of models with prices and parameter schemas.- Models - model catalog with prices, parameters and samples.









