Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

ComfyUI-Purz

Image and Pattern Nodes

Mantenedor@purzbeatsB · adoptionnota

Perfil do pacote

Status
Verificado
Publicador
@purzbeats
Fonte
GitHub

README

ComfyUI-Purz

A comprehensive node pack for ComfyUI that provides powerful image effects, pattern generation, and animated pattern creation capabilities. Perfect for creating dynamic textures, visual effects, and animated sequences.

✂️ What's new in v2.1.0

  • Image Crop + Video Crop — Standalone crop / resize nodes with a live preview canvas, a draggable green crop overlay, 14 aspect-ratio presets, and four fit modes (Stretch / Cover / Contain / Crop). Output: single IMAGE or single VIDEO. Each comes in two flavors: client-side (source file stays in the browser) and upload (persists across reloads, processed server-side).
  • Draggable crop overlay — Click and drag the green rectangle on any crop preview to position the crop window. Anchor + offset_x / offset_y update automatically so the workflow knows exactly where to crop.
  • Playback controls on every video preview — Extractor nodes get Play / Pause that drives the scrubber and commits the current frame on pause. Trim nodes get Play Loop, which auto-rewinds inside the trim handles so you can preview the segment exactly as it'll render.
  • Crop preview smoothness — Preview canvas capped at 720px (longest side) and driven by requestVideoFrameCallback so playback updates every frame, not every 250 ms. Server-side video resize switched to OpenCV (~10× faster than per-frame PIL).

🎬 What's new in v2.0.0

  • Media Extractor — Standalone "Load Video" node, scrub a local video, output a single chosen frame. Two flavors:
    • Media Extractor (Purz) — pure client-side; the video file never reaches the server. Only the chosen PNG is sent on commit.
    • Media Extractor Upload (Purz) — uploads to ComfyUI's input/ directory; selection persists across browser reloads.
  • Video Trim — Set in / out points on a video, output the trimmed segment as a VIDEO. Two flavors:
    • Video Trim (Purz) — client-side; trim segment is baked in-browser via MediaRecorder (webm vp9/vp8 + opus) and shipped up once. Source file stays local.
    • Video Trim Upload (Purz) — server-side VideoFromFile.as_trimmed() — lazy windowed read, no re-encode, instant.
  • Playback in every preview widget — Play / Pause that drives the scrubber; trim nodes get a Play-Loop that auto-rewinds inside the trim handles so you can preview the segment.
  • Pixelate node rewrite — Now a full retro-pixel pipeline: area / nearest / median downsampling, posterize + named palettes (Game Boy, NES, C64, PICO-8, CGA, Endesga 32), ordered Bayer + Floyd-Steinberg dithering, grid-line overlay, separate X/Y pixel sizes, optional MASK input.

🎚️ V3 Schema with Slider UI

All nodes now support ComfyUI's V3 schema with slider widgets for numeric inputs - providing a much better user experience than the default number pickers with increment buttons.

V3 Features:

  • Slider Controls - All numeric parameters use intuitive slider widgets
  • Auto-Detection - Automatically uses V3 when available, falls back to V1 for older ComfyUI versions
  • Animated Grain - New checkbox toggle for the Grain effect to enable animated film grain
  • Live Animation Preview - Effects with animation capabilities preview in real-time

🎬 Video Batch Processing

Apply real-time WebGL filters to entire video sequences! The Interactive Image Filter now fully supports batch processing, making it perfect for video workflows:

How It Works

  1. Load your video - Use any video loader node (like VHS) to load frames into ComfyUI
  2. Connect to Interactive Filter - Pipe your image batch into the Interactive Image Filter node
  3. Preview & adjust - Use the built-in playback controls to scrub through your video while adjusting filters in real-time
  4. Run the workflow - When you execute, all frames are automatically processed through WebG

Nós neste pacote

Nós 27
  • PurzAnimatedCheckerboard
  • PurzAnimatedNoise
  • PurzAnimatedPolkaDots
  • PurzAnimatedStripes
  • PurzCheckerboardPattern
  • PurzColorAdjust
  • PurzEdgeDetect
  • PurzGradientPattern
  • PurzGridPattern
  • PurzHexagonPattern
  • PurzImageBlur
  • PurzImageCrop
  • PurzImageCropUpload
  • PurzImageFlip
  • PurzImageRotate
  • PurzImageToBlackWhite
  • PurzInteractiveFilter
  • PurzMediaExtractor
  • PurzMediaExtractorUpload
  • PurzPixelate
  • PurzPolkaDotPattern
  • PurzSimpleNoisePattern
  • PurzStripesPattern
  • PurzVideoCrop
  • PurzVideoCropUpload
  • PurzVideoTrim
  • PurzVideoTrimUpload

Fontes

3 fontes
GitHubPrimário
github.com/purzbeats/ComfyUI-Purz

Verificado 30 de out.

GitHubFonteVersão d98386a5f7b9a738c7b5f7fb8cea1fcdba505698
github.com/purzbeats/ComfyUI-Purz

Verificado 25 de out.

Trechos de fonte

1 trecho

Source context: Repo purzbeats/ComfyUI-Purz