Sign In

FLEX-workflow

2
3
3
Early Access
Updated: Apr 27, 2025
toolcontrolnetposeeditflex
Type
Workflows
Stats
3
0
Reviews
Published
Apr 27, 2025
Base Model
Flux.1 S
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