> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API 参考

> OmniaKey 的 OpenAI 兼容、Anthropic 原生、Gemini 原生 API 参考。

OmniaKey 在一个 API 主机上提供三套协议。先看概览，再选择你的 SDK 或 coding agent 已经支持的协议。

> [card] [API 概览](https://docs.omniakey.com/zh/api/overview.md)
>
> Base URL、端点矩阵、模型策略和计费行为

> [card] [认证](https://docs.omniakey.com/zh/api/authentication.md)
>
> API key、header 和 SDK 认证习惯

> [card] [OpenAI 兼容 API](https://docs.omniakey.com/zh/api/openai-compatible.md)
>
> Chat Completions、Responses 和 Models

> [card] [Anthropic 原生 API](https://docs.omniakey.com/zh/api/anthropic-native.md)
>
> Claude Code 和 Anthropic SDK 使用的 Messages API

> [card] [Gemini 原生 API](https://docs.omniakey.com/zh/api/gemini-native.md)
>
> Google Gen AI SDK 使用的 Generate Content

> [card] [支持模型](https://docs.omniakey.com/zh/models.md)
>
> 当前 Claude、GPT、Gemini、Grok 模型 ID

> [card] [媒体任务](https://docs.omniakey.com/zh/media/overview.md)
>
> 异步图片、视频、音频任务

> [card] [错误和限流](https://docs.omniakey.com/zh/api/errors.md)
>
> 状态码、额度错误和排查方式

> [card] [余额和用量](https://docs.omniakey.com/zh/api/balance-usage.md)
>
> 预付余额、key cap 和用量记录

## 当前公开范围

| 能力面 | 当前支持 |
| - | - |
| OpenAI 兼容 | Chat Completions、Responses、Models |
| Anthropic 原生 | Messages |
| Gemini 原生 | Generate Content、模型发现 |
| 媒体 | 完整图片目录的图片生成；视频由 `grok-imagine-video-1.5` 提供；音频的请求结构 |
| Dashboard | API key、预付余额、key cap、用量分析 |

媒体任务走异步端点 `POST /v1/media/tasks`，见[媒体任务](https://docs.omniakey.com/zh/media/overview.md)。
视频由 `grok-imagine-video-1.5` 提供，音频暂无公开模型。embeddings、rerank、files、fine-tuning、batches 不在当前公开范围内。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.