meta/musicgen

Generate music from a prompt or melody

Input
Configure the inputs for the AI model.

Seed for random number generator. If None or -1, a random seed will be used.

0
100

Reduces sampling to the k most likely tokens.

0
100

Reduces sampling to tokens with cumulative probability of p. When set to `0` (default), top_k sampling is used.

A description of the music you want to generate.

0
100

Duration of the generated audio in seconds.

An audio file that will influence the generated music. If `continuation` is `True`, the generated music will be a continuation of the audio file. Otherwise, the generated music will mimic the audio file's melody.

0
100

Controls the 'conservativeness' of the sampling process. Higher temperature means more diversity.

If `True`, generated music will continue from `input_audio`. Otherwise, generated music will mimic `input_audio`'s melody.

Model to use for generation

Output format for generated audio.

0
100

End time of the audio file to use for continuation. If -1 or None, will default to the end of the audio clip.

0
100

Start time of the audio file to use for continuation.

If `True`, the EnCodec tokens will be decoded with MultiBand Diffusion. Only works with non-stereo models.

Strategy for normalizing audio.

0
100

Increases the influence of inputs on the output. Higher values produce lower-varience outputs that adhere more closely to inputs.

Output
The generated output will appear here.

No output yet

Click "Generate" to create an output.