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

# n8n

> Configure OmniMux in n8n

<Note>
  Base URL: `https://api.omnimux.ai` (OpenAI-compatible clients usually use `https://api.omnimux.ai/v1`). Create a `sk-` key in the [console](https://omnimux.ai/dashboard). Model ids: console or `GET /v1/models`.
</Note>

## Prep

1. Self-host or cloud [n8n](https://n8n.io/)
2. OmniMux API key

## Setup

1. Use **OpenAI** node or **HTTP Request**
2. Auth: `Authorization: Bearer sk-...`
3. URL: `https://api.omnimux.ai/v1/chat/completions`
4. Body:

```json theme={null}
{
  "model": "gpt-5.4",
  "messages": [{"role": "user", "content": "hello"}]
}
```

## Verify

Run the node and inspect `choices[0].message`.
