Generate a full sequence including an initial short song, multiple extensions, and an outro in one call.
Parameters:
short_prompt (str): Prompt for the initial track.extend_prompts (list of str, optional): A list of prompts for each extension.outro_prompt (str, optional): Prompt for the final outro.num_extensions (int, optional): Number of extensions to generate. Default is 1.custom_lyrics_short (str, optional): Lyrics for the first track.custom_lyrics_extend (list of str, optional): A list of lyrics for each extension.custom_lyrics_outro (str, optional): Lyrics for the outro.
sequence = udio_wrapper.create_complete_song(
short_prompt="On a full moon night",
extend_prompts=["soft saxophone", "mystery atmosphere"],
outro_prompt="The end",
num_extensions=2,
custom_lyrics_short="Lyrics 1",
custom_lyrics_extend=["Lyrics 2", "Lyrics 3"],
custom_lyrics_outro="Lyrics Outro"
)
complete_song_sequence = udio_wrapper.create_complete_song(
short_prompt="On a full moon night",
extend_prompts=["the soft sound of the saxophone fills the air", "creating an atmosphere of mystery and romance"],
outro_prompt="Thus ends this melody, leaving an echo of emotions in the heart",
num_extensions=2,
custom_lyrics_short="Short song lyrics here",
custom_lyrics_extend=["Lyrics for first extension", "Lyrics for second extension"],
custom_lyrics_outro="Outro lyrics here"
)
print("Complete song sequence generated and downloaded:", complete_song_sequence)