Resize
Change the resolution of an existing video file
Request parameters
- Name
video
- Type
- file
- required
- Description
Video file to resize
- Name
height
- Type
- number
- required
- Description
Height of resized video
- Name
width
- Type
- number
- required
- Description
Width of resized video
- Name
metadata
- Type
- object
- Description
Arbitrary metadata to associate with this process
HTTP Endpoint
POST
https://api.editframe.com/v2/videos/resize
Response
{
"id": "RNVqM4mQBX",
"timestamp": 1665085221,
"status": "processing"
}
Examples
curl --location -g --request POST 'https://api.editframe.com/v2/videos/resize' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--form 'video=@"/Users/mac/Downloads/video.mp4"' \
--form 'height="720"' \
--form 'width="1280"'