Build with Cosmic Duck
One API. 10 providers. 90+ endpoints. 150+ models.
Access Claude, GPT-5, Gemini, Grok, DeepSeek, ElevenLabs, HeyGen, and more through a single API key. Generate images, video, speech, music — or orchestrate multi-model agents.
Claude Code Integration
Give Claude Code access to every AI provider with one command.
Install the MCP server
npx @quantum-encoding/cosmic-duck-mcp setup qai_k_YOUR_KEY
Or add to ~/.claude/mcp.json
{
"servers": {
"cosmic-duck": {
"command": "npx",
"args": ["@quantum-encoding/cosmic-duck-mcp"],
"env": { "QAI_API_KEY": "qai_k_YOUR_KEY" }
}
}
}generate_image
generate_video
text_to_speech
generate_music
sound_effects
web_search
rag_search
clone_voice
rent_gpu
Claude thinks. Cosmic Duck creates.
SDKs in 4 languages
Full API coverage. Every endpoint, every feature.
Generate an image in 3 lines
import { QuantumClient } from '@quantum-encoding/quantum-sdk';
const client = new QuantumClient('qai_k_YOUR_KEY');
const image = await client.generateImage({
model: 'grok-imagine-image',
prompt: 'A cosmic duck in space, digital art'
});90+ Endpoints
Everything you need to build AI-powered applications.
Chat & Agents
- Multi-model chat (streaming SSE)
- Session-based chat (server-managed history)
- Agent orchestration (conductor/workers)
- Mission execution (full project in one call)
- Batch processing (50% pricing)
Media
- Image generation (15+ models)
- Image editing / inpainting
- Video generation (6 providers)
- Text-to-speech (6 providers)
- Voice cloning + dialogue
- Music + sound effects
Voice
- Realtime voice (direct WebSocket)
- Speech-to-text
- Speech-to-speech conversion
- Voice isolation + remixing
- Audio dubbing
Infrastructure
- GPU/CPU rental (T4 to H100)
- Scoped API keys + spend caps
- RAG search (Vertex + SurrealDB)
- Document extraction
- Embeddings
Base URL
https://api.quantumencoding.aiDeveloper Program
Build on our API. Higher volume = lower costs.
Standard
25%
Default for all users. No application needed.
- All 90+ endpoints
- Scoped API keys
- Credit-based billing
- No monthly commitment
POPULAR
Developer
12.5%
For devs building apps on our API. Half the margin.
- Everything in Standard
- 50% lower margin
- Priority support
- $50/month minimum usage
Enterprise
5%
High-volume integrations. Custom terms available.
- Everything in Developer
- Near-cost pricing
- Dedicated support
- $500/month minimum usage
Powered by 10 providers
Anthropic ClaudeOpenAI GPT-5Google GeminixAI GrokVertex AIDeepSeekElevenLabsHeyGenMeshy 3DZ.ai / Zhipu