Last active
December 21, 2024 23:47
-
-
Save thinkyhead/bc062ab7c6d4a7f2887068187769b5fe to your computer and use it in GitHub Desktop.
ComfyUI FLUX Workflow for Open WebUI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When exporting a workflow from ComfyUI use "API format." | |
ComfyUI Base URL: | |
http://localhost:8188 | |
Use the following values for ComfyUI Workflow Nodes fields: | |
Prompt: text 6 | |
Model: unet_name 12 | |
Width: width 27 | |
Height: height 27 | |
Steps: steps 17 | |
Seed: noise_seed 25 | |
This example workflow uses: | |
- Model: flux1-schnell-fp8.safetensors | |
- Size: 1024x1024 | |
- Steps: 4 | |
- Guidance: 3.5 | |
- Denoise: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"6": { | |
"inputs": { | |
"text": "prompt", | |
"clip": [ | |
"11", | |
0 | |
] | |
}, | |
"class_type": "CLIPTextEncode" | |
}, | |
"8": { | |
"inputs": { | |
"samples": [ | |
"13", | |
0 | |
], | |
"vae": [ | |
"10", | |
0 | |
] | |
}, | |
"class_type": "VAEDecode" | |
}, | |
"9": { | |
"inputs": { | |
"filename_prefix": "imagine", | |
"images": [ | |
"8", | |
0 | |
] | |
}, | |
"class_type": "SaveImage" | |
}, | |
"10": { | |
"inputs": { | |
"vae_name": "ae.sft" | |
}, | |
"class_type": "VAELoader" | |
}, | |
"11": { | |
"inputs": { | |
"clip_name1": "t5xxl_fp8_e4m3fn.safetensors", | |
"clip_name2": "clip_l.safetensors", | |
"type": "flux" | |
}, | |
"class_type": "DualCLIPLoader" | |
}, | |
"12": { | |
"inputs": { | |
"unet_name": "flux1-schnell-fp8.safetensors", | |
"weight_dtype": "default" | |
}, | |
"class_type": "UNETLoader" | |
}, | |
"13": { | |
"inputs": { | |
"noise": [ | |
"25", | |
0 | |
], | |
"guider": [ | |
"22", | |
0 | |
], | |
"sampler": [ | |
"16", | |
0 | |
], | |
"sigmas": [ | |
"17", | |
0 | |
], | |
"latent_image": [ | |
"27", | |
0 | |
] | |
}, | |
"class_type": "SamplerCustomAdvanced" | |
}, | |
"16": { | |
"inputs": { | |
"sampler_name": "euler" | |
}, | |
"class_type": "KSamplerSelect" | |
}, | |
"17": { | |
"inputs": { | |
"scheduler": "simple", | |
"steps": 4, | |
"denoise": 1, | |
"model": [ | |
"12", | |
0 | |
] | |
}, | |
"class_type": "BasicScheduler" | |
}, | |
"22": { | |
"inputs": { | |
"model": [ | |
"12", | |
0 | |
], | |
"conditioning": [ | |
"26", | |
0 | |
] | |
}, | |
"class_type": "BasicGuider" | |
}, | |
"25": { | |
"inputs": { | |
"noise_seed": 857913637081319 | |
}, | |
"class_type": "RandomNoise" | |
}, | |
"26": { | |
"inputs": { | |
"guidance": 3.5, | |
"conditioning": [ | |
"6", | |
0 | |
] | |
}, | |
"class_type": "FluxGuidance" | |
}, | |
"27": { | |
"inputs": { | |
"width": 1024, | |
"height": 1024, | |
"batch_size": 1 | |
}, | |
"class_type": "EmptySD3LatentImage" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment