Wiro - Music Gen icon

Wiro - Music Gen

MusicGen is a text-to-music model capable of generating high-quality music samples

Wiro - Music Gen

AI-generated

Overview

This node, named 'Wiro - Music Gen', generates music samples based on a text prompt using the Wiro API. It is useful for users who want to create music tracks by describing the type or style of music they want. For example, a user can input a prompt like 'upbeat electronic dance music' and specify generation parameters to receive a generated music sample URL.

Use Case Examples

  1. Generating background music for videos by describing the desired mood or genre.
  2. Creating unique music tracks for games or apps by specifying music style prompts.

Properties

Name Meaning
Prompt The text description of the music type the user wants to generate.
Tokens The maximum number of tokens to generate for the music sample.
Guidancescale A parameter to guide the music generation scale or intensity.

Output

JSON

  • taskid - The unique identifier of the music generation task.
  • url - The URL to access the generated music sample once the task is completed.
  • status - The status of the music generation task, indicating if it is 'completed' or 'failed'.

Dependencies

  • Requires Wiro API credentials including an API key and secret for authentication.

Troubleshooting

  • If the node throws an error about missing task ID or socket access token, it means the Wiro API response was invalid or incomplete. Check API credentials and request parameters.
  • If the task status is 'failed', the music generation did not complete successfully. Verify prompt validity and API service status.

Discussion