* Install missing nodes (e.g., comfyui-inpainteasy) following [this tutorial](https://github.com/ltdrdata/ComfyUI-Manager?tab=readme-ov-file#support-of-missing-nodes-installation).
2.**Download Required Models**: Follow [this tutorial](https://comfyanonymous.github.io/ComfyUI_examples/flux/) and download the required models into the appropriate directories using the commands below:
2.**Download Required Models**: Follow [this tutorial](https://comfyanonymous.github.io/ComfyUI_examples/flux/) and download the required models into the appropriate directories using the commands below:
4.**Select the SVDQuant Workflow**: Choose one of the SVDQuant workflows (`flux.1-dev-svdquant.json` or `flux.1-schnell-svdquant.json`) to get started.
4.**Select the SVDQuant Workflow**: Choose one of the SVDQuant workflows (`flux.1-dev-svdquant.json`, `flux.1-schnell-svdquant.json`, `flux.1-depth-svdquant.json`, `flux.1-canny-svdquant.json` or `flux.1-fill-svdquant.json`) to get started. For the flux.1 fill workflow, you can use the built-in MaskEditor tool to add mask on top of an image.
## SVDQuant Nodes
## SVDQuant Nodes
***SVDQuant Flux DiT Loader**: A node for loading the FLUX diffusion model.
***SVDQuant Flux DiT Loader**: A node for loading the FLUX diffusion model.
*`model_path`: Specifies the model location. If set to `mit-han-lab/svdq-int4-flux.1-schnell` or `mit-han-lab/svdq-int4-flux.1-dev`, the model will be automatically downloaded from our Hugging Face repository. Alternatively, you can manually download the model directory by running the following command:
*`model_path`: Specifies the model location. If set to `mit-han-lab/svdq-int4-flux.1-schnell`, `mit-han-lab/svdq-int4-flux.1-dev`, `mit-han-lab/svdq-int4-flux.1-canny-dev`, `mit-han-lab/svdq-int4-flux.1-fill-dev` or `mit-han-lab/svdq-int4-flux.1-depth-dev`, the model will be automatically downloaded from our Hugging Face repository. Alternatively, you can manually download the model directory by running the following command example:
"To add mask for fill inpainting, right click on the uploaded image and select \"Open in MaskEditor\". Use the brush tool to add masking and click save to continue."
],
"color":"#432",
"bgcolor":"#653"
},
{
"id":17,
"type":"LoadImage",
"pos":[
126.66505432128906,
460.53631591796875
],
"size":[
315,
314.0000305175781
],
"flags":{},
"order":4,
"mode":0,
"inputs":[],
"outputs":[
{
"name":"IMAGE",
"type":"IMAGE",
"links":[
105
],
"slot_index":0,
"shape":3
},
{
"name":"MASK",
"type":"MASK",
"links":[
106
],
"slot_index":1,
"shape":3
}
],
"properties":{
"Node name for S&R":"LoadImage"
},
"widgets_values":[
"clipspace/clipspace-mask-123191.png [input]",
"image"
]
},
{
"id":58,
"type":"ImageAndMaskResizeNode",
"pos":[
536.786865234375,
328.54388427734375
],
"size":[
315,
174
],
"flags":{},
"order":7,
"mode":0,
"inputs":[
{
"name":"image",
"type":"IMAGE",
"link":105
},
{
"name":"mask",
"type":"MASK",
"link":106
}
],
"outputs":[
{
"name":"image",
"type":"IMAGE",
"links":[
107
],
"slot_index":0
},
{
"name":"mask",
"type":"MASK",
"links":[
108
],
"slot_index":1
}
],
"properties":{
"Node name for S&R":"ImageAndMaskResizeNode"
},
"widgets_values":[
1024,
1024,
"nearest-exact",
"center",
10
]
},
{
"id":23,
"type":"CLIPTextEncode",
"pos":[
144,
-7
],
"size":[
422.84503173828125,
164.31304931640625
],
"flags":{},
"order":5,
"mode":0,
"inputs":[
{
"name":"clip",
"type":"CLIP",
"link":62
}
],
"outputs":[
{
"name":"CONDITIONING",
"type":"CONDITIONING",
"links":[
41
],
"slot_index":0
}
],
"title":"CLIP Text Encode (Positive Prompt)",
"properties":{
"Node name for S&R":"CLIPTextEncode"
},
"widgets_values":[
"A robot with a closed eye pink face is giving a presentation"