comfyui-mcp 0.20.4 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packs/krea2-combo/install-runpod.sh +42 -0
- package/packs/krea2-combo/install-windows.bat +47 -0
- package/packs/krea2-combo/manifest.yaml +40 -0
- package/packs/krea2-combo/pack.yaml +44 -0
- package/packs/krea2-combo/workflow.json +2639 -0
- package/packs/krea2-txt2img-json/install-runpod.sh +1 -1
- package/packs/krea2-txt2img-json/install-windows.bat +1 -1
- package/packs/krea2-txt2img-json/manifest.yaml +7 -5
- package/packs/krea2-txt2img-json/pack.yaml +13 -12
- package/packs/krea2-txt2img-json/workflow.json +145 -144
- package/packs/krea2-txt2img-manual/install-runpod.sh +1 -1
- package/packs/krea2-txt2img-manual/install-windows.bat +1 -1
- package/packs/krea2-txt2img-manual/manifest.yaml +6 -5
- package/packs/krea2-txt2img-manual/pack.yaml +14 -16
- package/packs/krea2-txt2img-manual/workflow.json +139 -138
- package/plugin/skills/krea2-txt2img/SKILL.md +50 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comfyui-mcp",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"mcpName": "io.github.artokun/comfyui-mcp",
|
|
5
5
|
"description": "MCP server + autonomous AI agent for ComfyUI — drive your live graph in natural language from a sidebar agent on Claude OR ChatGPT (your own subscription, no API key). Generate images, video & audio, author and run workflows, manage models and custom nodes. Also a Claude Code plugin with skills, slash commands, and installer packs.",
|
|
6
6
|
"homepage": "https://comfyui-mcp.artokun.io/docs",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
# ===== Auto-generated by scripts/gen-pack-installers.mjs — do not edit =====
|
|
4
|
+
# Pack: KREA 2 — Combo (two-pass detail boost) (Linux / RunPod)
|
|
5
|
+
# Run from your ComfyUI root (the folder containing custom_nodes/ and models/).
|
|
6
|
+
[ -d custom_nodes ] || { echo "[ERROR] run from your ComfyUI root (custom_nodes/ not found)"; exit 1; }
|
|
7
|
+
# Resolve the ComfyUI python: its venv first, then portable embed, then \$PYTHON/python3.
|
|
8
|
+
# Installing requirements into the wrong interpreter is why nodes silently fail to load.
|
|
9
|
+
if [ -n "${PYTHON:-}" ]; then PY="$PYTHON";
|
|
10
|
+
elif [ -x ".venv/bin/python" ]; then PY=".venv/bin/python";
|
|
11
|
+
elif [ -x "venv/bin/python" ]; then PY="venv/bin/python";
|
|
12
|
+
elif [ -x "../python_embeded/python" ]; then PY="../python_embeded/python";
|
|
13
|
+
else PY="python3"; fi
|
|
14
|
+
echo "using python: $PY"
|
|
15
|
+
|
|
16
|
+
clone() { # folder url
|
|
17
|
+
if [ ! -d "custom_nodes/$1" ]; then
|
|
18
|
+
echo " cloning $1"; git clone --depth 1 "$2" "custom_nodes/$1"
|
|
19
|
+
if [ -f "custom_nodes/$1/requirements.txt" ]; then echo " installing $1 requirements.txt"; "$PY" -m pip install -r "custom_nodes/$1/requirements.txt"; fi
|
|
20
|
+
else echo " $1 present - skip"; fi
|
|
21
|
+
}
|
|
22
|
+
grab() { # relpath url
|
|
23
|
+
mkdir -p "$(dirname "$1")"
|
|
24
|
+
if [ ! -f "$1" ]; then echo " downloading $(basename "$1")"; curl -L -o "$1" "$2"; else echo " $(basename "$1") present - skip"; fi
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
echo "-------- custom nodes --------"
|
|
28
|
+
clone "ComfyUI-Manager" "https://github.com/ltdrdata/ComfyUI-Manager.git"
|
|
29
|
+
clone "rgthree-comfy" "https://github.com/rgthree/rgthree-comfy"
|
|
30
|
+
clone "ComfyUI-KJNodes" "https://github.com/kijai/ComfyUI-KJNodes"
|
|
31
|
+
clone "ComfyUI_essentials" "https://github.com/cubiq/ComfyUI_essentials"
|
|
32
|
+
clone "ComfyUI-Krea2T-Enhancer" "https://github.com/capitan01R/ComfyUI-Krea2T-Enhancer"
|
|
33
|
+
clone "ComfyUI-RBG-SmartSeedVariance" "https://github.com/RamonGuthrie/ComfyUI-RBG-SmartSeedVariance"
|
|
34
|
+
|
|
35
|
+
echo "-------- models --------"
|
|
36
|
+
grab "models/diffusion_models/krea2_turbo_fp8.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_fp8.safetensors"
|
|
37
|
+
grab "models/text_encoders/qwen3vl_4b_fp8_scaled.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen3vl_4b_fp8_scaled.safetensors"
|
|
38
|
+
grab "models/vae/qwen_image_vae.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen_image_vae.safetensors"
|
|
39
|
+
grab "models/loras/krea2_turbo_lora_rank_64_bf16.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_lora_rank_64_bf16.safetensors"
|
|
40
|
+
grab "models/loras/IdeoKrea-test.safetensors" "https://huggingface.co/Aitrepreneur/IdeoKrea/resolve/main/IdeoKrea-test.safetensors"
|
|
41
|
+
|
|
42
|
+
echo "DONE. Restart ComfyUI, then load workflow.json."
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
setlocal EnableExtensions EnableDelayedExpansion
|
|
3
|
+
chcp 65001 >nul
|
|
4
|
+
rem ===== Auto-generated by scripts/gen-pack-installers.mjs — do not edit =====
|
|
5
|
+
rem Pack: KREA 2 — Combo (two-pass detail boost)
|
|
6
|
+
rem Run from your ComfyUI root (the folder containing custom_nodes\ and models\).
|
|
7
|
+
if not exist "custom_nodes" ( echo [ERROR] Run from your ComfyUI root ^(custom_nodes\ not found^). & pause & exit /b 1 )
|
|
8
|
+
where git >nul 2>&1 || ( echo [ERROR] git not found in PATH. & pause & exit /b 1 )
|
|
9
|
+
where curl >nul 2>&1 || ( echo [ERROR] curl not found in PATH. & pause & exit /b 1 )
|
|
10
|
+
rem Resolve the ComfyUI python: venv first, then portable embed, then PATH python.
|
|
11
|
+
set "PY=%CD%\.venv\Scripts\python.exe"
|
|
12
|
+
if not exist "%PY%" set "PY=%CD%\venv\Scripts\python.exe"
|
|
13
|
+
if not exist "%PY%" set "PY=%CD%\..\python_embeded\python.exe"
|
|
14
|
+
if not exist "%PY%" set "PY=python"
|
|
15
|
+
echo using python: %PY%
|
|
16
|
+
|
|
17
|
+
echo -------- custom nodes --------
|
|
18
|
+
call :clone "ComfyUI-Manager" "https://github.com/ltdrdata/ComfyUI-Manager.git"
|
|
19
|
+
call :clone "rgthree-comfy" "https://github.com/rgthree/rgthree-comfy"
|
|
20
|
+
call :clone "ComfyUI-KJNodes" "https://github.com/kijai/ComfyUI-KJNodes"
|
|
21
|
+
call :clone "ComfyUI_essentials" "https://github.com/cubiq/ComfyUI_essentials"
|
|
22
|
+
call :clone "ComfyUI-Krea2T-Enhancer" "https://github.com/capitan01R/ComfyUI-Krea2T-Enhancer"
|
|
23
|
+
call :clone "ComfyUI-RBG-SmartSeedVariance" "https://github.com/RamonGuthrie/ComfyUI-RBG-SmartSeedVariance"
|
|
24
|
+
|
|
25
|
+
echo -------- models --------
|
|
26
|
+
call :grab "models\diffusion_models\krea2_turbo_fp8.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_fp8.safetensors"
|
|
27
|
+
call :grab "models\text_encoders\qwen3vl_4b_fp8_scaled.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen3vl_4b_fp8_scaled.safetensors"
|
|
28
|
+
call :grab "models\vae\qwen_image_vae.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen_image_vae.safetensors"
|
|
29
|
+
call :grab "models\loras\krea2_turbo_lora_rank_64_bf16.safetensors" "https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_lora_rank_64_bf16.safetensors"
|
|
30
|
+
call :grab "models\loras\IdeoKrea-test.safetensors" "https://huggingface.co/Aitrepreneur/IdeoKrea/resolve/main/IdeoKrea-test.safetensors"
|
|
31
|
+
|
|
32
|
+
echo DONE. Restart ComfyUI, then load workflow.json.
|
|
33
|
+
pause
|
|
34
|
+
exit /b
|
|
35
|
+
|
|
36
|
+
:clone
|
|
37
|
+
if not exist "custom_nodes\%~1" (
|
|
38
|
+
echo cloning %~1
|
|
39
|
+
git clone --depth 1 "%~2" "custom_nodes\%~1"
|
|
40
|
+
if exist "custom_nodes\%~1\requirements.txt" ( echo installing %~1 requirements.txt & "%PY%" -m pip install -r "custom_nodes\%~1\requirements.txt" )
|
|
41
|
+
) else ( echo %~1 present - skip )
|
|
42
|
+
goto :eof
|
|
43
|
+
|
|
44
|
+
:grab
|
|
45
|
+
if not exist "%~dp1" mkdir "%~dp1"
|
|
46
|
+
if not exist "%~1" ( echo downloading %~nx1 & curl -L --ssl-no-revoke -o "%~1" "%~2" ) else ( echo %~nx1 present - skip )
|
|
47
|
+
goto :eof
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# KREA 2 (krea2_turbo) COMBO — two-pass detail boost. V2. Consumable by apply_manifest.
|
|
2
|
+
# Sliced from the KREA2 ULTRA V2 monolith's "TWO TIMES COMBO" pipeline: a first
|
|
3
|
+
# pass (8 steps, er_sde, denoise 1) then a low-denoise refine pass (4 steps, euler,
|
|
4
|
+
# denoise 0.3), with the krea2 turbo LoRA @0.2 on both passes + the Krea2T-Enhancer
|
|
5
|
+
# model detail-boost patch. JSON/Ideogram-style prompting (Ideogram4PromptBuilderKJ).
|
|
6
|
+
# Needs native ComfyUI KREA 2 support (ComfyUI >= v0.26.0) — CLIPLoader type=krea2.
|
|
7
|
+
# Mirror base: https://huggingface.co/Aitrepreneur/FLX/resolve/main (third-party)
|
|
8
|
+
|
|
9
|
+
pip: []
|
|
10
|
+
|
|
11
|
+
custom_nodes:
|
|
12
|
+
- https://github.com/ltdrdata/ComfyUI-Manager.git
|
|
13
|
+
- https://github.com/rgthree/rgthree-comfy # Power Lora Loader / Any Switch
|
|
14
|
+
- https://github.com/kijai/ComfyUI-KJNodes # Set/Get bus, Ideogram4PromptBuilderKJ, ImageSharpenKJ, INTConstant
|
|
15
|
+
- https://github.com/cubiq/ComfyUI_essentials # ImageResize+ (two-pass roundtrip resize)
|
|
16
|
+
- https://github.com/capitan01R/ComfyUI-Krea2T-Enhancer # Krea2T-Enhancer — V2 model detail-boost patch (ships ACTIVE)
|
|
17
|
+
- https://github.com/RamonGuthrie/ComfyUI-RBG-SmartSeedVariance # RBG_Smart_Seed_Variance (opt-in, ships bypassed)
|
|
18
|
+
|
|
19
|
+
models:
|
|
20
|
+
# --- Diffusion model (krea2_turbo) — fp8 for RTX 4000/3000/2000.
|
|
21
|
+
# On RTX 5000 (Blackwell) use krea2_turbo_mxfp8.safetensors instead. ---
|
|
22
|
+
- url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_fp8.safetensors
|
|
23
|
+
local_path: diffusion_models/krea2_turbo_fp8.safetensors
|
|
24
|
+
|
|
25
|
+
# --- Text encoder (Qwen3-VL 4B, fp8_scaled) ---
|
|
26
|
+
- url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen3vl_4b_fp8_scaled.safetensors
|
|
27
|
+
local_path: text_encoders/qwen3vl_4b_fp8_scaled.safetensors
|
|
28
|
+
|
|
29
|
+
# --- VAE (Qwen image VAE) ---
|
|
30
|
+
- url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/qwen_image_vae.safetensors
|
|
31
|
+
local_path: vae/qwen_image_vae.safetensors
|
|
32
|
+
|
|
33
|
+
# --- Turbo LoRA (rank 64, bf16) — wired ACTIVE @0.2 on both combo passes ---
|
|
34
|
+
- url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/krea2_turbo_lora_rank_64_bf16.safetensors
|
|
35
|
+
local_path: loras/krea2_turbo_lora_rank_64_bf16.safetensors
|
|
36
|
+
|
|
37
|
+
# --- IdeoKrea LoRA (test) — OPTIONAL Ideogram-4-style add-in. Ships available
|
|
38
|
+
# but NOT wired (drop it into the Power Lora Loader's empty slot to enable). ---
|
|
39
|
+
- url: https://huggingface.co/Aitrepreneur/IdeoKrea/resolve/main/IdeoKrea-test.safetensors
|
|
40
|
+
local_path: loras/IdeoKrea-test.safetensors
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: krea2-combo
|
|
2
|
+
display_name: KREA 2 — Combo (two-pass detail boost)
|
|
3
|
+
family: krea2
|
|
4
|
+
kind: combo
|
|
5
|
+
description: >-
|
|
6
|
+
KREA 2 (krea2_turbo) two-pass "combo" — a detail-boost pipeline from the KREA2
|
|
7
|
+
ULTRA V2 workflow. A first pass generates the image (8 steps, er_sde, denoise 1),
|
|
8
|
+
then a low-denoise refine pass sharpens detail (4 steps, euler, denoise 0.3),
|
|
9
|
+
with the krea2 turbo LoRA @0.2 on both passes and the Krea2T-Enhancer model
|
|
10
|
+
detail-boost patch. Ideogram-4-style structured JSON / area prompting
|
|
11
|
+
(Ideogram4PromptBuilderKJ) on the native krea2 stack (CLIPLoader type=krea2 +
|
|
12
|
+
Qwen3-VL 4B + Qwen image VAE). Saves BOTH passes so you can compare. The
|
|
13
|
+
optional IdeoKrea LoRA ships available for an Ideogram-style boost (see notes).
|
|
14
|
+
vram: "<24GB"
|
|
15
|
+
workflow: workflow.json
|
|
16
|
+
skill: krea2-txt2img
|
|
17
|
+
launch_args: []
|
|
18
|
+
sources:
|
|
19
|
+
mirror: https://huggingface.co/Aitrepreneur/FLX
|
|
20
|
+
ideokrea: https://huggingface.co/Aitrepreneur/IdeoKrea
|
|
21
|
+
notes:
|
|
22
|
+
- Needs ComfyUI with native KREA 2 support (comfy/text_encoders/krea2.py,
|
|
23
|
+
ComfyUI >= v0.26.0) — the CLIPLoader uses type=krea2.
|
|
24
|
+
- Run the generated installer from your ComfyUI root (folder with custom_nodes/
|
|
25
|
+
and models/).
|
|
26
|
+
- Default diffusion model is krea2_turbo_fp8 (RTX 4000/3000/2000). On RTX 5000
|
|
27
|
+
(Blackwell) swap in krea2_turbo_mxfp8.safetensors for native fp8.
|
|
28
|
+
- Two-pass detail boost — the SECOND PASS refines at denoise 0.3; both passes
|
|
29
|
+
are saved so you can compare before/after the boost.
|
|
30
|
+
- The Krea2T-Enhancer (model detail-boost patch) ships ACTIVE — it's the V2
|
|
31
|
+
headline. Bypass it to compare against the un-boosted result.
|
|
32
|
+
- OPTIONAL IdeoKrea LoRA — an Ideogram-4-style style/JSON-prompting LoRA. It is
|
|
33
|
+
downloaded but NOT wired by default; add it to the Power Lora Loader's empty
|
|
34
|
+
slot (start ~0.5-1.0; it's a test LoRA) for the turbo + IdeoKrea combo. See
|
|
35
|
+
https://huggingface.co/Aitrepreneur/IdeoKrea
|
|
36
|
+
- Smart Seed Variance ships BYPASSED (optional) — un-bypass for controlled
|
|
37
|
+
variations of the same prompt.
|
|
38
|
+
- JSON prompting tips — set ALL builder fields (prompt/background/technical/
|
|
39
|
+
style/lighting) and keep palettes EMPTY (a rich palette renders as a literal
|
|
40
|
+
color-swatch strip). For a plain prose prompt use krea2-txt2img-manual.
|
|
41
|
+
post_install:
|
|
42
|
+
- Restart ComfyUI (or ComfyUI-Manager -> Install missing custom nodes for any
|
|
43
|
+
node Python deps).
|
|
44
|
+
- Load workflow.json.
|