public static final class SubmitAIJobRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
SubmitAIJobRequest |
build() |
SubmitAIJobRequest.Builder |
config(String config)
The configurations of the AI job.
|
SubmitAIJobRequest.Builder |
mediaId(String mediaId)
The ID of the video.
|
SubmitAIJobRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
SubmitAIJobRequest.Builder |
ownerId(String ownerId)
OwnerId.
|
SubmitAIJobRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SubmitAIJobRequest.Builder |
resourceOwnerId(String resourceOwnerId)
ResourceOwnerId.
|
SubmitAIJobRequest.Builder |
types(String types)
The type of the AI job.
|
SubmitAIJobRequest.Builder |
userData(String userData)
The custom settings.
|
public SubmitAIJobRequest.Builder config(String config)
* If you set `Types` to `AIVideoTag`, you can specify `AnalyseTypes` for `Config` to set the analysis algorithm of a smart tagging job. Valid values: * ASR: automatic speech recognition (ASR) * OCR: image optical character recognition (OCR) * If you set `Types` to `AIMediaDNA`, you can specify `DNADBId` for `Config` to set the ID of the media fingerprint library for video fingerprinting jobs.
public SubmitAIJobRequest.Builder mediaId(String mediaId)
* 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 audio or 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 media files. * Obtain the value of VideoId from the response to the [SearchMedia](~~86044~~) operation after you upload media files.
public SubmitAIJobRequest.Builder ownerAccount(String ownerAccount)
public SubmitAIJobRequest.Builder ownerId(String ownerId)
public SubmitAIJobRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SubmitAIJobRequest.Builder resourceOwnerId(String resourceOwnerId)
public SubmitAIJobRequest.Builder types(String types)
* **AIMediaDNA**: The media fingerprinting job. * **AIVideoTag**: The smart tagging job.
public SubmitAIJobRequest.Builder userData(String userData)
public SubmitAIJobRequest build()
Copyright © 2024. All rights reserved.