List Music Models
The music models currently served, each with what it honours, so a client can adapt without code changes. false or [] means unsupported. Requests are checked against these entries before they are queued. A model without a valid capability spec is not listed.
Responses
OK
application/json · music-models-payload
The API key is missing, unknown or not active. Send it as Authorization: Bearer <key>.
application/json · error-payload
curl https://api.vultrinference.com/v1/music/models \
-H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"import os
import requests
response = requests.get(
"https://api.vultrinference.com/v1/music/models",
headers={"Authorization": f"Bearer {os.environ['VULTR_INFERENCE_API_KEY']}"},
)
print(response.json())const response = await fetch("https://api.vultrinference.com/v1/music/models", {
headers: {
Authorization: `Bearer ${process.env.VULTR_INFERENCE_API_KEY}`,
},
});
console.log(await response.json());Response · 200
{
"data": [
{
"id": "string",
"name": "string",
"canonical_slug": "string",
"hugging_face_id": "string",
"description": "string",
"created": 0,
"output_modalities": [
null
],
"interaction": "string",
"tasks": [
{}
],
"duration": {},
"lyrics": "required",
"prompt_max_length": 0,
"controls": {},
"outputs": {},
"seed": false,
"adapters": false,
"streaming": {
"progressive": null
},
"allowed_passthrough_parameters": [
null
],
"parameters": {},
"attribution": "string",
"pricing_skus": {}
}
]
}