Wiro - Text To Song icon

Wiro - Text To Song

Generate high-quality songs from text prompts in seconds. Whether you're crafting instrumental

Wiro - Text To Song

AI-generated

Overview

This node generates high-quality songs from text prompts using the Wiro API. It is useful for creating instrumental or vocal music tracks based on specified lyrics and various musical attributes such as genre, instrument, mood, gender, and timbre. Users can customize the audio duration, seed, inference steps, guidance scales, and scheduler settings to influence the song generation process. Practical applications include music production, content creation, and experimental audio generation.

Use Case Examples

  1. Generate a song by providing lyrics and selecting genres, instruments, and moods to create a custom music track.
  2. Produce instrumental music by specifying desired instruments and timbres without lyrics.
  3. Experiment with different guidance scales and schedulers to influence the style and quality of the generated song.

Properties

Name Meaning
Prompt The lyrics to generate the song.
Genre Select one or more values for genre to define the musical style.
Instrument Select one or more values for instrument to specify the musical instruments used.
Mood Select one or more values for mood to set the emotional tone of the song.
Gender Select one or more values for gender to influence vocal characteristics.
Timbre Select one or more values for timbre to define the sound quality or color.
Duration Total duration of the generated audio in seconds.
Seed Seed value to influence randomization in song generation.
Inferencesteps Number of inference steps used in the generation process.
Guidancescale Guidance scale parameter to control generation guidance strength.
Scheduler Scheduler type used during generation.
Guidance Type Type of guidance scale for CFG.
Granularity Scale Omega scale parameter for CFG types.
Guidance Interval Guidance interval parameter.
Guidance Interval Decay Decay rate for guidance interval.
Min Guidance Scale Minimum guidance scale value.
Text Guidance Scale Guidance scale for text tags.
Lyric Guidance Scale Guidance scale specifically for lyrics.

Output

JSON

  • taskid - Unique identifier for the song generation task.
  • url - URL to access the generated song audio.
  • status - Status of the song generation task, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the API response does not include a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API. Ensure that the API credentials are correct and the API service is available.
  • Task status codes '-1', '-2', '-3', and '-4' indicate failure states. If the task fails, check the input parameters and API limits or errors.
  • Network or authentication issues may cause HTTP request failures. Verify network connectivity and API key validity.

Links

Discussion