Visit ComfyUI Online for ready-to-use ComfyUI environment
Add text to images with customization options for font, size, color, and positioning, enhancing visual projects.
The CR Draw Text node is designed to allow you to add text to your images with ease and precision. This node is particularly useful for AI artists who want to overlay text on their creations, whether for artistic purposes, annotations, or adding watermarks. The node provides a variety of customization options, including font selection, text size, color, and positioning, ensuring that the text integrates seamlessly with your image. By leveraging this node, you can enhance your visual projects with informative or decorative text elements, making your artwork more engaging and informative.
This parameter specifies the text string that you want to draw on the image. The content of this text will be rendered according to the other settings provided.
This parameter allows you to select the font for the text. The font file should be located in the specified directory. The choice of font can significantly impact the visual style and readability of the text.
This parameter determines the size of the text. It is measured in points, and adjusting this value will scale the text up or down. The default value is typically set to a standard readable size, but you can customize it to fit your design needs.
This parameter sets the color of the text. You can specify the color using standard color names or hexadecimal color codes. The color choice can affect the visibility and aesthetic appeal of the text.
This parameter defines the thickness of the outline around the text. If set to zero, no outline will be drawn. Increasing this value will make the outline thicker, which can help the text stand out against complex backgrounds.
This parameter specifies the color of the text outline. Similar to the font_color parameter, you can use standard color names or hexadecimal codes. The outline color should contrast well with the text color for better visibility.
This parameter sets the background color of the text area. It can be used to create a solid background behind the text, making it more readable against busy images.
This parameter defines the margins around the text. It helps in positioning the text within a specified area, ensuring that it does not touch the edges of the image or other elements.
This parameter controls the spacing between lines of text. It is useful when you have multiple lines of text and want to adjust the vertical space between them for better readability.
This parameter sets the horizontal position of the text on the image. It is measured in pixels from the left edge of the image.
This parameter sets the vertical position of the text on the image. It is measured in pixels from the top edge of the image.
This parameter determines the alignment of the text. Options typically include left, center, and right alignment, affecting how the text is positioned relative to the specified x and y coordinates.
This parameter specifies whether the text should be justified. Justification adjusts the spacing between words so that the text aligns evenly along both the left and right margins.
This parameter allows you to rotate the text by a specified angle. The angle is measured in degrees, and positive values rotate the text clockwise.
This parameter provides additional options for text rotation, such as whether to rotate around the text's center or a specific point.
This output parameter provides the image with the text drawn on it. The resulting image will include all the text customizations specified through the input parameters, allowing you to see the final result of your text overlay.
© Copyright 2024 RunComfy. All Rights Reserved.