Nodes Browser
ComfyDeploy: How OmniGen-ComfyUI works in ComfyUI?
What is OmniGen-ComfyUI?
a custom node for [a/OmniGen](https://github.com/VectorSpaceLab/OmniGen)
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
OmniGen-ComfyUI
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
OmniGen-ComfyUI
A custom node for OmniGen, you can find workflow here
Automatic downloading of the model is no longer performed, since now you have a loader node which will allow for finetunes, merges, as well as fp8 dtypes.
How to Install
- Create an OmniGen folder the models directory in /ComfyUI/models/Omnigen (this has moved from the older folder location)
- Within the /ComfyUI/models/Omnigen download all of the files from https://huggingface.co/Shitao/OmniGen-v1 into its own folder.
You can also download the models with GIT. First do GIT LFS and afterwards do git clone https://huggingface.co/Shitao/OmniGen-v1. This can take awhile, and may appear as if it is doing nothing for a bit.
- Install OmniGen-ComfyUI by AIFSH in Comfy Manager. Be sure to select the correct one. Many clones with less functionality have appeared since.
Example
In the prompt text, you only need to use image_1
(for image 1), instead of needing to use <img><|image_1|></img>
.
|text|image_1|image_2|image_3|out_img|
|--|--|--|--|--|
|A curly-haired man in a red shirt is drinking tea.
|--|--|--||
|The woman in image_1 waves her hand happily in the crowd
||--|--||
Tips
For out of memory or time cost, you can refer to inference.md#requiremented-resources to select a appropriate setting.
text2img Example Prompt: "A white cat resting on a picnic table."
Image Editing Example Prompt: "image_1 The umbrella should be red."
Segmentation Example Prompt: "Find lamp in the picture image_1 and color them blue."
Try-On Example Prompt:"image_1 wears image_2."
Pose Example Prompt: "Detect the skeleton of human in image_1."
Disclaimer / 免责声明
We do not hold any responsibility for any illegal usage of the codebase. Please refer to your local laws about DMCA and other related laws. 我们不对代码库的任何非法使用承担任何责任. 请参阅您当地关于 DMCA (数字千年法案) 和其他相关法律法规.