Extract individual frames from a video asset
| Field | Type | Required | Description |
|---|---|---|---|
| asset_id | string | Yes | The video asset ID to extract frames from |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | object | Response data object containing task information |
| data.task_id | string | Unique identifier of the frame extraction task |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code (200 indicates success) |
| message | string | Status message (e.g., “SUCCESS”) |
| data | object | Response data object containing the extracted frame information |
| data.asset_ch_ids | array | Array of individual frame asset IDs. Use any asset_ch_id with the Download or Get Metadata endpoint to download or query a single frame image. |
| data.asset_id | string | The parent group asset ID for the entire frame collection. Use this ID with the Download endpoint to download all frames as a zip package, or with Get Metadata to list all frames in this collection. |
| task_id | string | The task ID associated with this frame extraction request |
callback_response.data.asset_ch_idscallback_response.data.asset_ch_ids.lengthcallback_response.data.asset_ch_ids[0]callback_response.data.asset_idcallback_response.task_idimc_<parent_id>_<frame_index>, where:
imc_ is the prefix for image collection items<parent_id> is the numerical portion of the parent asset ID<frame_index> is the sequential frame number (0-indexed)| ID | Download endpoint returns | Get Metadata endpoint returns |
|---|---|---|
asset_id (e.g., im_666914042514116608) | A zip package containing all extracted frames | A list of all frames in the collection |
asset_ch_ids[n] (e.g., imc_666914042514116608_0) | A single frame image | Metadata for that specific frame |
asset_id and asset_ch_ids can be used with the Download and Get Metadata endpointsasset_id downloads all frames as a zip package; individual asset_ch_ids download single frame imagesThe video asset ID to extract frames from
"re_657739295220518912"
Frame extraction initiated successfully
Response code indicating the result status
200
Response message describing the operation result
"success"
Response data object containing task information
Indicates whether the operation was successful
true
Indicates whether the operation failed
false