Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

comfy-image-utils

БесплатноБез исполняемых скриптовНе проверен

ComfyUI non-inference image ops: resize/crop/pad/tile/batch/mask utilities, plus image-to-text captioners (Florence-2, WD14, BLIP, DeepDanbooru). Use when…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

ComfyUI image utilities

Image manipulation that doesn't go through a diffusion model. Plus image-to-text inference (Florence-2, WD14, BLIP, DeepDanbooru), which is included here because the input is an image and the node-level setup (model downloads, ONNX dependencies, HF cache paths) is the bulk of the work.

The split:

Pack Niche
comfyui-kjnodes Batch ops, resize-v2, crop-by-mask, channel split/merge, Get*SizeAndCount, LoadAndResizeImage (exposes image_path)
comfyui_essentials Resize / Flip / Crop / Tile-Untile / Composite, list↔batch conversion, Mask family (Blur, Flip, FromColor, BoundingBox)
comfyui-easy-use imageCount, imageInsetCrop, imagesCountInDirectory
comfyui-tooling-nodes Base64 load, image cache, ApplyMaskToImage, WebSocket send, Tile Extract/Merge
ComfyUI-Crystools CImageGetResolution, CImageLoadWithMetadata, CImageSaveWithExtraMetadata
bjornulf_custom_nodes ResizeImage, ResizeImagePercentage, GrayscaleTransform, RemoveTransparency, LoadImageWithTransparency
comfyui_yvann-nodes RepeatImageToCount
comfyui-custom-scripts (pysssss) ConstrainImage (max-dimensions resize with aspect-preserve)
comfyui-various image_ops / channel_ops / color_ops / image_sequence / mask_sequence_ops modules
comfyui-florence2 Florence-2 vision-language for captioning (PromptGen LoRAs)
comfyui-wd14-tagger WD14 ONNX booru-style tagger
comfyui-art-venture BLIP captioner, DeepDanbooru anime tagger

When to Use This Skill

Use this skill when... Use instead when...
Manipulating images/masks outside of model inference (resize, crop, tile, batch) Running a diffusion/inference node on an image -> the relevant model-family skill
Generating a caption/tag from an image (Florence-2, WD14, BLIP) Extracting metadata already embedded in an output -> comfy-metadata

Sources of truth

  • custom_nodes/comfyui-kjnodes/nodes/image_nodes.py — batch / resize / channel / size+count
  • custom_nodes/comfyui_essentials/image.py and mask.py — Image*/Mask* family
  • custom_nodes/comfyui-tooling-nodes/ — base64, cache, websocket, tiling
  • custom_nodes/comfyui-florence2/ — Florence-2 loaders + caption nodes
  • custom_nodes/comfyui-wd14-tagger/ — WD14 ONNX wrapper
  • custom_nodes/comfyui-art-venture/modules/interrogate/ — BLIP, DeepDanbooru

Resize decision

You want… Best node Why
Resize to specific width × height essentials ImageResize Canonical, scale-mode picker
Resize keeping aspect ratio, target one dimension kjnodes ImageResizeKJv2 keep_proportion flag plus more interpolation options
Resize to a percentage of original bjornulf ResizeImagePercentage Single-input scale factor
Constrain to max dimensions (downsize only) pysssss ConstrainImage One-sided cap, preserves aspect, no upscale
Load + resize in one step + expose source filename kjnodes LoadAndResizeImage Bonus image_path STRING output for filename-templated saves
Crop region by coordinates essentials ImageCrop xywh widgets
Crop to bounds of a mask kjnodes ImageCropByMask Fits to non-zero region of input mask
Inset-crop (chop edges) easy imageInsetCrop Crop from edges by pixels or %
Pad on all sides kjnodes ImagePadKJ Top/bottom/left/right + fill color

Latent-friendly sizing

Many models require dimensions divisible by 8 (or 16 for some WanVideo configs). ImageResizeKJv2 has a divisible_by widget; essentials ImageResize does not. For latent-aligned resize, prefer kjnodes' v2; otherwise pre-compute the target size via SimpleMath (see comfy-math-strings).

Batch operations

Need Best node
Concat two batches kjnodes ImageConcatenate
Concat N batches kjnodes ImageConcatMulti
Batch N images into one tensor (from separate IMAGE outputs) kjnodes ImageBatchMulti
Extract specific indices kjnodes GetImagesFromBatchIndexed
Extract a contiguous range kjnodes GetImageRangeFromBatch
Reverse the batch order kjnodes ReverseImageBatch
Shuffle (random) kjnodes ShuffleImageBatch
Pick one image by index essentials ImageFromBatch
Duplicate one image N times essentials ImageExpandBatch
Repeat batch K times essentials ImageBatchMultiple
Match a target batch size by repeating yvann RepeatImageToCount
Batch tensor → list of images essentials ImageBatchToList
List of images → batch tensor essentials ImageListToBatch
Count batch size essentials BatchCount, easy imageCount

The batch ↔ list distinction matters: LIST is a Python list of single-image tensors processed by INPUT_IS_LIST=True nodes; BATCH is a single 4D tensor (B, H, W, C). Many downstream nodes (samplers, VAE) expect BATCH. Convert with ImageListToBatch before the sampler.

Mask utilities

| Need | B

Полный SKILL.md на GitHub

Установить comfy-image-utils в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob

Вложенные файлы

references/captioners.mdreferences/gotchas.mdreferences/image-io.mdreferences/recipes.md

FAQ

Что делает скилл comfy-image-utils?

ComfyUI non-inference image ops: resize/crop/pad/tile/batch/mask utilities, plus image-to-text captioners (Florence-2, WD14, BLIP, DeepDanbooru). Use when manipulating images or generating captions/tags in a workflow.

Как установить скилл comfy-image-utils?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл comfy-image-utils запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить comfy-image-utils с