# Repository Briefing: treehog2/ComfyUI-kukkiri
> Source: https://repoforai.com/repo/treehog2/ComfyUI-kukkiri (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/treehog2/ComfyUI-kukkiri
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Python
- **License**: GPL-3.0
- **Engineering Health**: B+ (70/100 · Maintenance 35/35 · Adoption 13/25 · Releases 11/20 · License 11/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: GPU
- **Momentum**: 42 ★ total (+0 24h / +30 7d) · 8 forks
- **When to Use**: Best for: ComfyUI teams that want local mosaic restoration on longer videos without managing the inference stack inside ComfyUI, or an automatic first pass for pixelation with human review. Skip if: You need faithful recovery of hidden detail, unattended redaction with no missed frames, or a deployment that cannot accommodate a separate GPU runtime for long-video processing.

## Overview
```text
### Architecture & Core Mechanics
ComfyUI-kukkiri is a Python custom-node extension, not a standalone inference server. Its root contains __init__.py, nodes.py, and an example_workflows/ directory. The typical graph is Load Video → Kukkiri Mosaic Restore or Kukkiri Mosaic Add → Save Video. Both nodes invoke a separately installed kukkiri executable. pyproject.toml declares no package dependencies for the extension itself; the external installation supplies the GPU stack and, for restoration, the detect → crop → restore → blend pipeline.

A separate template runs the kiyo-ltx LoRA on LTX-2.5 22B dev entirely inside a recent ComfyUI installation. It uses LTXVAddGuide to condition on the source video, performs two sampling steps with ManualSigmas set to 1.0, 0.725, 0.0, then trims the guide with LTXVCropGuides before saving. The graph rounds dimensions to multiples of 32 and the frame count to the 8k + 1 form. It does not invoke kukkiri’s detection or clip-by-clip processing.

### Key Capabilities & Differentiators
Mosaic Restore offers kiyo-v4 for speed and kiyo-ltx-v1, an LTX-2.5-based model, when restoration quality matters more. Higher sensitivity can catch faint or small mosaics; lower sensitivity reduces false detections. Side-by-side 180° VR supports an optional fisheye-pixelated mosaic. kiyo-ltx normally restores 60 fps input at 30 fps; keep_fps retains the original cadence at roughly twice the processing time.

When the detector cannot locate a mosaic, kiyo-ltx can redraw the whole frame. That mode is slower, requires a high-VRAM GPU, and can alter faces and other regions that were never pixelated. Mosaic Add instead uses a square grid fixed to the frame. A block_size of 0 sets the block size to one thirty-sixth of frame height. If the detector misses a region for more than a few frames, some frames can remain uncensored.

### Trade-offs & Limitations
Compared with the native core-node graph, the external wrapper adds a separately managed runtime but keeps its GPU dependencies out of ComfyUI. It also handles longer videos clip by clip and automates region detection and compositing. The native graph avoids the second install and is convenient for inspecting or changing the sampling setup, but generates the whole clip at once and is intended for clips of only a few seconds.

Restoration synthesizes plausible detail; it cannot verify what was present before pixelation. For redaction, Mosaic Add is a first pass, not a substitute for reviewing the output. Use explicit masks or manual corrections where missed frames cannot be tolerated. The extension’s GPL-3.0 license matters when redistributing it or modifications; model-weight terms must be assessed separately.

### Hardware & Deployment Guide
Install kukkiri separately using the Windows installer or, on Linux, from source with pip. The Linux kiyo-ltx setup needs additional packages. Install the extension through ComfyUI Manager’s Git URL option or clone it into ComfyUI/custom_nodes and restart ComfyUI. The node checks the Windows installation location or PATH; KUKKIRI and the kukkiri_path input provide explicit overrides. The quick-start restoration workflow saves under output/kukkiri/.

The first kiyo-ltx-v1 run downloads 15 GB of weights. It can run with 8 GB of VRAM, runs slower below 32 GB, and requires 32 GB for VR. The native template instead requires a recent ComfyUI with LTX-2.5 support, the LTX-2.5 22B dev transformer, the Gemma 4 12B text encoder with projection, the LTX-2.5 video VAE, and the kiyo-ltx-v1 LoRA. Accept the LTX-2.5 license on Hugging Face before fetching those weights. The package manifest lists version 0.6.50; no GitHub release is listed, so the package version does not establish a release cadence.
```

## Key Capabilities
```text
- Runtime isolation: Restore and Add invoke a separately installed kukkiri executable rather than importing its GPU stack into ComfyUI.
- Restoration pipeline: Detect, crop, restore, and blend with kiyo-v4 or the LTX-2.5-based kiyo-ltx-v1.
- GPU and storage sizing: kiyo-ltx-v1 runs with 8 GB VRAM, requires 32 GB for VR mode, and downloads 15 GB of weights on first use.
- Frame-rate control: kiyo-ltx drops 60 fps inputs to 30 fps by default; keep_fps preserves 60 fps at roughly twice the processing time.
- Automatic pixelation: Frame-aligned blocks default to one thirty-sixth of frame height; sustained detector misses can leave frames uncensored.
- Native LTX-2.5 graph: A core-node workflow uses LTXVAddGuide, two sampling steps, and LTXVCropGuides without a kukkiri install.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/treehog2/ComfyUI-kukkiri.git
cd ComfyUI-kukkiri
```
