Limited-Time Offer: Save 40% on Annual Plans!๐ŸŽ‰

Flux Pro & Ultra in ComfyUI

Creative Exploration /w Purz12 Jan 202503:53
TLDRThe video explores using Flux Pro 1.1 Ultra and raw models in ComfyUI via Black Forest Labs API. It shows how to set up a simple two-node system to generate high-quality images without needing a powerful GPU. The process involves installing the Flux Ultra node, configuring the API key from BFL, and using the tool to create images with options like Ultra mode for upscaling and RAW mode for realistic photos. Itโ€™s ideal for users with less powerful devices, offering access to advanced image generation and post-processing tools.

Takeaways

  • ๐Ÿ’ปThe video discusses using Flux Pro 1.1 Ultra and raw models via Black Forest Labs API key in ComfyUI, with Flux 2 offering enhanced capabilities..
  • ๐Ÿ”‘ A wrapper by Schm Ronin simplifies accessing these models using the Black Forest Labs API key.
  • ๐ŸŒ Flux Pro and Ultra models can be used even without a powerful GPU, making image generation faster.
  • โš™๏ธ To set it up, install the Flux Ultra node in ComfyUI through the custom nodes manager.
  • ๐Ÿ“‚ Navigate to the ComfyUI folder, find the custom nodes folder, and locate the Flux 1.1 raw API folder.
  • ๐Ÿ“ Open the config.ini file in the Flux 1.1 raw API folder and paste your API key from Black Forest Labs.
  • ๐Ÿ”— Register and add funds to your Black Forest Labs API account to generate an API key.
  • ๐Ÿ’ฐ Adding multiple API keys is possible if the first one seems incorrect.
  • ๐Ÿ–ผ๏ธ Ultra mode is used for upscaling high-resolution images, costing six cents per image.
  • โš™๏ธ You can adjust settings like aspect ratio, safety tolerance, and output format (PNG, JPEG, RAW).
  • ๐ŸŽจ RAW mode makes images look more like actual photos from cameras or phones.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to use the Flux Pro 1.1 Ultra and raw models in ComfyUI through the Black Forest Labs API key.

  • What is the benefit of using the Flux Pro 1.1 Ultra and raw models with the Black Forest Labs API key?

    -The benefit is that it allows users to generate high-quality images without needing a powerful GPU, making it suitable for those with less powerful hardware like a Mac or a low-spec computer.

  • What is the role of the 'comfy UI flux 1.1 Ultra and raw node'?

    -It is a custom node that enables the use of the Flux Pro 1.1 Ultra and raw models in ComfyUI by interfacing with the Black Forest Labs API.

  • How do you obtain the Black Forest Labs API key?

    -You need to visit the Black Forest Labs API page, sign up, add some money to your account, and then generate an API key.

  • What should you do if the API key string appears too short when setting it up?

    -If the string appears too short, it might be showing your password instead of the API key. In this case, you should add a second API key.

  • Where do you paste the API key after obtaining it?

    -You need to navigate to the 'comfy UI flux 1.1 raw API' folder in your ComfyUI custom nodes directory, open the 'config.ini' file, and paste the API key in the appropriate place, replacing one of the equal signs if there are two.

  • What is the difference between Ultra mode and non-Ultra mode in Flux Pro?

    -Ultra mode is an upscaler for high-resolution images. It costs six cents per image, while non-Ultra mode costs four cents per image.

  • What is the purpose of the 'safety tolerance' setting in the Flux Pro model?

    -The safety tolerance setting controls the application of the NSFW (Not Safe For Work) filter. A higher number means more filtering, while a lower number means less filtering.

  • What output formats are available when using the Flux Pro model in ComfyUI?

    -The available output formats are PNG, JPEG, and RAW. RAW mode tries to make the image look more like an actual photo from a camera or phone. For advanced users, Flux 2 Pro offers enhanced capabilities for professional-grade image processing.

  • What is the advantage of using the Flux Pro model with ComfyUI for users with less powerful hardware?

    -The advantage is that it allows users to generate high-quality images quickly without needing a powerful GPU, making it accessible for those with less powerful hardware like a Mac or a low-spec computer.

  • How can you save the generated images using the Flux Pro model in ComfyUI?

    -You can add a 'save image' node in ComfyUI and specify the folder where you want to save the images, such as the 'flux Ultra SL Ultra' folder.

Outlines

  • 00:00

    ๐Ÿ’ป Introduction to Flux Pro 1.1 Ultra and Raw Models

    In this segment, the speaker introduces the Flux Pro 1.1 Ultra and raw models, which can be accessed using the Black Forest Labs (BFL) API key. The video highlights a wrapper by Schm Ronin that simplifies the process of using the BFL API key to access these models. The speaker explains that this setup is particularly useful for users who do not have a powerful GPU or a Mac, as it allows for faster image generation without the need for extensive hardware resources. The process involves a simple two-node setup in Comfy UI, which is demonstrated step-by-step, including navigating to the custom nodes manager, installing the Flux Ultra node, and configuring the API key in the config.ini file. The speaker also provides guidance on obtaining the API key from the BFL website, addressing potential issues with the API key display, and ensuring proper configuration for optimal performance.

