Files
QL-boy 590a2c14b8 Refactor CustomTileSplitter and CustomTileMerger details
Updated the CustomTileSplitter and CustomTileMerger nodes to enhance descriptions, inputs, and outputs for better clarity and functionality.
2026-01-17 19:20:56 +08:00

117 lines
5.6 KiB
JSON

{
"CustomTileSplitter": {
"display_name": "🔧 Advanced Tile Splitter",
"description": "Split images or latent representations into overlapping tiles for high-resolution processing. Supports flexible grid configuration with automatic or manual row/column settings.",
"inputs": {
"tile_size": {
"name": "Tile Size",
"tooltip": "Base size for each tile (square). When rows/columns are specified, this becomes a target size that may be adjusted for grid fitting."
},
"overlap": {
"name": "Overlap",
"tooltip": "Pixel overlap between adjacent tiles. Essential for seamless blending during merging."
},
"rows": {
"name": "Rows",
"tooltip": "Number of vertical divisions. Set to 0 for automatic calculation based on tile size."
},
"columns": {
"name": "Columns",
"tooltip": "Number of horizontal divisions. Set to 0 for automatic calculation based on tile size."
},
"normalize": {
"name": "Normalize to Multiples",
"tooltip": "Pad dimensions to multiples of 64 (images) or 8 (latent) for compatibility with AI models."
},
"image": {
"name": "Image (Optional)",
"tooltip": "Input image to be split. Can use either image or latent, but not both required."
},
"latent": {
"name": "Latent (Optional)",
"tooltip": "Input latent representation to be split. Can use either image or latent, but not both required."
}
},
"outputs": {
"0": {
"name": "Tile Configuration",
"tooltip": "Structured configuration data containing tile layout, coordinates, and dimensions for use with the Tile Merger."
},
"1": {
"name": "Image Tiles (Batch)",
"tooltip": "All extracted tiles concatenated into a single batch tensor for parallel processing."
},
"2": {
"name": "Image Tiles (List)",
"tooltip": "Each tile as a separate list element, maintaining original positional relationships."
},
"3": {
"name": "Latent Tiles (Batch)",
"tooltip": "Latent representations of tiles concatenated into a batch tensor."
},
"4": {
"name": "Latent Tiles (List)",
"tooltip": "Individual latent tiles in a list structure preserving positional order."
}
}
},
"CustomTileMerger": {
"display_name": "🔧 Advanced Tile Merger",
"description": "Reassemble processed tiles into a seamless full image using advanced blending algorithms, seam optimization, and color correction techniques.",
"inputs": {
"tile_config": {
"name": "Tile Configuration",
"tooltip": "Tile layout configuration generated by the Tile Splitter node."
},
"blend_mode": {
"name": "Blending Mode",
"tooltip": "Algorithm for blending overlapping tile regions. \nlinear: Linear gradient (simple transition)\ngaussian: Gaussian blur (classic blending)\nmulti_band: Multi-band blending (optimal effect)\nnone: No blending (fastest)",
"options": {
"linear": "Linear Gradient",
"gaussian": "Gaussian Blur",
"multi_band": "Multi-Band (Laplacian Pyramid)",
"none": "No Blending (Hard Cut)"
}
},
"blend_strength": {
"name": "Blend Strength",
"tooltip": "Intensity of blending effect. Higher values create smoother transitions."
},
"seam_mode": {
"name": "Seam Placement",
"tooltip": "Method for determining optimal seam lines in overlap regions.\noptimal: Calculate the optimal stitching seam (slow but high quality)\nmiddle: Center line (simple and fast)",
"options": {
"optimal": "Optimal Path (Lowest Difference)",
"middle": "Center Line (Simplest)"
}
},
"histogram_matching": {
"name": "Histogram Matching",
"tooltip": "Adjust color distribution of each tile to match neighbors, reducing color inconsistencies."
},
"seam_search_radius": {
"name": "Seam Search Radius",
"tooltip": "Restrict seam search to pixels within this distance from center. 0 allows full search."
},
"processed_tiles_image": {
"name": "Processed Image Tiles",
"tooltip": "List of enhanced/processed image tiles ready for merging."
},
"processed_tiles_latent": {
"name": "Processed Latent Tiles",
"tooltip": "List of processed latent representations for merging."
}
},
"outputs": {
"0": {
"name": "Merged Image",
"tooltip": "Final reconstructed image with seamless tile integration."
},
"1": {
"name": "Merged Latent",
"tooltip": "Reconstructed latent representation from merged tiles."
}
}
}
}