Nodes/ComfyUI-color-ascii-art-node/ASCII Novel Text Art
ComfyUI Node

ASCII Novel Text Art

Render ASCII art from an image and an uploaded text file, consuming the text sequentially across the grid.

By Shiba-2-shiba·Created 2 years ago·Updated 5 months ago· 6
ASCII Novel Text Art
  • image
  • IMAGE
  • used_chars
  • required_chars
  • report_text
pixel_size20
resolution_scale4.0
downscale_modearea
aspect_ratio_correction0.75
font_name
font_size12
text_opacity0.55
blend_strength0.80
adaptive_font_strength0.35
text_file_path
char_color_modesampled_color
background_modewhite
text_encodingutf-8
newline_moderemove
text_shortage_modeloop
sharpen_modeNone
sharpen_amount1.0
sharpen_threshold0.00
brightness1.00
contrast1.00
glyph_check_limit5000
CategoryImage Processing/ASCII Art

Inputs (22)

NameTypeDefaultDescription
imageIMAGE
pixel_sizeINT201–200
resolution_scaleFLOAT4.01–16
downscale_modeCOMBOarea6 options: nearest, bilinear, bicubic, area, lanczos, contrast
aspect_ratio_correctionFLOAT0.750.1–10
font_nameCOMBO9 options: Chewy-Regular.ttf, Creepster-Regular.ttf, Customfont.ttf, KR Rachel's Chalkboard.ttf, Lobster Bisque.ttf, NotoSansJP-VariableFont_wght.ttf, +3
font_sizeINT121–300
text_opacityFLOAT0.550.05–1
blend_strengthFLOAT0.800–1
adaptive_font_strengthFLOAT0.350–1
text_file_pathSTRINGTXT filename stored in ComfyUI input files. Use the upload area below this field.
char_color_modeoptCOMBOsampled_color4 options: sampled_color, grayscale, black, knockout_white
background_modeoptCOMBOwhite3 options: white, sampled_average, source_image
text_encodingoptCOMBOutf-85 options: utf-8, utf-8-sig, cp932, shift_jis, auto
newline_modeoptCOMBOremove3 options: remove, space, preserve
text_shortage_modeoptCOMBOloop3 options: error, loop, truncate_blank
sharpen_modeoptCOMBONone2 options: None, unsharp
sharpen_amountoptFLOAT1.00–5
sharpen_thresholdoptFLOAT0.000–1
brightnessoptFLOAT1.000–5
contrastoptFLOAT1.000–5
glyph_check_limitoptINT50001–100000

Outputs (4)

NameTypeDescription
IMAGEIMAGE
used_charsINT
required_charsINT
report_textSTRING