curl --fail-with-body -X GET "$RAWCHUNKS_API/api/options"
{
"generation": {
"modes": [
{
"id": "<string>",
"label": "<string>"
}
],
"languages": [
{
"id": "<string>",
"label": "<string>"
}
],
"duration": {
"min": 123,
"max": 123
},
"parameters": {}
},
"editing": {
"modes": [
{
"id": "<string>",
"label": "<string>"
}
],
"tasks": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"modes": [
"<string>"
]
}
],
"repaintModes": [
{
"id": "<string>",
"label": "<string>"
}
],
"stems": [
{
"id": "<string>",
"label": "<string>"
}
],
"duration": {
"min": 123,
"max": 123
},
"parameters": {}
}
}System
Music options
Read available generation and editing controls.
GET
/
api
/
options
curl --fail-with-body -X GET "$RAWCHUNKS_API/api/options"
{
"generation": {
"modes": [
{
"id": "<string>",
"label": "<string>"
}
],
"languages": [
{
"id": "<string>",
"label": "<string>"
}
],
"duration": {
"min": 123,
"max": 123
},
"parameters": {}
},
"editing": {
"modes": [
{
"id": "<string>",
"label": "<string>"
}
],
"tasks": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"modes": [
"<string>"
]
}
],
"repaintModes": [
{
"id": "<string>",
"label": "<string>"
}
],
"stems": [
{
"id": "<string>",
"label": "<string>"
}
],
"duration": {
"min": 123,
"max": 123
},
"parameters": {}
}
}Use this inventory to populate model, language, key, task and stem selectors. It can return 503 when options are unavailable. API validation limits are documented on the request schemas; UI slider ranges may be narrower.
Response (200)
object
required
Show Properties
Show Properties
object[]
required
object[]
required
object
required
Controls keyed by request field name, such as bpm, keyScale or coverStrength.
object
required
Show Properties
Show Properties
object[]
required
object[]
required
object[]
required
object[]
required
object
required
Controls keyed by request field name, such as bpm, keyScale or coverStrength.
Errors
Failed JSON responses contain anerror string. Check the HTTP status before reading a successful result. See job handling for interrupted or uncertain submissions.
| Status | Meaning |
|---|---|
400 | Invalid request. |
500 | Request failed. |
503 | Music options are unavailable. |
curl --fail-with-body -X GET "$RAWCHUNKS_API/api/options"
⌘I