Skip to content

Commit c1dc250

Browse files
robinjhuangclaude
andauthored
Update Icon requirements and add Banner field to registry specifications (#175)
* Update Icon requirements and add Banner field to registry specifications - Update Icon maximum resolution from 800x400 to 400x400 - Add requirement for square aspect ratio for icons - Add new optional Banner field with 21:9 aspect ratio requirement - Update example to include Banner field 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Improve Icon and Banner descriptions to mention ComfyUI Registry and ComfyUI-Manager --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 924be49 commit c1dc250

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

registry/specifications.mdx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,28 @@ DisplayName = "Super Resolution Node"
157157
```
158158

159159
### Icon (optional)
160-
URL to your custom node's icon.
160+
URL to your custom node's icon that will be displayed on the ComfyUI Registry and ComfyUI-Manager.
161161

162162
**Requirements:**
163163
- File types: SVG, PNG, JPG, or GIF
164-
- Maximum resolution: 800px × 400px
164+
- Maximum resolution: 400px × 400px
165+
- Aspect ratio should be square
165166

166167
```toml
167168
Icon = "https://raw.githubusercontent.com/username/repo/main/icon.png"
168169
```
169170

171+
### Banner (optional)
172+
URL to a larger banner image that will be displayed on the ComfyUI Registry and ComfyUI-Manager.
173+
174+
**Requirements:**
175+
- File types: SVG, PNG, JPG, or GIF
176+
- Aspect ratio: 21:9
177+
178+
```toml
179+
Banner = "https://raw.githubusercontent.com/username/repo/main/banner.png"
180+
```
181+
170182
### requires-comfyui (optional)
171183
Specifies which version of ComfyUI your node is compatible with. This helps users ensure they have the correct version of ComfyUI installed.
172184

@@ -215,5 +227,6 @@ Documentation = "https://github.com/username/super-resolution-node/wiki"
215227
PublisherId = "image-wizard"
216228
DisplayName = "Super Resolution Node"
217229
Icon = "https://raw.githubusercontent.com/username/super-resolution-node/main/icon.png"
230+
Banner = "https://raw.githubusercontent.com/username/super-resolution-node/main/banner.png"
218231
requires-comfyui = ">=1.0.0" # ComfyUI version compatibility
219232
```

zh-CN/registry/specifications.mdx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,28 @@ DisplayName = "Super Resolution Node"
159159
```
160160

161161
### Icon(可选)
162-
你的自定义节点的图标 URL。
162+
你的自定义节点的图标 URL,将在 ComfyUI Registry 和 ComfyUI-Manager 中显示
163163

164164
**要求:**
165165
- 文件类型:SVG, PNG, JPG, 或 GIF
166-
- 最大分辨率:800px × 400px
166+
- 最大分辨率:400px × 400px
167+
- 长宽比应该是正方形
167168

168169
```toml
169170
Icon = "https://raw.githubusercontent.com/username/repo/main/icon.png"
170171
```
171172

173+
### Banner(可选)
174+
URL 指向一个较大的横幅图像,将在 ComfyUI Registry 和 ComfyUI-Manager 中显示。
175+
176+
**要求:**
177+
- 文件类型:SVG, PNG, JPG, 或 GIF
178+
- 长宽比:21:9
179+
180+
```toml
181+
Banner = "https://raw.githubusercontent.com/username/repo/main/banner.png"
182+
```
183+
172184
### requires-comfyui(可选)
173185
指定你的节点兼容的 ComfyUI 版本。这有助于用户确保他们安装了正确版本的 ComfyUI。
174186

@@ -218,5 +230,6 @@ Documentation = "https://github.com/username/super-resolution-node/wiki"
218230
PublisherId = "image-wizard"
219231
DisplayName = "Super Resolution Node"
220232
Icon = "https://raw.githubusercontent.com/username/super-resolution-node/main/icon.png"
233+
Banner = "https://raw.githubusercontent.com/username/super-resolution-node/main/banner.png"
221234
requires-comfyui = ">=1.0.0" # ComfyUI 版本兼容性
222235
```

0 commit comments

Comments
 (0)