The strongest AI painting open source tool FLUX, local deployment and installation tutorials

The previously released Stable Diffusion 3 model has been criticized for being over-audited, resulting in a "regression" in the ability to generate human structures.

Now an excellent pinto has appeared, the Black Forest Laboratory'sFLUXFLUX was released to rave reviews, and was named the "strongest open source literate graph model".

d7e957dcj00snuhvd000td000u000dqm

Compared to header closed-source tools such as Midjourney and DALLE, FLUX's performance is still respectable.

FLUX currently supportsComfyUIGraphical User Interface, described nextLocal deploymentThe methodology:

Step 1: Install the latest version of ComfyUI

1. Go to the following URL: https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#installing

2. Click Direct link to download to download a zip file of about 1.5G.

e3715232j00snuhvd001yd000u000hpm

3. Extract the zip package to your designated hard disk.

5580c696j00snuhvd000xd000gr00fim

4. Enter the installed directory and run run_nvidia_gpu.bat, then the system will automatically download the necessary files.

531cf483j00snuhvd0035d000u000wam

5, after which will automatically pop up a web page similar to this, indicating that the installation was successful.

6e2c19a6j00snuhvd0015d000u000gvm

Note: This background window should be kept open, otherwise ComfyUI will not work properly.

877b0374j00snuhvd003bd000u000gim

Step 2: Download the FLUX model

1. Go to FLUX's hug face page: https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main and click the Files button:

6a0e9c33j00snuhvd0015d000ri00d0m

2. In the file list, download the master model file and the VAE self-encoder:
flux1-dev.sft: 23.8 GB, put this file in the ComfyUI/models/unet/ directory
ae.safetensors: 335 MB, put this file in the ComfyUI/models/vae/ directory

13211701j00snuhvd001fd000ml00kum

3. Enter the ComfyUI Hugging Face page: https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main

4. In the file list, download the CLIP pre-training model:
t5xxl_fp16.safetensors: 9.79 GB
t5xxl_fp8_e4m3fn.safetensors: 4.89 GB
clip_l.safetensors: 246 MB
All of the above files are placed in the ComfyUI/models/clip/ directory, with at least one of the 9GB and 4GB files downloaded.

f6c7eccej00snuhvd001cd000u000ffm

5. Go to the following URL: https://openart.ai/workflows/maitruclam/comfyui-workflow-for-flux-simple/iuRdGnfzmTbOOzONIiVV and click the Download button on the right to download the workflow.

96a7403aj00snuhvd000ad000js0063m

6. Drag the workflow file onto the ComfyUI page to get the result shown below:

825bcf3aj00snuhvd000ud000u000edm

7. Make sure you have selected the correct model and encoder (refer to the picture below) and then you can start painting!

caa9520aj00snuhvd000od000e700b9m

8746cdf5j00snuhvd0007d000dz004fm

It should be noted that FLUX has high hardware requirements. During the test, it took up to nearly 30G of RAM:

6f7e44c1j00snuhvd000xd000n9009rm

FLUX is also slow in generating images, even with a 4090 graphics card with default settings, it takes more than 20 seconds to generate a 1024×1024 image:

6786d4c7j00snuhvd000id000qj003xm

But considering the increased odds of a one-time success, slow seems acceptable?

The article covers the URL:

FLUX's Github page:
https://github.com/black-forest-labs/flux

ComfyUI's Github page:
https://github.com/comfyanonymous/ComfyUI

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
TutorialEncyclopedia

FLUX "official ControlNet" is here, Flux official redrawing, expansion, style reference common drawing features comparable to (or even exceed) closed-source tools!

2024-12-2 10:34:51

TutorialEncyclopedia

No need to model real-life shooting, with AI to help change clothes with a key to realize the model free to change clothes

2024-12-3 10:03:04

Zenium
Search