Add Latent Split node (2/4 spatial split) for ComfyUI

Splits a [B,C,H,W] latent into left/right or top/bottom halves, or four
quadrants. Model-agnostic (SD, SDXL, Flux / FLUX.1 Krea); preserves batch
dimension and noise_mask.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 13:25:47 +02:00
commit 291a0a1f1c
5 changed files with 186 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[project]
name = "comfyui-latent-splitter"
description = "Split a latent into 2 (left/right or top/bottom) or 4 tiles. Model-agnostic (SD, SDXL, Flux / FLUX.1 Krea)."
version = "1.0.0"
license = { text = "MIT" }
requires-python = ">=3.9"
[project.urls]
Repository = "https://github.com/ethanfel/ComfyUI-Split-Latent.git"
[tool.comfy]
PublisherId = "ethanfel"
DisplayName = "ComfyUI-Latent-splitter"