ComfyUI Go客户端

本文介绍了一个名为ComfyUIClient的Go语言客户端库,它旨在通过简化与ComfyUIAPI的集成,帮助用户轻松地进行编程调用,实现任务的自动化处理。
部署运行你感兴趣的模型镜像

ComfyUIClient 是一个与 ComfyUI API 交互的 Go 客户端库,旨在通过代码的调用,让用户更轻松地与ComfyUI交互,从而实现任务的自动化

github仓库

您可能感兴趣的与本文相关的镜像

ComfyUI

ComfyUI

AI应用
ComfyUI

ComfyUI是一款易于上手的工作流设计工具,具有以下特点:基于工作流节点设计,可视化工作流搭建,快速切换工作流,对显存占用小,速度快,支持多种插件,如ADetailer、Controlnet和AnimateDIFF等

aria2: http://192.168.0.100:6800 [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2025-08-18 01:01:22.434 ** Platform: Windows ** Python version: 3.12.11 (main, Aug 8 2025, 17:05:04) [MSC v.1944 64 bit (AMD64)] ** Python executable: E:\ComfyUI\.venv\Scripts\python.exe ** ComfyUI Path: E:\ComfyUI\ComfyUI ** ComfyUI Base Folder Path: E:\ComfyUI\ComfyUI ** User directory: E:\ComfyUI\ComfyUI\user ** ComfyUI-Manager config path: E:\ComfyUI\ComfyUI\user\default\ComfyUI-Manager\config.ini ** Log path: E:\ComfyUI\ComfyUI\user\comfyui.log Prestartup times for custom nodes: 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy 2.6 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager Checkpoint files will always be loaded safely. Total VRAM 16303 MB, total RAM 130789 MB pytorch version: 2.8.0+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 5080 : cudaMallocAsync Using pytorch attention Python version: 3.12.11 (main, Aug 8 2025, 17:05:04) [MSC v.1944 64 bit (AMD64)] ComfyUI version: 0.3.50 ComfyUI frontend version: 1.24.4 [Prompt Server] web root: E:\ComfyUI\.venv\Lib\site-packages\comfyui_frontend_package\static Error: [WinError 1314] 客户端没有所需的特权。: 'E:\\ComfyUI\\ComfyUI\\custom_nodes\\ComfyLiterals\\js' -> 'E:\\ComfyUI\\ComfyUI\\web\\extensions\\ComfyLiterals' Failed to create symlink to E:\ComfyUI\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually. Source: E:\ComfyUI\ComfyUI\custom_nodes\ComfyLiterals\js Target: E:\ComfyUI\ComfyUI\web\extensions\ComfyLiterals WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.7.1+cu128 with CUDA 1208 (you have 2.8.0+cu128) Python 3.9.13 (you have 3.12.11) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details xFormers not available xFormers not available Module 'diffusers' load failed. If you don't have it installed, do it: pip install diffusers [ComfyUI-Easy-Use] server: v1.3.2 Loaded [ComfyUI-Easy-Use] web root: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded theUpsiders Logic Nodes: Loaded ### Loading: ComfyUI-Manager (V3.36) [ComfyUI-Manager] network_mode: public ### ComfyUI Version: v0.3.50-6-ge4f7ea10 | Released on '2025-08-13' [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json -------------- ### Mixlab Nodes: Loaded json_repair## OK ChatGPT.available True edit_mask.available True ## clip_interrogator_model not found: E:\ComfyUI\ComfyUI\models\clip_interrogator\Salesforce\blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base ClipInterrogator.available True ## text_generator_model not found: E:\ComfyUI\ComfyUI\models\prompt_generator\text2image-prompt-generator, pls download from https://huggingface.co/succinctly/text2image-prompt-generator/tree/main ## zh_en_model not found: E:\ComfyUI\ComfyUI\models\prompt_generator\opus-mt-zh-en, pls download from https://huggingface.co/Helsinki-NLP/opus-mt-zh-en/tree/main PromptGenerate.available True ChinesePrompt.available True RembgNode_.available True ffmpeg could not be found. Using ffmpeg from imageio-ffmpeg. Use Proxy: http://192.168.0.100:7897 TripoSR.available MiniCPMNode.available Scenedetect.available FishSpeech.available SenseVoice.available False Whisper.available False fal-client## OK FalVideo.available -------------- Use Proxy: http://192.168.0.100:7897 ======================================== ComfyUI-nunchaku Initialization ======================================== Nunchaku version: 0.3.1 ComfyUI-nunchaku version: 0.3.3 Traceback (most recent call last): File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\utils\import_utils.py", line 883, in _get_module return importlib.import_module("." + module_name, self.__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.11-windows-x86_64-none\Lib\importlib\__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\models\transformers\__init__.py", line 5, in <module> from .auraflow_transformer_2d import AuraFlowTransformer2DModel File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\models\transformers\auraflow_transformer_2d.py", line 26, in <module> from ..attention_processor import ( File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\models\attention_processor.py", line 35, in <module> import xformers.ops File "E:\ComfyUI\.venv\Lib\site-packages\xformers\ops\__init__.py", line 9, in <module> from .fmha import ( File "E:\ComfyUI\.venv\Lib\site-packages\xformers\ops\fmha\__init__.py", line 10, in <module> from . import ( File "E:\ComfyUI\.venv\Lib\site-packages\xformers\ops\fmha\flash3.py", line 109, in <module> from ...flash_attn_3 import _C # type: ignore[attr-defined] # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: DLL load failed while importing _C: 找不到指定的程序。 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\ComfyUI\ComfyUI\nodes.py", line 2129, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-nunchaku\__init__.py", line 31, in <module> from .nodes.models.flux import NunchakuFluxDiTLoader File "E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\flux.py", line 11, in <module> from diffusers import FluxTransformer2DModel File "<frozen importlib._bootstrap>", line 1412, in _handle_fromlist File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\utils\import_utils.py", line 874, in __getattr__ value = getattr(module, name) ^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\utils\import_utils.py", line 873, in __getattr__ module = self._get_module(self._class_to_module[name]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\.venv\Lib\site-packages\diffusers\utils\import_utils.py", line 885, in _get_module raise RuntimeError( RuntimeError: Failed to import diffusers.models.transformers.transformer_flux because of the following error (look up to see its traceback): DLL load failed while importing _C: 找不到指定的程序。 Cannot import E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-nunchaku module for custom nodes: Failed to import diffusers.models.transformers.transformer_flux because of the following error (look up to see its traceback): DLL load failed while importing _C: 找不到指定的程序。 Error loading AILab_SegmentV2.py: No module named 'groundingdino' [ComfyUI-RMBG] v2.5.0 | 26 nodes Loaded ------------------------------------------ Comfyroll Studio v1.76 : 175 Nodes Loaded ------------------------------------------ ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki ------------------------------------------ [E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False [E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly") Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 5/94 ### [START] ComfyUI AlekPet Nodes v1.0.77 ### Node -> ArgosTranslateNode: ArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode [Loading] Node -> ChatGLMNode[Loading] Node -> DeepLXTranslateNode[Loading] Node -> DeepTranslatorNode: DeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode [Loading] Node -> ExtrasNode: PreviewTextNode, HexToHueNode, ColorsCorrectNode [Loading] Node -> GoogleTranslateNode: GoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode [Loading] Node -> IDENode: IDENode [Loading] Node -> PainterNode: PainterNode [Loading] Node -> PoseNode: PoseNode [Loading] ### [END] ComfyUI AlekPet Nodes ### # 😺dzNodes: LayerStyle -> Cannot import name 'guidedFilter' from 'cv2.ximgproc' A few nodes cannot works properly, while most nodes are not affected. Please REINSTALL package 'opencv-contrib-python'. For detail refer to https://github.com/chflame163/ComfyUI_LayerStyle/issues/5 Initializing ControlAltAI Nodes Use Proxy: http://192.168.0.100:7897 [rgthree-comfy] Loaded 47 magnificent nodes. 🎉 Import times for custom nodes: 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_ttp_toolset 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-inpainteasy 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyLiterals 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_slk_joy_caption_two 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-logic 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-custom-scripts 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-inpaint-nodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_essentials 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ControlAltAI-Nodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-advanced-controlnet 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-KJNodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\derfuu_comfyui_moddednodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-RMBG 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-tooling-nodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_Mira 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes 0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.1 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-model-manager 0.1 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Dwpose-Tensorrt 0.1 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_LayerStyle 0.2 seconds (IMPORT FAILED): E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-nunchaku 0.3 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-florence2 0.4 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Depth-Anything-Tensorrt 0.5 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager 0.7 seconds: E:\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy 1.7 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-depthanythingv2 1.8 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui_custom_nodes_alekpet 1.8 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use 4.5 seconds: E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes Context impl SQLiteImpl. Will assume non-transactional DDL. No target revision found. Starting server To see the GUI go to: http://0.0.0.0:8188 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe-lightbox.esm.min.js E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/pickr.min.js E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe.min.css E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/classic.min.css E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/model-viewer.min.js E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css E:\ComfyUI\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.min.js Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 10/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 15/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 20/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 25/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 30/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 35/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 40/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 45/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 50/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 55/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 60/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 65/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 70/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 75/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 80/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 85/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data: 90/94 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 Use Proxy: http://192.168.0.100:7897 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes mode: remote filename: custom-node-list.json channel_url: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.jsonUse Proxy: http://192.168.0.100:7897 [DONE] Merge json from \\192.168.0.100\mcs\ComfyUI\custom-list;\\192.168.0.100\mcs\ComfyUI\civitai-list Merge json from \\192.168.0.100\mcs\ComfyUI\custom-list\custom-node-list.json FETCH DATA from: \\192.168.0.100\mcs\ComfyUI\custom-list\custom-node-list.json [DONE] merge custom_nodes [ComfyUI-Manager] broken item:{'title': 'ComfyUI Dwpose TensorRT', 'reference': 'https://github.com/yuvraj108c/ComfyUI-Dwpose-Tensorrt', 'req_models': [{'name': 'DWPose-l ucoco 384', 'reference': 'https://huggingface.co/yzd-v/DWPose'}, {'name': 'DWPose yolox l', 'reference': 'https://huggingface.co/yzd-v/DWPose'}]} [ComfyUI-Manager] broken item:{'title': 'ComfyUI Depth Anything TensorRT', 'reference': 'https://github.com/yuvraj108c/ComfyUI-Depth-Anything-Tensorrt', 'req_models': [{'name': 'Depth Anything 2 Onnx Large', 'reference': 'https://huggingface.co/yuvraj108c/Depth-Anything-2-Onnx'}]} [ComfyUI-Manager] All startup tasks have been completed.
08-19
### 如何在 macOS 上安装和运行 ComfyUI 客户端 #### 背景介绍 ComfyUI 是一种基于工作流模式的 AI 工具,允许用户通过拖拽节点的方式完成复杂的图像生成任务。最初,该工具需要手动配置 Python 环境及其依赖项,这给许多用户带来了较高的技术门槛[^4]。不过,近期官方宣布了一款全新的桌面客户端,其最大亮点在于同时兼容 Mac 和 Windows 平台[^1]。 #### 安装步骤概述 以下是针对 macOS 用户的具体安装指南: --- #### 1. 下载适用于 macOS 的 ComfyUI 桌面客户端 - 访问官方发布的页面或可信第三方资源链接,下载最新版本的 ComfyUI 桌面客户端。 - 根据公告描述,此版本已内置所需的所有依赖项,无需额外的手动配置[^2]。 --- #### 2. 解压并启动应用程序 - 将下载好的压缩文件解压至目标目录。 - 双击 `ComfyUI.app` 或类似的可执行文件即可启动应用。如果遇到权限提示,请前往 **系统偏好设置 -> 安全性与隐私** 中授予运行许可。 --- #### 3. 配置网络访问(如有必要) 对于某些高级功能(例如远程调用云端服务),可能需要借助 frp (Fast Reverse Proxy) 实现本地服务暴露于公网的功能[^3]。具体操作如下: - 在云服务器上部署 frp 服务端; - 在本地 macOS 设备上安装 frp 客户端,并按照官方文档中的说明进行配置; - 启动 frp 客户端后,确保能够正常连接到指定的服务地址。 > 注意:仅当您计划从外部设备访问 macOS 上运行的 ComfyUI 时才需执行上述步骤。 --- #### 4. 使用预设模型或导入自定义模型 - 默认情况下,桌面版会附带一些基础模型供快速测试使用。 - 若要加载更多开源模型,则可通过界面选项卡上传 ZIP 文件或将模型放置于特定路径下。 --- #### 常见问题排查 - 如果发现无法正常启动或者报错缺失组件,请确认是否满足最低硬件需求以及操作系统版本要求。 - 对于中文显示异常的情况,尝试调整字体渲染参数或重新编译部分核心模块。 --- ```bash # 示例命令:检查当前 macOS 版本号 sw_vers -productVersion ``` --- #### 总结 得益于新推出的跨平台特性,如今即便是苹果生态下的用户也能轻松体验到 ComfyUI 提供的强大能力。无论是初学者还是资深开发者都能从中受益匪浅。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

XdpCs

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值