Guest User

Krea 2 Manual Install V2

a guest
Jun 27th, 2026
2,224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. Manual Install for my last Youtube video: https://youtu.be/v6KRngGo10U
  2.  
  3. Windows Installation (Local PC)
  4. Step 1: Prerequisites
  5.  
  6. Make sure you have these installed before doing anything else:
  7.  
  8. 7-Zip
  9. https://www.7-zip.org/
  10.  
  11. Git for Windows
  12. https://git-scm.com/download/win
  13.  
  14. Reboot once after installing Git to make sure it is available in cmd.
  15.  
  16. Step 2: Download and Extract ComfyUI
  17.  
  18. Download the official NVIDIA portable build of ComfyUI:
  19.  
  20. ComfyUI v0.26.0 (NVIDIA Portable)
  21. https://github.com/comfyanonymous/ComfyUI/releases/download/v0.26.0/ComfyUI_windows_portable_nvidia.7z
  22.  
  23. Extract it with 7-Zip.
  24.  
  25. Your folder structure must look like this:
  26.  
  27. ComfyUI_windows_portable/
  28. ├── ComfyUI/
  29. │ ├── models/
  30. │ └── custom_nodes/
  31. ├── python_embeded/
  32. └── run_nvidia_gpu.bat
  33.  
  34. If this structure is wrong, stop here and fix it.
  35.  
  36. Step 3: Install Required Custom Nodes
  37.  
  38. Open Command Prompt inside:
  39.  
  40. ComfyUI_windows_portable\ComfyUI\custom_nodes
  41.  
  42. Then clone all required nodes:
  43.  
  44. git clone https://github.com/ltdrdata/ComfyUI-Manager.git
  45. git clone https://github.com/rgthree/rgthree-comfy.git
  46. git clone https://github.com/kijai/ComfyUI-KJNodes.git
  47. git clone https://github.com/cubiq/ComfyUI_essentials.git
  48. git clone https://github.com/RamonGuthrie/ComfyUI-RBG-SmartSeedVariance.git
  49. git clone https://github.com/capitan01R/ComfyUI-Krea2T-Enhancer.git
  50.  
  51. Step 4: Install Node Dependencies
  52.  
  53. Still inside custom_nodes, install requirements using ComfyUI’s embedded Python:
  54.  
  55. ....\python_embeded\python.exe -m pip install -U pip
  56.  
  57. Then run:
  58.  
  59. ....\python_embeded\python.exe -m pip install -r ComfyUI-Manager\requirements.txt
  60. ....\python_embeded\python.exe -m pip install -r rgthree-comfy\requirements.txt
  61. ....\python_embeded\python.exe -m pip install -r ComfyUI-KJNodes\requirements.txt
  62. ....\python_embeded\python.exe -m pip install -r ComfyUI_essentials\requirements.txt
  63. ....\python_embeded\python.exe -m pip install -r ComfyUI-RBG-SmartSeedVariance\requirements.txt
  64. ....\python_embeded\python.exe -m pip install -r ComfyUI-ComfyUI-Krea2T-Enhancer\requirements.txt
  65.  
  66. Yes, this takes time. That’s why the installer exists 😄
  67.  
  68. Step 5: Download KREA 2 Models
  69.  
  70. All model files are hosted here:
  71.  
  72. 👉 Hugging Face
  73. https://huggingface.co/Aitrepreneur/FLX/tree/main
  74.  
  75. Place them exactly like this:
  76.  
  77. models/text_encoders/
  78. qwen3vl_4b_fp8_scaled.safetensors
  79.  
  80. models/loras/
  81. krea2_turbo_lora_rank_64_bf16.safetensors
  82.  
  83. models/vae/
  84. qwen_image_vae.safetensors
  85.  
  86. models/diffusion_models/
  87. Choose one based on your GPU:
  88.  
  89. RTX 5000 series:
  90. krea2_turbo_mxfp8.safetensors
  91.  
  92. RTX 4000 / 3000 / 2000 series or older:
  93. krea2_turbo_fp8.safetensors
  94.  
  95. Make sure the filenames are exactly correct.
  96.  
  97. Step 6: Run ComfyUI
  98.  
  99. From ComfyUI_windows_portable:
  100.  
  101. Double-click:
  102.  
  103. run_nvidia_gpu.bat
  104.  
  105. Then open your browser at:
  106.  
  107. http://127.0.0.1:8188
  108.  
  109. If it launches, you’re done.
  110.  
  111. RunPod Installation (Cloud)
  112. Step 1: Create Account 👉 RunPod https://bit.ly/runpodAi
  113.  
  114. Step 2: Create Pod
  115.  
  116. Use a CUDA 12.1 compatible pod.
  117.  
  118. Recommended:
  119.  
  120. 24 GB VRAM GPU
  121. Your ComfyUI template
  122. Expose port 8188
  123.  
  124. Step 3: Enter the ComfyUI Folder
  125.  
  126. SSH or use the Web Terminal inside the pod.
  127.  
  128. Make sure you are inside your ComfyUI root folder, where these exist:
  129.  
  130. models/
  131. custom_nodes/
  132. main.py
  133.  
  134. If you are not inside the ComfyUI root, stop and fix that first.
  135.  
  136. Step 4: Create Virtual Environment
  137.  
  138. Run:
  139.  
  140. python3 -m venv venv
  141. source venv/bin/activate
  142. pip install -U pip setuptools wheel
  143.  
  144. Step 5: Install Torch
  145.  
  146. This setup assumes CUDA 12.1:
  147.  
  148. pip install torch==2.4.0+cu121 torchvision==0.19.0+cu121 torchaudio==2.4.0+cu121
  149. --index-url https://download.pytorch.org/whl/cu121
  150.  
  151. Then install the baseline image libs:
  152.  
  153. pip uninstall -y opencv-python || true
  154. pip install opencv-python-headless==4.12.0.88
  155. pip install "pillow>=11.0.0"
  156.  
  157. Step 6: Clone Required Custom Nodes
  158.  
  159. Go into custom_nodes:
  160.  
  161. cd custom_nodes
  162.  
  163. Then clone all required nodes:
  164.  
  165. git clone https://github.com/ltdrdata/ComfyUI-Manager.git
  166. git clone https://github.com/rgthree/rgthree-comfy.git
  167. git clone https://github.com/kijai/ComfyUI-KJNodes.git
  168. git clone https://github.com/cubiq/ComfyUI_essentials.git
  169. git clone https://github.com/RamonGuthrie/ComfyUI-RBG-SmartSeedVariance.git
  170. git clone https://github.com/capitan01R/ComfyUI-Krea2T-Enhancer.git
  171.  
  172. Then go back to the ComfyUI root:
  173.  
  174. cd ..
  175.  
  176. Step 7: Install Node Dependencies
  177.  
  178. With the virtual environment still active, run:
  179.  
  180. pip install -r custom_nodes/ComfyUI-Manager/requirements.txt
  181. pip install -r custom_nodes/rgthree-comfy/requirements.txt
  182. pip install -r custom_nodes/ComfyUI-KJNodes/requirements.txt
  183. pip install -r custom_nodes/ComfyUI_essentials/requirements.txt
  184. pip install -r custom_nodes/ComfyUI-RBG-SmartSeedVariance/requirements.txt
  185. pip install -r custom_nodes/ComfyUI-Krea2T-Enhancer/requirements.txt
  186.  
  187. Then install the extra packages used by this setup:
  188.  
  189. pip install gguf piexif
  190. pip install librosa
  191. pip install google-generativeai google-ai-generativelanguage
  192.  
  193. Step 8: Download KREA 2 Models
  194.  
  195. All model files are hosted here:
  196.  
  197. 👉 Hugging Face
  198. https://huggingface.co/Aitrepreneur/FLX/tree/main
  199.  
  200. You can use this base URL:
  201.  
  202. HF_BASE="https://huggingface.co/Aitrepreneur/FLX/resolve/main"
  203.  
  204. Then run:
  205.  
  206. mkdir -p models/text_encoders
  207. mkdir -p models/vae
  208. mkdir -p models/diffusion_models
  209. mkdir -p models/loras
  210.  
  211. Download the text encoder:
  212.  
  213. curl -L -o models/text_encoders/qwen3vl_4b_fp8_scaled.safetensors "$HF_BASE/qwen3vl_4b_fp8_scaled.safetensors?download=true"
  214.  
  215. Download the VAE:
  216.  
  217. curl -L -o models/vae/qwen_image_vae.safetensors "$HF_BASE/qwen_image_vae.safetensors?download=true"
  218.  
  219. Download the LORA:
  220.  
  221. curl -L -o models/loras/krea2_turbo_lora_rank_64_bf16.safetensors "$HF_BASE/krea2_turbo_lora_rank_64_bf16.safetensors?download=true"
  222.  
  223. Download the KREA 2 model:
  224.  
  225. curl -L -o models/diffusion_models/krea2_turbo_fp8.safetensors "$HF_BASE/krea2_turbo_fp8.safetensors?download=true"
  226.  
  227. Step 9: Run ComfyUI and watch logs
  228.  
  229. tail -f /workspace/logs/comfyui.log
Add Comment
Please, Sign In to add comment