Image Manipulation Nodes
Welcome to my page. I create nodes that I need to make my life easier, most of the stuff I do is based on Image Generation and Manipulation. If I find something lacking I try to create something that helps me or shortens the time required to complete the task at hand. This is by no means an extensive list, more to follow though.
If you would like to make a donation to my efforts use the QR code
Install using ComfyUI Manager or manually install in your custom_nodes directory with the following command:
"git clone https://github.com/GraftingRayman/ComfyUI_GraftingRayman"
Make sure to install Clip
For comfyui portable run the following command in your comyfui folder
".\python_embeded\python.exe -m pip install git+https://github.com/openai/CLIP.git"
For system python run the following command
"pip install git+https://github.com/openai/CLIP.git"
Without this the nodes will fail to be imported
GR Tile and Border Image Random Flip
If you use these, follow my YouTube channel where I create ComfyUI workflows from scratch
Hope this stuff is helpful
If like me, your prompts are very bland and can't seem to get the right amount of details in, this node is for you. This node generates the positive prompt for scenes. You can add your own details to be appended to the prompt as well. Short text can be used to describe the image, and this can be then expanded automatically. A vast array of the type of image can be selected, images can also be replicated using the seed.
There is a new Extended version of the Prompt Generator with over 10 Quintillion+ combinations for prompts. You can choose from more than 120 different subjects to generate prompts
Workflow in workflow folder.
The GR Pan Or Zoom node, takes an image of your choice and using the depth map can zoom or pan the image using 6 different depth focusing methods.
With out Depth
With Depth
This node creates a text overlay, this can be single or multi line. Placement includes left, right, center, middle, top, bottom. Justification can be manually set. Lots of default colours selectable from the list. All your system TTF and OTF fonts available dynamically. Line spacing as well as letter spacing can be controlled in steps of 0.01. Text without stroke thickness can be used as a mask. A second mask includes the stroke thickness Added a background box that can be used to highlight the text, the edge styles for the box can be selected as well as its opacity
Creates random Onomatopoeia or uses the letters provided. Still a bit buggy, currently placing it left or right does not work correctly.
Can choose from 6 prompts
Always prompt is always on
Negative prompt included
All the features of Prompt Selector, this time you can use all 6 prompt styles at the same time
This is a simple prompt combiner, will take 6 positives and 6 negatives and combine them
Resizes image by height, size, divisible and scale
Credit to simeonovich
This node creates a single mask that you can use
If you need multiple mask in one node, you can use this. This node creates upto 8 equal size masks.
When you need to resize your mask image to fit your latent image
A node with preselected image sizes or custom, outputs height and width, can also be used for empty latent image via the latent output
Added a dimensions input to the node, this takes the dimensions from the image and passes that for the height/width. A seed feature has also been added with 15 digit random seeds, this will reduce number of nodes on display
A node to add a border in pixels and tile the image
Creates a random mask of your chosen size, useful to set a latent noise mask at random
This node takes an image and tiles the image into defined columns and rows, but before outputting it flips one of the tiles randomly
This node takes two images as input and stacks one on top of the other, both images need to be of the same dimensions. Added a new input to select horizontal or vertical stacking.
This node is a slightly improved Resize node that loads and displays the image (Similar to LoadImage), you can resize the image using different Interpolation methods.
I took the standard Image Preview node and updated it, now you can see the preview with additional details like Filename, File Size, Height, Width, Type of Image etc You can also save the file with the details with the save node
This node takes an image input and creates a tile of the required size, it then flips a random tile and puts a red ring around it
If a second image is provided (this iamge needs to be resized before joining to the dimenions of the main tile + 2 x border size, this will then use this second image as the flipped random tile and put a red ring around it
For both types, the first output will give you the image with the randomly flipped image, the second output will give you the same image but with the red ring around the flipped tile
This node takes an image, creates a tile of the required size with a randomly flipped tile, the first output shows the full tile with the randomly flipped tile, while the second output shows the randomly flipped tile inverted.
Creates a checkered board, outputs an image as well as a mask. You can choose from a myriad of colours, borders for individual boxes and the whole board.
This node takes the second image and pastes it over the first. Opacity can be set for the second image. Both images need to be of the same dimensions, this can be resized using GR Image Resize node.
This node, takes a background image (Dimensions of background image are used to rescale the overlay and mask if different), an overlay image and a mask. The overlay image is pasted over the background image with guidance from the mask. The opacity can be manually set along with manual positioning of the overlay image as well as the mask. If you want to see where the mask is being placed you can enable an outline of the mask with configurable outline thickness, colour and opacity along with outline placement. Various blend options are available for the blending of the masked image. 4 Outputs are provied, 1st output sends the overlayed image, 2nd output sends the same overlayed image with the mask inverted, 3rd output sends the outline only and the fourth output sends the dimensions of the background image in text format.
This node creates a countdown or count up timer video, you can choose the font and size you want, also includes an outline feature. The node outputs the frames which can be further processed if required. Video is saved in the location specified in the node which is of type MP4. Can move the timer across the screen or resize the timer from start to finish.
This node is an updated version of other REMBG nodes, includes all available REMBG models to choose from
8 Different models to choose from
Use the general use model for all types of images
Use the anime model for anime images
A node that creates a scrolling text on a background colour of your choice. You can select the path it saves the video or individual frames.
Lots of different styles to select from