mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #5171] Problem with ComfyUI integration (GET /images/api/v1/models HTTP/1.1" 400 Bad Request) #52549
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gee1111 on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5171
Bug Report
Environment
**Open WebUI Version:3.16 and 3.18
**Operating System: linux docker and windows
**Browser (if applicable): Opera GX and Firefox
when i try to configurate my image gen under the admin image settings i get the error ""GET /images/api/v1/models HTTP/1.1" 400 Bad Request" in the logs and "Something went wrong :/ Expecting value: line 1 column 1 (char 0)" in the web ui. My comfyui workflow works perfect
I also tryed with standart ComfyUI workflow - still get this error
The problem persists with comfyUI 0.2 and the latest 0.2.1
Also tryed a fresh install of open webUI
my api json:
{
"3": {
"inputs": {
"text": "",
"clip": [
"34",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt) Pos"
}
},
"4": {
"inputs": {
"seed": 558740513626235,
"steps": 20,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1,
"model": [
"34",
0
],
"positive": [
"8",
0
],
"negative": [
"29",
0
],
"latent_image": [
"16",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"8": {
"inputs": {
"guidance": 3.5,
"conditioning": [
"3",
0
]
},
"class_type": "FluxGuidance",
"_meta": {
"title": "FluxGuidance"
}
},
"9": {
"inputs": {
"samples": [
"4",
0
],
"vae": [
"21",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"16": {
"inputs": {
"width": 512,
"height": 512,
"batch_size": 1
},
"class_type": "EmptySD3LatentImage",
"_meta": {
"title": "EmptySD3LatentImage"
}
},
"19": {
"inputs": {
"unet_name": "flux1-dev-Q8_0.gguf"
},
"class_type": "UnetLoaderGGUF",
"_meta": {
"title": "Unet Loader (GGUF)"
}
},
"21": {
"inputs": {
"vae_name": "ae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"27": {
"inputs": {
"clip_name1": "t5-v1_1-xxl-encoder-Q8_0.gguf",
"clip_name2": "clip_l.safetensors",
"type": "flux"
},
"class_type": "DualCLIPLoaderGGUF",
"_meta": {
"title": "DualCLIPLoader (GGUF)"
}
},
"28": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"9",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"29": {
"inputs": {
"text": "",
"clip": [
"34",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt) Neg"
}
},
"34": {
"inputs": {
"lora_name": "photorealism.safetensors",
"strength_model": 1,
"strength_clip": 1,
"model": [
"19",
0
],
"clip": [
"27",
0
]
},
"class_type": "LoraLoader",
"_meta": {
"title": "Load LoRA"
}
}
}
@tkg61 commented on GitHub (Sep 5, 2024):
have you tried filling in the model node id? i had to do that for mine