Submits an AI image processing job.
Operation description
This operation is available in the following service regions: China (Beijing) and China (Shanghai).
This is an asynchronous API. After you submit a job, the operation returns a job ID. The job is queued for asynchronous processing. The system delivers the result through a callback notification. You can also call the GetAIImageJobs operation to query the job status.
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 in the following ways:
|
357a8748c5774*****89d2726e6436aa |
| AITemplateId |
string |
Yes |
The AI image template ID. You can obtain the template ID in the following ways:
|
ef1a8842cb9f*****cea80cad902e416 |
| UserData |
string |
No |
Custom settings.
For more information about how to structure this parameter, see UserData. |
{"Extend":{"localId":"****","test":"www"}} |
| AIPipelineId |
string |
No |
The AI pipeline ID. Note
If you leave this parameter empty, the system uses a default pipeline ID. If you need to perform batch imports, you must use a dedicated pipeline. To request a dedicated pipeline, submit a ticket or contact Alibaba Cloud after-sales support. For more information about how to submit a ticket, see Contact Us. |
6492025b8f*****6ba5bb755a33438 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| JobId |
string |
The AI image processing job 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.