About this endpoint
What it does
Extracts a single PNG frame from an uploaded video and streams the generated file back as a binary response. The request body accepts the source video plus optional frame-seek and output-size settings.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Video file upload. 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, representing the generated PNG frame extracted from the uploaded video.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary response | String | Yes | The endpoint returns the generated PNG as binary data. |