Starts a job to generate a highlight video from sports footage with commentary.
Operation description
This is an asynchronous API. After you submit a job, the API immediately returns a job ID. The job is then queued for asynchronous processing. A callback delivers the final result.
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 |
A client-generated token to ensure request idempotency. |
****12e8864746a0a398**** |
| InputConfig |
string |
No |
The input configuration. For more information, see input configuration parameters. |
{ "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": "印第安纳步行者" } ] } |
| OutputConfig |
string |
No |
The output configuration. For more information, see output configuration parameters. |
{ "MediaURL": "http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4", "Count": 1, "Width": 1080, "Height": 1920 } |
| UserData |
string |
No |
The user data, containing business and callback configurations. For more information about the structure, see user data configuration. |
{"NotifyAddress":"http://xx.xx.xxx"}或{"NotifyAddress":"https://xx.xx.xxx"}或{"NotifyAddress":"ice-callback-demo"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The request ID. |
****36-3C1E-4417-BDB2-1E034F**** |
| JobId |
string |
The sports highlight job ID. |
****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.