You're looking at a specific version of this model. Jump to the model overview.
andreasjansson /cantable-diffuguesion:51089d91
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 |
---|---|---|---|
duration |
integer
(enum)
|
32
Options: 16, 32, 64, 128, 256 |
Duration in quarter notes
|
tempo |
number
|
90
Min: 40 Max: 200 |
Tempo in quarter notes per minute
|
melody |
string
|
|
Melody in tinyNotation format. Accepts ? for inpainting a single note, and ?* for inpainting between two melodic parts
|
return_score |
boolean
|
True
|
Return sheet music score
|
return_mp3 |
boolean
|
True
|
Return mp3 audio
|
return_midi |
boolean
|
True
|
Return midi
|
seed |
integer
|
-1
|
Random seed. Random if seed == -1
|
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'}},
'title': 'Output',
'type': 'object'}