myart-arch/prompt-music-tracks
30-second sections of real, licensable songs that match a text description, as MP3s.
Public
17
runs
Run myart-arch/prompt-music-tracks 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
|
|
| query |
string
|
Describe the music you want, e.g. 'upbeat indie with handclaps for a summer ad'.
|
|
| num_results |
integer
|
3
Min: 1 Max: 5 |
How many tracks to return, best fit first.
|
| results_mode |
None
|
discovery
|
None
|
| licensed |
boolean
|
False
|
Only return songs from MyPart's licensable catalogs.
|
{
"type": "object",
"title": "Input",
"required": [
"mypart_api_key",
"query"
],
"properties": {
"query": {
"type": "string",
"title": "Query",
"x-order": 1,
"description": "Describe the music you want, e.g. 'upbeat indie with handclaps for a summer ad'."
},
"licensed": {
"type": "boolean",
"title": "Licensed",
"default": false,
"x-order": 4,
"description": "Only return songs from MyPart's licensable catalogs."
},
"num_results": {
"type": "integer",
"title": "Num Results",
"default": 3,
"maximum": 5,
"minimum": 1,
"x-order": 2,
"description": "How many tracks to return, best fit first."
},
"results_mode": {
"enum": [
"discovery",
"popular"
],
"type": "string",
"title": "results_mode",
"description": "An enumeration.",
"default": "discovery",
"x-order": 3
},
"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": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}