You're looking at a specific version of this model. Jump to the model overview.

meta /musicgen:d1787b47

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
description
string
Music description for generation
melody
string
mp3 format file to use for melody
duration
integer
8
Duration of the generated audio in seconds
strategy
string
loudness
Strategy for generating audio
seed
integer
-1
Seed for random number generator. Default is -1 for random seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}