update readme

This commit is contained in:
chflame163
2024-11-06 16:59:46 +08:00
parent 499b6e04b4
commit d376b6ee82
3 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -41,11 +41,11 @@ Alternatively, enter OmniGen Wrapper in the node search bar to find the node.
### Node Options
![image](image/omnigen_wrapper_node.jpg)
* image_1: Optional input image_1. If input, this image must be described in the prompt and referred to as ```{imgae_1}```.
* image_2: Optional input image_2. If input, this image must be described in the prompt and referred to as ```{imgae_2}```.
* image_3: Optional input image_3. If input, this image must be described in the prompt and referred to as ```{imgae_3}```.
* image_1: Optional input image_1. If input, this image must be described in the prompt and referred to as ```{image_1}```.
* image_2: Optional input image_2. If input, this image must be described in the prompt and referred to as ```{image_2}```.
* image_3: Optional input image_3. If input, this image must be described in the prompt and referred to as ```{image_3}```.
* dtype: Model accuracy, default is the default model accuracy, optional int8. The default precision occupies approximately 12GB of video memory, while int8 occupies approximately 7GB of video memory.
* prompt: The prompt or prompts to guide the image generation. If have image input, use the placeholder ```{imgae_1}```, ```{imgae_2}```, ```{imgae_3}``` to refer to it.
* prompt: The prompt or prompts to guide the image generation. If have image input, use the placeholder ```{image_1}```, ```{image_2}```, ```{image_3}``` to refer to it.
* width: The height in pixels of the generated image. The number must be a multiple of 16.
* height: The width in pixels of the generated image. The number must be a multiple of 16.
* guidance_scale: A higher value will make the generated results of the model more biased towards the condition, but may sacrifice the diversity and degrees of freedom of the image.
+4 -4
View File
@@ -36,11 +36,11 @@ python -s -m pip install -r ComfyUI/custom_nodes/ComfyUI_OmniGen_Wrapper/require
### 节点参数说明
![image](image/omnigen_wrapper_node.jpg)
* image_1: 可选输入图片1。如果输入,须在prompt中描述此图,用```{imgae_1}```指代。
* image_2: 可选输入图片2。如果输入,须在prompt中描述此图,用```{imgae_2}```指代。
* image_3: 可选输入图片3。如果输入,须在prompt中描述此图,用```{imgae_3}```指代。
* image_1: 可选输入图片1。如果输入,须在prompt中描述此图,用```{image_1}```指代。
* image_2: 可选输入图片2。如果输入,须在prompt中描述此图,用```{image_2}```指代。
* image_3: 可选输入图片3。如果输入,须在prompt中描述此图,用```{image_3}```指代。
* dtype: 模型精度,default为模型默认精度, 可选int8。默认精度大约占用12GB显存,int8大约占用7GB显存。
* prompt: 生成图片的提示词。如果有图片输入,请用```{imgae_1}```、```{imgae_2}```、```{imgae_3}```指代。
* prompt: 生成图片的提示词。如果有图片输入,请用```{image_1}```、```{image_2}```、```{image_3}```指代。
* width: 生成图片的宽度,必须为16的倍数。
* height: 生成图片的高度,必须为16的倍数。
* guidance_scale: 引导比例。较高的值会使模型的生成结果更倾向于条件,但可能损失图像的多样性和自由度。
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "ComfyUI_OmniGen_Wrapper"
description = "ComfyUI custom node of OmniGen project."
version = "1.0.2"
version = "1.0.3"
license = "MIT"
dependencies = ["transformers", "diffusers", "numpy", "datasets", accelerate", "timm", "peft", "safetensors", "huggingface_hub"]