# API docs

> One API key, three SDKs, 124+ leading models

Source: https://qd.zsopc.com/en/docs

This platform is a multi-protocol AI gateway — use the OpenAI, Anthropic or Google Gemini SDK you already have to call 124+ leading models (Claude / GPT / Gemini / Grok / DeepSeek / Doubao / Kimi / Qwen / MiniMax / GLM / Hunyuan — 10 vendors and 57 text models as of August 2026). No code changes. Beyond chat, the same key also reaches image generation (billed per image), video generation (async, billed per second), music and speech, and knowledge-base search — see **Reference** below.

## The one-minute version

- **Base URL**: `https://qd.zsopc.com`
- **API key**: create one in the [qd.zsopc.com console → API Keys](https://qd.zsopc.com/dashboard/keys) (shown there as a "sub-key"). Sign up and you get 120 credits to try it out.
- **Three SDKs cover all four chat protocols**: the OpenAI Responses endpoint is reached with the OpenAI SDK too.

## Getting started

- [Quickstart](./quickstart.md) — up and running in 5 minutes, with all three SDKs side by side

## SDK guides

- [OpenAI SDK](./sdks/openai-sdk.md) — full Python / TypeScript / curl examples (both `/v1/chat/completions` and `/v1/responses` use it)
- [Anthropic SDK](./sdks/anthropic-sdk.md) — full examples plus the base-URL gotcha
- [Google Gemini SDK](./sdks/gemini-sdk.md) — full examples plus multimodal

## Client integrations

- [Claude Code](./integrations/claude-code.md)
- [Codex CLI](./integrations/codex-cli.md)
- [Gemini CLI](./integrations/gemini-cli.md)
- [Cursor](./integrations/cursor.md)
- [Cline (VS Code)](./integrations/cline.md)
- [Roo Code (VS Code, no longer maintained)](./integrations/roo-code.md)
- [Continue.dev](./integrations/continue.md)
- [Cherry Studio](./integrations/cherry-studio.md)
- [Chatbox](./integrations/chatbox.md)
- [LobeChat](./integrations/lobechat.md)
- [NextChat](./integrations/nextchat.md)
- [Open WebUI](./integrations/open-webui.md)
- [LangChain](./integrations/langchain.md)
- [LiteLLM](./integrations/litellm.md)
- [Vercel AI SDK](./integrations/vercel-ai-sdk.md)
- [FlopCode](./integrations/flopcode.md)

## Reference

- [Full model list](./reference/models.md) — model × pricing × capabilities
- [Compatibility matrix](./reference/compatibility-matrix.md) — model × SDK support at a glance
- [API reference](./reference/api-reference.md) — request/response shapes for every endpoint
- [Image / video / music APIs](./reference/media-apis.md) — `/v1/images/generations` per image · `/v1/videos/generations` async per second · `/v1/music/generations` per run · `/v1/audio/*` speech synthesis and cloning · `/v1/transcripts/extract` per short-video transcript
- [Digital human / editing APIs](./reference/digital-human-apis.md) — avatar library · digital human output · lip sync · motion transfer · social-style editing
- [Call Logs API](./reference/logs-api.md) — pull per-call records with the same key (status / failure reason / async outcome / credits charged), with an incremental-sync recipe
- [Knowledge base API & MCP](./reference/wiki-api.md) — read-only knowledge search over REST plus an MCP server
- [Authentication](./reference/authentication.md) — key format and four ways to authenticate
- [Error codes](./reference/errors.md) — what 401 / 402 / 502 mean, and how to debug them

## Guides

- [Streaming](./guides/streaming.md) — parsing SSE and handling interruptions
- [Tool calling](./guides/tool-calling.md) — Function Tools / Tool Use / Function Calling
- [Migrating from OpenAI](./guides/migrating-from-openai.md)
- [Migrating from Anthropic](./guides/migrating-from-anthropic.md)
