ComfyUI > Nodes > ComfyUI FLOAT > Float Process

ComfyUI Node: Float Process

Class Name

FloatProcess

Category
FLOAT
Author
yuvraj108c (Account age: 2475days)
Extension
ComfyUI FLOAT
Latest Updated
2025-05-12
Github Stars
0.04K

How to Install ComfyUI FLOAT

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

Float Process Description

Facilitates audio-visual data integration for dynamic visual content creation in ComfyUI framework.

Float Process:

The FloatProcess node is designed to facilitate the integration of audio and visual data processing within the ComfyUI framework. It serves as a bridge between reference images and audio inputs, allowing for the generation of synchronized visual outputs based on the provided data. This node is particularly beneficial for AI artists looking to create dynamic and emotion-driven visual content, as it leverages advanced audio and emotion encoding techniques to influence the visual output. By processing both image and audio inputs, the FloatProcess node enables the creation of visually compelling and contextually relevant animations or images, enhancing the creative possibilities for users.

Float Process Input Parameters:

ref_image

The ref_image parameter is a tensor representing the reference image that will be used as a base for generating visual outputs. It is crucial that this image is a single image, as the node does not support batch processing of multiple images. The image should be in a format that can be permuted to a BCHW (Batch, Channels, Height, Width) format for processing. This parameter directly influences the visual characteristics of the output, as it serves as the starting point for the visual generation process.

ref_audio

The ref_audio parameter is a dictionary containing the waveform and sample rate of the reference audio. This audio input is used to drive the synchronization and emotional tone of the visual output. The audio is encoded and processed to extract features that influence the animation or image generation, making it a critical component for creating audio-reactive visuals. The waveform should be a single-channel tensor, and the sample rate should be specified to ensure proper processing.

float_pipe

The float_pipe parameter is an instance of the processing pipeline that handles the inference and generation tasks. It is responsible for managing the flow of data through the various stages of processing, including audio and emotion encoding, and the final visual output generation. This parameter is essential for coordinating the different components involved in the process and ensuring that the data is processed efficiently and effectively.

a_cfg_scale

The a_cfg_scale parameter is a float value that adjusts the influence of the audio features on the visual output. It acts as a scaling factor, allowing you to control how much the audio input affects the generated visuals. A higher value increases the impact of audio features, potentially leading to more dynamic and audio-reactive visuals. The default value is typically set to 1.0, but it can be adjusted based on the desired level of audio influence.

r_cfg_scale

The r_cfg_scale parameter is a float value that adjusts the influence of the reference image features on the visual output. Similar to a_cfg_scale, it acts as a scaling factor, allowing you to control the degree to which the reference image affects the generated visuals. A higher value increases the impact of the image features, ensuring that the output closely resembles the reference image. The default value is usually set to 1.0, but it can be modified to achieve the desired visual effect.

e_cfg_scale

The e_cfg_scale parameter is a float value that adjusts the influence of the emotion encoding on the visual output. It allows you to control how much the detected or specified emotion affects the generated visuals. This parameter is particularly useful for creating emotion-driven content, as it enables the visual output to reflect the emotional tone of the input audio. The default value is typically set to 1.0, but it can be adjusted to enhance or reduce the emotional impact.

fps

The fps parameter specifies the frames per second for the generated visual output. It determines the smoothness and temporal resolution of the animation or video. A higher FPS value results in smoother animations, while a lower value may lead to a more choppy appearance. This parameter is important for ensuring that the visual output meets the desired quality and performance standards.

emotion

The emotion parameter is a string that specifies the emotion to be encoded and reflected in the visual output. It can be set to a specific emotion label or left as "none" if no specific emotion is desired. This parameter influences the emotional tone of the generated visuals, allowing for the creation of content that aligns with the intended emotional context.

crop

The crop parameter is a boolean that determines whether the input image should be cropped during processing. If set to True, the image will be cropped to fit the desired aspect ratio or dimensions. This parameter is useful for ensuring that the visual output maintains a consistent and aesthetically pleasing composition.

seed

The seed parameter is an integer that sets the random seed for the generation process. It ensures reproducibility by allowing you to generate the same visual output given the same input parameters and seed value. This parameter is important for achieving consistent results across different runs and experiments.

Float Process Output Parameters:

images_bhwc

The images_bhwc output parameter is a tensor representing the generated visual output in BHWC (Batch, Height, Width, Channels) format. This output contains the final visual content that has been processed and influenced by the input image, audio, and emotion parameters. The generated visuals can be used for various creative applications, such as animations, video content, or artistic visualizations. The BHWC format ensures compatibility with a wide range of image processing and display systems.

Float Process Usage Tips:

  • Ensure that the ref_image is a single image to avoid processing errors, as the node does not support batch image processing.
  • Adjust the a_cfg_scale, r_cfg_scale, and e_cfg_scale parameters to fine-tune the influence of audio, image, and emotion on the visual output, allowing for customized and dynamic content creation.
  • Use the seed parameter to achieve consistent and reproducible results, especially when experimenting with different input configurations.

Float Process Common Errors and Solutions:

Only a single image is supported.

  • Explanation: This error occurs when the ref_image input contains more than one image, as the node is designed to process a single image at a time.
  • Solution: Ensure that the ref_image input is a single image tensor. If you have multiple images, process them individually or select one image for processing.

Audio waveform dimension mismatch

  • Explanation: This error may arise if the ref_audio waveform does not match the expected single-channel format.
  • Solution: Verify that the ref_audio waveform is a single-channel tensor and that the sample rate is correctly specified. Adjust the audio input format if necessary.

Float Process Related Nodes

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