change *.ini default filename suffix to .ini.example

This commit is contained in:
chflame
2024-04-22 16:54:26 +08:00
parent 52d5e32736
commit 71d38b3fc6
6 changed files with 26 additions and 26 deletions
+7 -7
View File
@@ -308,7 +308,7 @@ Node options:
* LUT<sup>*</sup>: Here is a list of available. cube files in the LUT folder, and the selected LUT files will be applied to the image.
* color_space: For regular image, please select linear, for image in the log color space, please select log.
<sup>*</sup>LUT folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plugin in.
<sup>*</sup>LUT folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plug-in, and the default name is ```resource_dir.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```.
Open the text editing software and find the line starting with "LUT_dir=", after "=", enter the custom folder path name. all .cube files in this folder will be collected and displayed in the node list during ComfyUI initialization.
If the folder set in ini is invalid, the LUT folder that comes with the plugin will be enabled.
@@ -564,7 +564,7 @@ The following changes have been made based on ImageScaleByAspectRatio:
### <a id="table1">PromptTagger</a>
Inference the prompts based on the image. it can replace key word for the prompt. This node currently uses Google Gemini API as the backend service. Please ensure that the network environment can use Gemini normally.
Please apply for your API key on [Google AI Studio](https://makersuite.google.com/app/apikey), And fill it in ```api_key.ini```, This file is located in the root directory of the plugin. Open it using text editing software, fill in your API key after ```google_api_key=``` and save it.
Please apply for your API key on [Google AI Studio](https://makersuite.google.com/app/apikey), And fill it in ```api_key.ini```, this file is located in the root directory of the plug-in, and the default name is ```api_key.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```. Open it using text editing software, fill in your API key after ```google_api_key=``` and save it.
![image](image/prompt_tagger_example.png)
Node options:
@@ -578,7 +578,7 @@ Node options:
### <a id="table1">PromptEmbellish</a>
Enter simple prompt words, output polished prompt words, and support inputting images as references. This node currently uses Google Gemini API as the backend service. Please ensure that the network environment can use Gemini normally.
Please apply for your API key on [Google AI Studio](https://makersuite.google.com/app/apikey), And fill it in ```api_key.ini```, This file is located in the root directory of the plugin. Open it using text editing software, fill in your API key after ```google_api_key=``` and save it.
Please apply for your API key on [Google AI Studio](https://makersuite.google.com/app/apikey), And fill it in ```api_key.ini```, this file is located in the root directory of the plug-in, and the default name is ```api_key.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```. Open it using text editing software, fill in your API key after ```google_api_key=``` and save it.
![image](image/prompt_embellish_example.png)
Node options:
@@ -740,7 +740,7 @@ The following changes have been made based on ColorImage:
* custom_height: Image height. it valid when size is set to "custom". if have size_as input, this option will be ignored.
<sup>*</sup>Only limited to input images and masks. forcing the integration of other types of inputs will result in node errors.
<sup>**</sup>The preset size is defined in ```custom_size.ini```, which is located in the root directory of the plugin. Open with text editing software. Each row represents a size, with the first value being width and the second being height, separated by a lowercase "x" in the middle. To avoid errors, please do not enter extra characters.
<sup>**</sup>The preset size is defined in ```custom_size.ini```, this file is located in the root directory of the plug-in, and the default name is ```custom_size.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```. Open with text editing software. Each row represents a size, with the first value being width and the second being height, separated by a lowercase "x" in the middle. To avoid errors, please do not enter extra characters.
### <a id="table1">GradientImage</a>
@@ -766,7 +766,7 @@ The following changes have been made based on GradientImage:
* custom_height: Image height. it valid when size is set to "custom". if have size_as input, this option will be ignored.
<sup>*</sup>Only limited to input images and masks. forcing the integration of other types of inputs will result in node errors.
<sup>**</sup>The preset size is defined in ```custom_size.ini```, which is located in the root directory of the plugin. Open with text editing software. Each row represents a size, with the first value being width and the second being height, separated by a lowercase "x" in the middle. To avoid errors, please do not enter extra characters.
<sup>**</sup>The preset size is defined in ```custom_size.ini```, this file is located in the root directory of the plug-in, and the default name is ```custom_size.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```. Open with text editing software. Each row represents a size, with the first value being width and the second being height, separated by a lowercase "x" in the middle. To avoid errors, please do not enter extra characters.
### <a id="table1">ImageRewardFilter</a>
![image](image/image_reward_filter_example.png)
@@ -804,7 +804,7 @@ Node options:
<sup>*</sup>Only limited to input image and mask. forcing the integration of other types of inputs will result in node errors.
<sup>**</sup>The font folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plugin.
<sup>**</sup>The font folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plug-in, and the default name is ```resource_dir.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```.
Open the text editing software and find the line starting with "FONT_dir=", after "=", enter the custom folder path name. all font files in this folder will be collected and displayed in the node list during ComfyUI initialization.
If the folder set in ini is invalid, the font folder that comes with the plugin will be enabled.
@@ -833,7 +833,7 @@ Node options:
<sup>*</sup>Only limited to input image and mask. forcing the integration of other types of inputs will result in node errors.
<sup>**</sup>The font folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plugin.
<sup>**</sup>The font folder is defined in ```resource_dir.ini```, this file is located in the root directory of the plug-in, and the default name is ```resource_dir.ini.example```. to use this file for the first time, you need to change the file suffix to ```.ini```.
Open the text editing software and find the line starting with "FONT_dir=", after "=", enter the custom folder path name. all font files in this folder will be collected and displayed in the node list during ComfyUI initialization.
If the folder set in ini is invalid, the font folder that comes with the plugin will be enabled.
+6 -6
View File
@@ -304,7 +304,7 @@ git clone https://github.com/chflame163/ComfyUI_LayerStyle.git
* LUT<sup>*</sup>: 这里列出了LUT文件夹中可用的.cube文件列表,选中的LUT文件将被应用到图像。
* color_space: 普通图片请选择linear, log色彩空间的图片请选择log。
<sup>*</sup>LUT文件夹在resource_dir.ini中定义,这个文件位于插件根目录下。用文本编辑软件打开,找到“LUT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.cube文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的LUT文件夹。
<sup>*</sup>LUT文件夹在```resource_dir.ini```中定义,这个文件位于插件根目录下, 默认名字是```resource_dir.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,找到“LUT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.cube文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的LUT文件夹。
### <a id="table1">AutoBrightness</a>
@@ -561,7 +561,7 @@ ImageScaleByAspectRatio的V2升级版
### <a id="table1">PromptTagger</a>
根据图片反推提示词,可以设置替换词。这个节点目前使用Google Gemini API作为后端服务,请确保网络环境可以正常使用Gemini。
请在[Google AI Studio](https://makersuite.google.com/app/apikey)申请你的API key, 并将其填到```api_key.ini```, 这个文件位于插件根目录。用文本编辑软件打开,在```google_api_key=```后面填入你的API key并保存。
请在[Google AI Studio](https://makersuite.google.com/app/apikey)申请你的API key, 并将其填到```api_key.ini```, 这个文件位于插件根目录下, 默认名字是```api_key.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,在```google_api_key=```后面填入你的API key并保存。
![image](image/prompt_tagger_example.png)
节点选项说明:
@@ -574,7 +574,7 @@ ImageScaleByAspectRatio的V2升级版
### <a id="table1">PromptEmbellish</a>
输入简单的提示词,输出经过润色的提示词,支持输入图片作为参考。这个节点目前使用Google Gemini API作为后端服务,请确保网络环境可以正常使用Gemini。
请在[Google AI Studio](https://makersuite.google.com/app/apikey)申请你的API key, 并将其填到```api_key.ini```, 这个文件位于插件根目录。用文本编辑软件打开,在```google_api_key=```后面填入你的API key并保存。
请在[Google AI Studio](https://makersuite.google.com/app/apikey)申请你的API key, 并将其填到```api_key.ini```, 这个文件位于插件根目录下, 默认名字是```api_key.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,在```google_api_key=```后面填入你的API key并保存。
![image](image/prompt_embellish_example.png)
节点选项说明:
@@ -763,7 +763,7 @@ GradientImage的V2升级版。
* custom_height: 图像高度。当size设置为"custom"时有效。如果有size_as输入,此处选项将被忽略。
<sup>*</sup>仅限输入image和mask, 如果强制接入其他类型输入,将导致节点错误。
<sup>**</sup>预设尺寸在```custom_size.ini```中定义,这个文件位于插件根目录下。用文本编辑软件打开,编辑自定义尺寸。每行表示一个尺寸,第一个数值是宽度,第二个是高度,中间用小写的"x"分隔。为避免错误请不要输入多余的字符。
<sup>**</sup>预设尺寸在```custom_size.ini```中定义,这个文件位于插件根目录下, 默认名字是```custom_size.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,编辑自定义尺寸。每行表示一个尺寸,第一个数值是宽度,第二个是高度,中间用小写的"x"分隔。为避免错误请不要输入多余的字符。
### <a id="table1">ImageRewardFilter</a>
@@ -803,7 +803,7 @@ GradientImage的V2升级版。
<sup>*</sup>仅限输入image和mask, 如果强制接入其他类型输入,将导致节点错误。
<sup>**</sup>font文件夹在```resource_dir.ini```中定义,这个文件位于插件根目录下。用文本编辑软件打开,找到“FONT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.ttf和.otf文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的font文件夹。
<sup>**</sup>font文件夹在```resource_dir.ini```中定义,这个文件位于插件根目录下, 默认名字是```resource_dir.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,找到“FONT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.ttf和.otf文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的font文件夹。
@@ -831,7 +831,7 @@ GradientImage的V2升级版。
<sup>*</sup>仅限输入image和mask, 如果强制接入其他类型输入,将导致节点错误。
<sup>**</sup>font文件夹在```resource_dir.ini```中定义,这个文件位于插件根目录下。用文本编辑软件打开,找到“FONT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.ttf和.otf文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的font文件夹。
<sup>**</sup>font文件夹在```resource_dir.ini```中定义,这个文件位于插件根目录下, 默认名字是```resource_dir.ini.example```, 初次使用这个文件需将文件后缀改为.ini。用文本编辑软件打开,找到“FONT_dir=”开头的这一行,编辑“=”之后为自定义文件夹路径名。这个文件夹里面所有的.ttf和.otf文件将在ComfyUI初始化时被收集并显示在节点的列表中。如果ini中设定的文件夹无效,将启用插件自带的font文件夹。
### <a id="table1">LaMa</a>
-2
View File
@@ -1,2 +0,0 @@
# LayerStyle api_key
google_api_key=
+2
View File
@@ -0,0 +1,2 @@
# LayerStyle api_key
google_api_key=AIzaSyBp3jTmpjFa8V_pQ67cYHJp5IxaxFYKXUA
+10 -10
View File
@@ -1,10 +1,10 @@
# LayerStyle Custom_size
1024 x 1024
768 x 512
512 x 768
1280 x 720
720 x 1280
1344 x 768
768 x 1344
1536 x 640
640 x 1536
# LayerStyle Custom_size
1024 x 1024
768 x 512
512 x 768
1280 x 720
720 x 1280
1344 x 768
768 x 1344
1536 x 640
640 x 1536
@@ -1,2 +1,2 @@
FONT_dir=C:\font
FONT_dir=C:\font
LUT_dir=C:\lut