myart-arch/prompt-music-links
Real songs for a text description, with YouTube links that start at the matching section.
Public
2
runs
Run myart-arch/prompt-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
|
|
| query |
string
|
Describe the music you want, e.g. 'melancholic piano for a rainy city evening'.
|
|
| num_results |
integer
|
5
Min: 1 Max: 20 |
None
|
| results_mode |
None
|
discovery
|
None
|
{
"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. 'melancholic piano for a rainy city evening'."
},
"num_results": {
"type": "integer",
"title": "Num Results",
"default": 5,
"maximum": 20,
"minimum": 1,
"x-order": 2
},
"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": "string",
"title": "Output"
}