FLEX-workflow

세부 정보

파일 다운로드 (1)

모델 설명

Flex.2-preview Installation Guide for ComfyUI

***Appreciate Your support if U cant u can drope the first image for pro workflow

remember 👍

(my experience the result i got from in-painting here https://civitai.com/models/1108146/fluxfill-devgguf

and controlnet here

https://civitai.com/models/1488208/flux1-dev-controlnet-union-pro-20fp8

more professional but this model have good features because its very flexible)

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 URLhttp://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

이 모델로 만든 이미지