Convert anything to WAV

The API for converting any file to WAV.
On the left you can see all available conversion options that you use as as options section of the JSON.

Arguments

allow_multiple_outputs
Type: boolean
Default: False
If the conversion produces more than one output file, by default all of them are compressed in just one file. Set this option to true if you want a download link for each file.
audio_bitdepth
Type: integer
Enum: 8 16 24 32
Change bit depth resolution
channels
Type: string
Enum: stereo mono
Audio channels.
download_password
Type: string
Pattern: ^[ -~]{0,1000}$
Example: secret_password
A password to protect the download. To download the file send the password in the x-oc-download-password header or set a cookie named x-oc-download-password. The value contains a comma separated list of passwords.
end
Type: string
Pattern: ^\d\d:\d\d:\d\d$
Sets the end point of the part of the video you want to keep. The format is HH:MM:SS. HH = hour, MM = minutes, SS = seconds. Example 00:05:35
frequency
Type: integer
Enum: 1000 8000 11025 16000 22050 24000 32000 44100 48000 96000
Audio frequency in Hz.
normalize
Type: boolean
Default: False
Normalize the audio volume.
pcm_format
Type: string
Enum: pcm_alaw pcm_f32be pcm_f32le pcm_f64be pcm_f64le pcm_mulaw pcm_s16be pcm_s16le pcm_s24be pcm_s24le pcm_s32be pcm_s32le pcm_s8 pcm_u16be pcm_u16le pcm_u24be pcm_u24le pcm_u32be pcm_u32le pcm_u8
PCM formats.
preset
Type: string
Pattern: ^[\w\W]{1,255}$
Predefined options
start
Type: string
Pattern: ^\d\d:\d\d:\d\d$
Sets the start point of the part of the video you want to keep. The format is HH:MM:SS. HH = hour, MM = minutes, SS = seconds. Example 00:02:23

Example JSON

POST /jobs HTTP/1.1
Host: https://api2convert.com
X-Oc-Api-Key: <your API key here>
Content-Type: application/json
{
    "input": [{
        "type": "remote",
        "source": "https://example-files.online-convert.com/video/avi/example.avi"
    }],
    "conversion": [{
        "category": "image",
        "target": "jpg",
        "options": {
        <conversion options here>
        }
    }]
}