File size: 21,177 Bytes
7fdd3fe 776d09d 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 166d6be 7fdd3fe 1ed9537 7fdd3fe 79e1a03 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 76aea54 7fdd3fe 266f72f fd0b72b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 | # Complete Feature & Chain Definitions Configuration for MCP Tools
# Every chain injector in chain_injectors/ corresponds 1-to-1 with an entry here (21 injectors total).
lora:
chains: lora
display_name: "LoRA Fine-tuning Injector"
description: "Injects LoRA weights into UNet/DiT model and CLIP text encoder for custom style, character, or domain adaptation. Note: For Civitai, specify the Version ID (modelVersionId) instead of the main Model ID."
max_count: 5
usage_guideline: "Specify source ('Civitai', 'Hugging Face', or 'Upload File'). For Civitai, provide lora_value as the Version ID (modelVersionId). For Hugging Face, provide HF repo file path. For Upload File, provide uploaded filename. Scale (0.0~2.0) controls weight strength."
parameters_schema:
type: object
properties:
source:
type: string
enum: ["Civitai", "Hugging Face", "Upload File"]
description: "Download/upload source for the LoRA model. Use 'Civitai' to download by Version ID (modelVersionId), 'Hugging Face' to download by repo file path, or 'Upload File' for uploaded files."
lora_value:
type: string
description: "For Civitai: the Version ID (modelVersionId). For Hugging Face: repo_id/filename.extension or repo_id/folder_path/filename.extension. For Upload File: uploaded filename."
scale:
type: number
default: 1.0
minimum: 0.0
maximum: 2.0
description: "Unified strength applied to both the UNet/DiT model and CLIP text encoder (0.0 to 2.0)."
required:
- source
- lora_value
ipadapter:
chains: ipadapter
display_name: "IP-Adapter Image Prompt"
description: "Uses reference images to guide generation style, composition, structure, or face appearance without prompt text restrictions (SD1.5 & SDXL)."
max_count: 5
usage_guideline: "Supply global settings (preset, embeds_scaling, combine_method, final_weight) and up to 5 reference images with individual weights. Preset must match the target model architecture (SD1.5 or SDXL)."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI (e.g., data:image/png;base64,...) or HTTP/HTTPS URL."
weight:
type: number
default: 1.0
minimum: 0.0
maximum: 2.0
description: "Influence weight of the individual image prompt (0.0 to 2.0)."
preset:
type: string
default: "STANDARD (medium strength)"
description: "IPAdapter preset model variant loaded from ipadapter.yaml. Must match model architecture (SD1.5 vs SDXL)."
embeds_scaling:
type: string
default: "V only"
enum:
- "V only"
- "K+V"
- "K+V w/ C penalty"
- "K+mean(V) w/ C penalty"
description: "Embedding scaling method for IPAdapter."
combine_method:
type: string
default: "concat"
enum:
- "concat"
- "add"
- "subtract"
- "average"
- "norm average"
- "max"
- "min"
description: "Combination method for multiple reference images."
final_weight:
type: number
default: 1.0
minimum: 0.0
maximum: 2.0
description: "Global weight multiplier for IPAdapter conditioning (0.0 to 2.0)."
lora_strength:
type: number
default: 0.6
description: "LoRA weight strength for FaceID adapter variants."
required:
- image
controlnet:
chains: controlnet
display_name: "ControlNet Spatial Guidance"
description: "Applies structural and spatial conditioning (depth, pose, lineart, tile, scribble, canny) to guide output composition."
max_count: 5
usage_guideline: "Specify ControlNet type and series (must match requested model architecture e.g., SD1.5, SDXL, SD3.5, FLUX.1, Qwen-Image), pre-processed control image (Base64 Data URI or HTTP/HTTPS URL; system does NOT pre-process raw RGB images), and guidance strength."
parameters_schema:
type: object
properties:
type:
type: string
description: "ControlNet conditioning type (must match model architecture)."
series:
type: string
description: "ControlNet model series (must match model architecture)."
image:
type: string
description: "Pre-processed control image (e.g., Depth, Canny, Pose, Lineart map) encoded as Base64 Data URI or HTTP/HTTPS URL. Note: System does NOT automatically pre-process raw RGB images."
strength:
type: number
default: 1.0
minimum: 0.0
maximum: 2.0
description: "Control influence strength (0.0 to 2.0)."
required:
- type
- series
- image
conditioning:
chains: conditioning
display_name: "Regional Conditioning / Area Prompt"
description: "Defines rectangular areas (X, Y, Width, Height) and assigns specific text prompts and conditioning strengths to them."
max_count: 10
usage_guideline: "Define rectangular spatial areas (X, Y, width, height) and assign specific prompts and strengths to them. Supports up to 10 area prompts."
parameters_schema:
type: object
properties:
prompt:
type: string
description: "Text prompt for this specific rectangular area."
x:
type: integer
default: 0
description: "Top-left X coordinate of the rectangular area."
y:
type: integer
default: 0
description: "Top-left Y coordinate of the rectangular area."
width:
type: integer
default: 512
description: "Width of the rectangular area."
height:
type: integer
default: 512
description: "Height of the rectangular area."
strength:
type: number
default: 1.0
minimum: 0.1
maximum: 2.0
description: "Conditioning strength for this area (0.1 to 2.0)."
required:
- prompt
vae:
chains: vae
display_name: "Custom VAE Loader"
description: "Overrides default VAE model used for latent space encoding and final image decoding."
max_count: 1
usage_guideline: "Specify source ('Civitai', 'Hugging Face', or 'Upload File'), then provide the vae_value (Civitai Version ID, HF file path, or uploaded filename)."
parameters_schema:
type: object
properties:
source:
type: string
enum: ["Civitai", "Hugging Face", "Upload File"]
description: "Download/upload source for the VAE model. Use 'Civitai' to download by Version ID, 'Hugging Face' to download by repo path, or 'Upload File' for uploaded file."
vae_value:
type: string
description: "For Civitai: the Version ID (e.g., '456' from civitai.com/models/123?modelVersionId=456). For Hugging Face: repo_id/filename.extension or repo_id/folder_path/filename.extension (e.g., 'madebyollin/sdxl-vae-fp16-fix/sdxl_vae.safetensors'). For Upload File: uploaded file name."
required:
- source
- vae_value
pid:
chains: pid
display_name: "PiD High-Resolution Refinement"
description: "Progressive Detail (PiD) upscale injector for fine detail enhancement and resolution upscaling."
max_count: 1
usage_guideline: "Enables PiD detail refinement pipeline using a boolean switch ('enabled': true/false)."
parameters_schema:
type: object
properties:
enabled:
type: boolean
default: true
description: "Enable or disable PiD High-Resolution Refinement."
required:
- enabled
flux1_style:
chains: style
display_name: "FLUX.1 Style Reference"
description: "Applies artistic style conditioning from reference images onto FLUX.1 model generated outputs."
max_count: 5
usage_guideline: "Supply style reference image(s) (up to 5) encoded as Base64 Data URI or HTTP/HTTPS URL and optional strength."
parameters_schema:
type: object
properties:
image:
type: string
description: "Style reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
strength:
type: number
default: 1.0
minimum: 0.0
maximum: 2.0
description: "Style influence strength (0.0 to 2.0)."
required:
- image
reference_edit:
chains: reference_latent
display_name: "Reference Edit"
description: "For multimodal models, this feature enables powerful editing and combining capabilities. In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 10
usage_guideline: "Supply reference image(s) encoded as Base64 Data URI or HTTP/HTTPS URL. Passing a single reference image performs an Image Edit, while passing multiple images (up to 10) performs an Image Combine."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
mage_flow_reference_edit:
chains: reference_image
display_name: "Reference Image Edit"
description: "For multimodal models, this feature enables reference image editing and combining capabilities. In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 10
usage_guideline: "Supply reference image as Base64 Data URI or HTTP/HTTPS URL."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
krea2_identity_edit:
chains: krea2_identity_edit
display_name: "KREA2 Identity Edit"
description: "Processed using the lbouaraba/comfyui-krea2edit node. (Krea-2-Turbo recommended, Krea-2-Raw need set ZeroGPU Duration (s) to 120 ) In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 2
usage_guideline: "Supply reference image as Base64 Data URI or HTTP/HTTPS URL."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
krea2_style_reference:
chains: krea2_style_reference
display_name: "KREA2 Style Reference"
description: "(Krea-2-Turbo recommended) Add style reference images to perform style reference editing."
max_count: 3
usage_guideline: "Supply style reference image as Base64 Data URI or HTTP/HTTPS URL."
parameters_schema:
type: object
properties:
image:
type: string
description: "Style reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
joyai_reference_edit:
chains: joyai_image
display_name: "JoyAI Reference Edit"
description: " (JoyAI-Image-Edit recommended) For multimodal models, this feature enables powerful editing and combining capabilities. In txt2img mode, adding a single reference image performs an Image Edit (JoyAI-Image-Edit recommended), while adding multiple images performs an Image Combine (JoyAI-Image-Edit-Plus recommended with ZeroGPU Duration (s) set to 120)."
max_count: 2
usage_guideline: "Supply JoyAI reference image as Base64 Data URI or HTTP/HTTPS URL."
parameters_schema:
type: object
properties:
image:
type: string
description: "Input reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
qwen_image_edit:
chains: qwen_image_edit
display_name: "Qwen-Image Edit"
description: " (lightx2v/Qwen-Image-Edit-2511-Lightning recommended) In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 3
usage_guideline: "Supply reference image(s) (up to 3) encoded as Base64 Data URI or HTTP/HTTPS URL. Passing a single reference image performs an Image Edit, while passing multiple images performs an Image Combine."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
hidream_o1_smoothing:
chains: hidream_o1_smoothing
display_name: "HiDream O1 Smoothing Injector"
description: "HiDream O1 detail smoothing and artifact reduction injector."
max_count: 1
usage_guideline: "Configures smoothing factor for HiDream models."
parameters_schema:
type: object
properties:
factor:
type: number
default: 0.5
description: "Smoothing intensity (0.0 to 1.0)."
required: []
hidream_o1_reference:
chains: hidream_o1_reference
display_name: "HiDream-O1 Reference Edit"
description: " (HiDream-O1-Image-Dev recommended with resolution set to 4.0MP, e.g., 2048x2048) For HiDream-O1 models, this feature enables reference image editing and combining capabilities. In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 9
usage_guideline: "Supply reference image(s) (up to 9) encoded as Base64 Data URI or HTTP/HTTPS URL. Passing a single reference image performs an Image Edit, while passing multiple images performs an Image Combine."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
sensenova_reference:
chains: sensenova_reference
display_name: "SenseNova Reference Edit"
description: "For SenseNova models, this feature enables reference image editing and combining capabilities. In txt2img mode, adding a single reference image performs an Image Edit, while adding multiple images performs an Image Combine."
max_count: 10
usage_guideline: "Supply reference image(s) (up to 10) encoded as Base64 Data URI or HTTP/HTTPS URL. Passing a single reference image performs an Image Edit, while passing multiple images performs an Image Combine."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
required:
- image
flux1_ipadapter:
chains: flux1_ipadapter
display_name: "Flux1 IP-Adapter"
description: "FLUX.1 model-specific IP-Adapter implementation."
max_count: 5
usage_guideline: "Supply reference image (Base64 Data URI or HTTP/HTTPS URL), optional weight (default 1.0), start_at (default 0.0), and end_at (default 1.0). Up to 5 images supported."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
weight:
type: number
default: 1.0
description: "Influence weight of the image prompt (0.0 to 2.0)."
start_at:
type: number
default: 0.0
description: "Start step percentage for IP-Adapter application (0.0 to 1.0)."
end_at:
type: number
default: 1.0
description: "End step percentage for IP-Adapter application (0.0 to 1.0)."
start_percent:
type: number
default: 0.0
description: "Alias for start_at."
end_percent:
type: number
default: 1.0
description: "Alias for end_at."
required:
- image
sd3_ipadapter:
chains: sd3_ipadapter
display_name: "SD3 IP-Adapter"
description: "SD3/SD3.5 model-specific IP-Adapter implementation."
max_count: 5
usage_guideline: "Supply reference image (Base64 Data URI or HTTP/HTTPS URL), optional weight (default 1.0), start_at (default 0.0), and end_at (default 1.0). Up to 5 images supported."
parameters_schema:
type: object
properties:
image:
type: string
description: "Reference image encoded as Base64 Data URI or HTTP/HTTPS URL."
weight:
type: number
default: 1.0
description: "Influence weight of the image prompt (0.0 to 2.0)."
start_at:
type: number
default: 0.0
description: "Start step percentage for IP-Adapter application (0.0 to 1.0)."
end_at:
type: number
default: 1.0
description: "End step percentage for IP-Adapter application (0.0 to 1.0)."
start_percent:
type: number
default: 0.0
description: "Alias for start_at."
end_percent:
type: number
default: 1.0
description: "Alias for end_at."
required:
- image
embedding:
chains: embedding
display_name: "Textual Inversion Embedding Injector"
description: "Downloads Textual Inversion embedding files from Civitai, Hugging Face, or uploads to the server. Note: This feature ONLY handles file downloading/preparation. To activate the embedding, manually add 'embedding:<filename>' (e.g. 'embedding:civitai/456' for Civitai ID 456, 'embedding:huggingface/lazypos' for Hugging Face, or 'embedding:upload_file/filename' for uploaded files) into your prompt or negative_prompt."
max_count: 5
usage_guideline: "Specify source ('Civitai', 'Hugging Face', or 'Upload File'), and embedding_value (Civitai Version ID, HF repo file path, or uploaded filename). The file is stored on server; manually enter 'embedding:<filename>' in prompt or negative_prompt to activate."
parameters_schema:
type: object
properties:
source:
type: string
enum:
- "Civitai"
- "Hugging Face"
- "Upload File"
description: "Download source for the Textual Inversion embedding file. Use 'Civitai' to download by Version ID, 'Hugging Face' to download by repo file path, or 'Upload File' for uploaded files."
embedding_value:
type: string
description: "For Civitai: the Version ID (e.g., '456' from civitai.com/models/123?modelVersionId=456, saved as 'civitai/456.safetensors'). For Hugging Face: repo_id/filename.extension (e.g., 'ilikebigturtles/lazypos/lazypos.safetensors', saved as 'huggingface/lazypos.safetensors'). For Upload File: uploaded filename (saved as 'upload_file/filename.safetensors'). Manually reference embedding:<filename> in prompt or negative_prompt."
required:
- source
- embedding_value
qwen_image_2_1_prompt_enhancer:
chains: qwen_image_2_1_prompt_enhancer
display_name: "Qwen-Image-2.1 Prompt Enhancer Settings"
description: "Enhance prompts using Qwen-Image-2.1 Prompt Enhancer with automatic model selection (T2I vs I2I/reference images) and optional reasoning CoT thinking mode."
max_count: 1
usage_guideline: "Set enable to true to activate prompt enhancement. Enable thinking to allow reasoning CoT (reasoning tags are automatically stripped from the resulting prompt). Set max_length to control generation length."
parameters_schema:
type: object
properties:
enable:
type: boolean
default: false
description: "Enable Qwen-Image-2.1 Prompt Enhancer."
thinking:
type: boolean
default: false
description: "Enable thinking (reasoning CoT). Thought text inside <think> tags will be automatically stripped before passing prompt to downstream text encoding."
max_length:
type: integer
default: 4096
description: "Maximum generation length for prompt enhancement (default 4096)."
ming_image_prompt_enhancer:
chains: ming_image_prompt_enhancer
display_name: "Ming-Image Prompt Enhancer Settings"
description: "Enhance prompts using Ming-Image Prompt Enhancer (Qwen3.8-27B) guided by official Figma-style rewriter System Prompt, with optional reasoning CoT thinking mode."
max_count: 1
usage_guideline: "Set enable to true to activate Ming-Image prompt enhancement. Supports single/multi-reference images, thinking mode, and custom system prompt."
parameters_schema:
type: object
properties:
enable:
type: boolean
default: false
description: "Enable Ming-Image Prompt Enhancer."
thinking:
type: boolean
default: false
description: "Enable thinking (reasoning CoT)."
max_length:
type: integer
default: 4096
description: "Maximum generation length for prompt enhancement (default 4096)."
system_prompt:
type: string
description: "System prompt for Qwen3.8-27B prompt enhancer (defaults to official Ming-Image Figma-style rewriter prompt)."
|