photogen1 / workflows /flux_workflow.json
stateofw's picture
Enable FLUX model support with HF_TOKEN authentication
c80d9c3
{
"1": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "flux1-dev.safetensors"
}
},
"2": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "portrait photo",
"clip": ["1", 1]
},
"_meta": {
"title": "positive"
}
},
"3": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "",
"clip": ["1", 1]
},
"_meta": {
"title": "negative"
}
},
"4": {
"class_type": "KSampler",
"inputs": {
"seed": 0,
"steps": 20,
"cfg": 3.5,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1.0,
"model": ["1", 0],
"positive": ["2", 0],
"negative": ["3", 0],
"latent_image": ["5", 0]
}
},
"5": {
"class_type": "EmptyLatentImage",
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
}
},
"6": {
"class_type": "VAEDecode",
"inputs": {
"samples": ["4", 0],
"vae": ["1", 2]
}
},
"7": {
"class_type": "SaveImage",
"inputs": {
"images": ["6", 0],
"filename_prefix": "flux_output"
}
}
}