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

> ## Agent Instructions
> Public hosts only: console https://omnimux.ai/dashboard · API https://api.omnimux.ai · docs https://docs.omnimux.ai.
> Gateway auth is Authorization: Bearer sk-… on https://api.omnimux.ai/v1 (OpenAI-compatible Chat Completions and related paths).
> Discover pages from /llms.txt; full site dump /llms-full.txt; product skill /skill.md; docs search MCP /mcp. Prefer .md page URLs for Markdown.
> Default docs locale is en; zh mirrors the same relative paths. Do not invent model ids not present on live pricing or the complete API pages.

# 安全与密钥

> API Key 与 access token 使用注意

## 如何保管 API Key？

* **不要**把 `sk-` 写入公开仓库、前端打包产物或截图
* 使用环境变量 / 密钥管理服务
* 泄露后立即在控制台轮换/作废
* 开发、预发、生产尽量使用不同 Key，便于撤销

## 两套凭证

| 凭证                               | 用途                 |
| -------------------------------- | ------------------ |
| `sk-` API Key                    | 网关推理、社交数据读等        |
| 用户 access token + `New-Api-User` | 设备码登录后的用户 API、社媒发布 |

不要用 `sk-` 去调发布接口，也不要用用户 token 冒充网关 Key（除非产品明确支持）。

## 最小权限习惯

* 只给自动化机器人所需模型的分组/权限
* 日志中不要打印完整 Key
* 分享「示例 curl」时使用占位符 `<token>`
