Skip to content

Commit 69ff68d

Browse files
authored
Adds the ability to support "any" resolution
This incorporates the changes from @rkfg and adds the ability to support "any" resolution instead of a few predefined buckets. This uses the buckets defined in the original implementation for "640" resolution as the source-of-truth for calculating aspect ratios for other resolution buckets.
1 parent 311aa05 commit 69ff68d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class FramePackFindNearestBucket:
244244
def INPUT_TYPES(s):
245245
return {"required": {
246246
"image": ("IMAGE", {"tooltip": "Image to resize"}),
247-
"base_resolution": ("INT", {"default": 640, "min": 64, "max": 2048, "step": 8, "tooltip": "Width of the image to encode"}),
247+
"base_resolution": ("INT", {"default": 640, "min": 64, "max": 2048, "step": 16, "tooltip": "Width of the image to encode"}),
248248
},
249249
}
250250

0 commit comments

Comments
 (0)