diff --git a/README.md b/README.md index 058cd58..4524903 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ API and command-line option may change frequently.*** - SDXL, [SDXL-Turbo](https://huggingface.co/stabilityai/sdxl-turbo) - [Some SD1.x and SDXL distilled models](./docs/distilled_sd.md) - [SD3/SD3.5](./docs/sd3.md) - - [Flux-dev/Flux-schnell](./docs/flux.md) + - [FlUX.1-dev/FlUX.1-schnell](./docs/flux.md) + - [FLUX.2-dev](./docs/flux2.md) - [Chroma](./docs/chroma.md) - [Chroma1-Radiance](./docs/chroma_radiance.md) - [Qwen Image](./docs/qwen_image.md) @@ -118,7 +119,8 @@ If you want to improve performance or reduce VRAM/RAM usage, please refer to [pe - [SD1.x/SD2.x/SDXL](./docs/sd.md) - [SD3/SD3.5](./docs/sd3.md) -- [Flux-dev/Flux-schnell](./docs/flux.md) +- [FlUX.1-dev/FlUX.1-schnell](./docs/flux.md) +- [FLUX.2-dev](./docs/flux2.md) - [FLUX.1-Kontext-dev](./docs/kontext.md) - [Chroma](./docs/chroma.md) - [🔥Qwen Image](./docs/qwen_image.md) diff --git a/assets/flux2/example.png b/assets/flux2/example.png new file mode 100644 index 0000000..b15c583 Binary files /dev/null and b/assets/flux2/example.png differ diff --git a/docs/flux2.md b/docs/flux2.md new file mode 100644 index 0000000..3b93a57 --- /dev/null +++ b/docs/flux2.md @@ -0,0 +1,21 @@ +# How to Use + +## Download weights + +- Download FLUX.2-dev + - gguf: https://huggingface.co/city96/FLUX.2-dev-gguf/tree/main +- Download vae + - safetensors: https://huggingface.co/black-forest-labs/FLUX.2-dev/tree/main +- Download Mistral-Small-3.2-24B-Instruct-2506-GGUF + - gguf: https://huggingface.co/unsloth/Mistral-Small-3.2-24B-Instruct-2506-GGUF/tree/main + +## Examples + +``` +.\bin\Release\sd.exe --diffusion-model ..\..\ComfyUI\models\diffusion_models\flux2-dev-Q4_K_S.gguf --vae ..\..\ComfyUI\models\vae\flux2_ae.safetensors --llm ..\..\ComfyUI\models\text_encoders\Mistral-Small-3.2-24B-Instruct-2506-Q4_K_M.gguf -r .\kontext_input.png -p "change 'flux.cpp' to 'flux2-dev.cpp'" --cfg-scale 1.0 --sampling-method euler -v --diffusion-fa --offload-to-cpu +``` + +flux2 example + + +