ComfyUI workflow to generate good quality images with base NoobAI vpred model and a refiner.
For convenience I moved guide for this workflow into separate article How to generate good images with NoobAI vpred.
Description
Added support for prompt wildcards. See the guide for more info.
Re-implemented "Adjust Details" feature for txt2img stage. Now it is possible both to increase and decrease desired details level, with less artifacts.
FAQ
Comments (9)
A huge mountain of crap that requires a bunch of dependencies that are missing from the Manager. 🤬
very nice!! it worked well for me and i also managed to get all resources from the manager
I found this one from your article and so far it's amazing! Really great work 😊
Keeps saying "Cannot read properties of undefined (reading 'map')" and i cannot figure out what's causing it
This happens when i try to run it without changing anything on it
Does not work, do not waste your time
model weight dtype torch.float16, manual cast: None
model_type V_PREDICTION
Using pytorch attention in VAE
Using pytorch attention in VAE
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
Requested to load SDXLClipModel
loaded completely; 1560.80 MB loaded, full load: True
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
loaded diffusion model directly to GPU
Requested to load SDXL
loaded completely; 4897.05 MB loaded, full load: True
Prompt executed in 7.59 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.43 seconds
Prompt executed in 0.04 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.05 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.06 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.06 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.07 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.06 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.03 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.02 seconds
got prompt
Failed to validate prompt for output 193:
* VAEDecode 4:
- Required input is missing: vae
* ImageUpscaleWithModel 27:
- Required input is missing: upscale_model
Output will be ignored
Failed to validate prompt for output 91:
* VAEEncode 382:
- Required input is missing: vae
* VAEDecode 59:
- Required input is missing: vae
Output will be ignored
Failed to validate prompt for output 97:
* (prompt):
- Required input is missing: images
* PreviewImage 97:
- Required input is missing: images
Output will be ignored
Prompt executed in 0.04 seconds
An update to either ComfyUI or Use-Anywhere addon broke it's base functionality. There's two nodes in the model group that are the impacted ones. If you right click -> fix node those two and then reconnect the Vae / Upscaler wires, the workflow works fine.
This does still work! Despite what other comments say, this is usable, but you have to do some legwork to fix some things. Here's what worked for me but it involves modifying your ComfyUI code so do so at your own risk.
ComfyUI relies on a deprecated method in main.py. You can fix it by going to your install...
ComfyUI\custom_nodes\comfyui_essentials_mb\misc.py
Open it up in notepad++ or visual studio.
ctrl+f if isinstance(node, ast.Num): # number
Replace...
if isinstance(node, ast.Num): # number
return node.n
with...
if isinstance(node, ast.Constant):
return node.value
(make sure the indentation is correct or it won't work)
Once you reload your comfyui you'll need to go and reconnect the inputs for fallback model (clip1,model1,clip2,model2 are just the respective outputs from your base and refined model respectively) and your VAE encode/decodes (find all of them and connect the VAE output of your base model to the "vae" input, you need to right click the VAE node itself and expand it to see the vae input. Once I did this I was able to get outputs again.

