ComfyUI > Nodes > ComfyUI > Recraft Text to Image

ComfyUI Node: Recraft Text to Image

Class Name

RecraftTextToImageNode

Category
api node/image/Recraft
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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

Recraft Text to Image Description

Generate high-quality images from text prompts using advanced models for AI artists.

Recraft Text to Image:

The RecraftTextToImageNode is designed to generate images synchronously based on a given text prompt and specified resolution. This node leverages advanced models, such as Recraft V4 or V4 Pro, to transform textual descriptions into visual representations, making it a powerful tool for AI artists looking to create detailed and high-quality images from their creative ideas. The node's primary goal is to provide a seamless and efficient way to convert text into images, offering users the ability to explore and visualize their concepts with precision and creativity. By utilizing this node, you can harness the capabilities of state-of-the-art image generation models to produce stunning visuals that align with your artistic vision.

Recraft Text to Image Input Parameters:

prompt

The prompt parameter is a text input that serves as the primary description for the image you wish to generate. It allows you to specify the content and theme of the image, guiding the model in creating visuals that match your creative intent. The prompt can be up to 1000 characters long, providing ample space for detailed descriptions. This parameter is crucial as it directly influences the outcome of the image generation process, ensuring that the resulting image aligns with your artistic vision.

negative_prompt

The negative_prompt parameter is an optional text input that describes elements you want to avoid in the generated image. By specifying undesired features or themes, you can refine the output to better match your expectations. This parameter helps in eliminating unwanted aspects from the image, allowing for more precise control over the final result. If not provided, the node will proceed without considering negative elements.

n

The n parameter determines the number of images to generate from the given prompt. It accepts integer values ranging from 1 to 6, with a default value of 1. This parameter allows you to explore multiple variations of the image based on the same prompt, providing a broader range of creative options and enabling you to select the most suitable version for your needs.

seed

The seed parameter is an integer input used to control the randomness of the image generation process. It accepts values from 0 to 0xFFFFFFFFFFFFFFFF, with a default value of 0. While the actual results are nondeterministic regardless of the seed, this parameter can be used to determine if the node should re-run, offering a way to reproduce similar outputs under certain conditions. This can be useful for consistency in iterative design processes.

recraft_style

The recraft_style parameter allows you to specify a particular style for the image generation process. It is optional and can be customized to match specific artistic preferences. If not provided, a default style is applied, ensuring that the generated image maintains a coherent and aesthetically pleasing appearance. This parameter enhances the creative flexibility of the node, enabling you to tailor the visual style to suit your artistic goals.

Recraft Text to Image Output Parameters:

Image

The output of the RecraftTextToImageNode is an Image, which is the visual representation generated based on the provided prompt and other input parameters. This output is the culmination of the node's processing, offering a tangible result that reflects the creative input and stylistic choices made during the setup. The generated image can be used for various artistic purposes, including digital art projects, concept visualization, and more.

Recraft Text to Image Usage Tips:

  • Experiment with different prompt and negative_prompt combinations to fine-tune the image output and achieve the desired artistic effect.
  • Utilize the n parameter to generate multiple image variations, allowing you to explore different interpretations of the same prompt and select the most appealing version.
  • Adjust the recraft_style parameter to apply different artistic styles to your images, enhancing the visual diversity and aligning the output with your creative vision.

Recraft Text to Image Common Errors and Solutions:

Invalid prompt length

  • Explanation: The prompt exceeds the maximum allowed length of 1000 characters.
  • Solution: Shorten the prompt to fit within the character limit, ensuring it remains concise and focused on the key elements you wish to depict.

Seed value out of range

  • Explanation: The seed value provided is outside the acceptable range of 0 to 0xFFFFFFFFFFFFFFFF.
  • Solution: Ensure the seed value is within the specified range to avoid errors and maintain the node's functionality.

Missing recraft_style input

  • Explanation: The recraft_style parameter is not provided, and the node is unable to apply a default style.
  • Solution: Either specify a recraft_style or allow the node to use its default style setting to ensure the image is generated with a coherent visual appearance.

Recraft Text to Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
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.

Recraft Text to Image