Single dropdown with format + resolution organized by aspect ratio: - 1:1 Square, 16:9/9:16, 4:3/3:4, 3:2/2:3, 21:9 Ultrawide - Model-specific presets (Wan 2.2 Video, LTX Video) - Swap width/height toggle - Outputs width + height as INT for wiring into any node Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
274 B
Python
14 lines
274 B
Python
"""
|
|
ComfyUI custom_nodes entry shim.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
_THIS_DIR = Path(__file__).resolve().parent
|
|
_SRC_DIR = _THIS_DIR / "src"
|
|
if _SRC_DIR.exists():
|
|
sys.path.insert(0, str(_SRC_DIR))
|
|
|
|
from resolution_picker import comfy_entrypoint # noqa: F401
|