You're looking at a specific version of this model. Jump to the model overview.
andreasjansson /music-inpainting-bert:bccdcc6f
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 |
---|---|---|---|
notes |
string
|
Notes in tinynotation, with each bar separated by '|'. Use '?' for bars you want in-painted.
|
|
chords |
string
|
Chords (one chord per bar), with each bar separated by '|'. Use '?' for bars you want in-painted.
|
|
time_signature |
integer
(enum)
|
Options: 3, 4, 5, 7 |
Time signature
|
tempo |
integer
|
120
Min: 60 Max: 200 |
Tempo (beats per minute)
|
sample_width |
integer
|
10
Min: 1 Max: 200 |
Number of potential predictions to sample from. The higher, the more chaotic the output.
|
seed |
integer
|
-1
|
Random seed, -1 for random
|
output_format |
string
(enum)
|
mp3
Options: mp3, midi |
Output file format (synthesized mp3 audio or raw midi)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'properties': {'file': {'format': 'uri',
'type': 'string',
'x-order': 0},
'text': {'type': 'string', 'x-order': 1}},
'type': 'object'},
'type': 'array',
'x-cog-array-type': 'iterator'}