Submits a sports highlights job to generate a highlights video of an event based on event materials that contain commentary.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitSportsHighlightsJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. |
****12e8864746a0a398**** |
| InputConfig |
string |
No |
The input configurations. |
{ "SportsCategory": "basketball", "InputMedia": "http://test-bucket.oss-cn-******.basketball-0707.mp4", "FaceRegister": [ { "FaceUrls": ["http://testcdn.com/front.jpg", "http://testcdn.com/side.jpg"], "Name": "James" } ], "SlowMotionLogoRegister": { "SlowMotionLogoUrls": ["http://testcdn.com/logo1.jpg", "http://testcdn.com/logo2.jpg"] }, "TransferNameRegister": [ { "OriginalName": "IND", "TransferName": "Indiana Pacers" } ] } |
| OutputConfig |
string |
No |
The output configurations. |
{ "MediaURL": "http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4", "Count": 1, "Width": 1080, "Height": 1920 } |
| UserData |
string |
No |
The user-defined data. |
{"NotifyAddress":"http://xx.xx.xxx"} or {"NotifyAddress":"https://xx.xx.xxx"} or {"NotifyAddress":"ice-callback-demo"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
****36-3C1E-4417-BDB2-1E034F**** |
| JobId |
string |
The ID of the sports highlights job. |
****d80e4e4044975745c14b**** |
Examples
Success response
JSON format
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****\n",
"JobId": "****d80e4e4044975745c14b****\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.