This is a workflow for my simple logic amazing upscale node for DIT model. it can be common use for Flux,Hunyuan,SD3 It can simple tile the initial image into pieces and then use image-interrogator to get each tile prompts for more accurate upscale process. The condition will be properly handled and the hallucination will be significantly eliminated.
This workflow is designed for simple logic amazing upscale nodes in the DIT model. It supports common applications for Flux, Hunyuan, and SD3. The workflow tiles the initial image into smaller pieces, uses an image-interrogator to extract prompts for each tile, and performs an accurate upscale process. This approach minimizes hallucinations and ensures proper condition handling.
We hope you enjoy using it!
This node cuts an image into pieces automatically based on your specified width and height. It also records the necessary information for further processing.
| Parameter | Description | |-----------|-------------------------------------| | Width | The width of each tile. | | Height | The height of each tile. | | Image | The image to be tiled. |
Node View:
This node reassembles image tiles back into a complete image while preventing visible lines between the tiles. It operates in pixel mode.
| Parameter | Description | |-------------|---------------------------------------------------------------| | Tiles | Input the tiled image batch. Replace individual tiles if needed. | | Position | Paired with the Image Tile Batch Node. | | Original Size | Paired with the Image Tile Batch Node. | | Grid Size | Paired with the Image Tile Batch Node. | | Padding | The padding value used to merge the image pieces. |
Node View:
This node calculates the resolution of each tile based on the original image dimensions and your specified width/height factors.
| Parameter | Description | |-------------------|--------------------------------------------------------------------| | Width Factor | Divides the image width into equal parts. | | Height Factor | Divides the image height into equal parts. |
For example: A width factor of 2
and a height factor of 3
will divide the image into 6
equal tiles.
Node View:
This node converts position information into coordinates and connects them to the corresponding positions.
Node View:
This node converts condition lists into batches. It is reserved for future functionality expansion and connects to the conditions.
Node View:
This node merges all tiled conditions into one and prepares them for building the final image. It connects to the Coordinate Splitter Node and Cond to Batch Node.
Node View:
This workflow supports ControlNet Tile for enhanced upscaling. Here's an example of using tiles with the Hunyuan DIT model:
| Resource | Link | |----------|-----------------------------------------------------------------------------------------------| | Tile Example | Hugging Face Tile | | Hunyuan 1.2 | Download Hunyuan 1.2 |
Workflow Example: