comfyui-character
Produce consistent character images and reference-driven edits inside ComfyUI. Use this Skill for scenarios 1–4 from `comfyui-studio`'s trigger index: 1=生图…
от MiniMax-AI★ 30 звёзд на GitHub
Установить comfyui-character в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ComfyUI Character
Four preset workflows for character-consistent selfies (with a user-trained LoRA) and
reference-image-driven edits (with Flux.2 Klein). The Plugin does not distribute any
character LoRA, face embedding, voice sample, or other private identity asset. Every character
this Skill produces is one the user trained themselves and dropped into ComfyUI's standard
models/loras/ directory.
The 4 trigger scenarios
These are scenarios 1–4 from comfyui-studio's index. The number is the trigger, the workflow
is the implementation.
| # | Trigger | User says | Preset workflow | Model stack at a glance |
|---|---|---|---|---|
| 1 | 生图 (generate) | "用我的角色画一张自拍" | workflows/selfie-text-to-image.json |
Z-Image base + 2 LoRAs (face + style) |
| 2 | 模仿 (mimic) | "照着这张照片再画一张同款" | workflows/selfie-mimicry.json |
ZIT-flavoured Z-Image finetune + 2 LoRAs + Z-Image Fun ControlNet + Qwen3.5 vision LLM |
| 3 | 改图 (edit) | "把背景换成办公室" | workflows/flux2-klein-image-edit.json |
Flux.2 Klein 9B + Qwen3 8B + bundled VAE |
| 4 | 融合 (fuse) | "把这张图里的人物放到那张图里" | workflows/flux2-klein-image-edit-dual.json |
same as #3, with 2x LoadImage inputs |
Scenarios 1 and 2 share the same two LoRA placeholders (your_face_lora.safetensors for
the character's face, your_style_lora.safetensors for the artistic style). Scenarios 3 and 4
do not use LoRAs at all — the character / object identity is carried by the reference image
itself, not by a LoRA.
Why scenarios 1 and 2 use different checkpoints
The two selfie presets use different checkpoints for a reason: the direct selfie is the "default look" (Z-Image base, 8 steps, the canonical character), while the mimicry preset is a "reference-driven" workflow that needs a ZIT-flavoured Z-Image finetune plus a ControlNet and a local vision LLM to do the imitation. They are not interchangeable — if you want scenario 1 (direct generation), use the Z-Image base; if you want scenario 2 (mimicry), use the ZIT finetune.
Scenario 1 — 生图 (generate) — selfie-text-to-image.json
Pipeline: Checkpoint → LoraLoaderModelOnly (face) → LoraLoaderModelOnly (style) → KSampler.
Models
| Field | Value (as written in the JSON) | Where it lives on disk |
|---|---|---|
CheckpointLoaderSimple.ckpt_name |
Z-Image-Base-8steps-豹豹喵呜の白玉v2White_Marble-AIO_v2-bf16.safetensors |
models/checkpoints/ |
LoraLoaderModelOnly[0].lora_name (face) |
your_face_lora.safetensors (placeholder — replace with your file) |
models/loras/ |
LoraLoaderModelOnly[1].lora_name (style) |
your_style_lora.safetensors (placeholder — replace with your file) |
models/loras/ |
| CLIP / VAE | bundled with the CheckpointLoader (outputs […, 1] and […, 2]) |
— |
Submit
- Place the two LoRAs under
<ComfyUI>/models/loras/. Edit the twoLoraLoaderModelOnly.lora_namefields in the JSON to point at your filenames if they differ from the placeholders. - Compose the 4-module prompt (see
references/prompt-patterns.md):
Pass via<trigger word>, <identity block>, <outfit block>, <pose + scene block>--prompton the CLI; the__PROMPT__marker in the workflow gets replaced. - Submit via the Python script or the MCP server (see
comfyui-workflow/SKILL.md).
Knobs
| Knob | Default | What it does | When to change it |
|---|---|---|---|
LoraLoaderModelOnly[0].strength_model (face) |
1.0 | How strongly the face LoRA controls the model | Lower to 0.7 if the character overpowers the scene |
LoraLoaderModelOnly[1].strength_model (style) |
1.0 | How strongly the style LoRA controls the model | Lower to 0.7 if the style is too dominant |
KSampler.steps |
8 | Distilled-model default; raise to 20+ for a non-distilled base | — |
KSampler.cfg |
1.5 | Distilled-model default; raise to 6 for a non-distilled base | — |
Scenario 2 — 模仿 (mimic) — selfie-mimicry.json
Pipeline: LoadImage (reference) → AIO_Preprocessor → ControlNet application →
UNETLoader (ZIT-flavoured finetune) → KSampler → VAEDecode → SaveImage, with two
LoraLoaderModelOnly nodes (face + style) and a llama_cpp_instruct_adv node that runs the
vision LLM on the reference to produce the positive prompt.
This workflow does not use IP-Adapter. It uses a different mechanism: a ControlNet is fed the reference image's preprocessed output, and a vision LLM (Qwen3.5) looks at the reference and produces a text description that becomes the positive prompt. The two LoRAs then keep the character identity stable.
Models
| Field | Value (as written in the JSON) | Where it lives on disk |
|---|---|---|
UNETLoader.unet_name |
ZIT-moodyPornMix_zitV10R1DPO_fp16.safetensors (ZIT-flavoured Z-Image finetune) |
models/unet/ (or wherever your UNETLoader looks) |
ControlNetLoader.control_net_name |
Z-Image-Fun-Controlnet-Union-2.1.safetensors |
models/controlnet/ |
| `LoraLoaderModelOnly[0].lora_nam |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/lora-guide.md
- references/prompt-patterns.md
FAQ
Что делает скилл comfyui-character?
Produce consistent character images and reference-driven edits inside ComfyUI. Use this Skill for scenarios 1–4 from `comfyui-studio`'s trigger index: 1=生图 (selfie from text), 2=模仿 (mimic a reference image), 3=改图 (Flux.2 Klein single-image edit), 4=融合 (Flux.2 Klein dual-image fuse). Ships four preset workflow templates: `workflows/selfie-text-to-image.json`, `workflows/selfie-mimicry.json`, `workflows/flux2-klein-image-edit.json`, `workflows/flux2-klein-image-edit-dual.json`.
Как установить скилл comfyui-character?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comfyui-character запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…