/install modellix
Modellix Skill
Modellix is a Model-as-a-Service (MaaS) platform with async image/video generation APIs. The invariant flow is: submit task -> get task_id -> poll until success or failed.
Official Docs
- AI Onboarding (agent quick start): https://docs.modellix.ai/get-started.md
- API: https://docs.modellix.ai/ways-to-use/api.md
- CLI: https://docs.modellix.ai/ways-to-use/cli.md
- Full Models Docs Index: https://docs.modellix.ai/llms.txt
Execution Policy (CLI-first)
Always choose execution path in this order:
- Use CLI when
modellix-cliis available and authenticated. - Fall back to REST when CLI is unavailable, unsuitable, or missing capability.
- Prefer machine-readable outputs (
--json) in CLI flows.
Preflight and Deterministic Execution
Use bundled scripts before ad-hoc commands:
scripts/preflight.py- Validates CLI availability and API key presence.
- Returns recommended mode (
cliorrest).
scripts/invoke_and_poll.py- Executes CLI-first with REST fallback support.
- Handles exponential backoff polling and retryable submit errors.
- Emits normalized JSON result output.
Quick commands:
python scripts/preflight.py --json
python scripts/invoke_and_poll.py --model-slug bytedance/seedream-4.5-t2i --body '{"prompt":"A cinematic portrait of a fox in a misty forest at sunrise"}'
Core Workflow
1) Obtain API key
- Create key in Modellix Console
- Save immediately (shown once)
- Store as
MODELLIX_API_KEY
2) Select model
Read references/REFERENCE.md to find model docs and parameters.
3) Run invocation and poll
- Preferred:
scripts/invoke_and_poll.py - Manual CLI flow:
references/cli-playbook.md - Manual REST flow:
references/rest-playbook.md
4) Consume resources
Output media URLs are under result.resources. Persist assets promptly; results expire in 24 hours.
Progressive Reference Routing
Read only what the task needs:
references/cli-playbook.md- CLI install/auth/command flow and retry guidance
references/rest-playbook.md- REST endpoints, headers, status model, retry policy
references/capability-matrix.md- CLI command \x3C-> REST endpoint mapping and fallback rules
Bundled Assets
- Output schema:
assets/output/task-result.schema.json
Credential and Data Egress
- Required credential:
MODELLIX_API_KEY(this skill does not require any other secret). - Network egress: sends requests to
https://api.modellix.ai. - User payload handling: prompts and user-provided inputs (including media URLs or file-derived content) may be sent to Modellix endpoints during invocation.
- Result handling: generated resource URLs come from Modellix response payloads and should be downloaded before expiry (about 24 hours).
Error/Retry Policy
| Code | Action |
|---|---|
| 400 | Do not retry. Fix parameters or request body format. |
| 401 | Do not retry. Verify API key. |
| 402 | Do not retry. Insufficient balance. |
| 404 | Do not retry. Verify task_id or model-slug. |
| 429 | Retry with exponential backoff. |
| 500/503 | Retry with exponential backoff (max 3 times). |
Verification Checklist
- Preflight executed and mode selected (
cliorrest) - API key configured (
MODELLIX_API_KEYor CLI--api-key) - Model parameters verified against model doc from
references/REFERENCE.md - Task submit returns
task_idwith success code - Polling handles
pending,processing,success,failed - Retry behavior implemented for
429/500/503 - Result URLs persisted before 24-hour expiration
- REST fallback validated when CLI path is unavailable
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install modellix - 安装完成后,直接呼叫该 Skill 的名称或使用
/modellix触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Modellix 是什么?
Integrate Modellix's unified API for AI image and video generation into applications. Use this skill whenever the user wants to generate images from text, cr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 457 次。
如何安装 Modellix?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install modellix」即可一键安装,无需额外配置。
Modellix 是免费的吗?
是的,Modellix 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Modellix 支持哪些平台?
Modellix 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Modellix?
由 modellix(@modellix)开发并维护,当前版本 v1.0.12。