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
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:SubmitDynamicImageJob | *All Resources * |
| none |
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.