ComfyUI > Nodes > ComfyUI-Img2DrawingAssistants > Img2Sketch Assistant

ComfyUI Node: Img2Sketch Assistant

Class Name

Sketch_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

Img2Sketch Assistant Description

Transforms images into customizable sketch-like representations for artistic use.

Img2Sketch Assistant :

The Sketch_Assistant node is designed to transform images into sketch-like representations, providing a valuable tool for artists and designers who wish to explore or create sketch-based artwork from existing images. This node leverages advanced image processing techniques to convert images into sketches, capturing the essence of the original image while emphasizing lines and shading. The primary goal of the Sketch_Assistant is to offer a seamless and efficient way to generate sketches that can be used for artistic inspiration, preliminary design work, or as a foundation for further artistic development. By adjusting various parameters, you can control the strength of the lines, the shading effects, and even the background color, allowing for a high degree of customization to suit your artistic needs.

Img2Sketch Assistant Input Parameters:

image

The image parameter is the input image or set of images that you wish to convert into a sketch. This parameter is crucial as it serves as the base from which the sketch will be derived. The quality and characteristics of the input image will significantly influence the resulting sketch.

artist

The artist parameter allows you to specify the style or influence of a particular artist on the sketch. This can affect the line quality and overall aesthetic of the sketch, providing a personalized touch that reflects the chosen artist's style.

line_strength

The line_strength parameter controls the intensity of the lines in the sketch. A higher value will result in bolder, more pronounced lines, while a lower value will produce softer, more subtle lines. This parameter is essential for defining the visual impact of the sketch.

shading_effect

The shading_effect parameter determines the level of shading applied to the sketch. It influences how shadows and highlights are represented, adding depth and dimension to the sketch. Adjusting this parameter can enhance the realism or stylization of the sketch.

line_color

The line_color parameter allows you to choose the color of the lines in the sketch. This can be used to create sketches with traditional black lines or more colorful interpretations, depending on your artistic vision.

details

The details parameter affects the level of detail captured in the sketch. Higher values will retain more intricate details from the original image, while lower values will simplify the sketch, focusing on broader shapes and forms.

smoothness

The smoothness parameter controls the smoothness of the lines in the sketch. Smoother lines can create a more polished look, while less smooth lines may give a more textured, hand-drawn appearance.

enable_bg_color_change

The enable_bg_color_change parameter is a boolean option that, when enabled, allows you to change the background color of the sketch. This can be useful for creating sketches with different visual contexts or for matching specific design requirements.

bg_color

The bg_color parameter specifies the background color of the sketch when enable_bg_color_change is enabled. This allows for customization of the sketch's background to complement the line color and overall composition.

bg_light

The bg_light parameter adjusts the lightness of the background color, providing further control over the sketch's appearance. This can be used to create contrast between the sketch and its background.

noise_removal

The noise_removal parameter is used to reduce noise in the sketch, resulting in cleaner lines and a more refined appearance. This is particularly useful for enhancing the clarity of the sketch, especially when working with images that have a lot of visual noise.

Img2Sketch Assistant Output Parameters:

images

The images output parameter provides the final sketch images generated from the input images. These sketches reflect the applied parameters and are ready for use in artistic projects or further processing.

bandwImages

The bandwImages output parameter offers a grayscale version of the sketch images. This can be useful for artists who prefer working with monochrome sketches or for applications where color is not necessary.

Img2Sketch Assistant Usage Tips:

  • Experiment with the line_strength and shading_effect parameters to achieve the desired balance between line prominence and shading depth in your sketches.
  • Utilize the artist parameter to infuse your sketches with stylistic elements from your favorite artists, adding a unique touch to your work.
  • Enable enable_bg_color_change and adjust bg_color and bg_light to create sketches that stand out against different backgrounds, enhancing their visual appeal.

Img2Sketch Assistant Common Errors and Solutions:

"Image shape not recognized"

  • Explanation: This error occurs when the input image does not have the expected dimensions or format.
  • Solution: Ensure that your input image is correctly formatted and has the appropriate dimensions for processing.

"Conversion failed due to invalid parameters"

  • Explanation: This error indicates that one or more input parameters are outside the acceptable range or incorrectly set.
  • Solution: Review the input parameters and ensure they are within the specified ranges and correctly configured.

"Background color change not applied"

  • Explanation: This issue arises when enable_bg_color_change is not enabled, but bg_color and bg_light are set.
  • Solution: Make sure to enable enable_bg_color_change if you wish to apply background color changes to your sketch.

Img2Sketch 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.

Img2Sketch Assistant