modellix – skill Lập trình cho agent AI
Tích hợp API/CLI của Modellix để tạo hoặc phiên âm hình ảnh, video, giọng nói bất đồng bộ (model run --wait, task download).
Cài skill modellix bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/modellix-0e274.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /modellix – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/modellix-0e274.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $modellix – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/modellix-0e274.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /modellix – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/modellix-0e274.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /modellix – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Modellix
Overview
Modellix is a Model-as-a-Service platform for AI image, video, and speech generation or transcription. This skill teaches agents to use the official modellix-cli workflow (doctor → model run --wait → task download).
Upstream package: https://github.com/Modellix/modellix-plugin/tree/main/skills/modellix (Open Plugins layout; skill tree under skills/modellix/).
When to Use This Skill
- Generate images from text prompts
- Generate or edit videos from text or images
- Generate speech from text, transcribe speech, or transform one voice into another
- Call Modellix models through a unified API/CLI
- The user mentions Modellix, Seedream, Seedance, Nano Banana, Whisper, Qwen Audio, CosyVoice, or similar providers via Modellix
How It Works
1. Authenticate with MODELLIX_API_KEY or modellix-cli auth login
2. Run modellix-cli doctor --json
3. Use default models when unspecified (T2I: google/nano-banana-2-lite, T2V: bytedance/seedance-2.0-mini-t2v, I2I: google/nano-banana-2-lite-edit, I2V: bytedance/seedance-2.0-fast-i2v, V2V: bytedance/seedance-2.0-fast-v2v, TTS: alibaba/qwen-audio-3.0-tts-flash, STT: openai/whisper-1, STS: alibaba/cosyvoice-clone)
4. Submit with modellix-cli model run --wait --json
5. Persist outputs with modellix-cli task download
Examples
Text-to-image
modellix-cli model run \
--model-slug google/nano-banana-2-lite \
--body '{"prompt":"A cinematic sunset over a futuristic city"}' \
--wait --timeout 5m --jsonText-to-video
modellix-cli model run \
--model-slug bytedance/seedance-2.0-mini-t2v \
--body '{"prompt":"Ocean waves under a cloudy sunset"}' \
--wait --timeout 10m --jsonText-to-speech
modellix-cli model run \
--model-slug alibaba/qwen-audio-3.0-tts-flash \
--body '{"text":"There is a large garden behind my house.","voice":"longanhuan_v3.6"}' \
--wait --timeout 5m --jsonSpeech-to-text
modellix-cli model run \
--model-slug openai/whisper-1 \
--body '{"url":"https://example.com/meeting.mp3"}' \
--wait --timeout 5m --jsonSpeech-to-speech
modellix-cli model run \
--model-slug alibaba/cosyvoice-clone \
--body '{"model":"cosyvoice-v3.5-plus","url":"https://example.com/reference.wav","text":"There is a large garden behind my house."}' \
--wait --timeout 5m --jsonBest Practices
- Prefer CLI
model run --waitover hand-rolled polling - Before a paid submission, disclose the provider, model, prompt or source media that will leave the machine, expected cost, and output path; obtain explicit user approval
- Prefer session-scoped API-key use; run
modellix-cli auth loginonly when the user approves persistent local credential storage - Do not blindly retry paid submissions after unknown outcomes — check
task history - Confirm the destination and overwrite policy before
task download; never replace an existing file without explicit approval - Download results before they expire; hosted result URLs are retained for about 7 days
- Fetch request schemas from
model describedocs_urlor https://docs.modellix.ai/llms.txt
Security & Safety Notes
- Requires a Modellix API key; never print secrets in logs
- Prompts and uploaded source media leave the machine for
api.modellix.aiand Modellix CDN processing - Paid generation consumes account balance and must not be submitted or retried without the approval described above
Limitations
- Requires a Modellix account, network access, a valid API key, and sufficient account balance.
- Model availability, request schemas, pricing, quotas, moderation, and generation time are controlled by Modellix and may change.
- Generated outputs require human review for quality, rights, privacy, and policy compliance before publication.
- This skill documents the CLI workflow only; it does not define a REST fallback or guarantee that a completed remote task downloads successfully.
Skill liên quan
- modern-javascript-patterns – Hướng dẫn toàn diện về JavaScript hiện đại (ES6+), các mẫu lập trình hàm và thực hành…
- monorepo-architect – Chuyên gia kiến trúc monorepo, hệ thống build và quản lý phụ thuộc ở quy mô lớn. Thành…
- monorepo-management – Xây dựng monorepo hiệu quả, dễ mở rộng, cho phép chia sẻ code, công cụ nhất quán và thay…
- monte-carlo-push-ingestion – Rà soát và điều chỉnh các mẫu thu thập metadata kho dữ liệu, lineage và log truy vấn cho…
- moodle-external-api-development – Hướng dẫn tạo API web service bên ngoài tùy chỉnh cho Moodle LMS, theo framework…
- movie-coupon – Lấy mã giảm giá vé xem phim từ các nền tảng như Taopiaopiao và Maoyan. Trả về liên kết…
- muapi-media – Tạo ảnh và video bằng API media bất đồng bộ theo schema của MuAPI, đồng thời bảo vệ key…
- multi-platform-apps-multi-platform – Xây dựng và triển khai cùng một tính năng nhất quán trên web, mobile và desktop, dùng…