ComfyUI Civitai Gallery is a powerful custom node for ComfyUI that integrates a seamless image and models browser for the Civitai website directly into your wor
ComfyUI Civitai Gallery is a powerful custom node for ComfyUI that integrates a seamless image and models browser for the Civitai website directly into your wor
One-Click Workflow Loading: Image cards in the gallery that contain ComfyUI workflow metadata will now persistently display a "Load Workflow" icon (). Clicking this icon instantly loads the entire workflow into your current workspace, just like dropping a workflow file. Enhanced the stability of data parsing to compatibly handle and auto-fix malformed JSON data (e.g., containing undefined or NaN values) from various sources, improving the success rate of loading.
Linkage Between Model and Image Galleries: In the "Civitai Models Gallery" node's model version selection window, a "️ View Images" button has been added for each model version. Clicking this button will now cause the "Civitai Images Gallery" to load and display images exclusively from that specific model version. When in linked mode, the Image Gallery will show a clear notification bar indicating the current model and version being viewed, with an option to "Clear Filter" and return to normal browsing.
New Node: Civitai Models Gallery: Added a completely new Civitai Models Gallery node. It allows you to browse, filter, and download models (Checkpoints, LoRAs, VAEs, etc.) directly from Civitai within ComfyUI.
Model & Resource Downloader: Implemented a downloader for all resource types. Simply click the "Download" button in the new "Resources Used" viewer or the Models Gallery to save files to the correct folders. This requires a one-time setup of your Civitai API key.
Advanced Favorites & Tagging: The favorites system has been overhauled. You can now add custom tags to your favorite images for better organization.
Enhanced UI & Workflow Memory: The node now saves all your UI settings (filters, selections, sorting) within your workflow, restoring them automatically on reload.
ComfyUI Civitai Gallery is a powerful custom node for ComfyUI that integrates a seamless image browser for the Civitai website directly into your workflow. This node allows you to browse, search, and select images from Civitai and instantly import their prompts, negative prompts, and full-resolution images into your workflow. It is designed to significantly speed up your creative process by eliminating the need to switch between your browser and ComfyUI.
The gallery features a fluid, responsive waterfall (masonry) layout that intelligently fills the available space, ensuring a beautiful and efficient browsing experience.
positive_prompt: The positive prompt used to generate the image.negative_prompt: The negative prompt.image: The original, full-resolution image.info: A detailed JSON string containing all other available metadata (sampler, steps, seed, model hash, etc.).image output is connected to another node, saving bandwidth and time.Left/Right) to cycle through all image.Tab or double-click in your ComfyUI workspace, search for Civitai Gallery, and add the node to your graph.positive_prompt and negative_prompt outputs to the corresponding inputs on your KSampler node or a text display node.image output to a Preview Image or Save Image node if you need the original image. (Note: The image will only be downloaded if this output is connected).info output to a Show Text node to view all other generation parameters.custom_nodes folder.custom_nodes folder. The final folder structure should be ComfyUI/custom_nodes/ComfyUI_Civitai_Gallery/.一键加载工作流:图库中包含 ComfyUI 工作流元数据的图片卡现在将持续显示“加载工作流”图标 ()。 点击此图标即可立即将整个工作流加载到当前工作区,就像拖放工作流文件一样。 增强了数据解析的稳定性,以便兼容处理并自动修复来自各种来源的格式错误的 JSON 数据(例如,包含未定义值或 NaN 值),从而提高加载的成功率。
模型库与图片库之间的关联:在“Civitai 模型库”节点的模型版本选择窗口中,每个模型版本都添加了一个“️ 查看图片”按钮。 点击此按钮后,“Civitai 图片库”将加载并仅显示该特定模型版本的图片。 在关联模式下,图片库将显示一个清晰的通知栏,指示当前正在查看的模型和版本,并可选择“清除筛选条件”返回正常浏览。
新节点:Civitai 模型库:添加了一个全新的 Civitai 模型库节点。它允许您在 ComfyUI 中直接从 Civitai 浏览、筛选和下载模型(检查点、LoRA、VAE 等)。
模型和资源下载器:已实现适用于所有资源类型的下载器。只需点击新的“已使用资源”查看器或模型库中的“下载”按钮,即可将文件保存到正确的文件夹。这需要一次性设置您的 Civitai API 密钥。
高级收藏夹和标签:收藏夹系统已全面改进。您现在可以为收藏的图像添加自定义标签,以便更好地进行整理。
增强的 UI 和工作流内存:该节点现在会保存您工作流中的所有 UI 设置(过滤器、选择、排序),并在重新加载时自动恢复。
ComfyUI Civitai Gallery 是一个功能强大的 ComfyUI 自定义节点,它将一个为 Civitai 网站打造的无缝图片浏览器直接集成到了您的工作流中。该节点允许您直接浏览、搜索和选择来自 Civitai 的图片,并能一键将其提示词、负向提示词和原始高分辨率图片导入到您的工作流中。它旨在通过消除在浏览器和 ComfyUI 之间来回切换的需要,从而极大地加速您的创作流程。
本插件的图库拥有一个流畅且响应式的瀑布流(砌体)布局,能够智能地填充所有可用空间,确保了美观高效的浏览体验。
positive_prompt:用于生成该图片的正向提示词。negative_prompt:负向提示词。image:原始的、未经压缩的高分辨率图片。info:一个包含所有其他可用元数据(如采样器、步数、种子、模型哈希等)的详细 JSON 字符串。image 输出端口连接到其他节点时,插件才会下载原始图片,从而节省您的时间和带宽。左/右)轻松切换浏览图片。Tab 键或双击鼠标,搜索 Civitai Gallery,然后将该节点添加到您的图中。positive_prompt 和 negative_prompt 输出连接到您的 KSampler 节点或文本显示节点的相应输入上。image 输出连接到 Preview Image(预览图像)或 Save Image(保存图像)等节点。(请注意:只有当此端口被连接时,插件才会执行下载操作)。info 输出连接到 Show Text(显示文本)节点,以查看所有其他的生成参数。custom_nodes 文件夹。custom_nodes 文件夹中。最终的文件夹结构应为 ComfyUI/custom_nodes/ComfyUI_Civitai_Gallery/。No open issues yet, or sync has not completed.