unityaisolutions/any2wav
Public
0
runs
Run unityaisolutions/any2wav 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 |
|---|---|---|---|
| input_file |
string
|
Input audio or video file (mp3, wav, mp4, webm, flac, aac, ogg, m4a, avi, mkv, mov, etc.)
|
|
| sample_rate |
integer
|
44100
Min: 8000 Max: 192000 |
Output sample rate in Hz
|
| bit_depth |
None
|
16
|
Output bit depth
|
| channels |
None
|
2
|
Number of audio channels (1=mono, 2=stereo)
|
{
"type": "object",
"title": "Input",
"required": [
"input_file"
],
"properties": {
"channels": {
"enum": [
1,
2
],
"type": "integer",
"title": "channels",
"description": "Number of audio channels (1=mono, 2=stereo)",
"default": 2,
"x-order": 3
},
"bit_depth": {
"enum": [
16,
24,
32
],
"type": "integer",
"title": "bit_depth",
"description": "Output bit depth",
"default": 16,
"x-order": 2
},
"input_file": {
"type": "string",
"title": "Input File",
"format": "uri",
"x-order": 0,
"description": "Input audio or video file (mp3, wav, mp4, webm, flac, aac, ogg, m4a, avi, mkv, mov, etc.)"
},
"sample_rate": {
"type": "integer",
"title": "Sample Rate",
"default": 44100,
"maximum": 192000,
"minimum": 8000,
"x-order": 1,
"description": "Output sample rate in Hz"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}