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 | Description |
|---|---|---|
| video | Binary | Video file upload. Supported formats: .mp4, .mkv, .avi, .mov, .flv, .3gp, .webm. Maximum size: 500 MiB. |
| size | String | Optional output scale in WxH format, for example 320x180. |
| time | Integer | 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 | Description |
|---|---|---|
| binary response | String | The endpoint returns the generated PNG as binary data. |


