Implement resolution calculator nodes for AI image generation models: - SD 1.5 Resolution Node: 8 optimized presets (512×512 to 912×512) - SDXL Resolution Node: 13 bucket-trained presets (~1MP, div by 64) - Flux.1 Dev Resolution Node: 11 practical presets (1024×1024 to 2560×1440) Features: - Zero external dependencies for maximum compatibility - Model-specific validation (div by 8/64 constraints) - Bucket-aware resolution selection for optimal quality - Aspect ratio text output for reference - SDXL includes pixel count display Based on technical specifications and training bucket systems. Addresses the gap in reliable, constraint-aware resolution tools. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
928 B
TOML
28 lines
928 B
TOML
[project]
|
|
name = "comfyui-image-size-tool"
|
|
version = "0.1.0-alpha"
|
|
description = "Resolution calculator nodes for ComfyUI with model-specific constraints and optimal bucket resolutions"
|
|
readme = "README.md"
|
|
license = {file = "LICENSE"}
|
|
requires-python = ">=3.8"
|
|
dependencies = []
|
|
keywords = ["comfyui", "stable-diffusion", "image-generation", "resolution", "sdxl", "flux"]
|
|
authors = [
|
|
{name = "websinthe"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Multimedia :: Graphics",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/websinthe/ComfyUI-Image-Size-Tool"
|
|
Repository = "https://github.com/websinthe/ComfyUI-Image-Size-Tool"
|
|
Issues = "https://github.com/websinthe/ComfyUI-Image-Size-Tool/issues"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=45", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|