Submits a frame animation job and starts asynchronous processing.
Operation description
- You can capture a part of a video and generate animated images only when the video is in the Uploaded, Transcoding, Normal, Reviewing, or Flagged state.
- The fees for frame animation are included in your video transcoding bill. You are charged based on the output resolution and the duration. For more information, see Billing of basic services.
QPS limits
You can call this operation up to 30 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit on API operations.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VideoId | string | Yes | The ID of the video. You can use one of the following methods to obtain the ID:
| 7d2fbc3e273441bdb0e08e55f8**** |
DynamicImageTemplateId | string | Yes | The ID of the frame animation template. | 1a443dc52ef10abc4794d700***** |
OverrideParams | string | No | The override parameter. Specify the value in the JSON format. For more information, see Parameters for media processing. You can use this parameter to override configurations in the animated image template. For more information, see the "DynamicImageTemplateConfig: the configurations of an animated sticker template" section of the Basic data types topic. | {"Watermarks":[{"Content":"UserID: 666**","WatermarkId":"8ca03c884944bd05efccc312367****"}]} |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-74A6-BEF6-D7393642****",
"DynamicImageJob": {
"JobId": "ad90a501b1bfb72374ad0050746****"
}
}
Error codes
For a list of error codes, visit the Service error codes.