SDXL conditioning can contain image size! This workflow takes this into account, guiding generation to:
Look like higher resolution images
Keep objects in frame
Guide image composition to make sense
Installation and dependencies
Install WAS Node Suite custom nodes;
Instal ComfyMath custom nodes;
Download and open this workflow.
How to use
Select image for img2img;
Choose to resize or not;
(optional) Choose Conditioning Scale. It can make your output look like bigger, higher resolution image;
Queue Prompt.
Pro Tip: You can set denoise to 1.0 to use the workflow as usual txt2img, but with size guiding benefits.
Note
I made some research and find out that v1.0 version of the workflow was total bullshit ๐ . If you downloaded previous version, don't use it. Better update.
Description
Version 1.0 of 17.08.2023
FAQ
Comments (7)
thank you for this most excellent workflow
I install and get this error message:
When loading the graph, the following node types were not found:
Constant Number
Number Input Switch
Number Operation
Image Input Switch
Number to Int
Debug Number to Console
Image Size to Number
Logic Boolean
and also in cmd,
ModuleNotFoundError: No module named 'numba'
Some help??
Those are custom nodes you don't have that are used in the workflow.
Google each one and figure out which custom node pack they come from. Then get Comfyui Manager and use it to add those custom nodes.
You don't need to Google anything. All the instructions and links are in the description.
In this workflow you only need WAS Node Suite.
I try to run this and I always get this error
Error occurred when executing Number Input Switch: WAS_Number_Input_Switch.number_input_switch() got an unexpected keyword argument 'boolean_number' File "D:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There was a strange update of WAS Node Suite about two month ago, that replaces boolean_number inputs with proper BOOLEAN inputs, but forgets to replace boolean_number outputs. You can recreate Value Input Switch nodes and use this workaround: https://github.com/WASasquatch/was-node-suite-comfyui/issues/364#issuecomment-2041367119
But honestly, it's just easier to use something like Comfy Roll to choose resolution manually.
I think I'll remake this workflow someday, but not this week.
@pixelgriddster Done! New version is here, and it's actually better.



