The API for converting any file to IPAD.
On the left you can see all available conversion options that you use as options section of the JSON.
Arguments |
|
---|---|
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>
}
}]
}