UNPKG

tenyun

Version:

Promise based and chained Tencent Cloud OpenAPI client for NodeJS

1,665 lines (1,519 loc) 464 kB
/// <reference types="node" /> import { AxiosPromise, AxiosRequestConfig } from "axios"; /** AI 智能分析模板详情 */ declare interface AIAnalysisTemplateItem { /** 智能分析模板唯一标识。 */ Definition?: number; /** 智能分析模板名称。 */ Name?: string; /** 智能分析模板描述信息。 */ Comment?: string; /** 智能分类任务控制参数。 */ ClassificationConfigure?: ClassificationConfigureInfo | null; /** 智能标签任务控制参数。 */ TagConfigure?: TagConfigureInfo | null; /** 智能封面任务控制参数。 */ CoverConfigure?: CoverConfigureInfo | null; /** 智能按帧标签任务控制参数。 */ FrameTagConfigure?: FrameTagConfigureInfo | null; /** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ CreateTime?: string; /** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ UpdateTime?: string; /** 模板类型,取值范围:* Preset:系统预置模板;* Custom:用户自定义模板。 */ Type?: string | null; } /** 视频内容识别模板详情 */ declare interface AIRecognitionTemplateItem { /** 视频内容识别模板唯一标识。 */ Definition?: number; /** 视频内容识别模板名称。 */ Name?: string; /** 视频内容识别模板描述信息。 */ Comment?: string; /** 人脸识别控制参数。 */ FaceConfigure?: FaceConfigureInfo; /** 文本全文识别控制参数。 */ OcrFullTextConfigure?: OcrFullTextConfigureInfo; /** 文本关键词识别控制参数。 */ OcrWordsConfigure?: OcrWordsConfigureInfo; /** 语音全文识别控制参数。 */ AsrFullTextConfigure?: AsrFullTextConfigureInfo; /** 语音关键词识别控制参数。 */ AsrWordsConfigure?: AsrWordsConfigureInfo; /** 语音翻译控制参数。 */ TranslateConfigure?: TranslateConfigureInfo | null; /** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ CreateTime?: string; /** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ UpdateTime?: string; /** 模板类型,取值范围:* Preset:系统预置模板;* Custom:用户自定义模板。 */ Type?: string | null; } /** 动作识别参数配置 */ declare interface ActionConfigInfo { /** 动作识别任务开关,可选值:ON:开启;OFF:关闭。 */ Switch: string; } /** 编排原子任务 */ declare interface Activity { /** 原子任务类型:input: 起始节点output:终止节点action-trans:转码action-samplesnapshot:采样截图action-AIAnalysis: 分析action-AIRecognition:识别action-aiReview:审核action-animated-graphics:转动图action-image-sprite:雪碧图action-snapshotByTimeOffset: 时间点截图action-adaptive-substream:自适应码流action-AIQualityControl:媒体质检action-SmartSubtitles:智能字幕action-exec-rules:判断规则 */ ActivityType: string; /** 后驱节点索引数组 */ ReardriveIndex?: number[]; /** 原子任务参数 */ ActivityPara?: ActivityPara | null; } /** 编排原子任务 */ declare interface ActivityPara { /** 视频转码任务 */ TranscodeTask?: TranscodeTaskInput | null; /** 视频转动图任务 */ AnimatedGraphicTask?: AnimatedGraphicTaskInput | null; /** 视频按时间点截图任务 */ SnapshotByTimeOffsetTask?: SnapshotByTimeOffsetTaskInput | null; /** 视频采样截图任务 */ SampleSnapshotTask?: SampleSnapshotTaskInput | null; /** 视频截雪碧图任务 */ ImageSpriteTask?: ImageSpriteTaskInput | null; /** 转自适应码流任务 */ AdaptiveDynamicStreamingTask?: AdaptiveDynamicStreamingTaskInput | null; /** 视频内容审核类型任务 */ AiContentReviewTask?: AiContentReviewTaskInput | null; /** 视频内容分析类型任务 */ AiAnalysisTask?: AiAnalysisTaskInput | null; /** 视频内容识别类型任务 */ AiRecognitionTask?: AiRecognitionTaskInput | null; /** 媒体质检任务 */ QualityControlTask?: AiQualityControlTaskInput | null; /** 任务条件判断 */ ExecRulesTask?: ExecRulesTask | null; /** 智能字幕任务 */ SmartSubtitlesTask?: SmartSubtitlesTaskInput | null; } /** 编排子任务输出 */ declare interface ActivityResItem { /** 转码任务输出 */ TranscodeTask?: MediaProcessTaskTranscodeResult | null; /** 转动图任务输出 */ AnimatedGraphicTask?: MediaProcessTaskAnimatedGraphicResult | null; /** 时间点截图任务输出 */ SnapshotByTimeOffsetTask?: MediaProcessTaskSnapshotByTimeOffsetResult | null; /** 采样截图任务输出 */ SampleSnapshotTask?: MediaProcessTaskSampleSnapshotResult | null; /** 雪碧图任务输出 */ ImageSpriteTask?: MediaProcessTaskImageSpriteResult | null; /** 自适应码流任务输出 */ AdaptiveDynamicStreamingTask?: MediaProcessTaskAdaptiveDynamicStreamingResult | null; /** 识别任务输出 */ RecognitionTask?: ScheduleRecognitionTaskResult | null; /** 审核任务输出 */ ReviewTask?: ScheduleReviewTaskResult | null; /** 分析任务输出 */ AnalysisTask?: ScheduleAnalysisTaskResult | null; /** 媒体质检任务输出 */ QualityControlTask?: ScheduleQualityControlTaskResult | null; /** 条件判断任务输出 */ ExecRuleTask?: ScheduleExecRuleTaskResult | null; /** 智能字幕任务输出 */ SmartSubtitlesTask?: ScheduleSmartSubtitleTaskResult | null; } /** 编排任务输出 */ declare interface ActivityResult { /** 原子任务类型。Transcode:转码。SampleSnapshot:采样截图。AnimatedGraphics:转动图。SnapshotByTimeOffset:时间点截图。ImageSprites:雪碧图。AdaptiveDynamicStreaming:自适应码流。AiContentReview:内容审核。AIRecognition:智能识别。AIAnalysis:智能分析。AiQualityControl:媒体质检。SmartSubtitles:智能字幕。 */ ActivityType?: string; /** 原子任务输出。 */ ActivityResItem?: ActivityResItem; } /** 转自适应码流信息 */ declare interface AdaptiveDynamicStreamingInfoItem { /** 转自适应码流规格。 */ Definition?: number; /** 打包格式,可能为 HLS和 MPEG-DASH 两种。 */ Package?: string; /** 播放路径。 */ Path?: string; /** 自适应码流文件的存储位置。 */ Storage?: TaskOutputStorage; } /** 对视频转自适应码流的输入参数类型 */ declare interface AdaptiveDynamicStreamingTaskInput { /** 转自适应码流模板 ID。 */ Definition: number; /** 水印列表,支持多张图片或文字水印,最大可支持 10 张。 */ WatermarkSet?: WatermarkInput[]; /** 转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。 */ OutputStorage?: TaskOutputStorage | null; /** 转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。相对路径示例:文件名_{变量名}.{format}文件名.{format}绝对路径示例:/自定义路径/文件名_{变量名}.{format}如果不填,则默认为相对路径:{inputName}_adaptiveDynamicStreaming_{definition}.{format}。 */ OutputObjectPath?: string; /** 转自适应码流后,子流文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}.{format}`。 */ SubStreamObjectName?: string; /** 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。 */ SegmentObjectName?: string; /** 要插入的字幕文件。 */ AddOnSubtitles?: AddOnSubtitle[] | null; /** Drm信息。 */ DrmInfo?: DrmInfo; /** 自适应转码模板类型:Common:音视频类型PureAudio:纯音频类型 */ DefinitionType?: string; /** 字幕参数 */ SubtitleTemplate?: SubtitleTemplate | null; /** 转码参数扩展字段 */ StdExtInfo?: string; } /** 转自适应码流模板详情 */ declare interface AdaptiveDynamicStreamingTemplate { /** 转自适应码流模板唯一标识。 */ Definition?: number; /** 模板类型,取值范围:Preset:系统预置模板;Custom:用户自定义模板。 */ Type?: string; /** 转自适应码流模板名称。 */ Name?: string; /** 转自适应码流模板描述信息。 */ Comment?: string; /** 转自适应码流格式,取值范围:HLS,MPEG-DASH。 */ Format?: 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; /** 是否为纯音频,0表示视频,1表示纯音频 */ PureAudio?: number | null; /** hls 分片类型,可选值:ts-segment:HLS+TS 切片ts-byterange:HLS+TS byte rangemp4-segment:HLS+MP4 切片mp4-byterange:HLS+MP4 byte rangets-packed-audio:TS+Packed Audiomp4-packed-audio:MP4+Packed Audio默认值:ts-segment注:自适应码流的hls分片格式已此字段为准 */ SegmentType?: string | null; } /** 自适应转码流参数模板 */ declare interface AdaptiveStreamTemplate { /** 音频参数信息。 */ Audio: AudioTemplateInfo; /** 视频参数信息。 */ Video?: VideoTemplateInfo; /** 是否移除音频流,取值范围:0:否,1:是。 */ RemoveAudio?: number; /** 是否移除视频流,取值范围:0:否,1:是。 */ RemoveVideo?: number; /** 音频参数信息列表。注意:参数只在自适应转码使用音轨合并多音轨时使用, 参数数组长度最大为64。 */ AudioList?: AudioTemplateInfo[] | null; } /** 增加盲水印配置 */ declare interface AddBlindWatermarkConfig { /** 能力配置开关,可选值:ON:开启;OFF:关闭。默认值:ON。 */ Switch?: string | null; /** 盲水印嵌入数据 */ EmbedInfo?: BlindWatermarkEmbedInfo | null; } /** 外挂字幕。 */ declare interface AddOnSubtitle { /** 插入形式,可选值:subtitle-stream:插入字幕轨道close-caption-708:CEA-708字幕编码到SEI帧close-caption-608:CEA-608字幕编码到SEI帧 */ Type?: string | null; /** 字幕文件。 */ Subtitle?: MediaInputInfo | null; /** 字幕名称 。注意:仅支持中文、英文、数字、空格、下划线(_)、短横线(-)、句点(.)和中英文括号,长度不能超过64个字符。 */ SubtitleName?: string | null; } /** 智能分析结果 */ declare interface AiAnalysisResult { /** 任务的类型,可以取的值有:Classification:智能分类Cover:智能封面Tag:智能标签FrameTag:智能按帧标签Highlight:智能精彩集锦DeLogo:智能擦除Description:大模型摘要 */ Type?: string; /** 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。 */ ClassificationTask?: AiAnalysisTaskClassificationResult | null; /** 视频内容分析智能封面任务的查询结果,当任务类型为 Cover 时有效。 */ CoverTask?: AiAnalysisTaskCoverResult | null; /** 视频内容分析智能标签任务的查询结果,当任务类型为 Tag 时有效。 */ TagTask?: AiAnalysisTaskTagResult | null; /** 视频内容分析智能按帧标签任务的查询结果,当任务类型为 FrameTag 时有效。 */ FrameTagTask?: AiAnalysisTaskFrameTagResult | null; /** 视频内容分析集锦任务的查询结果,当任务类型为 Highlight时有效。 */ HighlightTask?: AiAnalysisTaskHighlightResult | null; /** 视频内容分析智能擦除任务的查询结果,当任务类型为 DeLogo 时有效。 */ DeLogoTask?: AiAnalysisTaskDelLogoResult | null; /** 视频内容分析拆条任务的查询结果,当任务类型为 SegmentRecognition 时有效。 */ SegmentTask?: AiAnalysisTaskSegmentResult | null; /** 视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。 */ HeadTailTask?: AiAnalysisTaskHeadTailResult | null; /** 视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。 */ DescriptionTask?: AiAnalysisTaskDescriptionResult | null; /** 视频内容分析横转竖任务的查询结果,当任务类型为 HorizontalToVertical 时有效。 */ HorizontalToVerticalTask?: AiAnalysisTaskHorizontalToVerticalResult | null; } /** 智能分类任务输入类型 */ declare interface AiAnalysisTaskClassificationInput { /** 视频智能分类模板 ID。 */ Definition?: number; } /** 智能分类结果信息 */ declare interface AiAnalysisTaskClassificationOutput { /** 视频智能分类列表。 */ ClassificationSet: MediaAiAnalysisClassificationItem[]; } /** 智能分类任务结果类型 */ declare interface AiAnalysisTaskClassificationResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能分类任务输入。 */ Input?: AiAnalysisTaskClassificationInput; /** 智能分类任务输出。 */ Output?: AiAnalysisTaskClassificationOutput | null; } /** 智能分类任务输入类型 */ declare interface AiAnalysisTaskCoverInput { /** 视频智能封面模板 ID。 */ Definition?: number; } /** 智能封面结果信息 */ declare interface AiAnalysisTaskCoverOutput { /** 智能封面列表。 */ CoverSet: MediaAiAnalysisCoverItem[]; /** 智能封面的存储位置。 */ OutputStorage: TaskOutputStorage; } /** 智能封面结果类型 */ declare interface AiAnalysisTaskCoverResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能封面任务输入。 */ Input?: AiAnalysisTaskCoverInput; /** 智能封面任务输出。 */ Output?: AiAnalysisTaskCoverOutput | null; } /** 智能擦除任务输入类型 */ declare interface AiAnalysisTaskDelLogoInput { /** 视频智能擦除模板 ID。 */ Definition?: number; } /** 智能擦除结果信息 */ declare interface AiAnalysisTaskDelLogoOutput { /** 擦除后文件的路径。 */ Path?: string; /** 擦除后文件的存储位置。 */ OutputStorage?: TaskOutputStorage; /** 基于画面提取的字幕文件路径。 */ OriginSubtitlePath?: string; /** 基于画面提取的字幕翻译文件路径。 */ TranslateSubtitlePath?: string; /** 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。 */ SubtitlePos?: SubtitlePosition | null; } /** 智能擦除结果类型 */ declare interface AiAnalysisTaskDelLogoResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能擦除任务输入。 */ Input?: AiAnalysisTaskDelLogoInput; /** 智能擦除任务输出。 */ Output?: AiAnalysisTaskDelLogoOutput | null; } /** 智能分类任务输入类型 */ declare interface AiAnalysisTaskDescriptionInput { /** 视频智能描述模板 ID。 */ Definition?: number; } /** 智能描述结果信息 */ declare interface AiAnalysisTaskDescriptionOutput { /** 视频智能描述列表。 */ DescriptionSet: MediaAiAnalysisDescriptionItem[]; } /** 智能描述结果类型 */ declare interface AiAnalysisTaskDescriptionResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能描述任务输入。 */ Input?: AiAnalysisTaskDescriptionInput; /** 智能描述任务输出。 */ Output?: AiAnalysisTaskDescriptionOutput | null; } /** 智能按帧标签任务输入类型 */ declare interface AiAnalysisTaskFrameTagInput { /** 视频智能按帧标签模板 ID。 */ Definition?: number; } /** 智能按帧标签结果信息 */ declare interface AiAnalysisTaskFrameTagOutput { /** 视频按帧标签列表。 */ SegmentSet: MediaAiAnalysisFrameTagSegmentItem[]; } /** 智能按帧标签结果类型 */ declare interface AiAnalysisTaskFrameTagResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能按帧标签任务输入。 */ Input?: AiAnalysisTaskFrameTagInput; /** 智能按帧标签任务输出。 */ Output?: AiAnalysisTaskFrameTagOutput | null; } /** 片头片尾任务输入类型 */ declare interface AiAnalysisTaskHeadTailInput { /** 片头片尾识别模板 ID。 */ Definition?: number; } /** 片头片尾结果信息 */ declare interface AiAnalysisTaskHeadTailOutput { /** 片头pts。 */ HeadTimeOffset?: number | null; /** 片尾pts。 */ TailTimeOffset?: number | null; } /** 片头片尾结果类型 */ declare interface AiAnalysisTaskHeadTailResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 片头片尾任务输入。 */ Input?: AiAnalysisTaskHeadTailInput; /** 片头片尾任务输出。 */ Output?: AiAnalysisTaskHeadTailOutput | null; } /** 智能精彩片段任务输入类型 */ declare interface AiAnalysisTaskHighlightInput { /** 视频智能精彩片段模板 ID。 */ Definition?: number; } /** 智能精彩片段结果信息 */ declare interface AiAnalysisTaskHighlightOutput { /** 视频智能精彩片段列表。 */ HighlightSet?: MediaAiAnalysisHighlightItem[]; /** 精彩片段的存储位置。 */ OutputStorage?: TaskOutputStorage | null; } /** 智能精彩片段结果类型 */ declare interface AiAnalysisTaskHighlightResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能精彩片段任务输入。 */ Input?: AiAnalysisTaskHighlightInput; /** 智能精彩片段任务输出。 */ Output?: AiAnalysisTaskHighlightOutput | null; } /** 智能横转竖任务输入类型 */ declare interface AiAnalysisTaskHorizontalToVerticalInput { /** 视频智能横转竖模板 ID */ Definition?: number | null; } /** 智能横转竖结果信息 */ declare interface AiAnalysisTaskHorizontalToVerticalOutput { /** 视频智能横转竖列表 */ Path?: string | null; /** 智能横转竖视频的存储位置 */ OutputStorage?: TaskOutputStorage | null; /** 置信度。 */ Confidence?: number | null; } /** 智能横转竖结果类型 */ declare interface AiAnalysisTaskHorizontalToVerticalResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种 */ Status?: string | null; /** 错误码,0:成功,其他值:失败 */ ErrCode?: number | null; /** 错误信息 */ Message?: string | null; /** 智能横转竖任务输入 */ Input?: AiAnalysisTaskHorizontalToVerticalInput | null; /** 智能横转竖任务输出 */ Output?: AiAnalysisTaskHorizontalToVerticalOutput | null; } /** AI 视频智能分析输入参数类型 */ declare interface AiAnalysisTaskInput { /** 视频内容分析模板 ID。 */ Definition: number; /** 扩展参数,其值为序列化的 json字符串。注意:此参数为定制需求参数,参考如下:[智能檫除](https://cloud.tencent.com/document/product/862/101530)[智能拆条](https://cloud.tencent.com/document/product/862/112098)[高光集锦](https://cloud.tencent.com/document/product/862/107280)[智能横转竖](https://cloud.tencent.com/document/product/862/112112) */ ExtendedParameter?: string | null; } /** 拆条任务输入类型 */ declare interface AiAnalysisTaskSegmentInput { /** 拆条任务模板 ID。 */ Definition?: number; } /** 智能拆条结果信息 */ declare interface AiAnalysisTaskSegmentOutput { /** 智能拆条子片段列表。 */ SegmentSet?: SegmentRecognitionItem[]; /** 视频摘要,离线场景用。 */ Abstract?: string | null; } /** 拆条结果类型 */ declare interface AiAnalysisTaskSegmentResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 拆条任务输入。 */ Input?: AiAnalysisTaskSegmentInput; /** 拆条任务输出。 */ Output?: AiAnalysisTaskSegmentOutput | null; } /** 智能标签任务输入类型 */ declare interface AiAnalysisTaskTagInput { /** 视频智能标签模板 ID。 */ Definition?: number; } /** 智能标签结果信息 */ declare interface AiAnalysisTaskTagOutput { /** 视频智能标签列表。 */ TagSet: MediaAiAnalysisTagItem[]; } /** 智能标签结果类型 */ declare interface AiAnalysisTaskTagResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 智能标签任务输入。 */ Input?: AiAnalysisTaskTagInput; /** 智能标签任务输出。 */ Output?: AiAnalysisTaskTagOutput | null; } /** 内容审核结果 */ declare 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; /** 采样频率,即对视频每秒截取进行审核的帧数。 */ SampleRate: number; /** 审核的视频时长,单位:秒。 */ Duration: number; /** 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 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; /** 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。 */ ProhibitedAsrTask: AiReviewTaskProhibitedAsrResult | null; /** 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。 */ ProhibitedOcrTask: AiReviewTaskProhibitedOcrResult | null; } /** 智能内容审核任务类型 */ declare interface AiContentReviewTaskInput { /** 视频内容审核模板 ID。 */ Definition: number; } /** 分段信息。 */ declare interface AiParagraphInfo { /** 分段摘要 */ Summary?: string | null; /** 分段标题 */ Title?: string; /** 分段关键词 */ Keywords?: string[]; /** 分段起始时间点,秒 */ StartTimeOffset?: number | null; /** 分段结束时间点,秒 */ EndTimeOffset?: number | null; } /** 媒体质检输入参数类型 */ declare interface AiQualityControlTaskInput { /** 媒体质检模板 ID 。可以直接使用预设模板,也可以在控制台自定义模板。预设模板如下:- 10:开启所有质检项;- 20:仅开启格式诊断对应质检项;- 30:仅开启无参考打分对应质检项;- 40:仅开启画面质量对应质检项。 */ Definition?: number | null; /** 渠道扩展参数json序列化字符串。 */ ChannelExtPara?: string | null; } /** 智能识别结果。 */ declare interface AiRecognitionResult { /** 任务的类型,取值范围:FaceRecognition:人脸识别,AsrWordsRecognition:语音关键词识别,OcrWordsRecognition:文本关键词识别,AsrFullTextRecognition:语音全文识别,OcrFullTextRecognition:文本全文识别。TransTextRecognition:语音翻译。 */ Type?: string; /** 人脸识别结果,当 Type 为 FaceRecognition 时有效。 */ FaceTask?: AiRecognitionTaskFaceResult | null; /** 语音关键词识别结果,当 Type 为 AsrWordsRecognition 时有效。 */ AsrWordsTask?: AiRecognitionTaskAsrWordsResult | null; /** 语音全文识别结果,当 Type 为 AsrFullTextRecognition 时有效。 */ AsrFullTextTask?: AiRecognitionTaskAsrFullTextResult | null; /** 文本关键词识别结果,当 Type 为 OcrWordsRecognition 时有效。 */ OcrWordsTask?: AiRecognitionTaskOcrWordsResult | null; /** 文本全文识别结果,当 Type 为 OcrFullTextRecognition 时有效。 */ OcrFullTextTask?: AiRecognitionTaskOcrFullTextResult | null; /** 翻译结果,当 Type 为TransTextRecognition 时有效。 */ TransTextTask?: AiRecognitionTaskTransTextResult | null; /** 物体识别结果,当Type 为ObjectRecognition 时有效。 */ ObjectTask?: AiRecognitionTaskObjectResult | null; } /** 语音全文识别结果。 */ declare interface AiRecognitionTaskAsrFullTextResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 语音全文识别任务输入信息。 */ Input?: AiRecognitionTaskAsrFullTextResultInput; /** 语音全文识别任务输出信息。 */ Output?: AiRecognitionTaskAsrFullTextResultOutput | null; /** 任务进度。 */ Progress?: number | null; } /** 语音全文识别的输入。 */ declare interface AiRecognitionTaskAsrFullTextResultInput { /** 语音全文识别模板 ID。 */ Definition?: number; } /** 语音全文识别结果。 */ declare interface AiRecognitionTaskAsrFullTextResultOutput { /** 语音全文识别片段列表。 */ SegmentSet?: AiRecognitionTaskAsrFullTextSegmentItem[]; /** 字幕文件地址。 */ SubtitlePath?: string; /** 字幕文件存储位置。 */ OutputStorage?: TaskOutputStorage; } /** 语音全文识别片段。 */ declare interface AiRecognitionTaskAsrFullTextSegmentItem { /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别文本。 */ Text?: string; /** 字词时间戳信息。 */ Wordlist?: WordResult[]; } /** 语音关键词识别结果。 */ declare interface AiRecognitionTaskAsrWordsResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 语音关键词识别任务输入信息。 */ Input?: AiRecognitionTaskAsrWordsResultInput; /** 语音关键词识别任务输出信息。 */ Output?: AiRecognitionTaskAsrWordsResultOutput | null; } /** 语音关键词识别输入。 */ declare interface AiRecognitionTaskAsrWordsResultInput { /** 语音关键词识别模板 ID。 */ Definition?: number; } /** 语音关键词识别结果。 */ declare interface AiRecognitionTaskAsrWordsResultItem { /** 语音关键词。 */ Word?: string; /** 语音关键词出现的时间片段列表。 */ SegmentSet?: AiRecognitionTaskAsrWordsSegmentItem[]; } /** 语音关键词识别输出。 */ declare interface AiRecognitionTaskAsrWordsResultOutput { /** 语音关键词识别结果集。 */ ResultSet: AiRecognitionTaskAsrWordsResultItem[]; } /** 语音识别片段。 */ declare interface AiRecognitionTaskAsrWordsSegmentItem { /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别片段置信度。取值:0~100。 */ Confidence?: number; } /** 人脸识别结果。 */ declare interface AiRecognitionTaskFaceResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 人脸识别任务输入信息。 */ Input?: AiRecognitionTaskFaceResultInput; /** 人脸识别任务输出信息。 */ Output?: AiRecognitionTaskFaceResultOutput | null; } /** 人脸识别输入。 */ declare interface AiRecognitionTaskFaceResultInput { /** 人脸识别模板 ID。 */ Definition?: number; } /** 人脸识别结果 */ declare interface AiRecognitionTaskFaceResultItem { /** 人物唯一标识 ID。 */ Id?: string; /** 人物库类型,表示识别出的人物来自哪个人物库:Default:默认人物库;UserDefine:用户自定义人物库。 */ Type?: string; /** 人物名称。 */ Name?: string; /** 人物出现的片段结果集。 */ SegmentSet?: AiRecognitionTaskFaceSegmentItem[]; /** 人物性别:Male:男性;Female:女性。 */ Gender?: string; /** 人物出生日期。 */ Birthday?: string; /** 人物职业或者职务。 */ Profession?: string; /** 人物毕业院校。 */ SchoolOfGraduation?: string; /** 人物简介。 */ Abstract?: string; /** 人物出生地或者籍贯。 */ PlaceOfBirth?: string; /** 人物类型:Politician:官员;Artist:艺人。 */ PersonType?: string; /** 敏感度标注:Normal:正常;Sensitive:敏感。 */ Remark?: string; /** 截图链接 */ Url?: string; } /** 智能人脸识别输出。 */ declare interface AiRecognitionTaskFaceResultOutput { /** 智能人脸识别结果集。 */ ResultSet: AiRecognitionTaskFaceResultItem[]; } /** 人脸识别结果片段 */ declare interface AiRecognitionTaskFaceSegmentItem { /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */ AreaCoordSet?: number[]; } /** 视频内容识别输入参数类型 */ declare interface AiRecognitionTaskInput { /** 视频智能识别模板 ID 。 */ Definition: number; /** 用户扩展字段,一般场景不用填。 */ UserExtPara?: string; } /** 物体识别结果。 */ declare interface AiRecognitionTaskObjectResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,0:成功,其他值:失败。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 物体识别任务输入信息。 */ Input?: AiRecognitionTaskObjectResultInput; /** 物体识别任务输出信息。 */ Output?: AiRecognitionTaskObjectResultOutput | null; } /** 物体识别任务输入类型。 */ declare interface AiRecognitionTaskObjectResultInput { /** 物体识别模板 ID。 */ Definition?: number; } /** 单个物体识别结果。 */ declare interface AiRecognitionTaskObjectResultItem { /** 识别的物体名称。 */ Name?: string; /** 物体出现的片段列表。 */ SegmentSet?: AiRecognitionTaskObjectSeqmentItem[]; } /** 智能物体识别输出。 */ declare interface AiRecognitionTaskObjectResultOutput { /** 智能物体识别结果集。 */ ResultSet: AiRecognitionTaskObjectResultItem[]; } /** 物体识别结果片段。 */ declare interface AiRecognitionTaskObjectSeqmentItem { /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */ AreaCoordSet?: number[]; } /** 文本全文识别结果。 */ declare interface AiRecognitionTaskOcrFullTextResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 文本全文识别任务输入信息。 */ Input?: AiRecognitionTaskOcrFullTextResultInput; /** 文本全文识别任务输出信息。 */ Output?: AiRecognitionTaskOcrFullTextResultOutput | null; } /** 文本全文识别输入。 */ declare interface AiRecognitionTaskOcrFullTextResultInput { /** 文本全文识别模板 ID。 */ Definition?: number; } /** 文本全文识别输出。 */ declare interface AiRecognitionTaskOcrFullTextResultOutput { /** 文本全文识别结果集。 */ SegmentSet: AiRecognitionTaskOcrFullTextSegmentItem[]; } /** 文本全文识别片段。 */ declare interface AiRecognitionTaskOcrFullTextSegmentItem { /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别片段结果集。 */ TextSet?: AiRecognitionTaskOcrFullTextSegmentTextItem[]; } /** 文本全文识别片段。 */ declare interface AiRecognitionTaskOcrFullTextSegmentTextItem { /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */ AreaCoordSet?: number[]; /** 识别文本。 */ Text?: string; } /** 文本关键识别结果。 */ declare interface AiRecognitionTaskOcrWordsResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 文本关键词识别任务输入信息。 */ Input?: AiRecognitionTaskOcrWordsResultInput; /** 文本关键词识别任务输出信息。 */ Output?: AiRecognitionTaskOcrWordsResultOutput | null; } /** 文本关键词识别输入。 */ declare interface AiRecognitionTaskOcrWordsResultInput { /** 文本关键词识别模板 ID。 */ Definition?: number; } /** 文本关键词识别结果。 */ declare interface AiRecognitionTaskOcrWordsResultItem { /** 文本关键词。 */ Word?: string; /** 文本关键出现的片段列表。 */ SegmentSet?: AiRecognitionTaskOcrWordsSegmentItem[]; } /** 文本关键词识别输出。 */ declare interface AiRecognitionTaskOcrWordsResultOutput { /** 文本关键词识别结果集。 */ ResultSet: AiRecognitionTaskOcrWordsResultItem[]; } /** 文本识别片段。 */ declare interface AiRecognitionTaskOcrWordsSegmentItem { /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。 */ AreaCoordSet?: number[]; } /** 翻译结果。 */ declare interface AiRecognitionTaskTransTextResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 翻译任务输入信息。 */ Input?: AiRecognitionTaskTransTextResultInput; /** 翻译任务输出信息。 */ Output?: AiRecognitionTaskTransTextResultOutput | null; /** 任务进度。 */ Progress?: number | null; } /** 翻译的输入。 */ declare interface AiRecognitionTaskTransTextResultInput { /** 翻译模板 ID。 */ Definition?: number; } /** 翻译结果。 */ declare interface AiRecognitionTaskTransTextResultOutput { /** 翻译片段列表。 */ SegmentSet?: AiRecognitionTaskTransTextSegmentItem[]; /** 字幕文件地址。 */ SubtitlePath?: string; } /** 翻译片段。 */ declare interface AiRecognitionTaskTransTextSegmentItem { /** 识别片段置信度。取值:0~100。 */ Confidence?: number; /** 识别片段起始的偏移时间,单位:秒。 */ StartTimeOffset?: number; /** 识别片段终止的偏移时间,单位:秒。 */ EndTimeOffset?: number; /** 识别文本。 */ Text?: string; /** 翻译文本。 */ Trans?: string; /** 字词时间戳信息。 */ Wordlist?: WordResult[]; } /** 内容审核 Asr 文字敏感任务输入参数类型 */ declare interface AiReviewPoliticalAsrTaskInput { /** 模板 ID。 */ Definition: number; } /** Asr 文字敏感信息 */ declare interface AiReviewPoliticalAsrTaskOutput { /** Asr 文字敏感评分,分值为0到100。 */ Confidence?: number; /** Asr 文字敏感结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Asr 文字敏感嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewAsrTextSegmentItem[]; } /** 内容审核 Ocr 文字敏感任务输入参数类型 */ declare interface AiReviewPoliticalOcrTaskInput { /** 模板 ID。 */ Definition: number; } /** Ocr 文字敏感信息 */ declare interface AiReviewPoliticalOcrTaskOutput { /** Ocr 文字敏感评分,分值为0到100。 */ Confidence?: number; /** Ocr 文字敏感结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Ocr 文字有敏感嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewOcrTextSegmentItem[]; } /** 内容审核敏感任务输入参数类型 */ declare interface AiReviewPoliticalTaskInput { /** 模板 ID。 */ Definition: number; } /** 涉敏信息 */ declare interface AiReviewPoliticalTaskOutput { /** 视频涉敏评分,分值为0到100。 */ Confidence?: number; /** 涉敏结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** 视频涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615)里 LabelSet 参数与此参数取值范围的对应关系:violation_photo:violation_photo:违规图标。其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):politician:涉敏人物。 */ Label?: string; /** 有涉敏嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewPoliticalSegmentItem[]; } /** 内容审核 Asr 文字鉴黄任务输入参数类型 */ declare interface AiReviewPornAsrTaskInput { /** 鉴黄模板 ID。 */ Definition?: number; } /** Asr 文字涉黄信息 */ declare interface AiReviewPornAsrTaskOutput { /** Asr 文字涉黄评分,分值为0到100。 */ Confidence?: number; /** Asr 文字涉黄结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Asr 文字有涉黄嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewAsrTextSegmentItem[]; } /** 内容审核 Ocr 文字鉴黄任务输入参数类型 */ declare interface AiReviewPornOcrTaskInput { /** 鉴黄模板 ID。 */ Definition?: number; } /** Ocr 文字涉黄信息 */ declare interface AiReviewPornOcrTaskOutput { /** Ocr 文字涉黄评分,分值为0到100。 */ Confidence?: number; /** Ocr 文字涉黄结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Ocr 文字有涉黄嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewOcrTextSegmentItem[]; } /** 内容审核鉴黄任务输入参数类型 */ declare interface AiReviewPornTaskInput { /** 鉴黄模板 ID。 */ Definition: number | null; } /** 鉴黄结果信息 */ declare interface AiReviewPornTaskOutput { /** 视频鉴黄评分,分值为0到100。 */ Confidence?: number; /** 鉴黄结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** 视频鉴黄结果标签,取值范围:porn:色情。sexy:性感。vulgar:低俗。intimacy:亲密行为。 */ Label?: string; /** 有涉黄嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewSegmentItem[]; } /** 内容审核 Asr 文字鉴违禁任务输入参数类型 */ declare interface AiReviewProhibitedAsrTaskInput { /** 鉴违禁模板 ID。 */ Definition?: number; } /** Asr 文字涉违禁信息 */ declare interface AiReviewProhibitedAsrTaskOutput { /** Asr 文字涉违禁评分,分值为0到100。 */ Confidence?: number; /** Asr 文字涉违禁结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Asr 文字有涉违禁嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewAsrTextSegmentItem[]; } /** 内容审核 Ocr 文字鉴违禁任务输入参数类型 */ declare interface AiReviewProhibitedOcrTaskInput { /** 鉴违禁模板 ID。 */ Definition?: number; } /** Ocr 文字涉违禁信息 */ declare interface AiReviewProhibitedOcrTaskOutput { /** Ocr 文字涉违禁评分,分值为0到100。 */ Confidence?: number; /** Ocr 文字涉违禁结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Ocr 文字有涉违禁嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewOcrTextSegmentItem[]; } /** 内容审核 Asr 文字敏感任务结果类型 */ declare interface AiReviewTaskPoliticalAsrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Asr 文字敏感任务输入。 */ Input?: AiReviewPoliticalAsrTaskInput; /** 内容审核 Asr 文字敏感任务输出。 */ Output?: AiReviewPoliticalAsrTaskOutput | null; } /** 内容审核 Ocr 文字敏感任务结果类型 */ declare interface AiReviewTaskPoliticalOcrResult { /** 任务状态,有 PROCESSING,SUCCESS,FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Ocr 文字敏感任务输入。 */ Input?: AiReviewPoliticalOcrTaskInput; /** 内容审核 Ocr 文字敏感任务输出。 */ Output?: AiReviewPoliticalOcrTaskOutput | null; } /** 内容审核涉敏任务结果类型 */ declare interface AiReviewTaskPoliticalResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核涉敏任务输入。 */ Input?: AiReviewPoliticalTaskInput; /** 内容审核涉敏任务输出。 */ Output?: AiReviewPoliticalTaskOutput | null; } /** 内容审核 Asr 文字鉴黄任务结果类型 */ declare interface AiReviewTaskPornAsrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Asr 文字鉴黄任务输入。 */ Input?: AiReviewPornAsrTaskInput; /** 内容审核 Asr 文字鉴黄任务输出。 */ Output?: AiReviewPornAsrTaskOutput | null; } /** 内容审核 Ocr 文字鉴黄任务结果类型 */ declare interface AiReviewTaskPornOcrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Ocr 文字鉴黄任务输入。 */ Input?: AiReviewPornOcrTaskInput; /** 内容审核 Ocr 文字鉴黄任务输出。 */ Output?: AiReviewPornOcrTaskOutput | null; } /** 内容审核鉴黄任务结果类型 */ declare interface AiReviewTaskPornResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核鉴黄任务输入。 */ Input?: AiReviewPornTaskInput; /** 内容审核鉴黄任务输出。 */ Output?: AiReviewPornTaskOutput | null; } /** 内容审核 Asr 文字鉴任违禁务结果类型 */ declare interface AiReviewTaskProhibitedAsrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Asr 文字鉴违禁任务输入。 */ Input?: AiReviewProhibitedAsrTaskInput; /** 内容审核 Asr 文字鉴违禁任务输出。 */ Output?: AiReviewProhibitedAsrTaskOutput | null; } /** 内容审核 Ocr 文字鉴任违禁务结果类型 */ declare interface AiReviewTaskProhibitedOcrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Ocr 文字鉴违禁任务输入。 */ Input?: AiReviewProhibitedOcrTaskInput; /** 内容审核 Ocr 文字鉴违禁任务输出。 */ Output?: AiReviewProhibitedOcrTaskOutput | null; } /** 内容审核 Ocr 文字敏感任务结果类型 */ declare interface AiReviewTaskTerrorismOcrResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核 Ocr 文字敏感任务输入。 */ Input?: AiReviewTerrorismOcrTaskInput; /** 内容审核 Ocr 文字敏感任务输出。 */ Output?: AiReviewTerrorismOcrTaskOutput | null; } /** 内容审核涉敏任务结果类型 */ declare interface AiReviewTaskTerrorismResult { /** 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 */ Status?: string; /** 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369) 列表。 */ ErrCodeExt?: string; /** 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 */ ErrCode?: number; /** 错误信息。 */ Message?: string; /** 内容审核涉敏任务输入。 */ Input?: AiReviewTerrorismTaskInput; /** 内容审核涉敏任务输出。 */ Output?: AiReviewTerrorismTaskOutput | null; } /** 内容审核 Ocr 文字敏感任务输入参数类型 */ declare interface AiReviewTerrorismOcrTaskInput { /** 模板 ID。 */ Definition: number; } /** Ocr 文字涉敏信息 */ declare interface AiReviewTerrorismOcrTaskOutput { /** Ocr 文字涉敏评分,分值为0到100。 */ Confidence?: number; /** Ocr 文字涉敏结果建议,取值范围:pass。review。block。 */ Suggestion?: string; /** Ocr 文字有涉敏嫌疑的视频片段列表。 */ SegmentSet?: MediaContentReviewOcrTextSegmentItem[]; } /** 内容审核涉敏任务输入参数类型 */ declare interface AiReviewTerrorismTaskInput { /** 模板 ID。 */ Definition: number; } /** 涉敏信息 */ declare interface AiReviewTerrorismTaskOutput { /** 视频涉敏评分,分值为0到100。 */ Confidence: number; /** 涉敏结果建议,取值范围:pass。review。block。 */ Suggestion: string; /** 视频涉敏结果标签,取值范围:guns:武器枪支。crowd:人群聚集。police:警察部队。bloody:血腥画面。banners:涉敏旗帜。militant:武装分子。explosion:爆炸火灾。terrorists:涉敏人物。scenario:涉敏画面。 */ Label: string; /** 有涉敏嫌疑的视频片段列表。 */ SegmentSet: MediaContentReviewSegmentItem[]; } /** AI 样本管理,人脸信息。 */ declare interface AiSampleFaceInfo { /** 人脸图片 ID。 */ FaceId?: string; /** 人脸图片地址。 */ Url?: string; } /** AI 样本管理,人脸数据操作。 */ declare interface AiSampleFaceOperation { /** 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。 */ Type: string; /** 人脸 ID 集合,当 Type为delete 时,该字段必填。 */ FaceIds?: string[]; /** 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。当 Type为add 或 reset 时,该字段必填;数组长度限制:5 张图片。注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。 */ FaceContents?: string[]; } /** AI 样本管理,处理失败的人脸信息 */ declare interface AiSampleFailFaceInfo { /** 对应入参 FaceContents 中错误图片下标,从 0 开始。 */ Index?: number; /** 错误码,取值:0:成功;其他:失败。 */ ErrCode?: number; /** 错误描述。 */ Message?: string; } /** AI 样本管理,人物信息。 */ declare interface AiSamplePerson { /** 人物 ID。 */ PersonId?: string; /** 人物名称。 */ Name?: string; /** 人物描述。 */ Description?: string; /** 人脸信息。 */ FaceInfoSet?: AiSampleFaceInfo[]; /** 人物标签。 */ TagSet?: string[]; /** 应用场景。 */ UsageSet?: string[]; /** 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ CreateTime?: string; /** 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ UpdateTime?: string; } /** AI 样本管理,标签操作。 */ declare interface AiSampleTagOperation { /** 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。 */ Type: string; /** 标签,长度限制:128 个字符。 */ Tags: string[]; } /** AI 样本管理,关键词输出信息。 */ declare interface AiSampleWord { /** 关键词。 */ Keyword?: string; /** 关键词标签。 */ TagSet?: string[]; /** 关键词应用场景。 */ UsageSet?: string[]; /** 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ CreateTime?: string; /** 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ UpdateTime?: string; } /** AI 样本管理,关键词输入信息。 */ declare interface AiSampleWordInfo { /** 关键词,长度限制:20 个字符。 */ Keyword: string; /** 关键词标签数组长度限制:20 个标签;单个标签长度限制:128 个字符。 */ Tags?: string[]; } /** 转动图任务类型。 */ declare interface AnimatedGraphicTaskInput { /** 视频转动图模板 ID。 */ Definition: number; /** 动图在视频中的开始时间,单位为秒。 */ StartTimeOffset: number; /** 动图在视频中的结束时间,单位为秒。 */ EndTimeOffset: number; /** 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。 */ OutputStorage?: TaskOutputStorage | null; /** 转动图后文件的输出路径,可以为相对路径或者绝对路径。若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。相对路径示例:文件名_{变量名}.{format}文件名.{format}绝对路径示例:/自定义路径/文件名_{变量名}.{format}如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。 */ OutputObjectPath?: string; } /** 转动图模板详情。 */ declare interface AnimatedGraphicsTemplate { /** 转动图模板唯一标识。 */ Definition?: number; /** 模板类型,取值范围:Preset:系统预置模板;Custom:用户自定义模板。 */ Type?: string; /** 转动图模板名称。 */ Name?: string; /** 转动图模板描述。 */ Comment?: string; /** 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。当 Width、Height 均为 0,则分辨率同源;当 Width 为 0,Height 非 0,则 Width 按比例缩放;当 Width 非 0,Height 为 0,则 Height 按比例缩放;当 Width、Height 均非 0,则分辨率按用户指定。默认值:0。 */ Width?: number; /** 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。当 Width、Height 均为 0,则分辨率同源;当 Width 为 0,Height 非 0,则 Width 按比例缩放;当 Width 非 0,Height 为 0,则 Height 按比例缩放;当 Width、Height 均非 0,则分辨率按用户指定。默认值:0。 */ Height?: number; /** 分辨率自适应,可选值:open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。默认值:open。 */ ResolutionAdaptive?: string; /** 动图格式。 */ Format?: string; /** 帧率。 */ Fps?: number; /** 图片质量。 */ Quality?: number; /** 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ CreateTime?: string; /** 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710)。 */ UpdateTime?: string; } /** 去伪影(毛刺)配置 */ declare interface ArtifactRepairConfig { /** 能力配置开关,可选值:ON:开启;OFF:关闭。默认值:ON。 */ Switch?: string; /** 类型,可选值:weakstrong默认值:weak。 */ Type?: string | null; } /** 语音全文识别任务控制参数 */ declare interface AsrFullTextConfigureInfo { /** 语音全文识别任务开关,可选值:ON:开启智能语音全文识别任务;OFF:关闭智能语音全文识别任务。 */ Switch: string; /** 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:vtt:生成 WebVTT 字幕文件。 */ SubtitleFormat?: string; /** 视频源语言。 */ SourceLanguage?: string; } /** 语音全文识别任务控制参数 */ declare interface AsrFullTextConfigureInfoForUpdate { /** 语音全文识别任务开关,可选值:ON:开启智能语音全文识别任务;OFF:关闭智能语音全文识别任务。 */ Switch?: string; /** 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:vtt:生成 WebVTT 字幕文件。 */ SubtitleFormat?: string; /** 视频源语言。 */ SourceLanguage?: string; } /** 智能字幕热词参数 */ declare interface AsrHotWordsConfigure { /** 热词开关 */ Switch?: string | null; /** 热词库ID */ LibraryId?: string | null; } /** 热词库查询返回结果集 */ declare interface AsrHotwordsSet { /** 热词库 Id */ HotwordsId?: string | null; /** 当前热词库状态,数值表示绑定该热词库的智能字幕模板数量。Status 为 0 ,表示该热词库没有被智能字幕模板引用可以删除;Status 不为 0,表示该热词库不能被删除。 */ Status?: number | null; /** 热词库名称 */ Name?: string | null; /** 热词库中的热词数量 */ WordCount?: number | null; /** 热词文件上传时的文件名 */ FileName?: string | null; /** 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z */ CreateTime?: string | null; /** 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z */ UpdateTime?: string | null; /** 0:临时热词库1:文件热词库 */ Type?: number | null; } /** 单个热词信息 */ declare interface AsrHotwordsSetItem { /** 热词的序号 */ Id?: number | null; /** 热词文本 */ Text?: string | null; /** 词语权重,取值范围 1-10,11,100 */ Weight?: number | null; } /** 语音关键词识别控制参数。 */ declare interface AsrWordsConfigureInfo { /** 语音关键词识别任务开关,可选值:ON:开启语音关键词识别任务;OFF:关闭语音关键词识别任务。 */ Switch: string; /** 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。标签个数最多 10 个,每个标签长度最多 16 个字符。 */ LabelSet?: string[]; } /** 语音关键词识别控制参数。 */ declare interface AsrWordsConfigureInfoForUpdate { /** 语音关键词识别任务开关,可选值:ON:开启语音关键词识别任务;OFF:关闭语音关键词识别任务。 */ Switch?: string; /** 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。标签个数最多 10 个,每个标签长度最多 16 个字符。 */ LabelSet?: string[]; } /** 音量美化配置 */ declare interface AudioBeautifyConfig { /** 能力配置开关,可选值:ON:开启;OFF:关闭。默认值:ON。 */ Switch?: string; /** 类型,可多选,可选值:declick:杂音去除deesser:齿音压制默认值:declick。 */ Types?: string[] | null; } /** 音频降噪配置 */ declare interface AudioDenoiseConfig { /** 能力配置开关,可选值:ON:开启;OFF:关闭。默认值:ON。 */ Switch?: string; } /** 音频增强配置 */ declare interface AudioEnhanceConfig { /** 音频降噪配置。 */ Denoise?: AudioDenoiseConfig | null; /** 音频分离配置。 */ Separate?: AudioSeparateConfig | null; /** 音量均衡配置。 */ VolumeBalance?: VolumeBalanceConfig | null; /** 音频美化配置。 */ Beautify?: AudioBeautifyConfig | null; } /** 音频分离配置 */ declare interface AudioSeparateConfig { /** 能力配置开关,可选值:ON:开启;OFF:关闭。默认值:ON。 */ Switch?: string; /** 场景类型,可选值:normal:人声背景声场景music:演唱伴奏场景默认值:normal。 */ Type?: string | null; /** 输出音轨,可选值:vocal:输出人声background:应用场景为normal时输出背景声,应用场景为music时输出伴奏默认值:vocal。 */ Track?: string | null; } /** 音频流配置参数 */ declare interface AudioTemplateInfo { /** 音频流的编码格式。当不需要对音频进行转码时,可选值为:copy。当外层参数 Container 为 mp3 时,可选值为:mp3。当外层参数 Container 为 ogg 或 flac 时,可选值为:flac。当外层参数 Container 为 m4a 时,可选值为:aac;ac3。当外层参数 Container 为 mp4 或 flv 时,可选值为:aac:更适合 mp4;mp3:更适合 flv;mp2。当外层参数 Container 为 hls 时,可选值为:aac;mp3;eac3:自适应转码音轨合并时使用。 */ Codec: string; /** 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。当取值为 0,表示音频码率和原始音频保持一致。注意:如果使用自适应转码音轨合并TrackChannelInfo参数,取值范围:1)、不能填0;2)、Codec为:aac时,取值范围:[26, 256];3)、Codec为:ac3时,取值范围:[26, 640];4)、Codec为:eac3时,取值范围:[26, 6144],备注:当SampleRate为44100HZ,最大值为:5644,当SampleRate为48000HZ,最大值为:6144, */ Bitrate: number; /** 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166)单位:Hz注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败! */ SampleRate: number; /** 音频通道方式,可选值:1:单通道2:双通道6:5.1声道当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为5.1声道。默认值:2。 */ AudioChannel?: number; /** 合并音轨信息。注意:此字段只是自适应转码生效, */ TrackChannelInfo?: AudioTrackChannelInfo | null; } /** 音频流配置参数 */ declare interface AudioTemplateInfoForUpdate { /** 音频流的编码格式。当不需要对音频进行转码时,可选值为:copy。当外层参数 Container 为 mp3 时,可选值为:mp3。当外层参数 Container 为 ogg 或 flac 时,可选值为:flac。当外层参数 Container 为 m4a 时,可选值为:aac;ac3。当外层参数 Container 为 mp4 或 flv 时,可选值为:aac:更适合 mp4;mp3:更适合 flv;mp2。当外层参数 Container 为 hls 时,可选值为:aac;mp3。 */ Codec?: string | null; /** 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。 */ Bitrate?: number | null; /** 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166)单位:Hz注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败! */ SampleRate?: number | null; /** 音频通道方式,可选值:1:单通道2:双通道6:5.1声道当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为5.1声道。 */ AudioChannel?: number | null; /** 指定输出要保留的音频轨道。默认是全部保留源的。 */ StreamSelects?: number[] | null; } /** 音轨信息 */ declare interface AudioTrackChannelInfo { /** 是否开启混音,可选值:0:表示不开启混音1:表示开启混音默认值:0 */ ChannelsRemix?: number | null; /** 合并音轨输入类型,可选值:track:表示使用音轨id;track_channel: 表示使用音轨id和声道id;默认:track。注意:如果原视频是多声道,建议使用track_channel。 */ SelectType?: string | null; /** 音轨信息 */ InputTrackInfo?: TrackInfo[] | null; } /** AWS S3 文件是上传触发器。 */ declare interface AwsS3FileUploadTrigger { /** 绑定的 AWS S3 存储桶。 */ S3Bucket: string; /** 绑定的桶所在 AWS 区域,目前支持: us-east-1 eu-west-3 */ S3Region: string; /** 绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。 */ Dir?: string; /** 允许触发的文件格式列表,如 ["mp4", "flv", "mov"]。不填代表所有格式的文件都可以触发工作流。 */ Formats?: string[]; /** 绑定的 AWS S3 存储桶的秘钥ID。 */ S3SecretId?: string | null; /** 绑定的 AWS S3 存储桶的秘钥Key。 */ S3SecretKey?: string | null; /** 绑定的 AWS S3 存储桶对应的 SQS事件队列。注意:队列和桶需要在同一区域。 */ AwsSQS?: AwsSQS | null; } /** Aws SQS 队列信息 */ declare interface AwsSQS { /** SQS 队列区域。 */ SQSRegion: string | null; /** SQS 队列名称。 */ SQSQueueName: string | null; /** 读写SQS的秘钥id。 */ S3SecretId?: string | null; /** 读写SQS的秘钥key。 */ S3SecretKey?: string | null; } /** 智能字幕结果。 */ declare interface BatchSmartSubtitlesResult { /** 智能字幕任务输入信息。 */ Input?: SmartSubtitleTaskResultInput | null; /** 智能字幕输出信息 */ Outputs?: SmartSubtitleTaskBatchOutput[] | null; } /** 批量任务子任务结果 */ declare interface BatchSubTaskResult { /** 批量任务输入信息 */ InputInfos?: MediaInputInfo[] | null; /** 原始视频的元信息。 */ Metadatas?: MediaMetaData[] | null; /** 智能字幕任务的执行结果 */ SmartSubtitlesTaskResult?: BatchSmartSubtitlesResult | null; } /** 盲水印配置 */ declare interface BlindWatermarkConfig { /** 增加盲水印 */ AddBlindWatermark?: AddBlindWatermarkConfig | null; /** 提取盲水印 */ ExtractBlindWatermark?: ExtractBlindWatermarkConfig | null; /** 移除盲水印 */ RemoveBlindWatermark?: RemoveBlindWatermarkConfig | null; } /** 嵌入盲水印配置 */ declare interface BlindWatermarkEmbedInfo { /** 盲水印文字,经过URL安全的Base64编码的4Byte数据。Base64解码之后,少于4Byte将会填充0x00到4Byte,超过4Byte将会截断为4Byte。 */ EmbedText?: string | null; } /** 智能分类任务控制参数 */ declare interface ClassificationConfigureInfo { /** 智能分类任务开关,可选值:ON:开启智能分类任务;O