This topic describes the InputFile and FpShotConfig parameters in detail.

InputFile

ParameterTypeRequiredDescription
BucketStringYesThe Object Storage Service (OSS) bucket that stores the input file. For more information, see the definition of an OSS bucket.
LocationStringYesThe region in which the data center of the OSS bucket that stores the input file resides. For more information, see the definition of an OSS region. Set the value to oss-cn-shanghai.
ObjectStringNoThe OSS object that is used as the input file. The URL of the OSS object must be encoded in UTF-8, with reserved characters being percent-encoded. For more information, see the definition of an OSS object.

FpShotConfig

ParameterTypeRequiredDescription
PrimaryKeyStringYesThe unique primary key of the video.
SaveTypeStringYesThe storage type. Valid values:
  • nosave: The fingerprints of the job input are not saved to the media fingerprint library.
  • save: The fingerprints of the text file are saved to the text fingerprint library only if the text file is not duplicated with content in the text fingerprint library.
  • forcesave: The fingerprints of the job input are forcibly saved to the media fingerprint library.
  • onlysave: The fingerprints of the text file are saved to the text fingerprint library.
FpDBIdStringYesThe ID of the media fingerprint library involved in a query operation.
TextTypeStringNoThe text type. This parameter is required for text fingerprint analysis. Valid values:
  • Text: a long text string.
  • ASR: the speech recognition result.