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+ |
|
mirror
Type: string Enum: none horizontal vertical |
|
rotate
Type: integer Enum: 90 180 270 |
|
start
Type: string Pattern: \d+:\d+:\d+ |
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": "iphone",
"options": {
<conversion options here>
}
}]
}