ComfyUI > Nodes > ComfyUI-Img2DrawingAssistants > Img2LineArt Assistant

ComfyUI Node: Img2LineArt Assistant

Class Name

LineArt_Assistant

Category
image
Author
Isi-dev (Account age: 1757days)
Extension
ComfyUI-Img2DrawingAssistants
Latest Updated
2025-10-02
Github Stars
0.02K

How to Install ComfyUI-Img2DrawingAssistants

Install this extension via the ComfyUI Manager by searching for ComfyUI-Img2DrawingAssistants
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Img2DrawingAssistants in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Img2LineArt Assistant Description

Transforms images into customizable, clean line art for illustrations and comic-style artwork.

Img2LineArt Assistant:

The LineArt_Assistant node is designed to transform images into line art, providing a powerful tool for artists who want to convert their digital images into clean, stylized line drawings. This node is particularly beneficial for those looking to create illustrations or comic-style artwork from photographs or other digital images. By leveraging advanced image processing techniques, the LineArt_Assistant can enhance the details of an image while maintaining a smooth and clean line quality. It offers various customization options, allowing you to adjust the thickness and color of the lines, as well as the background color and lightness, to achieve the desired artistic effect. This node is essential for artists seeking to streamline their workflow and produce high-quality line art efficiently.

Img2LineArt Assistant Input Parameters:

lineArt

This parameter represents the input image or images that you want to convert into line art. It is crucial for the node's execution as it serves as the base from which the line art will be generated. The input should be a 2D or 3D numpy array, and it is important to ensure that the image is correctly formatted to avoid errors during processing.

clean_up

The clean_up parameter controls the level of noise reduction applied to the image. A higher value will result in a cleaner image with less noise, which is particularly useful for images with a lot of background clutter. The minimum value is 0, indicating no clean-up, while higher values increase the intensity of the noise reduction.

line_color

This parameter allows you to specify the color of the lines in the resulting line art. You can choose from a range of colors to match your artistic vision. The line color significantly impacts the visual appeal of the final artwork, allowing for creative expression through color choice.

color_strength

Color_strength determines the intensity of the line color. A lower value results in lighter lines, while a higher value produces darker, more pronounced lines. This parameter is essential for achieving the desired contrast and emphasis in your line art.

details

The details parameter adjusts the level of detail preserved in the line art. Higher values retain more intricate details from the original image, while lower values simplify the image, resulting in a more abstract representation. This parameter is crucial for balancing detail and simplicity in your artwork.

bg_color

This parameter sets the background color of the line art. You can choose a color that complements the line color and enhances the overall aesthetic of the artwork. The background color can dramatically alter the mood and style of the final piece.

bg_light

Bg_light controls the lightness of the background color. A higher value results in a lighter background, which can help the lines stand out more prominently. This parameter is important for ensuring that the line art is visually distinct and easy to interpret.

invert

The invert parameter allows you to invert the colors of the image, turning dark areas light and vice versa. This can be useful for creating negative-style line art or for emphasizing certain features of the image. The default value is True, meaning the colors are inverted by default.

invert_default

Invert_default is a boolean parameter that determines whether the default inversion setting is applied. When set to True, the node will automatically invert the colors unless specified otherwise. This parameter provides flexibility in how the inversion is handled during processing.

Img2LineArt Assistant Output Parameters:

images

The images output parameter provides the final line art image or images, processed according to the specified input parameters. This output is the primary result of the node's operation, offering a stylized line drawing that can be used for further artistic purposes or as a standalone piece.

bandwImages

BandwImages is an additional output that provides a black-and-white version of the line art. This output is useful for artists who prefer a monochromatic style or need a high-contrast version of the artwork for printing or other applications.

Img2LineArt Assistant Usage Tips:

  • Experiment with different line_color and color_strength settings to achieve various artistic effects and find the combination that best suits your style.
  • Use the clean_up parameter to reduce noise in images with busy backgrounds, ensuring that the focus remains on the main subject.
  • Adjust the details parameter to balance between preserving intricate details and creating a more abstract representation, depending on the desired outcome.
  • Consider using the invert and invert_default parameters to explore creative variations of your line art, such as negative-style images.

Img2LineArt Assistant Common Errors and Solutions:

"Input image is required"

  • Explanation: This error occurs when no image is provided as input to the node.
  • Solution: Ensure that you have selected or uploaded an image before running the node.

"Input image must be 2D or 3D numpy array"

  • Explanation: The input image is not in the correct format, which is required for processing.
  • Solution: Verify that your image is formatted as a 2D or 3D numpy array and try again.

"Torch tensor conversion error"

  • Explanation: There might be an issue with converting the image to a torch tensor.
  • Solution: Check that your image data is compatible with torch tensor operations and ensure all necessary libraries are correctly installed.

Img2LineArt Assistant Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Img2DrawingAssistants
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.