-
Notifications
You must be signed in to change notification settings - Fork 2
Flux.1 Model Installation and Usage Guide
Arata.AI edited this page Aug 22, 2024
·
1 revision
You need a Windows PC equipped with a 20, 30, or 40 series Nvidia GPU or a corresponding professional GPU accelerator.
-
Flux Pro
- Performance: The top-tier model with the strongest processing capabilities.
- Usage: Only accessible via API.
-
Flux Dev
- Performance: An open-source version derived from Flux Pro, with quality and performance close to Flux Pro.
- Usage: Open-source, but not for commercial use.
-
Flux Schnell
- Performance: A distilled model processed in four steps, with processing speed 10 times faster than Flux Dev.
- License: Released under Apache 2.0 license.
-
Download the Latest Version of ComfyUI
- Please visit the latest ComfyUI version page to download the latest version.
- After downloading, extract the files for later use.
-
FLUX.1 [dev]
- Description: The official full-featured version, requiring a minimum of 24GB of VRAM.
- Download link: FLUX.1-dev
-
FLUX.1 [dev] fp8
- Description: An optimized version suitable for setups with more than 12GB of VRAM.
- Download link: FLUX.1-dev-fp8
-
FLUX.1 [schnell]
- Description: A distilled model processed in four steps, compatible with most GPUs.
- Download link: FLUX.1-schnell
-
FLUX.1 [schnell] fp8
- Description: An optimized version suitable for lower-end GPU setups.
- Download link: FLUX.1-schnell-fp8
-
Note: Place the downloaded model files in the
ComfyUI/models/unet/directory.
-
t5xxl_fp16.safetensors or t5xxl_fp8_e4m3fn.safetensors
- Recommendation: Choose the fp16 version if you have more than 32GB of VRAM; otherwise, choose the fp8 version.
- Download link: Download CLIP models
-
clip_l.safetensors
-
Storage location: Place the file in the
ComfyUI/models/clip/directory.
-
Storage location: Place the file in the
-
Download VAE Model
- Download link: Download VAE model
-
Storage location: Save the downloaded file in the
ComfyUI/models/vae/directory.
-
Download AnyLanguage Plugin
- Download link: AnyLanguage Plugin
-
Installation: Place the downloaded
anylanguage.pyfile in theComfyUI/custom_nodesdirectory.
-
Run ComfyUI
- Run the
run_nvidia_gpu.batfile to start ComfyUI. The system will automatically open a browser window.
- Run the
-
Load Models
- You can find related examples via the following link: Flux.1 Examples
- If you are using the Flux Dev model, drag the
flux_dev_example.pngimage into the browser.

- If you are using the Flux Schnell model, drag the
flux_schnell_example.pngimage into the browser.

-
Plugin Configuration
- Remove the default
CLIP Text Encode (Prompt)plugin. - Right-click in the UI and select
Add Node -> conditioning -> multilanguage prompt. This plugin will replace the defaultCLIP Text Encode (Prompt)plugin, with the same connection method.
- Remove the default
-
AnyLanguage Plugin Configuration
-
API URL: The default is OpenAI's API address
https://api.openai.com/v1/chat/completions. If you have another forwarding address, you can modify it. - API Key: Enter the API Key obtained from OpenAI (mandatory). Apply for an API Key
-
Model: The default model is
gpt-4o-mini, which can usually be kept as is. - Translate: Toggle the AI translation feature on or off. If turned off, you need to enter the prompt in English in the text box below.
-
API URL: The default is OpenAI's API address
-
Generate Images
- You can generate images in Japanese, Chinese, Korean, or any other language.