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

andreasjansson /music-inpainting-bert:45b53e87

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)
4

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 schema

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

Schema
{'properties': {'midi': {'format': 'uri', 'title': 'Midi', 'type': 'string'},
                'mp3': {'format': 'uri', 'title': 'Mp3', 'type': 'string'},
                'score': {'format': 'uri', 'title': 'Score', 'type': 'string'}},
 'required': ['mp3', 'score', 'midi'],
 'title': 'Output',
 'type': 'object'}