Extensions/ComfyUI-AdvancedTiling
ComfyUI Extension

ComfyUI-AdvancedTiling

Advanced tiling of various shapes for ComfyUI

By JosefKuchar·Created 2 years ago·Updated 3 months ago· 18
JosefKuchar/ComfyUI-AdvancedTiling
Nodes3
On cloudLocal install
Categoryconditioning, sd
Stars18
Updated3 months ago
Readme

ComfyUI Advanced Tiling

ComfyUI tiling nodes inspired by spinagon/ComfyUI-seamless-tiling. This project enables the creation of tileable images in various shapes with customizable rotations. Example workflows are located in the workflows directory.

Hexagon tiling example

⚠️ There are some artifacts present. I'm not sure if this is because of a flawed implementation or simply because Stable Diffusion isn't intended for this purpose.

Implemented tiling modes

  • [x] Hexagon
  • [x] Rectangular (toroidal — right edge wraps to left, bottom wraps to top)
  • [x] None (normal generation)

Supported models

UNet-based

  • [x] Stable Diffusion 1.5 (also 1.4)
  • [x] Stable Diffusion 2.1 (also 2.0)
  • [x] Stable Diffusion XL (SDXL)

DiT-based (via toroidal attention patching)

  • [x] FLUX.2 — tested on flux.2-klein-4b
  • [x] Qwen Image — tested on qwen-image-2512 (Q6 GGUF and fp16)

DiT models are automatically detected and use toroidal attention instead of latent padding for seamless tiling.

TODO

  • Optimize VAE decode (first pass is very slow)

Credits

spinagon/ComfyUI-seamless-tiling [GPL-3.0] - Used as a base for this project

Red Blob Games - Hexagonal Grids - Hexagonal grid math