Developer Platform

One API.
Every AI capability.

Stop juggling SDKs. Access 100+ AI models, image generation, video creation, voice synthesis, agents, workspaces, and more โ€” all through a single API key and a unified interface.

1from openai import OpenAI
2ย 
3client = OpenAI(
4 base_url="https://kunya.ai/api/v1",
5 api_key="kunya_sk_..."
6)
7ย 
8response = client.chat.completions.create(
9 model="claude-4-sonnet",
10 messages=[{"role": "user",
11 "content": "Explain quantum computing"}],
12 stream=True
13)
Response โ€” 200 OKlatency: 142ms ยท tokens: 847
{"id": "chatcmpl-9x2k...",
"model": "claude-4-sonnet",
"choices": [{ ... }]
}
What You Can Build

Every AI domain. One endpoint.

From chat completions to full helpdesk automation โ€” the broadest AI API on the market.

Chat Completions

OpenAI-compatible. Stream or batch. 100+ models from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and xAI.

Image Generation

FLUX, DALL-E 3, Stable Diffusion, Midjourney-quality models. Batch generation, prompt enhancement, and upscaling.

Video Generation

Sora, Veo, Kling, MiniMax, and Runway. Text-to-video, image-to-video, and professional video editing.

Audio & Voice

Text-to-speech, speech-to-text, voice cloning, music generation, podcast creation, and meeting notes.

AI Agents

19 agent templates โ€” SDR, support, researcher, content writer. Autonomous task execution with memory and tools.

Workspaces

Programmatic docs, databases, and whiteboards. CRUD pages, manage schemas, query data, trigger AI operations.

Blog & SEO

AI-powered blog CMS. Generate posts, manage categories, analytics, sitemaps, and bulk content creation.

Support Helpdesk

100+ endpoints. Tickets, customers, help center, automations, SLA management, and AI-powered responses.

CRM & Outreach

Contacts, companies, deals, pipelines, email sequences, prospect enrichment, and automated outreach.

Game Studio

Three.js, Unity, and Blender integration. AI code generation, scene composition, and asset management.

Writing Studio

Long-form AI writing with brand voice profiles. Documents, sessions, and style-matched generation.

Language & Learning

Grammar analysis, CEFR level assessment, vocabulary building, pronunciation scoring, and AI tutoring.

Developer Experience

Built for developers.

First-class tooling so you spend time building, not debugging integration code.

OpenAPI 3.1 Spec

Machine-readable schema with cost estimates, streaming flags, and call-type extensions. Import into Postman, generate SDKs, or feed to AI coding assistants.

OpenAI Compatible

Drop-in replacement. Change your base URL and API key โ€” your existing OpenAI SDK code works with 100+ models instantly.

Structured Errors

Typed error catalog with HTTP codes, retry guidance, and machine-readable error types. No guessing what went wrong.

Transparent Rate Limits

Per-plan limits exposed in response headers. Per-minute, per-hour, and per-day tiers with token-level granularity.

Scoped API Keys

Create keys with fine-grained permissions. Grant access to specific domains (chat-only, images-only) without exposing your full account.

LLM-Optimized Docs

Plain-text docs at /llms-full.txt designed for AI coding assistants. Paste into Cursor, Copilot, or Claude for instant context.

Your API Key
kunya_sk_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข
Scoped
No expiry
1,000 req/min
100+ Models

Every major lab. One API key.

No vendor lock-in. Switch between providers with a single parameter change.

OpenAI

GPT-4oGPT-4 Turboo1o3-miniDALL-E 3WhisperTTS

Anthropic

Claude 4 OpusClaude 4 SonnetClaude 3.5 Haiku

Google

Gemini 2.5 ProGemini 2.0 FlashImagen 3VeoLyria

Meta

Llama 4 MaverickLlama 4 ScoutLlama 3.3 70B

Mistral

Mistral LargePixtral LargeCodestral

Others

DeepSeek R1GrokFLUXKlingSoraSunoMiniMax

Why Kunya API over direct provider APIs?

Capability
Direct Provider APIs
Kunya API
100+ models from one endpoint
โ€”
Single API key for everything
โ€”
OpenAI SDK compatible
โ€”
Chat completions
Image generation (multi-provider)
โ€”
Video generation
โ€”
Voice cloning & TTS
โ€”
AI agents with memory & tools
โ€”
Workspace/database API
โ€”
Blog CMS API
โ€”
Support helpdesk API (100+ endpoints)
โ€”
CRM & outreach automation
โ€”
Unified billing & usage tracking
โ€”
Scoped keys with fine-grained permissions
โ€”
OpenAPI 3.1 spec with cost extensions
โ€”
Webhook notifications
โ€”

One Integration, Not Twelve

With direct provider APIs, you need separate accounts, keys, SDKs, error handling, and billing for OpenAI, Anthropic, Google, Stability, Runway, and more. Kunya gives you one key, one SDK, one bill, and one error format for all of them.

Switch Models in One Line

Testing Claude vs GPT-4o vs Gemini? Change the model parameter. No SDK swap, no auth change, no endpoint rewrite. A/B test models in production without touching infrastructure.

Beyond Chat Completions

OpenAI gives you chat and images. Kunya gives you chat, images, video, audio, voice, music, agents, workspaces, blog CMS, CRM, support desk, game studio, and language tools โ€” all from the same API key.

Enterprise-Ready Security

Scoped API keys let you grant chat-only or images-only access without exposing your full account. Per-key spend limits, real-time usage tracking, and webhook alerts give you production-grade control.

Frequently Asked Questions

Is the Kunya API compatible with the OpenAI SDK?

Yes. Kunya's chat completions endpoint is fully OpenAI-compatible. Point your existing OpenAI Python or Node.js SDK at https://kunya.ai/api/v1 and change your API key โ€” your code works immediately with 100+ models from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and more.

How many models are available?

Over 100 models from every major AI lab: OpenAI (GPT-4o, o1, DALL-E 3), Anthropic (Claude 4), Google (Gemini 2.5, Imagen 3, Veo), Meta (Llama 4), Mistral, DeepSeek, xAI (Grok), and many more. New models are added within days of release.

How are API calls priced?

Pay-per-use based on the model you select. Each model has a transparent per-token (for text) or per-unit (for images, audio, video) price listed in our model catalog. Credits are deducted in real-time and you can set spend limits per key.

Can I use the API for production applications?

Absolutely. The API is designed for production use with enterprise-grade rate limits, 99.9% uptime SLA on paid plans, structured error handling, webhook notifications, and scoped API keys for secure multi-tenant deployments.

Do you support streaming responses?

Yes. Chat completions, writing generation, and agent responses all support server-sent events (SSE) streaming. Set stream: true in your request and receive tokens as they're generated with sub-100ms first-token latency.

Is there an OpenAPI specification?

Yes. A full OpenAPI 3.1 spec is available at /api/v1/openapi with custom extensions for cost estimates (x-cost-estimate), streaming support (x-streaming), and call types (x-call-type). Import it into Postman, use it to auto-generate SDKs, or feed it to AI coding assistants.

What's the difference between the API and the dashboard?

The dashboard (app.kunya.ai) is the GUI for all Kunya features โ€” chat, image generation, workspaces, etc. The API (/api/v1/) gives you programmatic access to the same capabilities so you can build them into your own products. Both use the same underlying infrastructure.

Start building. Ship faster.

Free tier with no credit card. Get your API key in 30 seconds.