Mindmap

Keywords

  • ๐Ÿ’กFlux Pro 1.1 Ultra

    Flux Pro 1.1 Ultra is a powerful AI model used for generating high-resolution images. In the context of this video, it is a key tool that allows users to create detailed and realistic images without needing a powerful GPU. The speaker mentions that this model is accessible through the Black Forest Labs API key and can be used in ComfyUI, making it a convenient option for users with less powerful hardware.

  • ๐Ÿ’กBlack Forest Labs API key

    The Black Forest Labs API key is a unique identifier required to access the Flux Pro 1.1 Ultra and raw models. In the video, the speaker explains how to obtain this key by registering on the Black Forest Labs API page and adding funds to the system. This key is essential for using the Flux models in ComfyUI, as it enables the software to interact with the API and generate images.

  • ๐Ÿ’กComfyUI

    ComfyUI is a user-friendly interface for working with AI models, including the Flux Pro 1.1 Ultra. The video demonstrates how to set up and use ComfyUI to integrate the Flux models. It is described as a simple and efficient platform for generating images, especially for users who may not have access to powerful hardware. The speaker shows how to install custom nodes and configure the API key within ComfyUI.

  • ๐Ÿ’กCustom Nodes Manager

    The Custom Nodes Manager is a feature within ComfyUI that allows users to install additional tools and models. In the video, the speaker uses the Custom Nodes Manager to install the Flux Ultra node, which is necessary for accessing the Flux Pro 1.1 Ultra and raw models. This tool simplifies the process of adding new functionalities to ComfyUI.

  • ๐Ÿ’กRaw Mode

    Raw Mode is an optional setting in the Flux models that makes the generated images look more like actual photos. The speaker mentions that this mode can be turned on or off depending on the user's preference. It is particularly useful for creating images that have a more realistic appearance, as if they were taken with a camera or phone.

  • ๐Ÿ’กAPI Key Configuration

    API Key Configuration refers to the process of setting up the API key in the ComfyUI environment. The video provides detailed instructions on how to navigate to the config.ini file in the ComfyUI folder, paste the API key, and ensure it is correctly formatted. Proper configuration is crucial for the Flux models to function correctly within ComfyUI.

  • ๐Ÿ’กSafety Tolerance

    Safety Tolerance is a setting that controls the application of the NSFW (Not Safe For Work) filter in the Flux models. The speaker explains that a higher number means more filtering, while a lower number means less filtering. This setting helps users control the content of the generated images, ensuring they meet their specific requirements.

  • ๐Ÿ’กOutput Format

    Output Format refers to the file type of the generated images. In the video, the speaker mentions that users can choose between PNG and JPEG formats. This choice affects the quality and size of the final image, allowing users to select the format that best suits their needs.

  • ๐Ÿ’กUpscaler

    Upscaler is a feature that enhances the resolution of images. The video mentions that Ultra mode acts as an upscaler for high-resolution images. This means that when the Ultra mode is enabled, the Flux Pro 1.1 Ultra model generates images with higher detail and clarity, making it suitable for applications where high-quality visuals are required.

  • ๐Ÿ’กPostprocessing Tools

    Postprocessing Tools are additional features in ComfyUI that allow users to further refine and enhance their generated images. The speaker highlights that even though the Flux models are used to create the initial images, users still have access to these tools in ComfyUI. This combination allows for greater flexibility and creativity in image generation.

Highlights

  • Introduction to Flux Pro 1.1 Ultra and raw models accessible via Black Forest Labs API key.

  • Schm Ronin's wrapper allows using Black Forest Labs API key to access Flux Pro and Ultra models.

  • Optional raw mode makes images look more like actual photos.

  • Ideal for users without powerful GPUs or on Macs where image generation takes too long.

  • Simple two-node setup in ComfyUI for quick image generation.

  • Installation of Flux Ultra node via ComfyUI's custom nodes manager.

  • Configuring the API key in the config.ini file within the ComfyUI custom nodes folder.

  • Instructions for obtaining API key from Black Forest Labs API page.

  • Adding API key to config.ini file and ensuring correct formatting.

  • Restarting ComfyUI after saving the API key configuration.

  • Using Ultra mode for upscaling high-resolution images.

  • Cost details: 6 cents per image for Ultra mode and 4 cents per image without Ultra mode.

  • Adjustable safety tolerance to control NSFW filtering.

  • Output format options: PNG, JPEG, and RAW mode for realistic photo appearance.

  • Example of generating a beautiful sunset image in the Swiss Alps using the setup.

  • Access to post-processing tools in ComfyUI while using Flux Pro and Ultra models.