ComfyUI > Nodes > ComfyUI-AudioX > AudioX Text to Music

ComfyUI Node: AudioX Text to Music

Class Name

AudioXTextToMusic

Category
AudioX/Generation
Author
lum3on (Account age: 314days)
Extension
ComfyUI-AudioX
Latest Updated
2025-06-24
Github Stars
0.04K

How to Install ComfyUI-AudioX

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

AudioX Text to Music Description

Transform text into music compositions using AI, leveraging AudioX model for easy creation of custom audio content.

AudioX Text to Music:

The AudioXTextToMusic node is designed to transform textual descriptions into musical compositions using the AudioX model. This node allows you to create music by simply providing a text prompt that describes the desired musical elements, such as instruments, mood, or style. It leverages advanced AI capabilities to interpret the text and generate audio that aligns with the given description. This node is particularly beneficial for artists and creators who wish to explore new musical ideas or need background music tailored to specific themes without requiring extensive musical expertise. By converting text into music, it opens up a world of creative possibilities, enabling you to experiment with different musical concepts and produce unique audio content effortlessly.

AudioX Text to Music Input Parameters:

model

The model parameter specifies the AudioX model to be used for generating music. This parameter is crucial as it determines the underlying AI framework that interprets the text prompt and creates the audio output. The choice of model can affect the style and quality of the generated music.

text_prompt

The text_prompt parameter is a string input where you describe the music you want to generate. This can include details about instruments, mood, or style. The default value is "A music with piano and violin," and it supports multiline input, allowing for detailed descriptions. The text prompt directly influences the characteristics of the generated music, making it a key element in shaping the final output.

steps

The steps parameter is an integer that defines the number of steps the model will take to generate the music. It ranges from 1 to 1000, with a default value of 250. More steps can lead to more refined and detailed music, but may also increase processing time.

cfg_scale

The cfg_scale parameter is a float that controls the guidance scale, ranging from 0.1 to 20.0, with a default value of 7.0. This parameter influences how closely the generated music follows the text prompt. A higher value means the music will more strictly adhere to the prompt, while a lower value allows for more creative freedom.

seed

The seed parameter is an integer used to initialize the random number generator, affecting the reproducibility of the music generation process. It ranges from -1 to 2^32

  • 1, with a default of -1, which means a random seed will be used. Setting a specific seed allows for consistent results across multiple runs with the same input parameters.

duration_seconds

The duration_seconds parameter is a float that specifies the length of the generated music in seconds. It ranges from 1.0 to 30.0, with a default value of 10.0. This parameter allows you to control the duration of the output, making it suitable for various applications, from short jingles to longer compositions.

AudioX Text to Music Output Parameters:

audio

The audio output parameter represents the generated music in audio format. This output is the result of the text-to-music transformation process, providing you with a musical piece that reflects the characteristics described in the text prompt. The audio can be used for various creative projects, such as video soundtracks, background music, or standalone compositions.

AudioX Text to Music Usage Tips:

  • Experiment with different text_prompt descriptions to explore a wide range of musical styles and moods. Be specific in your descriptions to achieve more targeted results.
  • Adjust the steps parameter to balance between processing time and the level of detail in the generated music. More steps can enhance the quality but may require longer computation.
  • Use the cfg_scale parameter to control how strictly the music follows your text prompt. A higher scale ensures closer adherence, while a lower scale allows for more creative interpretation.

AudioX Text to Music Common Errors and Solutions:

Invalid model type

  • Explanation: The specified model type is not recognized or supported by the node.
  • Solution: Ensure that the model parameter is set to a valid AudioX model type. Check the documentation for supported models.

Text prompt too vague

  • Explanation: The text prompt does not provide enough detail for the model to generate meaningful music.
  • Solution: Provide a more detailed and specific text prompt, including elements like instruments, mood, or style.

Steps out of range

  • Explanation: The steps parameter is set outside the allowed range of 1 to 1000.
  • Solution: Adjust the steps parameter to fall within the valid range.

Duration exceeds limit

  • Explanation: The duration_seconds parameter is set beyond the maximum allowed value of 30.0 seconds.
  • Solution: Reduce the duration_seconds parameter to 30.0 seconds or less.

AudioX Text to Music Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-AudioX
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 Models, enabling artists to harness the latest AI tools to create incredible art.