Skip to main content
If you are an AI agent, this document provides the essential context and tools you need to interact with Modellix.
Modellix is a MaaS platform. One Modellix API key covers Media Models and LLMs. Web Search and Web Fetch are optional Tools. Pick the host that matches the job—do not send media generation to the LLM gateway, and do not poll LLM or Tools responses. Human-oriented product map: Platform Overview.

Prerequisite: Create an API Key

A human must create a Modellix account and generate an API key. Create one in the console. With that key, your agent can call Media Models, LLM, and Web Tools.
The API key is displayed only once after creation. Store it securely, typically as MODELLIX_API_KEY.

Agent Skills

The official Modellix Skill teaches coding agents how to discover media models, inspect request schemas, and generate images, videos, and speech. It does not replace the LLM Overview for chat gateway setup. Install via skills.sh:
Target one agent:

Agent Skill

Installation for Cursor, Claude Code, GitHub Copilot, Codex, and other Agent Skills hosts.

Modellix CLI

modellix-cli creates media generation tasks and fetches results from the terminal. Use it for async image, video, and speech workflows—not for LLM chat.

Modellix CLI

Authentication, model run --wait, schemas, and task downloads.

Media Models: Async Two-Step

Media generation uses https://api.modellix.ai. Copy the prompt below for your agent, or open it in Cursor.

Agent quick start for async media generation.

Open in Cursor
Full media workflow: REST API.

LLM: Synchronous Chat

The LLM gateway at https://llm.modellix.ai returns text in one response (optional SSE). Pass model as a provider/name ID. Do not poll and do not mix Chat Completions fields with Messages fields.

Agent quick start for the Modellix LLM gateway.

Open in Cursor

LLM Overview

Protocols, SDK overrides, coding tools, and token billing.

Web Tools

Web Search and Web Fetch at https://tool.modellix.ai are optional. Use them when the user needs live public web results or readable page content. Calls are synchronous. REST requires X-Mdlx-User-Id. MCP clients can connect to https://tool.modellix.ai/mcp.

Tools Overview

Web Search, Web Fetch, headers, and per-request pricing.

Web Tools MCP

Streamable HTTP MCP for Cursor, Claude Code, Codex, and other clients.