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

myart-arch /prompt-music-search:ee171cf4

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
mypart_api_key
string
None
query
string
Describe the music you want, e.g. 'melancholic piano for a rainy city evening'.
search_resolution
None
song
'section' matches the best-fitting part of each song and returns its start/end time.
results_mode
None
discovery
None
num_results
integer
10

Min: 1

Max: 50

None
licensed
boolean
False
Only return songs from MyPart's licensable catalogs.

Output schema

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

Schema
{'properties': {'results': {'items': {'properties': {'artist': {'title': 'Artist',
                                                                'type': 'string'},
                                                     'end_time_seconds': {'nullable': True,
                                                                          'title': 'End '
                                                                                   'Time '
                                                                                   'Seconds',
                                                                          'type': 'number'},
                                                     'id': {'title': 'Id',
                                                            'type': 'string'},
                                                     'score': {'title': 'Score',
                                                               'type': 'number'},
                                                     'section_lyrics': {'nullable': True,
                                                                        'title': 'Section '
                                                                                 'Lyrics',
                                                                        'type': 'string'},
                                                     'spotify_id': {'nullable': True,
                                                                    'title': 'Spotify '
                                                                             'Id',
                                                                    'type': 'string'},
                                                     'start_time_seconds': {'nullable': True,
                                                                            'title': 'Start '
                                                                                     'Time '
                                                                                     'Seconds',
                                                                            'type': 'number'},
                                                     'title': {'title': 'Title',
                                                               'type': 'string'},
                                                     'url': {'title': 'Url',
                                                             'type': 'string'},
                                                     'youtube_id': {'nullable': True,
                                                                    'title': 'Youtube '
                                                                             'Id',
                                                                    'type': 'string'}},
                                      'required': ['score',
                                                   'artist',
                                                   'id',
                                                   'title',
                                                   'url'],
                                      'type': 'object'},
                            'title': 'Results',
                            'type': 'array'}},
 'required': ['results'],
 'title': 'Output',
 'type': 'object'}