30 KiB
30 KiB
In [1]:
# Install ComfyUI and dependencies
!pip install -q torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
!pip install -q huggingface_hub
!mkdir -p /kaggle/tmp
!git clone https://github.com/comfyanonymous/ComfyUI.git /kaggle/tmp/ComfyUI
%cd /kaggle/tmp/ComfyUI
!pip install -q -r requirements.txt
# Install ComfyUI-Manager
!git clone https://github.com/ltdrdata/ComfyUI-Manager.git custom_nodes/ComfyUI-Manager
# Install ComfyUI-KJNodes (helper nodes used in the official LTX-2.3 GGUF workflow)
!git clone https://github.com/kijai/ComfyUI-KJNodes.git custom_nodes/ComfyUI-KJNodes
!pip install -q -r custom_nodes/ComfyUI-KJNodes/requirements.txt
# Install the missing GGUF loader custom node
!git clone https://github.com/city96/ComfyUI-GGUF.git custom_nodes/ComfyUI-GGUF
%cd /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-GGUF
# 1. Install required python libraries for GGUF parsing
!pip install -q -r requirements.txt
!pip install -q gguf sentencepiece
print("\nGGUF library dependencies successfully patched!")
!git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git custom_nodes/ComfyUI-VideoHelperSuite
# 1. Move into the video helper suite directory
%cd /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
# 2. Force install the required system and video manipulation libraries
!pip install -q -r requirements.txt
!pip install -q decord av simplejson imageio-ffmpeg
# Install cloudflared to expose the URL publicly
!wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O cloudflared
!chmod +x cloudflared
%cd /kaggle/tmp/ComfyUICloning into '/kaggle/tmp/ComfyUI'... remote: Enumerating objects: 42712, done.[K remote: Counting objects: 100% (140/140), done.[K remote: Compressing objects: 100% (34/34), done.[K remote: Total 42712 (delta 126), reused 106 (delta 106), pack-reused 42572 (from 2)[K Receiving objects: 100% (42712/42712), 83.68 MiB | 23.99 MiB/s, done. Resolving deltas: 100% (28959/28959), done. /kaggle/tmp/ComfyUI [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m26.6/26.6 MB[0m [31m67.6 MB/s[0m eta [36m0:00:00[0m:00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m15.4/15.4 MB[0m [31m93.5 MB/s[0m eta [36m0:00:00[0m:00:01[0m0:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m7.0/7.0 MB[0m [31m107.3 MB/s[0m eta [36m0:00:00[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m346.8/346.8 kB[0m [31m25.2 MB/s[0m eta [36m0:00:00[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m63.8/63.8 kB[0m [31m5.1 MB/s[0m eta [36m0:00:00[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m2.7/2.7 MB[0m [31m74.3 MB/s[0m eta [36m0:00:00[0m:00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m100.1/100.1 MB[0m [31m19.0 MB/s[0m eta [36m0:00:00[0m00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m89.4/89.4 MB[0m [31m21.5 MB/s[0m eta [36m0:00:00[0m:00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m89.1/89.1 MB[0m [31m21.2 MB/s[0m eta [36m0:00:00[0m:00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m104.3/104.3 MB[0m [31m18.3 MB/s[0m eta [36m0:00:00[0m00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m61.2/61.2 kB[0m [31m3.7 MB/s[0m eta [36m0:00:00[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m35.5/35.5 MB[0m [31m56.7 MB/s[0m eta [36m0:00:00[0m:00:01[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m320.8/320.8 kB[0m [31m20.1 MB/s[0m eta [36m0:00:00[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m4.6/4.6 MB[0m [31m98.0 MB/s[0m eta [36m0:00:00[0m:00:01[0m [?25hCloning into 'custom_nodes/ComfyUI-Manager'... remote: Enumerating objects: 31274, done.[K remote: Counting objects: 100% (195/195), done.[K remote: Compressing objects: 100% (94/94), done.[K remote: Total 31274 (delta 143), reused 118 (delta 101), pack-reused 31079 (from 3)[K Receiving objects: 100% (31274/31274), 173.31 MiB | 36.58 MiB/s, done. Resolving deltas: 100% (23180/23180), done. Cloning into 'custom_nodes/ComfyUI-KJNodes'... remote: Enumerating objects: 5720, done.[K remote: Counting objects: 100% (2810/2810), done.[K remote: Compressing objects: 100% (526/526), done.[K remote: Total 5720 (delta 2468), reused 2284 (delta 2284), pack-reused 2910 (from 2)[K Receiving objects: 100% (5720/5720), 25.86 MiB | 33.10 MiB/s, done. Resolving deltas: 100% (3900/3900), done. [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m1.8/1.8 MB[0m [31m45.8 MB/s[0m eta [36m0:00:00[0m00:01[0m [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m67.1/67.1 kB[0m [31m4.4 MB/s[0m eta [36m0:00:00[0m [?25hCloning into 'custom_nodes/ComfyUI-GGUF'... remote: Enumerating objects: 814, done.[K remote: Counting objects: 100% (508/508), done.[K remote: Compressing objects: 100% (198/198), done.[K remote: Total 814 (delta 458), reused 310 (delta 310), pack-reused 306 (from 2)[K Receiving objects: 100% (814/814), 190.09 KiB | 6.79 MiB/s, done. Resolving deltas: 100% (543/543), done. /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-GGUF [2K [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [32m118.5/118.5 kB[0m [31m4.7 MB/s[0m eta [36m0:00:00[0m [?25h GGUF library dependencies successfully patched! Cloning into 'custom_nodes/ComfyUI-VideoHelperSuite'... remote: Enumerating objects: 3368, done.[K remote: Counting objects: 100% (12/12), done.[K remote: Compressing objects: 100% (9/9), done.[K remote: Total 3368 (delta 5), reused 3 (delta 3), pack-reused 3356 (from 2)[K Receiving objects: 100% (3368/3368), 814.63 KiB | 15.37 MiB/s, done. Resolving deltas: 100% (1977/1977), done.
In [2]:
%cd /kaggle/tmp/ComfyUI
# 3. Create the required directory for clip_vision models
!mkdir -p models/clip_vision
# Create standard target directories
!mkdir -p models/unet
!mkdir -p models/text_encoders
!mkdir -p models/vae
!mkdir -p models/clip_vision
# Use huggingface_hub to fetch your chosen befox GGUF model paths
from huggingface_hub import hf_hub_download
print("Downloading clip_vision_h.safetensors from the correct repository...")
hf_hub_download(
repo_id="Comfy-Org/Wan_2.1_ComfyUI_repackaged", # Switched repo path
filename="split_files/clip_vision/clip_vision_h.safetensors",
local_dir="models/clip_vision",
local_dir_use_symlinks=False
)
print("Downloading the correct Image-to-Video (I2V) GGUF file...")
hf_hub_download(
repo_id="befox/WAN2.2-14B-Rapid-AllInOne-GGUF",
filename="v10/wan2.2-i2v-rapid-aio-v10-nsfw-Q4_K.gguf", # Notice the i2v swap here
local_dir="models/unet",
local_dir_use_symlinks=False
)
print("Downloading Wan 2.1 VAE...")
hf_hub_download(
repo_id="Comfy-Org/Wan_2.2_ComfyUI_Repackaged",
filename="split_files/vae/wan_2.1_vae.safetensors",
local_dir="models/vae",
local_dir_use_symlinks=False
)
print("Downloading Text Encoder...")
hf_hub_download(
repo_id="Comfy-Org/Wan_2.1_ComfyUI_repackaged",
filename="split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
local_dir="models/text_encoders",
local_dir_use_symlinks=False
)
print("All set! Files successfully downloaded to /kaggle/tmp/ComfyUI/models/.")/kaggle/tmp/ComfyUI Downloading clip_vision_h.safetensors from the correct repository...
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py:205: UserWarning: The `local_dir_use_symlinks` argument is deprecated and ignored in `hf_hub_download`. Downloading to a local directory does not use symlinks anymore. warnings.warn( Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
split_files/clip_vision/clip_vision_h.sa(…): 0%| | 0.00/1.26G [00:00<?, ?B/s]
Downloading the correct Image-to-Video (I2V) GGUF file...
v10/wan2.2-i2v-rapid-aio-v10-nsfw-Q4_K.g(…): 0%| | 0.00/10.8G [00:00<?, ?B/s]
Downloading Wan 2.1 VAE...
split_files/vae/wan_2.1_vae.safetensors: 0%| | 0.00/254M [00:00<?, ?B/s]
Downloading Text Encoder...
split_files/text_encoders/umt5_xxl_fp8_e(…): 0%| | 0.00/6.74G [00:00<?, ?B/s]
All set! Files successfully downloaded to /kaggle/tmp/ComfyUI/models/.
In [3]:
!wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /kaggle/tmp/cloudflared
!chmod +x /kaggle/tmp/cloudflared
!ls -lh /kaggle/tmp/cloudflared-rwxr-xr-x 1 root root 38M Jun 18 14:40 /kaggle/tmp/cloudflared
In [6]:
import subprocess, time
# Added the --enable-manager flag and forced custom node checking
proc = subprocess.Popen(["python", "main.py", "--listen", "0.0.0.0", "--port", "8182", "--enable-manager"])
time.sleep(5)[32m[INFO][0m setup plugin alembic.autogenerate.schemas [32m[INFO][0m setup plugin alembic.autogenerate.tables [32m[INFO][0m setup plugin alembic.autogenerate.types [32m[INFO][0m setup plugin alembic.autogenerate.constraints [32m[INFO][0m setup plugin alembic.autogenerate.defaults [32m[INFO][0m setup plugin alembic.autogenerate.comments [1m[33m[WARNING][0m To use the `--enable-manager` feature, the `comfyui-manager` package must be installed first. command: /usr/bin/python3 -m pip install -r /kaggle/tmp/ComfyUI/manager_requirements.txt or using uv: uv pip install -r /kaggle/tmp/ComfyUI/manager_requirements.txt
FETCH ComfyRegistry Data: 5/159 [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2026-07-05 07:55:08.756 ** Platform: Linux ** Python version: 3.12.13 (main, Mar 4 2026, 09:23:07) [GCC 11.4.0] ** Python executable: /usr/bin/python3 ** ComfyUI Path: /kaggle/tmp/ComfyUI ** ComfyUI Base Folder Path: /kaggle/tmp/ComfyUI ** User directory: /kaggle/tmp/ComfyUI/user ** ComfyUI-Manager config path: /kaggle/tmp/ComfyUI/user/__manager/config.ini ** Log path: /kaggle/tmp/ComfyUI/user/comfyui.log FETCH ComfyRegistry Data: 10/159
[32m[INFO][0m Prestartup times for custom nodes: [32m[INFO][0m 6.7 seconds: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-Manager [32m[INFO][0m
FETCH ComfyRegistry Data: 15/159
[1m[33m[WARNING][0m WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
[32m[INFO][0m Found comfy_kitchen backend triton: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'int8_linear', 'quantize_and_rotate_rowwise', 'quantize_int8_rowwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
[32m[INFO][0m Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_int8_convrot_weight', 'dequantize_int8_convrot_weight_dtype', 'dequantize_int8_simple', 'dequantize_int8_simple_dtype', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'gemv_awq_w4a16', 'int8_linear', 'quantize_and_rotate_rowwise', 'quantize_int8_convrot_weight', 'quantize_int8_rowwise', 'quantize_int8_tensorwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'quantize_svdquant_w4a4', 'scaled_mm_nvfp4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8']}
[32m[INFO][0m Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_int8_convrot_weight', 'dequantize_int8_convrot_weight_dtype', 'dequantize_int8_simple', 'dequantize_int8_simple_dtype', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'gemv_awq_w4a16', 'int8_linear', 'quantize_and_rotate_rowwise', 'quantize_int8_convrot_weight', 'quantize_int8_rowwise', 'quantize_int8_tensorwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'quantize_svdquant_w4a4', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8']}
[32m[INFO][0m Checkpoint files will always be loaded safely.
[32m[INFO][0m Total VRAM 14912 MB, total RAM 32100 MB
[32m[INFO][0m pytorch version: 2.10.0+cu128
[32m[INFO][0m Set vram state to: NORMAL_VRAM
[32m[INFO][0m Device: cuda:0 Tesla T4 : cudaMallocAsync
[32m[INFO][0m Device: cuda:1 Tesla T4 : cudaMallocAsync
[32m[INFO][0m Using async weight offloading with 2 streams
[32m[INFO][0m Enabled pinned memory 28890.0
[32m[INFO][0m working around nvidia conv3d memory bug.
[32m[INFO][0m Using pytorch attention
FETCH ComfyRegistry Data: 20/159
aimdo: /project/src-posix/cuda-funchooks.c:52:DEBUG:aimdo_setup_hooks: hooks successfully installed aimdo: /project/src/control.c:247:INFO:comfy-aimdo inited for GPU: Tesla T4 (VRAM: 14911 MB) aimdo: /project/src/control.c:247:INFO:comfy-aimdo inited for GPU: Tesla T4 (VRAM: 14911 MB) [32m[INFO][0m DynamicVRAM support detected and enabled [32m[INFO][0m Python version: 3.12.13 (main, Mar 4 2026, 09:23:07) [GCC 11.4.0] [32m[INFO][0m ComfyUI version: 0.27.0 [32m[INFO][0m comfy-aimdo version: 0.4.10 [32m[INFO][0m comfy-kitchen version: 0.2.16 [32m[INFO][0m comfyui-frontend-package version: 1.45.20 [32m[INFO][0m comfyui-workflow-templates version: 0.11.2 [32m[INFO][0m comfyui-embedded-docs version: 0.5.6 [32m[INFO][0m comfy-kitchen version: 0.2.16 [32m[INFO][0m comfy-aimdo version: 0.4.10 [32m[INFO][0m [Prompt Server] web root: /usr/local/lib/python3.12/dist-packages/comfyui_frontend_package/static [32m[INFO][0m Asset seeder disabled [32m[INFO][0m No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
FETCH ComfyRegistry Data: 25/159
[32m[INFO][0m ### Loading: ComfyUI-Manager (V3.41) [32m[INFO][0m [ComfyUI-Manager] network_mode: public [32m[INFO][0m [ComfyUI-Manager] ComfyUI per-queue preview override detected (PR #11261). Manager's preview method feature is disabled. Use ComfyUI's --preview-method CLI option or 'Settings > Execution > Live preview method'. [32m[INFO][0m ### ComfyUI Version: v0.27.0-17-g7f287b70 | Released on '2026-07-04' [32m[INFO][0m ComfyUI-GGUF: Allowing full torch compile [32m[INFO][0m Import times for custom nodes: [32m[INFO][0m 0.0 seconds: /kaggle/tmp/ComfyUI/custom_nodes/websocket_image_save.py [32m[INFO][0m 0.0 seconds: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-KJNodes [32m[INFO][0m 0.0 seconds: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-GGUF [32m[INFO][0m 0.1 seconds: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-Manager [32m[INFO][0m [32m[INFO][0m Context impl SQLiteImpl. [32m[INFO][0m Will assume non-transactional DDL. [1m[31m[ERROR][0m Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: Could not acquire lock on database '/kaggle/tmp/ComfyUI/user/comfyui.db'. Another ComfyUI process may already be using it. Use --database-url to specify a separate database file. [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [32m[INFO][0m Using RAM pressure cache. [32m[INFO][0m Starting server [1m[31m[ERROR][0m Port 8182 is already in use on address 0.0.0.0. Please close the other application or use a different port with --port. [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
Cannot connect to comfyregistry. FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json[ComfyUI-Manager] Due to a network error, switching to local mode. => custom-node-list.json => cannot schedule new futures after shutdown FETCH DATA from: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-Manager/custom-node-list.json [DONE]
[32m[INFO][0m [ComfyUI-Manager] All startup tasks have been completed.
FETCH ComfyRegistry Data: 30/159 FETCH ComfyRegistry Data: 35/159 FETCH ComfyRegistry Data: 40/159 FETCH ComfyRegistry Data: 45/159 FETCH ComfyRegistry Data: 50/159 FETCH ComfyRegistry Data: 55/159 FETCH ComfyRegistry Data: 60/159 FETCH ComfyRegistry Data: 65/159 FETCH ComfyRegistry Data: 70/159 FETCH ComfyRegistry Data: 75/159 FETCH ComfyRegistry Data: 80/159 FETCH ComfyRegistry Data: 85/159 FETCH ComfyRegistry Data: 90/159 FETCH ComfyRegistry Data: 95/159 FETCH ComfyRegistry Data: 100/159 FETCH ComfyRegistry Data: 105/159 FETCH ComfyRegistry Data: 110/159 FETCH ComfyRegistry Data: 115/159 FETCH ComfyRegistry Data: 120/159 FETCH ComfyRegistry Data: 125/159 FETCH ComfyRegistry Data: 130/159 FETCH ComfyRegistry Data: 135/159 FETCH ComfyRegistry Data: 140/159 FETCH ComfyRegistry Data: 145/159 FETCH ComfyRegistry Data: 150/159 FETCH ComfyRegistry Data: 155/159 FETCH ComfyRegistry Data [DONE]
[32m[INFO][0m [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes [32m[INFO][0m [ComfyUI-Manager] All startup tasks have been completed.
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[1m[33m[WARNING][0m [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[1m[33m[WARNING][0m [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[1m[33m[WARNING][0m [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[1m[33m[WARNING][0m [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[32m[INFO][0m got prompt
[1m[33m[WARNING][0m invalid prompt: {'type': 'missing_node_type', 'message': "Node 'ID #8' has no class_type. The workflow may be corrupted or a custom node is missing.", 'details': "Node ID '#8'", 'extra_info': {'node_id': '8', 'class_type': None, 'node_title': None}}
In [5]:
import subprocess
tunnel = subprocess.Popen(
["/kaggle/tmp/cloudflared", "tunnel", "--url", "http://localhost:8182"],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT
)
print("Waiting for URL... (may take 15-20 seconds)")
for line in iter(tunnel.stdout.readline, b""):
line = line.decode().strip()
print(line)
if "https://" in line and "trycloudflare.com" in line:
for word in line.split():
if word.startswith("https://") and "trycloudflare.com" in word:
print("\n\u2705 Your ComfyUI URL:", word)
break
breakWaiting for URL... (may take 15-20 seconds) 2026-07-05T07:54:14Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee, are subject to the Cloudflare Online Services Terms of Use (https://www.cloudflare.com/website-terms/), and Cloudflare reserves the right to investigate your use of Tunnels for violations of such terms. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps 2026-07-05T07:54:14Z INF Requesting new quick Tunnel on trycloudflare.com... [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2026-07-05 07:54:15.358 ** Platform: Linux ** Python version: 3.12.13 (main, Mar 4 2026, 09:23:07) [GCC 11.4.0] ** Python executable: /usr/bin/python3 ** ComfyUI Path: /kaggle/tmp/ComfyUI ** ComfyUI Base Folder Path: /kaggle/tmp/ComfyUI ** User directory: /kaggle/tmp/ComfyUI/user ** ComfyUI-Manager config path: /kaggle/tmp/ComfyUI/user/__manager/config.ini ** Log path: /kaggle/tmp/ComfyUI/user/comfyui.log
[32m[INFO][0m Prestartup times for custom nodes: [32m[INFO][0m 7.6 seconds: /kaggle/tmp/ComfyUI/custom_nodes/ComfyUI-Manager [32m[INFO][0m
2026-07-05T07:54:19Z INF +--------------------------------------------------------------------------------------------+ 2026-07-05T07:54:19Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): | 2026-07-05T07:54:19Z INF | https://find-supplies-rca-opt.trycloudflare.com | ✅ Your ComfyUI URL: https://find-supplies-rca-opt.trycloudflare.com