Type | Workflows |
Stats | 3 0 |
Reviews | (2) |
Published | Apr 27, 2025 |
Base Model | |
Hash | AutoV2 E62E1C88DA |
Flex.2-preview Installation Guide for ComfyUI
***Appreciate Your support if U cant u can drope the first image for pro workflow
remember π
Required Files and Installation Locations
Diffusion Model
- Download and place flex.2-preview.safetensors
https://civitai.com/models/1514080
ComfyUI/models/diffusion_models/
### Text Encoders
Place the following files in ComfyUI/models/text_encoders/
:
- CLIP-L: [clip_l.safetensors])
- T5XXL Options:
- Option 1 (FP8): [t5xxl_fp8_e4m3fn_scaled.safetensors]
- Option 2 (FP16): [t5xxl_fp16.safetensors]
VAE
- Download link: [ae.safetensors]
-ComfyUI/models/vae/
Required Custom Node
To enable additional FlexTools functionality, clone the following repository into your custom_nodes
directory:
cd ComfyUI/custom_nodes
git clone https://github.com/ostris/ComfyUI-FlexTools
π οΈ FlexTools & OllamaGemini Setup Guide for ComfyUI
π₯ 1. Clone Required Custom Nodes
Navigate to ComfyUI custom_nodes directory
cd /path/to/ComfyUI/custom_nodes
Clone FlexTools for ComfyUI
git clone https://github.com/ostris/ComfyUI-FlexTools
Clone OllamaGemini Extension for ComfyUI
git clone https://github.com/al-swaiti/ComfyUI-OllamaGemini.git
π 2. API Key Setup
### β¨ Obtaining API Keys
- Gemini API Key β [Google MakerSuite](https://makersuite.google.com/app/apikey)
- OpenAI API Key β [OpenAI Account](https://platform.openai.com/account/api-keys)
- Anthropic Claude Key β [Anthropic Console](https://console.anthropic.com/)
- Qwen API Key β [Qwen Official](https://qwen.aliyun.com/)
- (Optional) Local Ollama URL β http://localhost:11434
(default)
---
### βοΈ config.json
1. Navigate into the OllamaGemini extension folder:
cd /path/to/ComfyUI/custom_nodes/ComfyUI-OllamaGemini
2. Create or edit config.json
:
```json
{
"GEMINI_API_KEY": "your_gemini_api_key",
"OPENAI_API_KEY": "your_openai_api_key",
"ANTHROPIC_API_KEY":"your_claude_api_key",
"OLLAMA_URL": "http://localhost:11434",
"QWEN_API_KEY": "your_qwen_api_key"
}
```
3. Save the file.
---
π Youβre Ready!
- Restart ComfyUI.
- Verify in the UI that both FlexTools and OllamaGemini nodes are available.
Enjoy enhanced functionality! π
Directory Structure
ComfyUI/
βββ models/
β βββ diffusion_models/
β β βββ flex.2-preview.safetensors
β βββ text_encoders/
β β βββ clip_l.safetensors
β β βββ t5xxl_fp8_e4m3fn_scaled.safetensors # Option 1 (FP8)
β β βββ t5xxl_fp16.safetensors # Option 2 (FP16)
β βββ vae/
β βββ ae.safetensors
βββ custom_nodes/
βββ ComfyUI-FlexTools/ # git clone https://github.com/ostris/ComfyUI-FlexTools