Submits an AI image processing task.
Operation description
Currently, this operation is supported in the following regions: China (Beijing) and China (Shanghai).
This is an asynchronous operation. After you submit a task, the task ID is returned. The task is not yet complete at this point and enters a background queue for asynchronous execution. The final result is sent through a callback notification. You can also call GetAIImageJobs to query the task execution result.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SubmitAIImageJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VideoId |
string |
Yes |
The video ID. You can obtain the video ID by using one of the following methods:
|
357a8748c5774*****89d2726e6436aa |
| AITemplateId |
string |
Yes |
The AI image template ID. You can obtain the template ID by using one of the following methods:
|
ef1a8842cb9f*****cea80cad902e416 |
| UserData |
string |
No |
The custom settings.
For more information about the parameter structure, see UserData. |
{"Extend":{"localId":"****","test":"www"}} |
| AIPipelineId |
string |
No |
The AI task pipeline ID. Note
A default ID is available, so this parameter is optional. If you need to perform batch imports, use a separate task pipeline. Submit a ticket to request configuration or contact Alibaba Cloud after-sales support for configuration. For more information about how to submit a ticket, see Contact us. |
6492025b8f*****6ba5bb755a33438 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| JobId |
string |
The AI image processing task ID. |
cf08a2c6e11e*****de1711b738b9067 |
| RequestId |
string |
The request ID. |
218A6807-A21E-43*****54-C0512880B0B0 |
Examples
Success response
JSON format
{
"JobId": "cf08a2c6e11e*****de1711b738b9067",
"RequestId": "218A6807-A21E-43*****54-C0512880B0B0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.