myart-arch/visual-music-links
Real songs for your video or image, as playable links that start at the best-matching section.
Public
13
runs
Run myart-arch/visual-music-links with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
string
|
The image or video to find music for (a file or a public/signed URL).
|
|
| text |
string
|
Optional text to steer the search, e.g. 'upbeat summer'.
|
|
| num_results |
integer
|
5
Min: 1 Max: 20 |
None
|
| results_mode |
None
|
discovery
|
None
|
| licensed |
boolean
|
False
|
Only return songs from MyPart's licensable catalogs.
|
{
"type": "object",
"title": "Input",
"required": [
"mypart_api_key",
"media"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"x-order": 2,
"nullable": true,
"description": "Optional text to steer the search, e.g. 'upbeat summer'."
},
"media": {
"type": "string",
"title": "Media",
"format": "uri",
"x-order": 1,
"description": "The image or video to find music for (a file or a public/signed URL)."
},
"licensed": {
"type": "boolean",
"title": "Licensed",
"default": false,
"x-order": 5,
"description": "Only return songs from MyPart's licensable catalogs."
},
"num_results": {
"type": "integer",
"title": "Num Results",
"default": 5,
"maximum": 20,
"minimum": 1,
"x-order": 3
},
"results_mode": {
"enum": [
"discovery",
"popular"
],
"type": "string",
"title": "results_mode",
"description": "An enumeration.",
"default": "discovery",
"x-order": 4
},
"mypart_api_key": {
"type": "string",
"title": "Mypart Api Key",
"format": "password",
"x-order": 0,
"writeOnly": true,
"x-cog-secret": true
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}