ComfyUI > Nodes > ComfyUI-FLUX-BFL-API > Flux Pro Canny (BFL)

ComfyUI Node: Flux Pro Canny (BFL)

Class Name

FluxProCanny_BFL

Category
BFL
Author
gelasdev (Account age: 2304days)
Extension
ComfyUI-FLUX-BFL-API
Latest Updated
2024-11-27
Github Stars
0.03K

How to Install ComfyUI-FLUX-BFL-API

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

Enhance image generation with detailed edge information using Canny edge detection in FluxPro framework.

Flux Pro Canny (BFL):

FluxProCanny_BFL is a specialized node designed to enhance image generation by integrating the Canny edge detection technique with the FluxPro framework. This node is particularly beneficial for artists and creators who wish to incorporate detailed edge information into their AI-generated images, allowing for more precise and visually appealing results. By leveraging the Canny method, it provides a robust mechanism to detect edges in a control image, which can then guide the image generation process. This results in outputs that maintain the structural integrity of the original image while allowing for creative transformations. The node is versatile, offering various parameters to fine-tune the generation process, making it a powerful tool for those looking to explore the intersection of AI and art with a focus on edge detail and clarity.

Flux Pro Canny (BFL) Input Parameters:

prompt

The prompt parameter is a string input that serves as the textual description or theme for the image you wish to generate. It allows you to specify the content and style of the image, guiding the AI in creating visuals that align with your creative vision. This parameter supports multiline input, enabling you to provide detailed and complex prompts. The default value is an empty string, meaning no specific prompt is provided unless specified.

control_image

The control_image parameter is a string that specifies the path or identifier of an image used to guide the generation process. This image acts as a reference for the Canny edge detection, helping to maintain the structural elements of the original image in the generated output. The default value is None, indicating that no control image is used unless specified.

prompt_upsampling

The prompt_upsampling parameter is a boolean that determines whether the prompt should be upsampled during the image generation process. When set to True, it enhances the resolution and detail of the generated image based on the prompt. The default value is False, meaning upsampling is not applied unless explicitly enabled.

steps

The steps parameter is an integer that defines the number of steps the AI takes during the image generation process. It influences the level of detail and refinement in the final output. The parameter accepts values between 15 and 50, with a default of 28, providing a balance between speed and quality.

guidance

The guidance parameter is a float that controls the strength of adherence to the prompt during image generation. A higher value results in an image that closely follows the prompt, while a lower value allows for more creative freedom. The range is from 1.5 to 100.0, with a default value of 60.0, offering a strong but flexible guidance.

safety_tolerance

The safety_tolerance parameter is an integer that sets the level of safety checks applied during image generation. It helps prevent the creation of inappropriate or undesirable content. The parameter ranges from 0 to 6, with a default value of 2, providing a moderate level of safety.

output_format

The output_format parameter specifies the format of the generated image, offering options such as jpeg and png. The default format is jpeg, which is suitable for most use cases, but you can choose png for lossless quality if needed.

seed

The seed parameter is an optional integer that allows for reproducibility in image generation. By setting a specific seed value, you can ensure that the same prompt and settings produce identical results across different runs. The default value is -1, indicating that a random seed is used unless specified.

Flux Pro Canny (BFL) Output Parameters:

generated_image

The generated_image parameter is the primary output of the node, representing the final image created based on the provided prompt, control image, and other settings. This output is crucial as it embodies the creative synthesis of the input parameters, showcasing the AI's ability to generate art that aligns with the user's vision while incorporating edge details from the Canny method.

Flux Pro Canny (BFL) Usage Tips:

  • Experiment with different prompt and control_image combinations to explore a wide range of artistic styles and effects, leveraging the Canny edge detection for enhanced detail.
  • Adjust the guidance parameter to find the right balance between adhering to the prompt and allowing creative freedom, depending on the desired outcome.
  • Use the steps parameter to control the level of detail in the generated image, with higher values providing more refinement at the cost of longer processing times.

Flux Pro Canny (BFL) Common Errors and Solutions:

Error: "Invalid control image path"

  • Explanation: This error occurs when the specified control_image path is incorrect or the file is inaccessible.
  • Solution: Verify that the path to the control image is correct and that the file is accessible. Ensure that the file format is supported.

Error: "Prompt too long"

  • Explanation: The provided prompt exceeds the maximum allowed length, causing processing issues.
  • Solution: Shorten the prompt to fit within the allowed character limit, focusing on the most essential elements of your description.

Error: "Output format not supported"

  • Explanation: An unsupported value was provided for the output_format parameter.
  • Solution: Ensure that the output_format is set to either jpeg or png, as these are the supported formats.

Flux Pro Canny (BFL) Related Nodes

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