About this endpoint
What it does
Extracts a PNG frame from an uploaded video file and streams the result back as a binary download. You can optionally specify the frame seek time and output size.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Video file to process. Supported formats: .mp4, .mkv, .avi, .mov, .flv, .3gp, .webm. Maximum size: 500 MiB. |
| size | String | No | Optional output scale in WxH format, for example 320x180. |
| time | Integer | No | Frame seek position in seconds. Default: 1. Minimum: 1. |
Response
Returns a binary file stream containing the generated PNG frame. The success response is a raw binary body, not a JSON object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| body | String | Yes | Binary PNG output streamed from the uploaded video. |