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 (“0000” 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 asset IDs for each extracted frame |
| data.asset_id | string | The parent asset ID (image collection) containing all extracted frames |
| 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)asset_id represents the image collection containing all framesThe video asset ID to extract frames from
"re_657739295220518912"
Frame extraction initiated successfully
Response code indicating the result status
"0000"
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