public static final class SubmitAIImageJobRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
SubmitAIImageJobRequest.Builder |
AIPipelineId(String AIPipelineId)
The ID of the pipeline that is used for the AI processing job.
|
SubmitAIImageJobRequest.Builder |
AITemplateId(String AITemplateId)
The ID of the AI template.
|
SubmitAIImageJobRequest |
build() |
SubmitAIImageJobRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
SubmitAIImageJobRequest.Builder |
ownerId(String ownerId)
OwnerId.
|
SubmitAIImageJobRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SubmitAIImageJobRequest.Builder |
resourceOwnerId(String resourceOwnerId)
ResourceOwnerId.
|
SubmitAIImageJobRequest.Builder |
userData(String userData)
The user data.
|
SubmitAIImageJobRequest.Builder |
videoId(String videoId)
The ID of the video.
|
public SubmitAIImageJobRequest.Builder AIPipelineId(String AIPipelineId)
> This parameter is optional if you have specified a default pipeline ID. If you need to submit image AI processing jobs in a batch to a specific pipeline, [submit a ticket](https://yida.alibaba-inc.com/o/ticketapply) to contact Alibaba Cloud technical support.
public SubmitAIImageJobRequest.Builder AITemplateId(String AITemplateId)
* Obtain the value of TemplateId from the response to the [AddAITemplate](~~102930~~) that you call to create the template. * Obtain the value of TemplateId from the response to the [ListAITemplate](~~102936~~) operation after you create the template.
public SubmitAIImageJobRequest.Builder ownerAccount(String ownerAccount)
public SubmitAIImageJobRequest.Builder ownerId(String ownerId)
public SubmitAIImageJobRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SubmitAIImageJobRequest.Builder resourceOwnerId(String resourceOwnerId)
public SubmitAIImageJobRequest.Builder userData(String userData)
* The value must be a JSON string. * You must specify the MessageCallback or Extend parameter. * The value can contain a maximum of 512 bytes. For more information, see the "UserData: specifies the custom configurations for media upload" section of the [Request parameters](~~86952~~) topic.
public SubmitAIImageJobRequest.Builder videoId(String videoId)
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of VideoId from the response to the [CreateUploadVideo](~~55407~~) operation that you call to upload the video. * Obtain the value of VideoId from the response to the [SearchMedia](~~86044~~) operation after you upload the video.
public SubmitAIImageJobRequest build()
Copyright © 2024. All rights reserved.