Relay Sound Generator:
The RelaySoundGenerator is a powerful node designed to facilitate the creation of audio content through a relay API. Its primary purpose is to generate sound based on user-defined parameters, making it an invaluable tool for AI artists looking to produce music or soundscapes with specific characteristics. By leveraging this node, you can specify various aspects of the sound generation process, such as the mode of generation, the inclusion of lyrics, and the version of the sound model to be used. This flexibility allows for a wide range of creative possibilities, enabling you to tailor the output to your artistic vision. The node's integration with the relay API ensures that the sound generation process is both efficient and effective, providing high-quality audio outputs that can be used in various artistic projects.
Relay Sound Generator Input Parameters:
generation_mode
The generation_mode parameter determines the method by which sound is generated. It allows you to choose from predefined sound generation modes, each offering a unique approach to creating audio content. This parameter is crucial as it influences the overall style and structure of the generated sound. The default value is set to a mode description, ensuring that you have a starting point for your sound creation process.
title
The title parameter allows you to assign a name to the generated sound. This is particularly useful for organizing and identifying different audio outputs, especially when working on multiple projects. The default value is an empty string, giving you the flexibility to input a title that best represents your creation.
tags
The tags parameter is used to categorize the generated sound with keywords such as "pop," "electronic," or "cinematic." These tags help in classifying the audio content and can be useful for searching and filtering purposes. The default value is an empty string, with a placeholder suggesting possible tags to use.
prompt
The prompt parameter is a multiline string that serves as a creative input for the sound generation process. It can include song descriptions, lyrics, or complete creative prompts, guiding the node in producing audio that aligns with your artistic intent. The default value is an empty string, with a placeholder providing guidance on how to structure the prompt.
make_instrumental
The make_instrumental parameter is a boolean that determines whether the generated sound should be purely instrumental or include lyrics. Setting this parameter to true results in instrumental music, while false includes lyrics. The default value is false, with labels indicating the choice between instrumental and lyrical content.
version
The version parameter specifies the version of the sound model to be used in the generation process. Different versions may offer varying features and improvements, allowing you to select the one that best suits your needs. The default version is "V5," ensuring access to the latest advancements in sound generation technology.
seed
The seed parameter is an integer that influences the randomness of the sound generation process. By setting a specific seed value, you can achieve consistent results across multiple runs, which is useful for reproducing specific audio outputs. The default value is 0, with a range from 0 to 0xFFFFFFFFFFFFFFFF, providing a wide spectrum of possibilities.
Relay Sound Generator Output Parameters:
audio
The audio parameter is the primary output of the node, representing the generated sound in an audio format. This output is the culmination of the input parameters and the relay API's processing, providing you with a ready-to-use audio file for your projects.
clip_id
The clip_id parameter is a string that uniquely identifies the generated audio clip. This identifier is useful for tracking and managing different audio outputs, especially when dealing with large volumes of generated content.
task_id
The task_id parameter is a string that represents the unique identifier for the sound generation task. It is essential for monitoring the status of the task and retrieving results from the relay API.
response
The response parameter is a string that contains the API's response to the sound generation request. This output provides insights into the processing and any messages returned by the API, which can be useful for debugging and understanding the generation process.
audio_url
The audio_url parameter is a string that provides a direct link to the generated audio file. This URL allows you to easily access and download the audio content, facilitating its integration into your creative projects.
Relay Sound Generator Usage Tips:
- Ensure that your
promptis detailed and specific to guide the sound generation process effectively. A well-crafted prompt can significantly enhance the quality and relevance of the generated audio. - Experiment with different
generation_modeandversionsettings to explore various sound styles and model capabilities. This can help you discover new creative possibilities and refine your artistic output.
Relay Sound Generator Common Errors and Solutions:
Relay API Settings task_type must be sound.
- Explanation: This error occurs when the task type specified in the API settings is not set to "sound."
- Solution: Ensure that the task type in your API settings is correctly set to "sound" to enable sound generation.
Unsupported sound platform: <platform>
- Explanation: This error indicates that the specified platform is not supported for sound generation.
- Solution: Verify that the platform is set to "Suno," as this is the supported platform for the RelaySoundGenerator node.
Unsupported sound api_format: <api_format>
- Explanation: This error arises when the API format specified is not recognized or supported.
- Solution: Check that the API format is either "suno/submit" or "runninghub-/openapi/v2," as these are the supported formats.
Song description cannot be empty
- Explanation: This error occurs when the
promptis empty in the description mode. - Solution: Provide a non-empty prompt to guide the sound generation process effectively.
