A ComfyUI custom node implementation of OmniGen, a powerful all in one text-to-image generation and editing model.
$${\color{red}If\ this\ custom\ node\ helps\ you\ or\ you\ like\ my\ work,\ please\ give\ me⭐on\ this\ repo!}$$ $${\color{red}It's\ a\ greatest\ encouragement\ for\ my\ efforts!}$$
ComfyUI-OmniGen
on ComfyUI Manager and install it.ComfyUI/custom_nodes
foldergit clone https://github.com/1038lab/ComfyUI-OmniGen.git
ComfyUI/custom_nodes/ComfyUI-OmniGen
folder..\..\..\python_embeded\python.exe -m pip install -r requirements.txt
[!IMPORTANT] The first time you use this custom node, it will automatically download the model from Hugging Face. Please be patient, as the download size is approximately 15.5 GB, and it may take some time to complete.
Alternatively, you can manually download the model from Hugging Face at the following link: Download OmniGen-v1 from Hugging Face After downloading, place the model in the following directory:
comfyui/models/LLM/OmniGen-v1
Simple usage for text to image & image to image. workflow
Generate an image that combines 2 images. Workflow
Following the pose of this image image_1
, generate a new photo: An viking old man standing.
Generate a depth map from the input image and create a new image based on the depth map. Workflow
Deblur this image. image_1
Prompt | Image_1 | Image_2 | Image_3 | Output |
---|---|---|---|---|
20yo woman looking at viewer | ||||
Transform image_1 into an oil painting |
||||
Transform image_2 into an Anime |
||||
The girl in image_1 sitting on rock on top of the mountain. |
||||
Combine image_1 and image_2 in anime style. |
||||
A woman from image_1 and a man from image_2 are sitting across from each other at a cozy coffee shop, each holding a cup of coffee and engaging in conversation. |
||||
Following the depth mapping of this image image_1 , generate a new photo: an elderly couple sitting at a cozy coffee shop. The scene should feature the couple enjoying a peaceful moment together at a table. The elderly man, with a gray beard and glasses, and the woman, with short silver hair and a soft cardigan, are sipping coffee and smiling at each other. The atmosphere is warm, with soft, ambient lighting and a blurred background of other patrons, shelves of books, and cafe decorations. The depth and textures from image_1 should be integrated to emphasize the intimate, serene setting. |
||||
Detect the skeleton of a human in this image: image_1 |
||||
Following the pose of this image image_1 , generate a new photo: A viking old man standing |
||||
Detect the depth map of a human in this image: image_1 |
||||
Deblur this image: image_1 |