Forked from thinkyhead/OpenWebUI-GenerateImage-LCM.json
Created
July 6, 2025 01:03
-
-
Save filipegiacomo/6f1a3540414de4f6462a03983bee20f2 to your computer and use it in GitHub Desktop.
ComfyUI 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." | |
| This example workflow uses: | |
| - Model: deliberate_v2 | |
| - LoRA: LCM 1.5 | |
| - Steps: 8 | |
| - CFG Scale: 1.2 | |
| ComfyUI Base URL: | |
| http://localhost:8188 | |
| Use the following values for ComfyUI Workflow Nodes fields: | |
| Prompt: text 4 | |
| Model: ckpt_name 2 | |
| Width: width 3 | |
| Height: height 3 | |
| Steps: steps 1 | |
| Seed: 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
| { | |
| "1": { | |
| "inputs": { | |
| "seed": 0, | |
| "steps": 8, | |
| "cfg": 1.2, | |
| "sampler_name": "lcm", | |
| "scheduler": "normal", | |
| "denoise": 1, | |
| "model": [ | |
| "8", | |
| 0 | |
| ], | |
| "positive": [ | |
| "4", | |
| 0 | |
| ], | |
| "negative": [ | |
| "5", | |
| 0 | |
| ], | |
| "latent_image": [ | |
| "3", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "KSampler", | |
| "_meta": { | |
| "title": "KSampler" | |
| } | |
| }, | |
| "2": { | |
| "inputs": { | |
| "ckpt_name": "deliberate_v2.safetensors" | |
| }, | |
| "class_type": "CheckpointLoaderSimple", | |
| "_meta": { | |
| "title": "Load Checkpoint" | |
| } | |
| }, | |
| "3": { | |
| "inputs": { | |
| "width": 512, | |
| "height": 512, | |
| "batch_size": 1 | |
| }, | |
| "class_type": "EmptyLatentImage", | |
| "_meta": { | |
| "title": "Empty Latent Image" | |
| } | |
| }, | |
| "4": { | |
| "inputs": { | |
| "text": "Prompt", | |
| "clip": [ | |
| "8", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "CLIPTextEncode", | |
| "_meta": { | |
| "title": "CLIP Text Encode (Prompt)" | |
| } | |
| }, | |
| "5": { | |
| "inputs": { | |
| "text": "", | |
| "clip": [ | |
| "8", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "CLIPTextEncode", | |
| "_meta": { | |
| "title": "CLIP Text Encode (Prompt)" | |
| } | |
| }, | |
| "6": { | |
| "inputs": { | |
| "samples": [ | |
| "1", | |
| 0 | |
| ], | |
| "vae": [ | |
| "2", | |
| 2 | |
| ] | |
| }, | |
| "class_type": "VAEDecode", | |
| "_meta": { | |
| "title": "VAE Decode" | |
| } | |
| }, | |
| "7": { | |
| "inputs": { | |
| "filename_prefix": "imagine", | |
| "images": [ | |
| "6", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "SaveImage", | |
| "_meta": { | |
| "title": "Save Image" | |
| } | |
| }, | |
| "8": { | |
| "inputs": { | |
| "model": [ | |
| "2", | |
| 0 | |
| ], | |
| "clip": [ | |
| "2", | |
| 1 | |
| ], | |
| "lora_name": "lcm-lora-sdv1-5.safetensors", | |
| "strength_model": 1, | |
| "strength_clip": 1 | |
| }, | |
| "class_type": "LoraLoader", | |
| "_meta": { | |
| "title": "Load LoRA" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment