tenyun
Version:
Promise based and chained Tencent Cloud OpenAPI client for NodeJS
1,409 lines (1,289 loc) • 655 kB
TypeScript
/// <reference types="node" />
import { AxiosPromise, AxiosRequestConfig } from "axios";
/** 临时访问凭证。 */
declare interface Credentials {
/** 访问凭证 ID。 */
AccessKeyId?: string;
/** 访问凭证 Key。 */
SecretAccessKey?: string;
/** 访问凭证 Token,长度和绑定的策略有关,最长不超过 4096 字节。 */
SessionToken?: string;
/** 访问凭证的过期时间。 */
Expiration?: string;
}
/** 键值对过滤器,用于条件过滤查询。例如过滤 ID、名称或状态等。若存在多个 Filter 时,Filter 间的关系为逻辑与(AND)关系。若同一个 Filter 存在多个 Values,同一 Filter 下 Values 间的关系为逻辑或(OR)关系。过滤器筛选字段均为精确匹配。 */
declare interface Filter {
/** 需要过滤的字段。 */
Name: string;
/** 字段的过滤值。 */
Values: string[];
}
/** 增量迁移源站地址信息。 */
declare interface IncrementalMigrationHttpEndpointInfo {
/** 地址信息,支持域名或 IP 地址。 */
Endpoint: string;
/** 备份地址信息。 */
StandbyEndpointSet?: string[];
}
/** 增量迁移回源 HTTP Header。 */
declare interface IncrementalMigrationHttpHeader {
/** Header 键。 */
Key: string;
/** Header 值。 */
Value: string;
}
/** 增量迁移回源 HTTP Header 信息。 */
declare interface IncrementalMigrationHttpHeaderInfo {
/** Http Header 透传模式。取值有:FOLLOW_ALL:透传所有头部信息;FOLLOW_PART:透传部分头部信息;IGNORE_PART:忽略部分头部信息。参数必填。 */
HeaderFollowMode: string;
/** 需透传 Header Key 集合,仅当 HeaderFollowMode 取值 `FOLLOW_PART` 时需要填充。 */
FollowHttpHeaderKeySet?: string[];
/** 新增 Header 键值对集合。 */
NewHttpHeaderSet?: IncrementalMigrationHttpHeader[];
}
/** 增量迁移回源条件。 */
declare interface IncrementalMigrationHttpOriginCondition {
/** 触发回源条件的 HTTP Code。若不填充,默认取值 `404`。 */
HttpStatusCode?: number;
/** 触发回源条件的对象键前缀。 */
Prefix?: string;
}
/** 增量迁移回源源站配置。 */
declare interface IncrementalMigrationHttpOriginConfig {
/** 回源源站信息。 */
OriginInfo: IncrementalMigrationHttpOriginInfo;
/** 回源参数。 */
OriginParameter: IncrementalMigrationHttpOriginParameter;
/** 回源模式。取值有:SYNC:同步回源;ASYNC:异步回源。若不填,默认取 `SYNC` 同步回源。 */
Mode?: string;
/** 回源条件。 */
OriginCondition?: IncrementalMigrationHttpOriginCondition;
}
/** 增量迁移源站信息。 */
declare interface IncrementalMigrationHttpOriginInfo {
/** 增量迁移源站地址信息。 */
EndpointInfo: IncrementalMigrationHttpEndpointInfo;
/** 增量迁移源站文件信息。 */
FileInfo?: IncrementalMigrationOriginFileInfo;
}
/** 增量迁移回源参数。 */
declare interface IncrementalMigrationHttpOriginParameter {
/** HTTP 头部透传信息。 */
HttpHeaderInfo: IncrementalMigrationHttpHeaderInfo;
/** 回源协议。取值有:HTTP:强制 HTTP;HTTPS:强制 HTTPS;FOLLOW:跟随请求协议。若不填,默认取值 `FOLLOW`。 */
Protocol?: string;
/** 请求参数透传模式。取值有:FOLLOW:全部透传;IGNORE:忽略,全部不透传。 默认取值 `FOLLOW`。 */
QueryStringFollowMode?: string;
/** 重定向的 HTTP Code,目前仅支持 `301`,`302` 和 `307`。默认取值 `302`。 */
HttpRedirectCode?: number;
/** 源站重定向跟随模式。取值有:FOLLOW:跟随源站重定向;IGNORE:忽略源站重定向。 默认取值 `FOLLOW` 跟随源站重定向,即源站返回 `3xx` 时,会默认跟随至对应源站拉取数据。 */
OriginRedirectionFollowMode?: string;
}
/** 增量迁移源站文件信息。 */
declare interface IncrementalMigrationOriginFileInfo {
/** 文件前缀配置。 */
PrefixConfig?: IncrementalMigrationOriginPrefixConfig;
/** 文件后缀配置。 */
SuffixConfig?: IncrementalMigrationOriginSuffixConfig;
/** 固定文件配置。 */
FixedFileConfig?: IncrementalMigrationOriginFixedFileConfig;
}
/** 增量迁移源站固定文件路径配置。 */
declare interface IncrementalMigrationOriginFixedFileConfig {
/** 固定文件路径;如填充 `example/test.png`,则回源地址为: `http(s)://<回源域名>/example/test.png`。 */
FixedFilePath?: string;
}
/** 增量迁移源站地址前缀配置。 */
declare interface IncrementalMigrationOriginPrefixConfig {
/** 源站地址前缀,如填充 `test/`,则回源地址为 `http(s)://<回源域名>/test/<文件名>`。 */
Prefix?: string;
}
/** 增量迁移源站文件后缀配置。 */
declare interface IncrementalMigrationOriginSuffixConfig {
/** 文件后缀;如填充 `.ts` ,则回源地址为:`http(s)://<回源域名>/<文件名>.ts`。 */
Suffix?: string;
}
/** 增量迁移策略信息。 */
declare interface IncrementalMigrationStrategyInfo {
/** 策略 ID。 */
StrategyId?: string;
/** 策略名称。 */
StrategyName?: string;
/** 策略生效的点播专业版[应用](/document/product/266/14574) ID。 */
SubAppId?: number;
/** 策略生效的存储桶 ID。 */
BucketId?: string;
/** 源站类型。取值有:HTTP:HTTP 源。 */
OriginType?: string;
/** 回源源站配置。 */
HttpOriginConfig?: IncrementalMigrationHttpOriginConfig;
}
/** 排序依据。 */
declare interface SortBy {
/** 排序字段。 */
Field: string;
/** 排序方式,可选值有:Asc: 升序;Desc: 降序。 */
Order: string;
}
/** 专业版应用的存储信息。 */
declare interface StorageInfo {
/** 存储桶 ID。 */
BucketId?: string;
/** 存储名称。 */
StorageName?: string;
/** 存储所在区域。 */
StorageRegion?: string;
/** 存储公网源站访问域名的状态,取值有:ONLINE:已生效;DEPLOYING: 部署中。 */
InternetAccessDomainStatus?: string;
/** 存储公网源站访问域名。 */
InternetAccessDomain?: string;
/** 存储的创建时间。 */
CreateTime?: string;
}
declare interface CreateIncrementalMigrationStrategyRequest {
/** 点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 策略生效的存储桶 ID。 */
BucketId: string;
/** 增量迁移策略名称,名称长度不超过100个字符,允许的字符为:`中文、英文、0-9、_、-`。 */
StrategyName: string;
/** 源站类型。取值有:HTTP:HTTP 源。 */
OriginType: string;
/** 增量迁移 HTTP 回源源站配置,当 OriginType 取值 `HTTP` 时必填。 */
HttpOriginConfig?: IncrementalMigrationHttpOriginConfig;
}
declare interface CreateIncrementalMigrationStrategyResponse {
/** 增量迁移策略 ID。 */
StrategyId?: string;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface CreateStorageCredentialsRequest {
/** 点播专业版[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 按照下方语法组装好策略后,先序列化为字符串,再做 URL Encode,结果作为 Policy 字段入参。服务端会对该字段做 URL Decode,并按解析后的策略授予临时访问凭证权限,请按规范传入参数。注意: 1.策略语法参照[访问管理策略](/document/product/598/10603)。2.策略中不能包含 principal 元素。3.策略的 action 元素仅支持:name/vod:PutObject;name/vod:ListParts;name/vod:PostObject;name/vod:InitiateMultipartUpload;name/vod:UploadPart;name/vod:CompleteMultipartUpload;name/vod:AbortMultipartUpload;name/vod:ListMultipartUploads;4.策略的 resource 元素填写格式为:`qcs::vod:[存储地域]:uid/[账号AppID]:prefix//[点播应用ID]/[存储桶ID]/[存储路径]`,其中存储地域、账号 AppID、点播应用 ID、存储桶 ID 和存储路径要按需填写,其他内容不允许改动,例:`qcs:ap-chongqing:vod::uid/1231456789:prefix//1234567890/2ceds3ew323w3mu/file_path`。 */
Policy: string;
/** 指定临时证书的有效期,单位:秒。默认 1800 秒,最大 129600 秒。 */
DurationSeconds?: number;
}
declare interface CreateStorageCredentialsResponse {
/** 临时访问凭证。 */
Credentials?: Credentials;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface CreateStorageRequest {
/** 点播专业版[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 存储地域,必须是系统支持地域。通过 [DescribeStorageRegions](https://cloud.tencent.com/document/product/266/72480) 接口可以查询到所有存储地域及已经开通存储桶的地域。 */
StorageRegion: string;
/** 存储名称。仅支持小写英文字母、数字、中划线 “-” 及其组合;存储命名不能以 “-” 开头或结尾;存储命名最大长度为 64 字符。 */
StorageName: string;
}
declare interface CreateStorageResponse {
/** 存储桶 ID。 */
BucketId?: string;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DeleteIncrementalMigrationStrategyRequest {
/** 点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 策略生效的存储桶 ID。 */
BucketId: string;
/** 增量迁移策略 ID。 */
StrategyId: string;
}
declare interface DeleteIncrementalMigrationStrategyResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeIncrementalMigrationStrategyInfosRequest {
/** 点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 过滤条件,Filters.Values 的上限为 `20`;若 Filters 长度为 `0` 则查询时无过滤条件限制。 详细的过滤条件如下: BucketId 按照【存储桶 ID】进行过滤 类型:String 必选:否StrategyId 按照【策略 ID】进行过滤。 类型:String 必选:否 */
Filters?: Filter[];
/** 返回结果的排序。 SortBy.Field 取值有:UpdateTime:创建时间。若不填,SortBy.Field 默认值为 `UpdateTime`,SortBy.Order 默认值为 `Desc`。 */
SortBy?: SortBy;
/** 分页返回的起始偏移量,默认值为 `0`。 */
Offset?: number;
/** 分页返回的记录条数,默认值为 `20`,最大值为 `100`。 */
Limit?: number;
}
declare interface DescribeIncrementalMigrationStrategyInfosResponse {
/** 总数。 */
TotalCount?: number;
/** 策略信息集合。 */
StrategyInfoSet?: IncrementalMigrationStrategyInfo[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeStorageRequest {
/** 点播专业版[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 过滤条件,Filters.Values 的上限为 20;若 Filters 长度为 0 则分页查询子应用 SubAppId 下的存储信息。 详细的过滤条件如下:BucketId 按照【存储桶 ID】进行过滤。 类型:String 必选:否StorageName 按照【存储名称】进行过滤。 类型:String 必选:否 */
Filters?: Filter[];
/** 返回结果的排序。 SortBy.Field 取值有:CreateTime:创建时间。若不填,SortBy.Field 默认值为 CreateTime,SortBy.Order 默认值为 Asc。 */
SortBy?: SortBy;
/** 分页返回的起始偏移量,默认值为 0。 */
Offset?: number;
/** 分页返回的记录条数,默认值为 20,最大值为 1000。 */
Limit?: number;
}
declare interface DescribeStorageResponse {
/** 符合条件的存储数量。 */
TotalCount?: number;
/** 符合条件的存储信息列表。 */
StorageInfoSet?: StorageInfo[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ModifyIncrementalMigrationStrategyRequest {
/** 点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。 */
SubAppId: number;
/** 策略生效的存储桶 ID。 */
BucketId: string;
/** 增量迁移策略 ID。 */
StrategyId: string;
/** 策略名称。若不填充或填充空字符串,则不修改。 */
StrategyName?: string;
/** 源站类型。取值有:HTTP:HTTP 源。若不填或填充空字符串,则不修改。 */
OriginType?: string;
/** HTTP 回源源站配置,若不填则默认不修改。 */
HttpOriginConfig?: IncrementalMigrationHttpOriginConfig;
}
declare interface ModifyIncrementalMigrationStrategyResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare namespace V20180717 {
type VersionHeader = { headers: { 'X-TC-Version': '2018-07-17' } }
/** AI 智能分析模板详情 */
interface AIAnalysisTemplateItem {
/** 智能分析模板唯一标识。 */
Definition?: number;
/** 智能分析模板名称。 */
Name?: string;
/** 智能分析模板描述信息。 */
Comment?: string;
/** 智能分类任务控制参数。 */
ClassificationConfigure?: ClassificationConfigureInfo;
/** 智能标签任务控制参数。 */
TagConfigure?: TagConfigureInfo;
/** 智能封面任务控制参数。 */
CoverConfigure?: CoverConfigureInfo;
/** 智能按帧标签任务控制参数。 */
FrameTagConfigure?: FrameTagConfigureInfo;
/** 智能精彩集锦任务控制参数。 */
HighlightConfigure?: HighlightsConfigureInfo;
/** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
CreateTime?: string;
/** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
UpdateTime?: string;
}
/** 视频内容识别模板详情 */
interface AIRecognitionTemplateItem {
/** 视频内容识别模板唯一标识。 */
Definition?: number;
/** 视频内容识别模板名称。 */
Name?: string;
/** 视频内容识别模板描述信息。 */
Comment?: string;
/** 模板类型,取值:Preset:系统预置模板;Custom:用户自定义模板。 */
Type?: string;
/** 头尾识别控制参数。 */
HeadTailConfigure?: HeadTailConfigureInfo;
/** 拆条识别控制参数。 */
SegmentConfigure?: SegmentConfigureInfo;
/** 人脸识别控制参数。 */
FaceConfigure?: FaceConfigureInfo;
/** 文本全文识别控制参数。 */
OcrFullTextConfigure?: OcrFullTextConfigureInfo;
/** 文本关键词识别控制参数。 */
OcrWordsConfigure?: OcrWordsConfigureInfo;
/** 语音全文识别控制参数。注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。 */
AsrFullTextConfigure?: AsrFullTextConfigureInfo;
/** 语音关键词识别控制参数。 */
AsrWordsConfigure?: AsrWordsConfigureInfo;
/** 语音翻译识别控制参数。 */
AsrTranslateConfigure?: AsrTranslateConfigureInfo;
/** 物体识别控制参数。 */
ObjectConfigure?: ObjectConfigureInfo;
/** 截图时间间隔,单位:秒。 */
ScreenshotInterval?: number;
/** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
CreateTime?: string;
/** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
UpdateTime?: string;
}
/** 视频画面低光、过曝检测的控制参数。 */
interface AbnormalLightingConfigureInfo {
/** 视频画面低光、过曝检测开关,可选值:ON:开启;OFF:关闭。 */
Switch: string;
}
/** 视频画面低光、过曝检测的控制参数。 */
interface AbnormalLightingConfigureInfoForUpdate {
/** 视频画面低光、过曝检测开关,可选值:ON:开启;OFF:关闭。 */
Switch?: string;
}
/** 域名的地区加速信息 */
interface AccelerateAreaInfo {
/** 加速地区,可选值:Chinese Mainland:中国境内(不包含港澳台)。Outside Chinese Mainland:中国境外。 */
Area?: string;
/** 腾讯禁用原因,可选值:ForLegalReasons:因法律原因导致关闭加速;ForOverdueBills:因欠费停服导致关闭加速。 */
TencentDisableReason?: string;
/** 加速域名对应的 CNAME 域名。 */
TencentEdgeDomain?: string;
}
/** 转自适应码流信息 */
interface AdaptiveDynamicStreamingInfoItem {
/** 转自适应码流规格。 */
Definition?: number;
/** 打包格式,取值范围:HLS;DASH。 */
Package?: string;
/** 加密类型。 */
DrmType?: string;
/** 播放地址。 */
Url?: string;
/** 媒体文件大小,单位:字节。当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和;当媒体文件为 DASH 时,大小是 mpd 和分片文件大小的总和;注意:在 2022-01-10T16:00:00Z 前处理生成的自适应码流文件此字段为0。 */
Size?: number;
/** 数字水印类型。可选值:Trace 表示经过溯源水印处理;CopyRight 表示经过版权水印处理;None 表示没有经过数字水印处理。 */
DigitalWatermarkType?: string;
/** 子流信息列表。 */
SubStreamSet?: MediaSubStreamInfoItem[];
/** 版权信息。 */
CopyRightWatermarkText?: string;
/** 字幕信息列表。 */
SubtitleSet?: MediaSubtitleItem[];
/** 默认字幕的唯一标识。 */
DefaultSubtitleId?: string;
}
/** 对视频转自适应码流的输入参数类型 */
interface AdaptiveDynamicStreamingTaskInput {
/** 转自适应码流模板 ID。 */
Definition: number;
/** 水印列表,支持多张图片或文字水印,最大可支持 10 张。 */
WatermarkSet?: WatermarkInput[];
/** 溯源水印。 */
TraceWatermark?: TraceWatermarkInput;
/** 版权水印。 */
CopyRightWatermark?: CopyRightWatermarkInput;
/** 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。 */
SubtitleSet?: string[];
}
/** 转自适应码流模板详情 */
interface AdaptiveDynamicStreamingTemplate {
/** 转自适应码流模板唯一标识。 */
Definition?: number;
/** 模板类型,取值范围:Preset:系统预置模板;Custom:用户自定义模板。 */
Type?: string;
/** 转自适应码流模板名称。 */
Name?: string;
/** 转自适应码流模板描述信息。 */
Comment?: string;
/** 自适应转码格式,取值范围:HLS。 */
Format?: string;
/** DRM 类型,取值范围:SimpleAESWidevineFairPlay如果取值为空字符串,代表不对视频做 DRM 保护。 */
DrmType?: string;
/** DRM 的密钥提供商,取值范围:SDMC:华曦达;VOD:云点播。默认值为 VOD 。 */
DrmKeyProvider?: string;
/** 自适应转码输入流参数信息,最多输入10路流。 */
StreamInfos?: AdaptiveStreamTemplate[];
/** 是否禁止视频低码率转高码率,取值范围:0:否,1:是。 */
DisableHigherVideoBitrate?: number;
/** 是否禁止视频分辨率转高分辨率,取值范围:0:否,1:是。 */
DisableHigherVideoResolution?: number;
/** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
CreateTime?: string;
/** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
UpdateTime?: string;
/** 切片类型,仅当 Format 为 HLS 时有效。 */
SegmentType?: string;
}
/** 自适应转码流参数模板 */
interface AdaptiveStreamTemplate {
/** 视频参数信息。 */
Video: VideoTemplateInfo;
/** 音频参数信息。 */
Audio: AudioTemplateInfo;
/** 是否移除音频流,取值范围:0:否,1:是。 */
RemoveAudio?: number;
/** 是否移除视频流,取值范围:0:否,1:是。 */
RemoveVideo?: number;
/** 极速高清转码参数。 */
TEHDConfig?: TEHDConfig | null;
}
/** 智能分析结果 */
interface AiAnalysisResult {
/** 任务的类型,可以取的值有:Classification:智能分类Cover:智能封面Tag:智能标签FrameTag:智能按帧标签Highlight:智能精彩集锦 */
Type?: string;
/** 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。 */
ClassificationTask?: AiAnalysisTaskClassificationResult;
/** 视频内容分析智能封面任务的查询结果,当任务类型为 Cover 时有效。 */
CoverTask?: AiAnalysisTaskCoverResult;
/** 视频内容分析智能标签任务的查询结果,当任务类型为 Tag 时有效。 */
TagTask?: AiAnalysisTaskTagResult;
/** 视频内容分析智能按帧标签任务的查询结果,当任务类型为 FrameTag 时有效。 */
FrameTagTask?: AiAnalysisTaskFrameTagResult;
/** 视频内容分析智能精彩集锦任务的查询结果,当任务类型为 Highlight 时有效。 */
HighlightTask?: AiAnalysisTaskHighlightResult;
}
/** 智能分类任务输入类型 */
interface AiAnalysisTaskClassificationInput {
/** 视频智能分类模板 ID。 */
Definition?: number;
}
/** 智能分类结果信息 */
interface AiAnalysisTaskClassificationOutput {
/** 视频智能分类列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ClassificationSetFileUrl 对应的文件中获取。 */
ClassificationSet: MediaAiAnalysisClassificationItem[];
/** 视频智能分类列表文件 URL。文件的内容为 JSON,数据结构与 ClassificationSet 字段一致。 (文件不会永久存储,到达 ClassificationSetFileUrlExpireTime 时间点后文件将被删除)。 */
ClassificationSetFileUrl: string;
/** 视频智能分类列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
ClassificationSetFileUrlExpireTime: string;
}
/** 智能分类任务结果类型 */
interface AiAnalysisTaskClassificationResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 智能分类任务输入。 */
Input?: AiAnalysisTaskClassificationInput;
/** 智能分类任务输出。 */
Output?: AiAnalysisTaskClassificationOutput;
/** 智能分类任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 智能分类任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 智能分类任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 智能分类任务输入类型 */
interface AiAnalysisTaskCoverInput {
/** 视频智能封面模板 ID。 */
Definition?: number;
}
/** 智能封面结果信息 */
interface AiAnalysisTaskCoverOutput {
/** 智能封面列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 CoverSetFileUrl 对应的文件中获取。 */
CoverSet: MediaAiAnalysisCoverItem[];
/** 智能封面列表文件 URL。文件的内容为 JSON,数据结构与 CoverSet 字段一致。 (文件不会永久存储,到达 CoverSetFileUrlExpireTime 时间点后文件将被删除)。 */
CoverSetFileUrl: string;
/** 智能封面列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
CoverSetFileUrlExpireTime: string;
}
/** 智能封面结果类型 */
interface AiAnalysisTaskCoverResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 智能封面任务输入。 */
Input?: AiAnalysisTaskCoverInput;
/** 智能封面任务输出。 */
Output?: AiAnalysisTaskCoverOutput;
/** 智能封面任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 智能封面任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 智能封面任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 智能按帧标签任务输入类型 */
interface AiAnalysisTaskFrameTagInput {
/** 视频智能按帧标签模板 ID。 */
Definition?: number;
}
/** 智能按帧标签结果信息 */
interface AiAnalysisTaskFrameTagOutput {
/** 视频按帧标签列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet: MediaAiAnalysisFrameTagSegmentItem[];
/** 视频按帧标签列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl: string;
/** 视频按帧标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime: string;
}
/** 智能按帧标签结果类型 */
interface AiAnalysisTaskFrameTagResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 智能按帧标签任务输入。 */
Input?: AiAnalysisTaskFrameTagInput;
/** 智能按帧标签任务输出。 */
Output?: AiAnalysisTaskFrameTagOutput;
/** 智能按帧标签任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 智能按帧标签任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 智能按帧标签任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 智能精彩片段任务输入类型 */
interface AiAnalysisTaskHighlightInput {
/** 视频智能精彩片段模板 ID。 */
Definition?: number;
}
/** 智能精彩片段结果信息 */
interface AiAnalysisTaskHighlightOutput {
/** 视频智能精彩片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 HighlightSetFileUrl 对应的文件中获取。 */
HighlightSet: MediaAiAnalysisHighlightItem[];
/** 视频智能精彩片段列表文件 URL。文件的内容为 JSON,数据结构与 HighlightSet 字段一致。 (文件不会永久存储,到达 HighlightSetFileUrlExpireTime 时间点后文件将被删除)。 */
HighlightSetFileUrl: string;
/** 视频智能精彩片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
HighlightSetFileUrlExpireTime: string;
}
/** 智能精彩片段结果类型 */
interface AiAnalysisTaskHighlightResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 智能精彩片段任务输入。 */
Input?: AiAnalysisTaskHighlightInput;
/** 智能精彩片段任务输出。 */
Output?: AiAnalysisTaskHighlightOutput;
/** 智能精彩片段任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 智能精彩片段任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 智能精彩片段任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** AI 视频智能分析输入参数类型 */
interface AiAnalysisTaskInput {
/** 视频内容分析模板 ID。 */
Definition: number;
}
/** 智能标签任务输入类型 */
interface AiAnalysisTaskTagInput {
/** 视频智能标签模板 ID。 */
Definition?: number;
}
/** 智能标签结果信息 */
interface AiAnalysisTaskTagOutput {
/** 视频智能标签列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 TagSetFileUrl 对应的文件中获取。 */
TagSet: MediaAiAnalysisTagItem[];
/** 视频智能标签列表文件 URL。文件的内容为 JSON,数据结构与 TagSet 字段一致。 (文件不会永久存储,到达 TagSetFileUrlExpireTime 时间点后文件将被删除)。 */
TagSetFileUrl: string;
/** 视频智能标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
TagSetFileUrlExpireTime: string;
}
/** 智能标签结果类型 */
interface AiAnalysisTaskTagResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 智能标签任务输入。 */
Input?: AiAnalysisTaskTagInput;
/** 智能标签任务输出。 */
Output?: AiAnalysisTaskTagOutput;
/** 智能标签任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 智能标签任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 智能标签任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 音视频审核结果 */
interface AiContentReviewResult {
/** 任务的类型,可以取的值有:Porn:图片鉴别是否涉及令人反感的信息Terrorism:图片鉴别是否涉及令人不安全的信息Political:图片鉴别是否涉及令人不适宜的信息Porn.Asr:Asr 文字( 音频中的文字)鉴别是否涉及令人反感的信息Porn.Ocr:Ocr 文字鉴别是否涉及令人反感的信息Political.Asr:Asr 文字( 音频中的文字)鉴别是否涉及令人不适宜的信息Political.Ocr:Ocr 文字鉴别是否涉及令人不适宜的信息Terrorism.Ocr:Ocr 文字鉴别是否涉及令人不安全的信息Prohibited.Asr:Asr 文字( 音频中的文字)鉴违禁Prohibited.Ocr:Ocr 文字鉴违禁 */
Type?: string;
/** 视频音视频审核任务(画面涉及令人反感的信息)的查询结果,当任务类型为 Porn 时有效。 */
PornTask?: AiReviewTaskPornResult | null;
/** 视频音视频审核任务(画面涉及令人不安全的信息)的查询结果,当任务类型为 Terrorism 时有效。 */
TerrorismTask?: AiReviewTaskTerrorismResult | null;
/** 视频音视频审核任务(画面涉及令人不适宜的信息)的查询结果,当任务类型为 Political 时有效。 */
PoliticalTask?: AiReviewTaskPoliticalResult | null;
/** 视频音视频审核任务(Asr 文字涉及令人反感的信息)的查询结果,当任务类型为 Porn.Asr 时有效。 */
PornAsrTask?: AiReviewTaskPornAsrResult | null;
/** 视频音视频审核任务(Ocr 文字涉及令人反感的信息)的查询结果,当任务类型为 Porn.Ocr 时有效。 */
PornOcrTask?: AiReviewTaskPornOcrResult | null;
/** 视频音视频审核任务(Asr 文字涉及令人不适宜的信息)的查询结果,当任务类型为 Political.Asr 时有效。 */
PoliticalAsrTask?: AiReviewTaskPoliticalAsrResult | null;
/** 视频音视频审核任务(Ocr 文字涉及令人不适宜的信息)的查询结果,当任务类型为 Political.Ocr 时有效。 */
PoliticalOcrTask?: AiReviewTaskPoliticalOcrResult | null;
/** 视频音视频审核任务( Ocr 文字涉及令人不安全的信息)的查询结果,当任务类型为 Terrorism.Ocr 时有效。 */
TerrorismOcrTask?: AiReviewTaskTerrorismOcrResult | null;
/** 视频音视频审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。 */
ProhibitedOcrTask?: AiReviewTaskProhibitedOcrResult | null;
/** 视频音视频审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。 */
ProhibitedAsrTask?: AiReviewTaskProhibitedAsrResult | null;
}
/** 音视频审核任务类型 */
interface AiContentReviewTaskInput {
/** 音视频审核模板 ID。 */
Definition: number;
}
/** 智能识别结果。 */
interface AiRecognitionResult {
/** 任务的类型,取值范围:FaceRecognition:人脸识别,AsrWordsRecognition:语音关键词识别,OcrWordsRecognition:文本关键词识别,AsrFullTextRecognition:语音全文识别,AsrTranslateRecognition:语音翻译识别,OcrFullTextRecognition:文本全文识别,HeadTailRecognition:视频片头片尾识别,ObjectRecognition:物体识别。 */
Type?: string;
/** 视频片头片尾识别结果,当 Type 为 HeadTailRecognition 时有效。 */
HeadTailTask?: AiRecognitionTaskHeadTailResult;
/** 视频拆条识别结果,当 Type 为 SegmentRecognition 时有效。 */
SegmentTask?: AiRecognitionTaskSegmentResult;
/** 人脸识别结果,当 Type 为 FaceRecognition 时有效。 */
FaceTask?: AiRecognitionTaskFaceResult;
/** 语音关键词识别结果,当 Type 为 AsrWordsRecognition 时有效。 */
AsrWordsTask?: AiRecognitionTaskAsrWordsResult;
/** 语音全文识别结果,当 Type 为 AsrFullTextRecognition 时有效。 */
AsrFullTextTask?: AiRecognitionTaskAsrFullTextResult;
/** 语音翻译结果,当 Type 为 AsrTranslateRecognition 时有效。 */
AsrTranslateTask?: AiRecognitionTaskAsrTranslateResult;
/** 文本关键词识别结果,当 Type 为 OcrWordsRecognition 时有效。 */
OcrWordsTask?: AiRecognitionTaskOcrWordsResult;
/** 文本全文识别结果,当 Type 为 OcrFullTextRecognition 时有效。 */
OcrFullTextTask?: AiRecognitionTaskOcrFullTextResult;
/** 物体识别结果,当 Type 为 ObjectRecognition 时有效。 */
ObjectTask?: AiRecognitionTaskObjectResult;
}
/** 语音全文识别结果。 */
interface AiRecognitionTaskAsrFullTextResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 语音全文识别任务输入信息。 */
Input?: AiRecognitionTaskAsrFullTextResultInput;
/** 语音全文识别任务输出信息。 */
Output?: AiRecognitionTaskAsrFullTextResultOutput;
/** 语音全文识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 语音全文识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 语音全文识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 语音全文识别的输入。 */
interface AiRecognitionTaskAsrFullTextResultInput {
/** 语音全文识别模板 ID。 */
Definition?: number;
}
/** 语音全文识别结果。 */
interface AiRecognitionTaskAsrFullTextResultOutput {
/** 语音全文识别片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: AiRecognitionTaskAsrFullTextSegmentItem[];
/** 语音全文识别片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** 语音全文识别片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
/** 生成的字幕列表,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773) SubtitleFormats。 */
SubtitleSet?: AiRecognitionTaskAsrFullTextResultOutputSubtitleItem[];
/** 生成的字幕文件 Url,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773) SubtitleFormat。 */
SubtitleUrl?: string;
}
/** 字幕信息。 */
interface AiRecognitionTaskAsrFullTextResultOutputSubtitleItem {
/** 媒资字幕 ID,用于媒资字幕管理,仅当 Format 为 vtt 时有效。注意:2024-11-01T10:00:00Z 之前的任务返回此字段无效。 */
Id?: string;
/** 媒资字幕名字,用于播放器展示,仅当 Format 为 vtt 时有效。注意:2024-11-01T10:00:00Z 之前的任务返回此字段无效。 */
Name?: string;
/** 字幕语言。 */
Language?: string;
/** 字幕文件格式,取值范围:vtt:WebVTT 字幕文件;srt:SRT 字幕文件。 */
Format?: string;
/** 字幕文件 Url。 */
Url?: string;
}
/** 语音全文识别片段。 */
interface AiRecognitionTaskAsrFullTextSegmentItem {
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别文本。 */
Text?: string;
}
/** 语音翻译结果。 */
interface AiRecognitionTaskAsrTranslateResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 语音翻译任务输入信息。 */
Input?: AiRecognitionTaskAsrTranslateResultInput;
/** 语音翻译任务输出信息。 */
Output?: AiRecognitionTaskAsrTranslateResultOutput;
/** 语音翻译任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 语音翻译任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 语音翻译任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 语音翻译的输入。 */
interface AiRecognitionTaskAsrTranslateResultInput {
/** 语音翻译模板 ID。 */
Definition?: number;
}
/** 语音翻译结果。 */
interface AiRecognitionTaskAsrTranslateResultOutput {
/** 语音翻译片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: AiRecognitionTaskAsrTranslateSegmentItem[];
/** 语音翻译片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** 语音翻译片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
/** 生成的字幕列表。 */
SubtitleSet?: AiRecognitionTaskAsrFullTextResultOutputSubtitleItem[];
}
/** 语音翻译识别片段。 */
interface AiRecognitionTaskAsrTranslateSegmentItem {
/** 语音翻译识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 语音翻译识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 语音翻译识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别文本。 */
Text?: string;
/** 翻译文本。 */
Translation?: string;
}
/** 语音关键词识别结果。 */
interface AiRecognitionTaskAsrWordsResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 语音关键词识别任务输入信息。 */
Input?: AiRecognitionTaskAsrWordsResultInput;
/** 语音关键词识别任务输出信息。 */
Output?: AiRecognitionTaskAsrWordsResultOutput;
/** 语音关键词识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 语音关键词识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 语音关键词识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 语音关键词识别输入。 */
interface AiRecognitionTaskAsrWordsResultInput {
/** 语音关键词识别模板 ID。 */
Definition?: number;
}
/** 语音关键词识别结果。 */
interface AiRecognitionTaskAsrWordsResultItem {
/** 语音关键词。 */
Word?: string;
/** 语音关键词出现的时间片段列表。 */
SegmentSet?: AiRecognitionTaskAsrWordsSegmentItem[];
}
/** 语音关键词识别输出。 */
interface AiRecognitionTaskAsrWordsResultOutput {
/** 语音关键词识别结果集。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ResultSetFileUrl 对应的文件中获取。 */
ResultSet: AiRecognitionTaskAsrWordsResultItem[];
/** 语音关键词识别结果集文件 URL。文件的内容为 JSON,数据结构与 ResultSet 字段一致。 (文件不会永久存储,到达ResultSetFileUrlExpireTime 时间点后文件将被删除)。 */
ResultSetFileUrl: string;
/** 语音关键词识别结果集文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
ResultSetFileUrlExpireTime: string;
}
/** 语音识别片段。 */
interface AiRecognitionTaskAsrWordsSegmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
}
/** 人脸识别结果。 */
interface AiRecognitionTaskFaceResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 人脸识别任务输入信息。 */
Input?: AiRecognitionTaskFaceResultInput;
/** 人脸识别任务输出信息。 */
Output?: AiRecognitionTaskFaceResultOutput;
/** 人脸识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 人脸识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 人脸识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 人脸识别输入。 */
interface AiRecognitionTaskFaceResultInput {
/** 人脸识别模板 ID。 */
Definition?: number;
}
/** 人脸识别结果 */
interface AiRecognitionTaskFaceResultItem {
/** 人物唯一标识 ID。 */
Id?: string;
/** 人物库类型,表示识别出的人物来自哪个人物库:Default:默认人物库;UserDefine:用户自定义人物库。 */
Type?: string;
/** 人物名称。 */
Name?: string;
/** 人物出现的片段结果集。 */
SegmentSet?: AiRecognitionTaskFaceSegmentItem[];
}
/** 智能人脸识别输出。 */
interface AiRecognitionTaskFaceResultOutput {
/** 智能人脸识别结果集。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ResultSetFileUrl 对应的文件中获取。 */
ResultSet: AiRecognitionTaskFaceResultItem[];
/** 智能人脸识别结果集文件 URL。文件的内容为 JSON,数据结构与 ResultSet 字段一致。 (文件不会永久存储,到达ResultSetFileUrlExpireTime 时间点后文件将被删除)。 */
ResultSetFileUrl: string;
/** 智能人脸识别结果集文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
ResultSetFileUrlExpireTime: string;
}
/** 人脸识别结果片段 */
interface AiRecognitionTaskFaceSegmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */
AreaCoordSet?: number[];
}
/** 视频片头片尾识别结果。 */
interface AiRecognitionTaskHeadTailResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 视频片头片尾识别任务输入信息。 */
Input?: AiRecognitionTaskHeadTailResultInput;
/** 视频片头片尾识别任务输出信息。 */
Output?: AiRecognitionTaskHeadTailResultOutput;
/** 视频片头片尾识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 视频片头片尾识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 视频片头片尾识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 视频片头片尾识别的输入。 */
interface AiRecognitionTaskHeadTailResultInput {
/** 视频片头片尾识别模板 ID。 */
Definition?: number;
}
/** 视频片头片尾识别输出。 */
interface AiRecognitionTaskHeadTailResultOutput {
/** 片头识别置信度。取值:0~100。 */
HeadConfidence?: number;
/** 视频片头的结束时间点,单位:秒。 */
HeadTimeOffset?: number;
/** 片尾识别置信度。取值:0~100。 */
TailConfidence?: number;
/** 视频片尾的开始时间点,单位:秒。 */
TailTimeOffset?: number;
}
/** 视频内容识别输入参数类型 */
interface AiRecognitionTaskInput {
/** 视频智能识别模板 ID 。 */
Definition: number;
}
/** 物体识别结果。 */
interface AiRecognitionTaskObjectResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 物体识别任务输入信息。 */
Input?: AiRecognitionTaskObjectResultInput;
/** 物体识别任务输出信息。 */
Output?: AiRecognitionTaskObjectResultOutput;
/** 物体识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 物体识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 物体识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 物体识别任务输入类型。 */
interface AiRecognitionTaskObjectResultInput {
/** 物体识别模板 ID。 */
Definition?: number;
}
/** 单个物体识别结果。 */
interface AiRecognitionTaskObjectResultItem {
/** 识别的物体名称。 */
Name?: string;
/** 物体出现的片段列表。 */
SegmentSet?: AiRecognitionTaskObjectSeqmentItem[];
/** 物体出现的片段列表。 */
RecognitionSegmentSet?: AiRecognitionTaskObjectSegmentItem[];
}
/** 智能物体识别输出。 */
interface AiRecognitionTaskObjectResultOutput {
/** 智能物体识别结果集。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ResultSetFileUrl 对应的文件中获取。 */
ResultSet: AiRecognitionTaskObjectResultItem[];
/** 智能物体识别结果集文件 URL。文件的内容为 JSON,数据结构与 ResultSet 字段一致。 (文件不会永久存储,到达ResultSetFileUrlExpireTime 时间点后文件将被删除)。 */
ResultSetFileUrl: string;
/** 智能物体识别结果集文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
ResultSetFileUrlExpireTime: string;
}
/** 物体识别结果片段。 */
interface AiRecognitionTaskObjectSegmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */
AreaCoordSet?: number[];
}
/** 物体识别结果片段。 */
interface AiRecognitionTaskObjectSeqmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset: number;
/** 识别片段置信度。取值:0~100。 */
Confidence: number;
/** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */
AreaCoordSet: number[];
}
/** 文本全文识别结果。 */
interface AiRecognitionTaskOcrFullTextResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 文本全文识别任务输入信息。 */
Input?: AiRecognitionTaskOcrFullTextResultInput;
/** 文本全文识别任务输出信息。 */
Output?: AiRecognitionTaskOcrFullTextResultOutput;
/** 文本全文识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 文本全文识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 文本全文识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 文本全文识别输入。 */
interface AiRecognitionTaskOcrFullTextResultInput {
/** 文本全文识别模板 ID。 */
Definition?: number;
}
/** 文本全文识别输出。 */
interface AiRecognitionTaskOcrFullTextResultOutput {
/** 文本全文识别结果集。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet: AiRecognitionTaskOcrFullTextSegmentItem[];
/** 文本全文识别结果集文件 URL。文件的内容为 JSON,数据结构与 ResultSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl: string;
/** 文本全文识别结果集文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime: string;
}
/** 文本全文识别片段。 */
interface AiRecognitionTaskOcrFullTextSegmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别片段结果集。 */
TextSet?: AiRecognitionTaskOcrFullTextSegmentTextItem[];
}
/** 文本全文识别片段。 */
interface AiRecognitionTaskOcrFullTextSegmentTextItem {
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */
AreaCoordSet?: number[];
/** 识别文本。 */
Text?: string;
}
/** 文本关键识别结果。 */
interface AiRecognitionTaskOcrWordsResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 文本关键词识别任务输入信息。 */
Input?: AiRecognitionTaskOcrWordsResultInput;
/** 文本关键词识别任务输出信息。 */
Output?: AiRecognitionTaskOcrWordsResultOutput;
/** 文本关键词识别任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 文本关键词识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 文本关键词识别任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 文本关键词识别输入。 */
interface AiRecognitionTaskOcrWordsResultInput {
/** 文本关键词识别模板 ID。 */
Definition?: number;
}
/** 文本关键词识别结果。 */
interface AiRecognitionTaskOcrWordsResultItem {
/** 文本关键词。 */
Word?: string;
/** 文本关键出现的片段列表。 */
SegmentSet?: AiRecognitionTaskOcrWordsSegmentItem[];
}
/** 文本关键词识别输出。 */
interface AiRecognitionTaskOcrWordsResultOutput {
/** 文本关键词识别结果集。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ResultSetFileUrl 对应的文件中获取。 */
ResultSet: AiRecognitionTaskOcrWordsResultItem[];
/** 文本关键词识别结果集文件 URL。文件的内容为 JSON,数据结构与 ResultSet 字段一致。 (文件不会永久存储,到达ResultSetFileUrlExpireTime 时间点后文件将被删除)。 */
ResultSetFileUrl: string;
/** 文本关键词识别结果集文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
ResultSetFileUrlExpireTime: string;
}
/** 文本识别片段。 */
interface AiRecognitionTaskOcrWordsSegmentItem {
/** 识别片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 识别片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 识别片段置信度。取值:0~100。 */
Confidence?: number;
/** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */
AreaCoordSet?: number[];
}
/** 视频拆条结果。 */
interface AiRecognitionTaskSegmentResult {
/** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */
Status?: string;
/** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368) 列表。 */
ErrCodeExt?: string;
/** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */
ErrCode?: number;
/** 错误信息。 */
Message?: string;
/** 视频拆条任务输入信息。 */
Input?: AiRecognitionTaskSegmentResultInput;
/** 视频拆条任务输出信息。 */
Output?: AiRecognitionTaskSegmentResultOutput;
/** 视频拆条任务进度,取值范围 [0-100] 。 */
Progress?: number;
/** 视频拆条任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
BeginProcessTime?: string;
/** 视频拆条任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
FinishTime?: string;
}
/** 视频拆条输入。 */
interface AiRecognitionTaskSegmentResultInput {
/** 视频拆条模板 ID。 */
Definition?: number;
}
/** 视频拆条输出。 */
interface AiRecognitionTaskSegmentResultOutput {
/** 视频拆条片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet: AiRecognitionTaskSegmentSegmentItem[];
/** 视频拆条片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl: string;
/** 视频拆条片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime: string;
}
/** 视频拆条片段。 */
interface AiRecognitionTaskSegmentSegmentItem {
/** 文件 ID。仅当处理的是点播文件并且拆条生成的子片段为点播文件时有效。 */
FileId?: string;
/** 视频拆条片段 Url。 */
SegmentUrl?: string;
/** 拆条片段置信度。取值:0~100。 */
Confidence?: number;
/** 拆条片段起始的偏移时间,单位:秒。 */
StartTimeOffset?: number;
/** 拆条片段终止的偏移时间,单位:秒。 */
EndTimeOffset?: number;
/** 拆条封面图片 Url。 */
CovImgUrl?: string;
/** 特殊字段,请忽略。 */
SpecialInfo?: string;
}
/** 音视频审核 Asr 文字涉及令人不适宜的信息、违规任务输入参数类型 */
interface AiReviewPoliticalAsrTaskInput {
/** 鉴别涉及令人不适宜信息的模板 ID。 */
Definition?: number;
}
/** Asr 文字涉及令人不适宜的信息 */
interface AiReviewPoliticalAsrTaskOutput {
/** Asr 文字涉及令人不适宜的信息、违规评分,分值为0到100。 */
Confidence?: number;
/** Asr 文字涉及令人不适宜的信息、违规结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** Asr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewAsrTextSegmentItem[];
/** Asr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** Asr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入参数类型 */
interface AiReviewPoliticalOcrTaskInput {
/** 鉴别涉及令人不适宜信息的模板 ID。 */
Definition?: number;
}
/** Ocr 文字涉及令人不适宜的信息 */
interface AiReviewPoliticalOcrTaskOutput {
/** Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。 */
Confidence?: number;
/** Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewOcrTextSegmentItem[];
/** Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核涉及令人不适宜信息的任务输入参数类型 */
interface AiReviewPoliticalTaskInput {
/** 鉴别涉及令人不适宜信息的模板 ID。 */
Definition?: number;
}
/** 涉及令人不适宜的信息 */
interface AiReviewPoliticalTaskOutput {
/** 视频涉及令人不适宜信息的评分,分值为0到100。 */
Confidence?: number;
/** 涉及令人不适宜信息的结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** 视频涉及令人不适宜信息的结果标签。音视频审核模板[画面鉴政任务控制参数](https://cloud.tencent.com/document/api/266/31773)里 LabelSet 参数与此参数取值范围的对应关系:violation_photo:violation_photo:违规图标。其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):politician:相关人物。 */
Label?: string;
/** 有涉及令人不适宜信息嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewPoliticalSegmentItem[];
/** 有涉及令人不适宜的信息嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** 有涉及令人不适宜的信息嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核 Asr 文字涉及令人反感的信息的任务输入参数类型 */
interface AiReviewPornAsrTaskInput {
/** 鉴别涉及令人反感的信息的模板 ID。 */
Definition?: number;
}
/** Asr 文字涉及令人反感的信息 */
interface AiReviewPornAsrTaskOutput {
/** Asr 文字涉及令人反感的信息的评分,分值为0到100。 */
Confidence?: number;
/** Asr 文字涉及令人反感的信息的结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** Asr 文字有涉及令人反感的信息的嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewAsrTextSegmentItem[];
/** Asr 文字有涉及令人反感的信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** Asr 文字有涉及令人反感的信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核 Ocr 文字涉及令人反感的信息的任务输入参数类型 */
interface AiReviewPornOcrTaskInput {
/** 鉴别涉及令人反感的信息的模板 ID。 */
Definition?: number;
}
/** Ocr 文字涉及令人反感的信息 */
interface AiReviewPornOcrTaskOutput {
/** Ocr 文字涉及令人反感的信息的评分,分值为0到100。 */
Confidence?: number;
/** Ocr 文字涉及令人反感的信息的结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** Ocr 文字有涉及令人反感的信息的嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewOcrTextSegmentItem[];
/** Ocr 文字有涉及令人反感的信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** Ocr 文字有涉及令人反感的信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核涉及令人反感的信息的任务输入参数类型 */
interface AiReviewPornTaskInput {
/** 鉴别涉及令人反感的信息的模板 ID。 */
Definition: number;
}
/** 鉴别涉及令人反感的信息的结果信息 */
interface AiReviewPornTaskOutput {
/** 视频鉴别涉及令人反感的信息的评分,分值为0到100。 */
Confidence?: number;
/** 鉴别涉及令人反感的信息的结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** 视频鉴别涉及令人反感的信息的结果标签,取值范围:porn:色情。sexy:性感。vulgar:低俗。intimacy:亲密行为。 */
Label?: string;
/** 有涉及令人反感的信息的嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewSegmentItem[];
/** 涉及令人反感的信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** 涉及令人反感的信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核 Asr 文字鉴违禁任务输入参数类型 */
interface AiReviewProhibitedAsrTaskInput {
/** 鉴违禁模板 ID。 */
Definition?: number;
}
/** Asr 文字涉违禁信息 */
interface AiReviewProhibitedAsrTaskOutput {
/** Asr 文字涉违禁评分,分值为0到100。 */
Confidence?: number;
/** Asr 文字涉违禁结果建议,取值范围:pass。review。block。 */
Suggestion?: string;
/** Asr 文字有涉违禁嫌疑的视频片段列表。注意 :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。 */
SegmentSet?: MediaContentReviewAsrTextSegmentItem[];
/** Asr 文字有涉违禁嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。 */
SegmentSetFileUrl?: string;
/** Asr 文字有涉违禁嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732)。 */
SegmentSetFileUrlExpireTime?: string;
}
/** 音视频审核 Ocr 文字鉴违禁任务输入参数类型 */
interface AiReviewProhibitedOcrTaskInput {
/** 鉴违禁模板 ID。 */
Definition?: number;
}
/** Ocr 文字涉违禁信息 */
interface AiReviewProhibitedOcrTaskOutput {
/** Ocr 文字涉违禁评分,分值为0到100。 */
Confidence