From b4f995a20766577a6f67db5fb492e2756832bdf4 Mon Sep 17 00:00:00 2001 From: younisch96 Date: Sat, 28 Mar 2026 05:54:21 +0500 Subject: [PATCH] feat: add 360p/480p video presets and empty legacy preset default --- latent_utils.py | 2 ++ smart_resolution.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/latent_utils.py b/latent_utils.py index f8bdb14..e3fd691 100644 --- a/latent_utils.py +++ b/latent_utils.py @@ -10,6 +10,8 @@ IMAGE_PRESETS = { } VIDEO_PRESETS = { + "360p (640x360)": 640, + "480p (854x480)": 854, "520p (960x520)": 960, "720p (1280x720)": 1280, "1080p (1920x1080) - Premium": 1920, diff --git a/smart_resolution.py b/smart_resolution.py index 48ca54b..1c624de 100644 --- a/smart_resolution.py +++ b/smart_resolution.py @@ -24,7 +24,7 @@ class SmartResolutionPicker: }, "optional": { # Backward compatibility with older saved workflows - "resolution_preset": ("STRING", {"default": "HD-1280px"}), + "resolution_preset": ("STRING", {"default": ""}), }, }