ryan5453/demucs-test
don't use this...
Public
45
runs
Run ryan5453/demucs-test 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 |
|---|---|---|---|
| audio |
string
|
The audio file to separate
|
|
| model |
None
|
htdemucs
|
Model to use for separation (this deployment serves htdemucs)
|
| format |
string
|
wav
|
Output audio format, anything supported by FFmpeg
|
| isolate_stem |
None
|
none
|
Only creates a {stem} and no_{stem} stem/file
|
| shifts |
integer
|
1
Min: 1 Max: 20 |
Number of random shifts for equivariant stabilization, more increases quality but increases processing time linearly
|
| split_overlap |
number
|
0.25
Max: 0.99 |
Overlap between segments; higher values improve quality at segment boundaries
|
| clip_mode |
None
|
rescale
|
Method to prevent audio clipping in output, or None for no clipping prevention
|
{
"type": "object",
"title": "Input",
"required": [
"audio"
],
"properties": {
"audio": {
"type": "string",
"title": "Audio",
"format": "uri",
"x-order": 0,
"description": "The audio file to separate"
},
"model": {
"enum": [
"htdemucs"
],
"type": "string",
"title": "model",
"description": "Model to use for separation (this deployment serves htdemucs)",
"default": "htdemucs",
"x-order": 1
},
"format": {
"type": "string",
"title": "Format",
"default": "wav",
"x-order": 2,
"description": "Output audio format, anything supported by FFmpeg"
},
"shifts": {
"type": "integer",
"title": "Shifts",
"default": 1,
"maximum": 20,
"minimum": 1,
"x-order": 4,
"description": "Number of random shifts for equivariant stabilization, more increases quality but increases processing time linearly"
},
"clip_mode": {
"enum": [
"none",
"rescale",
"clamp",
"tanh"
],
"type": "string",
"title": "clip_mode",
"description": "Method to prevent audio clipping in output, or None for no clipping prevention",
"default": "rescale",
"x-order": 6
},
"isolate_stem": {
"enum": [
"none",
"drums",
"bass",
"other",
"vocals"
],
"type": "string",
"title": "isolate_stem",
"description": "Only creates a {stem} and no_{stem} stem/file",
"default": "none",
"x-order": 3
},
"split_overlap": {
"type": "number",
"title": "Split Overlap",
"default": 0.25,
"maximum": 0.99,
"minimum": 0,
"x-order": 5,
"description": "Overlap between segments; higher values improve quality at segment boundaries"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"properties": {
"bass": {
"type": "string",
"title": "Bass",
"format": "uri"
},
"drums": {
"type": "string",
"title": "Drums",
"format": "uri"
},
"other": {
"type": "string",
"title": "Other",
"format": "uri"
},
"vocals": {
"type": "string",
"title": "Vocals",
"format": "uri"
},
"no_bass": {
"type": "string",
"title": "No Bass",
"format": "uri"
},
"no_drums": {
"type": "string",
"title": "No Drums",
"format": "uri"
},
"no_other": {
"type": "string",
"title": "No Other",
"format": "uri"
},
"no_vocals": {
"type": "string",
"title": "No Vocals",
"format": "uri"
}
}
}