Node packVérifiéExterne
Comfyui-Latent-Transform-Sampler
Advanced latent space transformations during diffusion sampling
Mainteneur@pizurnyBClasse
Profil du package
- Statut
- Vérifié
- Éditeur
- @pizurny
- Source
- GitHub
- Étoiles
- 3
LIREMOI
ComfyUI Latent Transform Sampler
Advanced latent space transformations during diffusion sampling with precise control over timing and distribution.
Demo
Example use with 128 pixel shift at steps 3, 6 and 9
Features
- Transform Types: shift, mirror (H/V), rotate (90°/180°), random, sequences, spiral
- Distribution Strategies: even, golden ratio, fibonacci, front/back loaded, edges, center, exponential, logarithmic, random, manual
- Advanced Controls: transform strength, accumulating shifts, reversible transforms, minimum spacing
Installation
cd ComfyUI/custom_nodes
git clone https://github.com/pizurny/Comfyui-Latent-Transform-Sampler
Restart ComfyUI. Find the node under sampling/transform > Latent Transform Sampler
Requirements
- ComfyUI (latest)
- PyTorch >= 2.0.0
- NumPy >= 1.19.0
Usage
Connect like a standard KSampler:
- Model, positive/negative conditioning, latent_image inputs
- Output to VAE Decode
Basic Example
transform_count: 3
transform_type: shift
distribution: golden_ratio
shift_pixels_x: 16
shift_pixels_y: 0
Parameters
Core Settings
transform_count(0-20): Number of transforms to applytransform_type: Type of transformationdistribution: How to space transforms across stepssteps(1-10000): Total sampling steps
Transform Settings
shift_pixels_x/y(-512 to 512): Shift amount in pixelstransform_strength(0.0-1.0): Blend strengthaccumulate_shifts: Whether shifts accumulate or reset
Advanced Options
min_spacing(1-10): Minimum steps between transformsreverse_on_second_half: Undo transforms in second halftransform_sequence: Custom sequence (comma-separated)manual_steps: Exact steps (comma-separated)debug_mode: Console output for debugging
Transform Shorthand
For sequences:
sorshift- Shift transformhormh- Mirror horizontalvormv- Mirror verticalcw- Rotate 90° clockwiseccw- Rotate 90° counter-clockwise180- Rotate 180°r- Random
Example: "s,h,cw,s,v,ccw"
License
MIT License - see LICENSE file for details.
Nœuds dans ce pack
Nœuds 2
Nœuds dans ce pack
Nœuds 2- LatentTransformSampler
- NTransformSampler
Sources
3 sources
Sources
3 sourcesRegistre confortableSource
raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/extension-node-map.jsonVérifié 3 oct.
GitHubSourceVersion bca5ebdbd5032298a6250d3fa4c84073ce5a2a07
github.com/pizurny/Comfyui-Latent-Transform-SamplerVérifié 3 oct.
Extraits de sources
1 extrait
Extraits de sources
1 extraitSource context: Repo pizurny/Comfyui-Latent-Transform-Sampler
