Content-Type: application/json
{
"username":"demixr.com",
"password":"r0s4nn4"
}
{
"token": "Bearer xxxxxxxxxxxxxxxx",
"expiry": 86400,
"token_type": "Bearer "
}
Authorization: [token_bearer]
Content-Type: application/json
{
"uploadId": "xxxxxxxxxxxxxxxx",
"signedUrl": "https://storage.googleapis.com/staging-separations/demixr.com/xxxxxxxxxxxxxxxx",
"expiry": "2020-07-14T13:20:58.140",
"method": "PUT"
}
Content-Type: text/plain
The binary file to upload for separation (any supported audio format: wav, mp3, m4a, flac...)
Authorization: [token_bearer]
Content-Type: application/json
{
"uploadId": "[upload_id]",
"separationAlgorithm":6,
"outputFormats": "["mp3"]",
"priority": "ONDEMAND",
"priorityOffset": 0,
"callbackUrl" : "example-url.com"
}
{
"separationId": "xxxxxxxxxxxxxxxx"
}
Authorization: [token_bearer]
Content-Type: application/json
{
"events": [
{
"event": "Formatting Request File",
"guid": "de7ba252-3139-4eab-9dec-07d826e416bb",
"timestamp": "2020-07-21T14:50:57.396Z",
"message": "Formatting requestData into wav"
},
{
"event": "Request Formatting Done",
"guid": "d05602f0-36c4-42d2-8c6d-4fe9aaeec59f",
"timestamp": "2020-07-21T14:51:05.458Z",
"message": ""
},
{
"event": "Requesting Metadata",
"guid": "78e690ec-d48a-45c7-8ff7-c1f39f66b9b6",
"timestamp": "2020-07-21T14:51:05.478Z",
"message": "Requesting metadata from server"
},
{
"event": "Metadata Task Done",
"guid": "7c67c326-4983-4c32-81e8-0a231ff90d2f",
"timestamp": "2020-07-21T14:51:05.484Z",
"message": ""
},
{
"event": "Trial Chunking Start",
"guid": "5f4fd7f3-2443-4b31-ad84-7c273ab2b2fc",
"timestamp": "2020-07-21T14:51:05.513Z",
"message": ""
},
{
"event": "Trial Chunking Done",
"guid": "d5eb44c5-64cf-4067-88f2-c1a1acdff93c",
"timestamp": "2020-07-21T14:51:11.922Z",
"message": ""
},
{
"event": "Starting Separation",
"guid": "9f984b6c-285c-4732-b61a-c8f5a8be3ce0",
"timestamp": "2020-07-21T14:51:11.950Z",
"message": "Starting Separation process"
},
{
"event": "Queue message received",
"guid": "51510fe0-8a97-41fb-b213-b548f4b3c982",
"timestamp": "2020-07-21T14:51:15.176Z",
"message": "Attempt number 1"
},
{
"event": "Processing",
"guid": "b30f2f98-df30-460e-984c-f5c5f63f7dd7",
"timestamp": "2020-07-21T14:51:15.846Z",
"message": null
},
{
"event": "Finalising",
"guid": "85164348-d805-4c42-9faa-894d4f708362",
"timestamp": "2020-07-21T14:52:06.007Z",
"message": null
}
],
"outputFiles": [
"track.wav",
"vocals.wav"
]
}
Authorization: [token_bearer]
Content-Type: application/json
{
"signedUrl": "[signed_url]",
"expiry": "2020-07-09T15:27:32.723",
"method": "GET"
}
Authorization: [token_bearer]
Content-Type: application/json
{
"duration": 33.827868, (in seconds)
"numChannels": 2,
"sampleRate": 44100,
"message": "completed",
"success": true
}
Authorization: [token_bearer]
Content-Type: application/json
{
"uploadId": "xxxxxxxxxxxxxxxx",
"separationAlgorithm":6,
"trialSectionSeconds":50.6,
"trialSectionStart":10.2,
"customMetadata":"your custom meta data",
"callbackUrl" : "example-url.com"
}
{
"separationId": "xxxxxxxxxxxxxxxx"
}
Authorization: [token_bearer]
Content-Type: application/json
{
"tracks": [
{
"fileName": "track.wav",
"volume": 0.61,
"pan": -1
},
{
"fileName": "vocals.wav",
"volume": 0.90,
"pan": 1
}
],
"separationId": "xxxxxxxxxxxxxxxx"
"mixName": "my mix"
}
{
"mixId": "mix/mix_xxxxxxxxxxxxxxxx"
}
Authorization: [token_bearer]
Content-Type: application/json
{
"separationId":"5f212898dbe5b2724453e8c2",
"tracks":["bass","other","drums","vocals"],
"format":"mp3",
"zipFileName": "myzipfile"
}
{
"zipFilePath": "zip/xxxxxxxxxxxxxxxx.zip"
}