ComfyUI > Nodes > Black Forest Labs API Nodes > FLUX 1.0 [canny]

ComfyUI Node: FLUX 1.0 [canny]

Class Name

FLUX 1.0 [canny]

Category
Flux
Author
Black Forest Labs (Account age: 354days)
Extension
Black Forest Labs API Nodes
Latest Updated
2025-02-07
Github Stars
0.06K

How to Install Black Forest Labs API Nodes

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

FLUX 1.0 [canny] Description

Specialized node for image generation with Canny edge detection, offering precise control over structural elements.

FLUX 1.0 [canny]:

FLUX 1.0 [canny] is a specialized node designed to enhance image generation by incorporating edge detection capabilities through the Canny edge detection method. This node is particularly beneficial for artists and creators who wish to integrate precise control over the structural elements of their generated images. By using a control image, FLUX 1.0 [canny] allows you to guide the generation process, ensuring that the resulting artwork adheres closely to the desired outlines and shapes. This method is ideal for applications where maintaining the integrity of specific contours is crucial, such as in architectural designs or detailed illustrations. The node's ability to fine-tune the guidance and other parameters provides flexibility and control, making it a valuable tool for achieving high-quality, structurally coherent images.

FLUX 1.0 [canny] Input Parameters:

prompt

The prompt parameter is a string input that allows you to specify the textual description or theme for the image you wish to generate. This input guides the overall content and style of the output image, ensuring it aligns with your creative vision. The prompt can be multiline, enabling detailed and complex descriptions.

control_image

The control_image parameter is an image input that serves as a reference for the Canny edge detection process. This image provides the structural framework that the node will use to guide the generation of the final output, ensuring that the generated image follows the contours and edges present in the control image.

seed

The seed parameter is an integer that determines the randomness of the image generation process. By setting a specific seed value, you can ensure reproducibility of results, meaning the same input parameters will yield the same output. The default value is 0, with a range from 0 to 4294967294.

guidance

The guidance parameter is a float that influences how closely the generated image adheres to the prompt and control image. A higher guidance value results in a stronger adherence to the input specifications, while a lower value allows for more creative freedom. The default is 30.0, with a range from 1.0 to 100.

steps

The steps parameter is an integer that defines the number of iterations the node will perform during the image generation process. More steps generally lead to higher quality images, as the node has more opportunities to refine the output. The default is 50, with a range from 15 to 50.

prompt_upsampling

The prompt_upsampling parameter is a boolean that, when enabled, allows for the upsampling of the prompt, potentially enhancing the detail and resolution of the generated image. The default value is False.

safety_tolerance

The safety_tolerance parameter is an integer that sets the level of safety filtering applied to the generated image. This can help prevent the creation of inappropriate or unwanted content. The default is 2, with a range from 0 to 6.

api_key_override

The api_key_override parameter is a string that allows you to specify an alternative API key for accessing the node's functionality. This can be useful if you need to use a different key than the one configured by default.

FLUX 1.0 [canny] Output Parameters:

CONDITIONING

The CONDITIONING output parameter represents the processed image data that has been conditioned based on the input parameters. This output is crucial as it encapsulates the final image, which adheres to the structural guidance provided by the control image and the thematic direction set by the prompt. The conditioning ensures that the output is a coherent and high-quality representation of the desired artistic vision.

FLUX 1.0 [canny] Usage Tips:

  • To achieve the best results, use a control image with clear and distinct edges, as this will provide a strong structural guide for the generated image.
  • Experiment with different guidance values to find the right balance between adherence to the prompt and creative freedom, depending on the artistic effect you wish to achieve.
  • Utilize the seed parameter to reproduce specific results or to explore variations by changing the seed value.

FLUX 1.0 [canny] Common Errors and Solutions:

"Invalid control image format"

  • Explanation: This error occurs when the control image provided is not in a supported format.
  • Solution: Ensure that the control image is in a standard image format such as JPEG or PNG before uploading.

"Guidance value out of range"

  • Explanation: The guidance parameter value is set outside the allowed range.
  • Solution: Adjust the guidance value to be within the range of 1.0 to 100.

"API key not recognized"

  • Explanation: The API key provided in the api_key_override parameter is incorrect or not recognized.
  • Solution: Verify the API key for accuracy and ensure it is correctly entered in the api_key_override field.

FLUX 1.0 [canny] Related Nodes

Go back to the extension to check out more related nodes.
Black Forest Labs API Nodes
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 Playground, enabling artists to harness the latest AI tools to create incredible art.