ComfyUI Node
π¨ AI Pixel Art Enhancer
A ComfyUI node in image/enhancement with 17 inputs and 3 outputs.
π¨ AI Pixel Art Enhancer
- image
- input_palette
- enhanced_image
- comparison_grid
- palette
βpixel_size8βΊ
βconversion_methodβΎβΊ
βcolor_similarity_threshold30βΊ
βenable_ai_enhancementtrueβΊ
βnoise_reduction0.3βΊ
βedge_enhancement0.5βΊ
βcolor_quantization16βΊ
βdithering_strength0.0βΊ
βpalette_extractionmedian_cutβΊ
βcolor_matching_spacergbβΊ
βcontrast_boost1.0βΊ
βsaturation_boost1.0βΊ
βpreserve_detailstrueβΊ
βanti_aliasingfalseβΊ
βbatch_processingtrueβΊ
Categoryimage/enhancement
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to convert into pixel art. | |
| pixel_size | INT | 81β128 | Size of each 'grain' in pixels. Output resolution will match input exactly. |
| conversion_method | COMBO | Algorithm used for conversion. 'most_frequent' (mode), 'average' (mean), 'neighbor_aware' (contextual), 'brightness_weighted_light' (favors brights), 'brightness_weighted_dark' (favors darks), 'edge_preserving' (keeps structural detail). | |
| color_similarity_threshold | FLOAT | 305β100 | Threshold for color clustering. Higher values group more colors together. |
| enable_ai_enhancementopt | BOOLEAN | true | Enable AI preprocessing and post-processing for better results. |
| noise_reductionopt | FLOAT | 0.30β1 | Strength of noise reduction filter. |
| edge_enhancementopt | FLOAT | 0.50β2 | Intensity of edge enhancement to preserve structural details. |
| color_quantizationopt | INT | 162β256 | Number of colors in the final output. Lower values give a more retro look. |
| dithering_strengthopt | FLOAT | 0.00β1 | Floyd-Steinberg dithering intensity to smoothly blend colors. |
| palette_extractionopt | COMBO | median_cut | Method to extract colors. 'median_cut' (fast and balanced), 'fast_octree' (fast for transparency), 'k_means' (accurate 3D spatial), 'k_means_outlier_preserved' (boosts rare high-contrast pixels), 'k_means_vibrant_preserved' (boosts highly saturated/pure colors), 'uniform_binning' (basic grid). |
| color_matching_spaceopt | COMBO | rgb | Color space to use when mapping pixels to the allowed palette. 'rgb' (standard linear math), 'lab' (CIELAB human perception), 'oklab' (newer smooth perception, prevents hue shifts). |
| contrast_boostopt | FLOAT | 1.00.5β2 | Contrast adjustment multiplier. |
| saturation_boostopt | FLOAT | 1.00β2 | Color saturation multiplier. |
| preserve_detailsopt | BOOLEAN | true | Enable detail preservation during processing. |
| anti_aliasingopt | BOOLEAN | false | Apply subtle anti-aliasing to final output to blend jagged edges. |
| batch_processingopt | BOOLEAN | true | Process entire batches of images (e.g., video frames). Disable for single images. |
| input_paletteopt | IMAGE | Provide an image to strictly map the result to its exact colors. Overrides 'color_quantization' maximum colors. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| enhanced_image | IMAGE | β |
| comparison_grid | IMAGE | β |
| palette | IMAGE | β |