Nodes/AI Pixel Art Enhancer for ComfyUI/🎨 AI Pixel Art Enhancer
ComfyUI Node

🎨 AI Pixel Art Enhancer

A ComfyUI node in image/enhancement with 17 inputs and 3 outputs.

By HSDHCdevΒ·Created about a year agoΒ·Updated 3 months agoΒ· 36
🎨 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)

NameTypeDefaultDescription
imageIMAGEInput image to convert into pixel art.
pixel_sizeINT81–128Size of each 'grain' in pixels. Output resolution will match input exactly.
conversion_methodCOMBOAlgorithm 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_thresholdFLOAT305–100Threshold for color clustering. Higher values group more colors together.
enable_ai_enhancementoptBOOLEANtrueEnable AI preprocessing and post-processing for better results.
noise_reductionoptFLOAT0.30–1Strength of noise reduction filter.
edge_enhancementoptFLOAT0.50–2Intensity of edge enhancement to preserve structural details.
color_quantizationoptINT162–256Number of colors in the final output. Lower values give a more retro look.
dithering_strengthoptFLOAT0.00–1Floyd-Steinberg dithering intensity to smoothly blend colors.
palette_extractionoptCOMBOmedian_cutMethod 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_spaceoptCOMBOrgbColor 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_boostoptFLOAT1.00.5–2Contrast adjustment multiplier.
saturation_boostoptFLOAT1.00–2Color saturation multiplier.
preserve_detailsoptBOOLEANtrueEnable detail preservation during processing.
anti_aliasingoptBOOLEANfalseApply subtle anti-aliasing to final output to blend jagged edges.
batch_processingoptBOOLEANtrueProcess entire batches of images (e.g., video frames). Disable for single images.
input_paletteoptIMAGEProvide an image to strictly map the result to its exact colors. Overrides 'color_quantization' maximum colors.

Outputs (3)

NameTypeDescription
enhanced_imageIMAGEβ€”
comparison_gridIMAGEβ€”
paletteIMAGEβ€”