ComfyUI > Nodes > ComfyUI > Save Audio (MP3)

ComfyUI Node: Save Audio (MP3)

Class Name

SaveAudioMP3

Category
audio
Author
ComfyAnonymous (Account age: 872days)
Extension
ComfyUI
Latest Updated
2025-05-13
Github Stars
76.71K

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

Save Audio (MP3) Description

Facilitates audio data conversion and saving to MP3 format with customizable settings for AI projects.

Save Audio (MP3):

The SaveAudioMP3 node is designed to facilitate the conversion and saving of audio data into the widely-used MP3 format. This node is particularly beneficial for AI artists and developers who need to export audio outputs from their projects in a compressed and compatible format. The MP3 format is known for its balance between file size and audio quality, making it ideal for sharing and distribution. The node allows you to specify various parameters such as filename prefix and quality settings, ensuring that the saved audio meets your specific requirements. By utilizing this node, you can efficiently manage audio outputs, streamline your workflow, and ensure that your audio files are ready for use in various applications or platforms.

Save Audio (MP3) Input Parameters:

audio

This parameter represents the audio data that you wish to save in the MP3 format. It is a required input and should be provided in a compatible audio format that the node can process.

filename_prefix

This parameter allows you to specify a prefix for the filename of the saved audio file. It helps in organizing and identifying files, especially when dealing with multiple outputs. The default value is "audio/ComfyUI", but you can customize it to suit your project needs.

quality

The quality parameter determines the bitrate of the saved MP3 file, which directly affects the audio quality and file size. You can choose from three options: "V0", "128k", and "320k". "V0" offers variable bitrate encoding for optimal quality, "128k" provides a balance between quality and file size, and "320k" ensures the highest audio quality with a larger file size. The default setting is "V0".

Save Audio (MP3) Output Parameters:

The SaveAudioMP3 node does not produce any direct output parameters. Instead, its primary function is to save the processed audio file to the specified directory with the given settings.

Save Audio (MP3) Usage Tips:

  • To achieve the best audio quality, consider using the "320k" quality setting, especially if file size is not a constraint.
  • Use descriptive and unique filename prefixes to easily organize and retrieve your audio files later.
  • If you are working with a large number of audio files, ensure that your output directory has sufficient storage space to accommodate the saved files.

Save Audio (MP3) Common Errors and Solutions:

Invalid audio file: <audio>

  • Explanation: This error occurs when the provided audio input is not in a valid format or cannot be processed by the node.
  • Solution: Ensure that the audio input is correctly formatted and compatible with the node's requirements. Verify the file path and format before attempting to save.

Output directory not found

  • Explanation: This error indicates that the specified output directory does not exist or cannot be accessed.
  • Solution: Check the output directory path for accuracy and ensure that the directory exists. You may need to create the directory manually if it is missing.

Insufficient storage space

  • Explanation: This error occurs when there is not enough storage space available in the output directory to save the audio file.
  • Solution: Free up space in the output directory or choose a different directory with sufficient storage capacity.

Save Audio (MP3) 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 Playground, enabling artists to harness the latest AI tools to create incredible art.