ComfyUI Extension: ComfyU
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
ComfyUI image batch loader manager plugin with efficient batch upload, preview, and management functionality. (Description by CC)
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI-ImageBatchLoader
ComfyUI 图像批量加载管理器插件,提供高效的图像批量上传、预览和管理功能。
功能特性
- 批量上传:支持单个文件和整个文件夹的批量上传
- 直观预览:以网格形式展示所有加载的图像
- 拖拽排序:支持通过拖拽调整图像顺序
- 图像管理:可删除、清空、排序图像列表
- 缩略图控制:可调整预览卡片大小
- 索引管理:方便选择和管理当前活动图像
- 性能优化:实现了图像缓存机制,提高加载速度
安装方法
- 克隆仓库到 ComfyUI 的
custom_nodes目录:
git clone https://github.com/yourusername/ComfyUI-ImageBatchLoader.git
- 重启 ComfyUI
使用方法
- 在 ComfyUI 中添加
IO_LoadImgBatch节点(位于Apt_Preset/IO_Port类别) - 点击 "图片" 按钮上传单个或多个图片
- 点击 "📂" 按钮上传整个文件夹的图片
- 使用鼠标拖拽调整图片顺序
- 点击图片卡片选择当前活动图像
- 使用 "删除" 按钮移除不需要的图片
- 使用 "清空" 按钮清空所有图片
- 使用 "尺寸" 滑块调整预览卡片大小
- 使用 "隐藏" 按钮隐藏/显示预览
输出
img_list:所有加载的图像列表(批量输出)img_index:当前选中的图像name_index:当前选中图像的文件名(不含扩展名)index:当前选中图像的索引total:加载的图像总数filenames:所有图像的完整文件名列表(包含扩展名,批量输出)
技术说明
- 后端:Python 实现,处理图像加载、缓存和路由
- 前端:JavaScript 实现,提供交互式界面
- 缓存机制:实现了图像缓存,提高重复加载的性能
- 缩略图生成:自动生成适合预览的缩略图
注意事项
- 上传的图片会保存到 ComfyUI 的
input目录 - 支持的图像格式:PNG、JPG、JPEG、WebP 等
- 建议不要一次加载过多图片,以免影响性能
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.