Music Generation
Music Generation using the meta/musicgen AI Model.
Query
The model to be used;
Body
A description of the music you want to generate.
Model to use for generation
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.
Duration of the generated audio in seconds.
If True
, generated music will continue from input_audio
. Otherwise, generated music will mimic input_audio
’s melody.
Start time of the audio file to use for continuation.
End time of the audio file to use for continuation. If -1 or None, will default to the end of the audio clip.
If True
, the EnCodec tokens will be decoded with MultiBand Diffusion. Only works with non-stereo models.
Strategy for normalizing audio.
Reduces sampling to the k most likely tokens.
Reduces sampling to tokens with cumulative probability of p. When set to 0
(default), top_k sampling is used.
Controls the ‘conservativeness’ of the sampling process. Higher temperature means more diversity.
Increases the influence of inputs on the output. Higher values produce lower-varience outputs that adhere more closely to inputs.
Output format for generated audio.
Was this page helpful?