ComfyUI > Nodes > ComfyUI Suno API > SunoAIGenerator

ComfyUI Node: SunoAIGenerator

Class Name

GentlemanHu_SunoAI

Category
Gentle_SunoAI
Author
GentlemanHu (Account age: 3048days)
Extension
ComfyUI Suno API
Latest Updated
2024-12-17
Github Stars
0.02K

How to Install ComfyUI Suno API

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

SunoAIGenerator Description

Generate music tracks using AI technology with Suno AI, creating songs based on user prompts and parameters for AI artists and creators to explore new musical ideas or generate background music.

SunoAIGenerator:

The GentlemanHu_SunoAI node is designed to facilitate the generation of music tracks using AI technology. It leverages the capabilities of the Suno AI platform to create songs based on user-provided prompts and parameters. This node is particularly beneficial for AI artists and creators looking to explore new musical ideas or generate background music for various projects. By utilizing this node, you can produce instrumental tracks or songs with lyrics, depending on your preferences. The node's primary function is to interact with the Suno AI API, sending requests to generate music clips that align with the specified style and content. This makes it an essential tool for those seeking to integrate AI-generated music into their creative workflows.

SunoAIGenerator Input Parameters:

prompt

The prompt parameter is a string input where you can enter your song idea or lyrical content. This serves as the foundation for the music generation process, guiding the AI in creating a track that aligns with your vision. There is no strict minimum or maximum length for the prompt, but it should be detailed enough to convey your musical concept. The default value is "Enter your song idea here."

custom

The custom parameter is a boolean that determines whether the song should be generated with or without lyrics. When set to True, the AI will create a song without lyrics, focusing solely on the instrumental aspect. The default value is False, meaning the AI will consider lyrical content if provided.

tags

The tags parameter is a string input used to specify the style or genre of the music you wish to generate. This helps the AI tailor the musical elements to fit a particular genre or mood. The default value is an empty string, allowing for a broad interpretation unless specified otherwise.

instrumental

The instrumental parameter is a boolean that indicates whether the generated song should be instrumental. When set to True, the AI will produce a track without vocals, focusing on the instrumental composition. The default value is True, making it ideal for background music or non-lyrical compositions.

filename_prefix

The filename_prefix parameter is a string that allows you to specify a prefix for the filenames of the generated music files. This helps in organizing and identifying the output files. The default value is "SunoAI_," which will be prepended to the filenames of the generated tracks.

SunoAIGenerator Output Parameters:

MP3 URL 1

The MP3 URL 1 output parameter provides the URL to the first generated music track in MP3 format. This URL can be used to stream or download the track directly from the Suno AI platform.

MP3 URL 2

The MP3 URL 2 output parameter offers the URL to the second generated music track in MP3 format, if applicable. Similar to MP3 URL 1, this URL allows you to access the track online.

Local Path 1

The Local Path 1 output parameter indicates the local file path where the first generated music track is saved on your system. This is useful for accessing the file directly from your local storage.

Local Path 2

The Local Path 2 output parameter provides the local file path for the second generated music track, if applicable. This allows you to manage and utilize the file from your local environment.

SunoAIGenerator Usage Tips:

  • To generate a song with specific lyrical content, ensure that the prompt parameter is detailed and descriptive, providing clear guidance to the AI.
  • Utilize the tags parameter to influence the genre or style of the music, helping the AI produce tracks that align with your creative vision.
  • If you prefer instrumental music, set the instrumental parameter to True to focus on non-lyrical compositions.

SunoAIGenerator Common Errors and Solutions:

failed to generate songs: <status_code>

  • Explanation: This error occurs when the API request to generate songs fails, possibly due to network issues or incorrect parameters.
  • Solution: Check your internet connection and ensure that all input parameters are correctly set. If the issue persists, verify that the Suno AI service is operational.
  • Explanation: This error indicates that the session cookie used for authentication is invalid or has expired.
  • Solution: Update the suno_cookie parameter with a valid session cookie to re-establish a connection with the Suno AI service.

SunoAIGenerator Related Nodes

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