You're looking at a specific version of this model. Jump to the model overview.
myart-arch /visual-music-search:883f9a1b
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
|
|
| media |
array
|
Images/videos to find music for (files or public/signed URLs). "
"One file searches that image or video; several are searched together as one collection.
|
|
| media_type |
None
|
auto
|
Leave on auto unless the file has no extension. Ignored for collections.
|
| text |
string
|
Optional text to steer the search, e.g. 'upbeat summer'.
|
|
| 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'}