Here you can see all available conversion options which you can use within the "options" section of conversions (see the example JSON below the table).
Here you can see all available conversion options which you can use within the "options" section of conversions (see the example JSON on the right).
Option Name | Description |
---|---|
end
Type: string Pattern: \d+:\d+:\d+ |
|
framerate
Type: integer |
|
height
Type: integer |
|
mirror
Type: string Enum: none horizontal vertical |
|
rotate
Type: integer Enum: 90 180 270 |
|
start
Type: string Pattern: \d+:\d+:\d+ |
|
video_bitrate
Type: integer |
|
width
Type: integer |
POST /v2/jobs HTTP/1.1
Host: https://api.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/mp4/example_small.mp4"
}],
"conversion": [{
"category": "video",
"target": "ipad",
"options": {
<conversion options here>
}
}]
}