Node packVerificadoExterno
Comfyui-Latent-Transform-Sampler
Advanced latent space transformations during diffusion sampling
Responsable@pizurnyBcalidad
Perfil del paquete
- Estado
- Verificado
- Publicador
- @pizurny
- Fuente
- GitHub
- Estrellas
- 3
Léeme
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.
Nodos de este paquete
2 nodos
Nodos de este paquete
2 nodos- LatentTransformSampler
- NTransformSampler
Fuentes
3 fuentes
Fuentes
3 fuentesRegistro de ComfyFuente
raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/extension-node-map.jsonVerificado 3 oct
GitHubFuenteVersión bca5ebdbd5032298a6250d3fa4c84073ce5a2a07
github.com/pizurny/Comfyui-Latent-Transform-SamplerVerificado 3 oct
Extractos de fuentes
1 extracto
Extractos de fuentes
1 extractoSource context: Repo pizurny/Comfyui-Latent-Transform-Sampler
