> ## 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.

# Dify

> 在 Dify 中配置 OmniMux

<Note>
  Base URL：`https://api.omnimux.ai`（OpenAI 兼容客户端通常填 `https://api.omnimux.ai/v1`）。在 [控制台](https://omnimux.ai/dashboard) 创建 `sk-` API Key。模型 ID 以控制台或 `GET /v1/models` 为准。
</Note>

## 准备

1. [Dify](https://dify.ai/) 云端或自托管
2. OmniMux API Key

## 配置

1. 右上角头像 → **设置** → **模型供应商**
2. 使用 **OpenAI** 供应商的自定义 API，或 OpenAI-API-compatible
3. API Key：OmniMux `sk-...`
4. API Endpoint / Base URL：`https://api.omnimux.ai/v1`
5. 添加模型名称（与 OmniMux model id 一致）

## 验证

在应用中选择该模型，发送测试消息。
