gitmyhub

ComfyUI-Olm-Liquify

JavaScript ★ 17 updated 1mo ago

Olm Liquify is a ComfyUI custom node for interactive image warping, inspired by Photoshop's Liquify tool.

A custom node for ComfyUI that adds a Photoshop-style Liquify editor so you can manually warp and reshape AI-generated images with a brush before they continue through your generation workflow.

JavaScriptComfyUIsetup: easycomplexity 2/5

ComfyUI is an open-source tool for building AI image generation workflows by connecting nodes together in a visual graph. Olm Liquify adds a custom node to that graph that lets you warp and reshape images interactively before they move on to the rest of your workflow.

When you drop the node into your graph and connect an image to it, you can open a dedicated editor that works similarly to the Liquify filter in Photoshop. Inside the editor you paint directly over the image using tools called Push, Pull, Twirl, Pinch, Expand, and Smooth. Each one distorts the image pixels in a different direction or pattern. You control how strongly the warp applies by adjusting brush radius and strength, either through sliders or by scrolling the mouse wheel. Once you are happy with the result, clicking Apply bakes the changes back into the graph so that later nodes receive the modified image.

The editor includes a few visual aids to help you judge the distortion. An optional grid overlay lets you track straight lines across the image, and an optional mesh overlay shows the actual shape of the deformation field so you can see exactly how far pixels have moved. You can also save the warp to a file and reload it later, which is useful when you want to apply the same distortion to similar images without redoing the work.

A few practical limits are worth knowing. The tool is designed for single still images only and does not support video frames or batch processing. Settings like brush size and grid color are not saved when you close the editor or refresh the browser. The editor also needs one graph run to load the image into memory before the interactive panel becomes available, so you cannot open it the moment you place the node. If you restart ComfyUI, you need to run the graph once again to reload the cached image.

The project is source-available under a custom license. You can use it freely and keep all output you generate, but redistributing or reselling the code is not allowed.

Where it fits