Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-acemusic > AceMusic Create Sample (Keyword Heuristic)

ComfyUI Node: AceMusic Create Sample (Keyword Heuristic)

Class Name

AceMusicCreateSample

Category
AceMusic/Analysis
Author
hiroki-abe-58 (Account age: 3515days)
Extension
comfyui-acemusic
Latest Updated
2026-02-09
Github Stars
0.04K

How to Install comfyui-acemusic

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

AceMusic Create Sample (Keyword Heuristic) Description

Generate customized music samples with AceMusic model based on specified parameters for style, mood, and genre, offering a creative tool for music generation.

AceMusic Create Sample (Keyword Heuristic):

The AceMusicCreateSample node is designed to generate a music sample based on a given query, leveraging the capabilities of the AceMusic model. This node allows you to create customized audio samples by specifying various parameters such as the desired style, mood, or genre. It provides a flexible approach to music creation, enabling you to experiment with different musical elements and produce unique compositions. The node is particularly useful for AI artists looking to explore new musical ideas or generate background music for various projects. By using keyword-based inference, it can adjust the tempo and key of the generated sample to match the specified mood or genre, offering a creative tool for music generation without requiring deep technical knowledge.

AceMusic Create Sample (Keyword Heuristic) Input Parameters:

model

The model parameter specifies the AceMusic model to be used for generating the music sample. This parameter is crucial as it determines the underlying algorithms and capabilities available for music creation. The model should be compatible with the AceMusic framework, ensuring that it can process the input query and produce the desired audio output. There are no specific minimum or maximum values for this parameter, but it must be a valid instance of the AceMusicModel.

query

The query parameter is a string that describes the type of music sample you wish to create. It can include keywords related to genre, mood, or specific musical elements. The query influences the characteristics of the generated sample, such as its tempo and key. There are no strict constraints on the content of the query, but it should be descriptive enough to guide the music generation process effectively.

instrumental

The instrumental parameter is a boolean that indicates whether the generated sample should be instrumental or include vocals. Setting this parameter to True will produce an instrumental track, while False will allow for vocal elements. The default value is False, meaning vocals are included unless specified otherwise.

vocal_language

The vocal_language parameter specifies the language of the vocals in the generated sample. It is a string that can be set to a specific language or left as "unknown" if the language is not a concern. This parameter helps tailor the vocal content to match the desired linguistic style. The default value is "unknown".

duration

The duration parameter defines the length of the generated music sample in seconds. It is a float value that allows you to control how long the output audio will be. The default duration is 30.0 seconds, but you can adjust it to suit your needs, ensuring the sample is long enough for your intended use.

AceMusic Create Sample (Keyword Heuristic) Output Parameters:

caption

The caption output provides a brief description or title for the generated music sample. It is derived from the input query and serves as a label for the audio content, helping you identify the sample's theme or style.

lyrics

The lyrics output contains the textual content of the vocals in the generated sample. If the instrumental parameter is set to True, this output will indicate "[Instrumental]", signifying that no lyrics are present. Otherwise, it may include placeholder text or actual lyrics based on the input query and model capabilities.

bpm

The bpm output represents the beats per minute of the generated music sample, indicating its tempo. This value is inferred from the input query and adjusted to match the specified mood or genre, providing insight into the rhythmic pace of the sample.

keyscale

The keyscale output specifies the musical key of the generated sample, such as "C Major". This information is inferred from the input query and helps you understand the harmonic structure of the music, allowing for further musical analysis or composition.

duration

The duration output confirms the length of the generated music sample in seconds, matching the input parameter. It ensures that the output audio meets your specified requirements for length.

AceMusic Create Sample (Keyword Heuristic) Usage Tips:

  • Use descriptive and specific keywords in the query parameter to guide the music generation process effectively, ensuring the output aligns with your creative vision.
  • Experiment with different combinations of instrumental and vocal_language settings to explore a variety of musical styles and linguistic influences in your samples.

AceMusic Create Sample (Keyword Heuristic) Common Errors and Solutions:

InvalidModelError

  • Explanation: This error occurs when the specified model is not a valid instance of the AceMusicModel.
  • Solution: Ensure that the model parameter is correctly set to a compatible AceMusic model instance.

QueryTooVagueError

  • Explanation: This error arises when the query parameter is too vague or lacks sufficient detail to guide the music generation process.
  • Solution: Provide a more detailed and specific query, including keywords related to genre, mood, or musical elements.

DurationOutOfRangeError

  • Explanation: This error happens when the duration parameter is set to an unrealistic value, either too short or too long for practical music generation.
  • Solution: Adjust the duration parameter to a reasonable value, ensuring it aligns with typical music sample lengths.

AceMusic Create Sample (Keyword Heuristic) Related Nodes

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

AceMusic Create Sample (Keyword Heuristic)