README.md
| 1 | --- |
| 2 | license: other |
| 3 | license_name: flux-1-dev-non-commercial-license |
| 4 | license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/LICENSE.md |
| 5 | tags: |
| 6 | - comfyui |
| 7 | - diffusion-single-file |
| 8 | base_model: |
| 9 | - black-forest-labs/FLUX.1-dev |
| 10 | - black-forest-labs/FLUX.1-Canny-dev |
| 11 | - black-forest-labs/FLUX.1-Depth-dev |
| 12 | - black-forest-labs/FLUX.1-Fill-dev |
| 13 | pipeline_tag: text-to-image |
| 14 | --- |
| 15 | |
| 16 | # FLUX.1-dev |
| 17 | |
| 18 | Repackaged model files for ComfyUI. |
| 19 | |
| 20 | Original model repository: https://huggingface.co/black-forest-labs/FLUX.1-dev |
| 21 | |
| 22 | Place the files in the following folders: |
| 23 | |
| 24 | ``` |
| 25 | 📂 ComfyUI/ |
| 26 | ├── 📂 models/ |
| 27 | │ ├── 📂 checkpoints/ |
| 28 | │ │ ├── flux1-dev-fp8.safetensors |
| 29 | │ │ └── flux1-dev.safetensors |
| 30 | │ ├── 📂 diffusion_models/ |
| 31 | │ │ ├── flux1-canny-dev.safetensors |
| 32 | │ │ ├── flux1-depth-dev-nvfp4.safetensors |
| 33 | │ │ └── flux1-fill-dev.safetensors |
| 34 | │ ├── 📂 loras/ |
| 35 | │ │ └── flux1-depth-dev-lora.safetensors |
| 36 | ``` |
| 37 | |
| 38 | --- |
| 39 | |
| 40 | This is a smaller checkpoint for flux1-dev that will work better for ComfyUI users with less VRAM (under 24gb). |
| 41 | |
| 42 | The two text encoders used by Flux are already included in this one safetensor. |
| 43 | |
| 44 | Use it with the `Load Checkpoint` node in ComfyUI. |
| 45 | |
| 46 | ## Workflows |
| 47 | |
| 48 | <table> |
| 49 | <thead> |
| 50 | <tr><th align="center" valign="middle" style="text-align:center;vertical-align:middle">Workflow</th><th colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle">Thumb</th></tr> |
| 51 | </thead> |
| 52 | <tbody> |
| 53 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_inpaint_example.json">Flux.1 Inpaint</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_inpaint_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_fill_inpaint_example-2.webp" width="200" height="200" alt="Flux.1 Inpaint"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_inpaint_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_fill_inpaint_example-1.webp" width="200" height="200" alt="Flux.1 Inpaint"></a><div align="center">After</div></td></tr> |
| 54 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux1_dev_uso_reference_image_gen.json">Flux.1 Dev USO Reference Image Generation</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux1_dev_uso_reference_image_gen.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux1_dev_uso_reference_image_gen-2.webp" width="200" height="200" alt="Flux.1 Dev USO Reference Image Generation"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux1_dev_uso_reference_image_gen.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux1_dev_uso_reference_image_gen-1.webp" width="200" height="200" alt="Flux.1 Dev USO Reference Image Generation"></a><div align="center">After</div></td></tr> |
| 55 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_outpaint_example.json">Flux.1 Outpaint</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_outpaint_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_fill_outpaint_example-2.webp" width="200" height="200" alt="Flux.1 Outpaint"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_fill_outpaint_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_fill_outpaint_example-1.webp" width="200" height="200" alt="Flux.1 Outpaint"></a><div align="center">After</div></td></tr> |
| 56 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_dev_checkpoint_example.json">Flux.1 Dev fp8: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_dev_checkpoint_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_dev_checkpoint_example-1.webp" width="200" height="200" alt="Flux.1 Dev fp8: Text to Image"></a></td></tr> |
| 57 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_dev_full_text_to_image.json">Flux.1 Dev: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_dev_full_text_to_image.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_dev_full_text_to_image-1.webp" width="200" height="200" alt="Flux.1 Dev: Text to Image"></a></td></tr> |
| 58 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_canny_model_example.json">Flux.1 Canny Model</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_canny_model_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_canny_model_example-2.webp" width="200" height="200" alt="Flux.1 Canny Model"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_canny_model_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_canny_model_example-1.webp" width="200" height="200" alt="Flux.1 Canny Model"></a><div align="center">After</div></td></tr> |
| 59 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_depth_lora_example.json">Flux.1 Depth Lora</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_depth_lora_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_depth_lora_example-2.webp" width="200" height="200" alt="Flux.1 Depth Lora"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_depth_lora_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_depth_lora_example-1.webp" width="200" height="200" alt="Flux.1 Depth Lora"></a><div align="center">After</div></td></tr> |
| 60 | <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_redux_model_example.json">Flux.1 Redux Model</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/flux_redux_model_example.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/flux_redux_model_example-1.webp" width="200" height="200" alt="Flux.1 Redux Model"></a></td></tr> |
| 61 | </tbody> |
| 62 | </table> |