v20190612

package
v3.0.233+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2019-06-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AIAnalysisTemplateItem

type AIAnalysisTemplateItem struct {

	// 智能分析模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 智能分析模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 智能分析模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 智能分类任务控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// 智能标签任务控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// 智能封面任务控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// 智能按帧标签任务控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AIRecognitionTemplateItem

type AIRecognitionTemplateItem struct {

	// 视频内容识别模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 视频内容识别模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 视频内容识别模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 人脸识别控制参数。
	FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// 文本全文识别控制参数。
	OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// 文本关键词识别控制参数。
	OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// 语音全文识别控制参数。
	AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// 语音关键词识别控制参数。
	AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AdaptiveDynamicStreamingInfoItem

type AdaptiveDynamicStreamingInfoItem struct {

	// 转自适应码流规格。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 打包格式,可能为 HLS和 MPEG-DASH 两种。
	Package *string `json:"Package,omitempty" name:"Package"`

	// 播放路径。
	Path *string `json:"Path,omitempty" name:"Path"`

	// 自适应码流文件的存储位置。
	Storage *TaskOutputStorage `json:"Storage,omitempty" name:"Storage"`
}

type AdaptiveDynamicStreamingTaskInput

type AdaptiveDynamicStreamingTaskInput struct {

	// 转自适应码流模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 水印列表,支持多张图片或文字水印,最大可支持 10 张。
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet" list`

	// 转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 转自适应码流后,子流文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}.{format}`。
	SubStreamObjectName *string `json:"SubStreamObjectName,omitempty" name:"SubStreamObjectName"`

	// 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。
	SegmentObjectName *string `json:"SegmentObjectName,omitempty" name:"SegmentObjectName"`
}

type AdaptiveDynamicStreamingTemplate

type AdaptiveDynamicStreamingTemplate struct {

	// 转自适应码流模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板类型,取值范围:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 转自适应码流模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 转自适应码流模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 转自适应码流格式,取值范围:
	// <li>HLS,</li>
	// <li>MPEG-DASH。</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// 转自适应码流输入流参数信息,最多输入10路流。
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos" list`

	// 是否禁止视频低码率转高码率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// 是否禁止视频分辨率转高分辨率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AdaptiveStreamTemplate

type AdaptiveStreamTemplate struct {

	// 视频参数信息。
	Video *VideoTemplateInfo `json:"Video,omitempty" name:"Video"`

	// 音频参数信息。
	Audio *AudioTemplateInfo `json:"Audio,omitempty" name:"Audio"`

	// 是否移除音频流,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	RemoveAudio *uint64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// 是否移除视频流,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	RemoveVideo *uint64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`
}

type AiAnalysisResult

type AiAnalysisResult struct {

	// 任务的类型,可以取的值有:
	// <li>Classification:智能分类</li>
	// <li>Cover:智能封面</li>
	// <li>Tag:智能标签</li>
	// <li>FrameTag:智能按帧标签</li>
	// <li>Highlight:智能精彩集锦</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClassificationTask *AiAnalysisTaskClassificationResult `json:"ClassificationTask,omitempty" name:"ClassificationTask"`

	// 视频内容分析智能封面任务的查询结果,当任务类型为 Cover 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CoverTask *AiAnalysisTaskCoverResult `json:"CoverTask,omitempty" name:"CoverTask"`

	// 视频内容分析智能标签任务的查询结果,当任务类型为 Tag 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagTask *AiAnalysisTaskTagResult `json:"TagTask,omitempty" name:"TagTask"`

	// 视频内容分析智能按帧标签任务的查询结果,当任务类型为 FrameTag 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FrameTagTask *AiAnalysisTaskFrameTagResult `json:"FrameTagTask,omitempty" name:"FrameTagTask"`
}

type AiAnalysisTaskClassificationInput

type AiAnalysisTaskClassificationInput struct {

	// 视频智能分类模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskClassificationOutput

type AiAnalysisTaskClassificationOutput struct {

	// 视频智能分类列表。
	ClassificationSet []*MediaAiAnalysisClassificationItem `json:"ClassificationSet,omitempty" name:"ClassificationSet" list`
}

type AiAnalysisTaskClassificationResult

type AiAnalysisTaskClassificationResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 智能分类任务输入。
	Input *AiAnalysisTaskClassificationInput `json:"Input,omitempty" name:"Input"`

	// 智能分类任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiAnalysisTaskClassificationOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskCoverInput

type AiAnalysisTaskCoverInput struct {

	// 视频智能封面模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskCoverOutput

type AiAnalysisTaskCoverOutput struct {

	// 智能封面列表。
	CoverSet []*MediaAiAnalysisCoverItem `json:"CoverSet,omitempty" name:"CoverSet" list`

	// 智能封面的存储位置。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`
}

type AiAnalysisTaskCoverResult

type AiAnalysisTaskCoverResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 智能封面任务输入。
	Input *AiAnalysisTaskCoverInput `json:"Input,omitempty" name:"Input"`

	// 智能封面任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiAnalysisTaskCoverOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskFrameTagInput

type AiAnalysisTaskFrameTagInput struct {

	// 视频智能按帧标签模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskFrameTagOutput

type AiAnalysisTaskFrameTagOutput struct {

	// 视频按帧标签列表。
	SegmentSet []*MediaAiAnalysisFrameTagSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiAnalysisTaskFrameTagResult

type AiAnalysisTaskFrameTagResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 智能按帧标签任务输入。
	Input *AiAnalysisTaskFrameTagInput `json:"Input,omitempty" name:"Input"`

	// 智能按帧标签任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiAnalysisTaskFrameTagOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskInput

type AiAnalysisTaskInput struct {

	// 视频内容分析模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskTagInput

type AiAnalysisTaskTagInput struct {

	// 视频智能标签模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskTagOutput

type AiAnalysisTaskTagOutput struct {

	// 视频智能标签列表。
	TagSet []*MediaAiAnalysisTagItem `json:"TagSet,omitempty" name:"TagSet" list`
}

type AiAnalysisTaskTagResult

type AiAnalysisTaskTagResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 智能标签任务输入。
	Input *AiAnalysisTaskTagInput `json:"Input,omitempty" name:"Input"`

	// 智能标签任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiAnalysisTaskTagOutput `json:"Output,omitempty" name:"Output"`
}

type AiContentReviewResult

type AiContentReviewResult struct {

	// 任务的类型,可以取的值有:
	// <li>Porn:图片鉴黄</li>
	// <li>Terrorism:图片鉴恐</li>
	// <li>Political:图片鉴政</li>
	// <li>Porn.Asr:Asr 文字鉴黄</li>
	// <li>Porn.Ocr:Ocr 文字鉴黄</li>
	// <li>Political.Asr:Asr 文字鉴政</li>
	// <li>Political.Ocr:Ocr 文字鉴政</li>
	// <li>Terrorism.Ocr:Ocr 文字鉴恐</li>
	// <li>Prohibited.Asr:Asr 文字鉴违禁</li>
	// <li>Prohibited.Ocr:Ocr 文字鉴违禁</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 采样频率,即对视频每秒截取进行审核的帧数。
	SampleRate *float64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// 审核的视频时长,单位:秒。
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 Porn 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PornTask *AiReviewTaskPornResult `json:"PornTask,omitempty" name:"PornTask"`

	// 视频内容审核智能画面鉴恐任务的查询结果,当任务类型为 Terrorism 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TerrorismTask *AiReviewTaskTerrorismResult `json:"TerrorismTask,omitempty" name:"TerrorismTask"`

	// 视频内容审核智能画面鉴政任务的查询结果,当任务类型为 Political 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PoliticalTask *AiReviewTaskPoliticalResult `json:"PoliticalTask,omitempty" name:"PoliticalTask"`

	// 视频内容审核 Asr 文字鉴黄任务的查询结果,当任务类型为 Porn.Asr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PornAsrTask *AiReviewTaskPornAsrResult `json:"PornAsrTask,omitempty" name:"PornAsrTask"`

	// 视频内容审核 Ocr 文字鉴黄任务的查询结果,当任务类型为 Porn.Ocr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PornOcrTask *AiReviewTaskPornOcrResult `json:"PornOcrTask,omitempty" name:"PornOcrTask"`

	// 视频内容审核 Asr 文字鉴政任务的查询结果,当任务类型为 Political.Asr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PoliticalAsrTask *AiReviewTaskPoliticalAsrResult `json:"PoliticalAsrTask,omitempty" name:"PoliticalAsrTask"`

	// 视频内容审核 Ocr 文字鉴政任务的查询结果,当任务类型为 Political.Ocr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PoliticalOcrTask *AiReviewTaskPoliticalOcrResult `json:"PoliticalOcrTask,omitempty" name:"PoliticalOcrTask"`

	// 视频内容审核 Ocr 文字鉴恐任务的查询结果,当任务类型为 Terrorism.Ocr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TerrorismOcrTask *AiReviewTaskTerrorismOcrResult `json:"TerrorismOcrTask,omitempty" name:"TerrorismOcrTask"`

	// 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProhibitedAsrTask *AiReviewTaskProhibitedAsrResult `json:"ProhibitedAsrTask,omitempty" name:"ProhibitedAsrTask"`

	// 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProhibitedOcrTask *AiReviewTaskProhibitedOcrResult `json:"ProhibitedOcrTask,omitempty" name:"ProhibitedOcrTask"`
}

type AiContentReviewTaskInput

type AiContentReviewTaskInput struct {

	// 视频内容审核模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionResult

type AiRecognitionResult struct {

	// 任务的类型,取值范围:
	// <li>FaceRecognition:人脸识别,</li>
	// <li>AsrWordsRecognition:语音关键词识别,</li>
	// <li>OcrWordsRecognition:文本关键词识别,</li>
	// <li>AsrFullTextRecognition:语音全文识别,</li>
	// <li>OcrFullTextRecognition:文本全文识别。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 人脸识别结果,当 Type 为
	//  FaceRecognition 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FaceTask *AiRecognitionTaskFaceResult `json:"FaceTask,omitempty" name:"FaceTask"`

	// 语音关键词识别结果,当 Type 为
	//  AsrWordsRecognition 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AsrWordsTask *AiRecognitionTaskAsrWordsResult `json:"AsrWordsTask,omitempty" name:"AsrWordsTask"`

	// 语音全文识别结果,当 Type 为
	//  AsrFullTextRecognition 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AsrFullTextTask *AiRecognitionTaskAsrFullTextResult `json:"AsrFullTextTask,omitempty" name:"AsrFullTextTask"`

	// 文本关键词识别结果,当 Type 为
	//  OcrWordsRecognition 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OcrWordsTask *AiRecognitionTaskOcrWordsResult `json:"OcrWordsTask,omitempty" name:"OcrWordsTask"`

	// 文本全文识别结果,当 Type 为
	//  OcrFullTextRecognition 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OcrFullTextTask *AiRecognitionTaskOcrFullTextResult `json:"OcrFullTextTask,omitempty" name:"OcrFullTextTask"`
}

type AiRecognitionTaskAsrFullTextResult

type AiRecognitionTaskAsrFullTextResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 语音全文识别任务输入信息。
	Input *AiRecognitionTaskAsrFullTextResultInput `json:"Input,omitempty" name:"Input"`

	// 语音全文识别任务输出信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiRecognitionTaskAsrFullTextResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskAsrFullTextResultInput

type AiRecognitionTaskAsrFullTextResultInput struct {

	// 语音全文识别模板 ID。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskAsrFullTextResultOutput

type AiRecognitionTaskAsrFullTextResultOutput struct {

	// 语音全文识别片段列表。
	SegmentSet []*AiRecognitionTaskAsrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`

	// 字幕文件地址。
	SubtitlePath *string `json:"SubtitlePath,omitempty" name:"SubtitlePath"`

	// 字幕文件存储位置。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`
}

type AiRecognitionTaskAsrFullTextSegmentItem

type AiRecognitionTaskAsrFullTextSegmentItem struct {

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 识别片段终止的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 识别文本。
	Text *string `json:"Text,omitempty" name:"Text"`
}

type AiRecognitionTaskAsrWordsResult

type AiRecognitionTaskAsrWordsResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 语音关键词识别任务输入信息。
	Input *AiRecognitionTaskAsrWordsResultInput `json:"Input,omitempty" name:"Input"`

	// 语音关键词识别任务输出信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiRecognitionTaskAsrWordsResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskAsrWordsResultInput

type AiRecognitionTaskAsrWordsResultInput struct {

	// 语音关键词识别模板 ID。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskAsrWordsResultItem

type AiRecognitionTaskAsrWordsResultItem struct {

	// 语音关键词。
	Word *string `json:"Word,omitempty" name:"Word"`

	// 语音关键词出现的时间片段列表。
	SegmentSet []*AiRecognitionTaskAsrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiRecognitionTaskAsrWordsResultOutput

type AiRecognitionTaskAsrWordsResultOutput struct {

	// 语音关键词识别结果集。
	ResultSet []*AiRecognitionTaskAsrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet" list`
}

type AiRecognitionTaskAsrWordsSegmentItem

type AiRecognitionTaskAsrWordsSegmentItem struct {

	// 识别片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 识别片段终止的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type AiRecognitionTaskFaceResult

type AiRecognitionTaskFaceResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 人脸识别任务输入信息。
	Input *AiRecognitionTaskFaceResultInput `json:"Input,omitempty" name:"Input"`

	// 人脸识别任务输出信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiRecognitionTaskFaceResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskFaceResultInput

type AiRecognitionTaskFaceResultInput struct {

	// 人脸识别模板 ID。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskFaceResultItem

type AiRecognitionTaskFaceResultItem struct {

	// 人物唯一标识 ID。
	Id *string `json:"Id,omitempty" name:"Id"`

	// 人物库类型,表示识别出的人物来自哪个人物库:
	// <li>Default:默认人物库;</li>
	// <li>UserDefine:用户自定义人物库。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 人物名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 人物出现的片段结果集。
	SegmentSet []*AiRecognitionTaskFaceSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiRecognitionTaskFaceResultOutput

type AiRecognitionTaskFaceResultOutput struct {

	// 智能人脸识别结果集。
	ResultSet []*AiRecognitionTaskFaceResultItem `json:"ResultSet,omitempty" name:"ResultSet" list`
}

type AiRecognitionTaskFaceSegmentItem

type AiRecognitionTaskFaceSegmentItem struct {

	// 识别片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 识别片段终止的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`
}

type AiRecognitionTaskInput

type AiRecognitionTaskInput struct {

	// 视频智能识别模板 ID 。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskOcrFullTextResult

type AiRecognitionTaskOcrFullTextResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 文本全文识别任务输入信息。
	Input *AiRecognitionTaskOcrFullTextResultInput `json:"Input,omitempty" name:"Input"`

	// 文本全文识别任务输出信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiRecognitionTaskOcrFullTextResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskOcrFullTextResultInput

type AiRecognitionTaskOcrFullTextResultInput struct {

	// 文本全文识别模板 ID。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskOcrFullTextResultOutput

type AiRecognitionTaskOcrFullTextResultOutput struct {

	// 文本全文识别结果集。
	SegmentSet []*AiRecognitionTaskOcrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiRecognitionTaskOcrFullTextSegmentItem

type AiRecognitionTaskOcrFullTextSegmentItem struct {

	// 识别片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 识别片段终止的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 识别片段结果集。
	TextSet []*AiRecognitionTaskOcrFullTextSegmentTextItem `json:"TextSet,omitempty" name:"TextSet" list`
}

type AiRecognitionTaskOcrFullTextSegmentTextItem

type AiRecognitionTaskOcrFullTextSegmentTextItem struct {

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`

	// 识别文本。
	Text *string `json:"Text,omitempty" name:"Text"`
}

type AiRecognitionTaskOcrWordsResult

type AiRecognitionTaskOcrWordsResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 文本关键词识别任务输入信息。
	Input *AiRecognitionTaskOcrWordsResultInput `json:"Input,omitempty" name:"Input"`

	// 文本关键词识别任务输出信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiRecognitionTaskOcrWordsResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskOcrWordsResultInput

type AiRecognitionTaskOcrWordsResultInput struct {

	// 文本关键词识别模板 ID。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskOcrWordsResultItem

type AiRecognitionTaskOcrWordsResultItem struct {

	// 文本关键词。
	Word *string `json:"Word,omitempty" name:"Word"`

	// 文本关键出现的片段列表。
	SegmentSet []*AiRecognitionTaskOcrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiRecognitionTaskOcrWordsResultOutput

type AiRecognitionTaskOcrWordsResultOutput struct {

	// 文本关键词识别结果集。
	ResultSet []*AiRecognitionTaskOcrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet" list`
}

type AiRecognitionTaskOcrWordsSegmentItem

type AiRecognitionTaskOcrWordsSegmentItem struct {

	// 识别片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 识别片段终止的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`
}

type AiReviewPoliticalAsrTaskInput

type AiReviewPoliticalAsrTaskInput struct {

	// 鉴政模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalAsrTaskOutput

type AiReviewPoliticalAsrTaskOutput struct {

	// Asr 文字涉政、敏感评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Asr 文字涉政、敏感结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Asr 文字有涉政、敏感嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewPoliticalOcrTaskInput

type AiReviewPoliticalOcrTaskInput struct {

	// 鉴政模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalOcrTaskOutput

type AiReviewPoliticalOcrTaskOutput struct {

	// Ocr 文字涉政、敏感评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Ocr 文字涉政、敏感结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Ocr 文字有涉政、敏感嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewPoliticalTaskInput

type AiReviewPoliticalTaskInput struct {

	// 鉴政模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalTaskOutput

type AiReviewPoliticalTaskOutput struct {

	// 视频涉政评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 涉政结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频鉴政结果标签。内容审核模板[画面鉴政任务控制参数](https://cloud.tencent.com/document/api/862/37615#AiReviewPoliticalTaskOutput)里 LabelSet 参数与此参数取值范围的对应关系:
	// violation_photo:
	// <li>violation_photo:违规图标。</li>
	// 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
	// <li>politician:政治人物。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 有涉政嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewPoliticalSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewPornAsrTaskInput

type AiReviewPornAsrTaskInput struct {

	// 鉴黄模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornAsrTaskOutput

type AiReviewPornAsrTaskOutput struct {

	// Asr 文字涉黄评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Asr 文字涉黄结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Asr 文字有涉黄嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewPornOcrTaskInput

type AiReviewPornOcrTaskInput struct {

	// 鉴黄模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornOcrTaskOutput

type AiReviewPornOcrTaskOutput struct {

	// Ocr 文字涉黄评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Ocr 文字涉黄结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Ocr 文字有涉黄嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewPornTaskInput

type AiReviewPornTaskInput struct {

	// 鉴黄模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornTaskOutput

type AiReviewPornTaskOutput struct {

	// 视频鉴黄评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 鉴黄结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频鉴黄结果标签,取值范围:
	// <li>porn:色情。</li>
	// <li>sexy:性感。</li>
	// <li>vulgar:低俗。</li>
	// <li>intimacy:亲密行为。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 有涉黄嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewProhibitedAsrTaskInput

type AiReviewProhibitedAsrTaskInput struct {

	// 鉴违禁模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewProhibitedAsrTaskOutput

type AiReviewProhibitedAsrTaskOutput struct {

	// Asr 文字涉违禁评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Asr 文字涉违禁结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Asr 文字有涉违禁嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewProhibitedOcrTaskInput

type AiReviewProhibitedOcrTaskInput struct {

	// 鉴违禁模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewProhibitedOcrTaskOutput

type AiReviewProhibitedOcrTaskOutput struct {

	// Ocr 文字涉违禁评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Ocr 文字涉违禁结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Ocr 文字有涉违禁嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewTaskPoliticalAsrResult

type AiReviewTaskPoliticalAsrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Asr 文字鉴政任务输入。
	Input *AiReviewPoliticalAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Asr 文字鉴政任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPoliticalAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPoliticalOcrResult

type AiReviewTaskPoliticalOcrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS �� FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Ocr 文字鉴政任务输入。
	Input *AiReviewPoliticalOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Ocr 文字鉴政任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPoliticalOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPoliticalResult

type AiReviewTaskPoliticalResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核鉴政任务输入。
	Input *AiReviewPoliticalTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核鉴政任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPoliticalTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornAsrResult

type AiReviewTaskPornAsrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Asr 文字鉴黄任务输入。
	Input *AiReviewPornAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Asr 文字鉴黄任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPornAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornOcrResult

type AiReviewTaskPornOcrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Ocr 文字鉴黄任务输入。
	Input *AiReviewPornOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Ocr 文字鉴黄任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPornOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornResult

type AiReviewTaskPornResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核鉴黄任务输入。
	Input *AiReviewPornTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核鉴黄任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewPornTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskProhibitedAsrResult

type AiReviewTaskProhibitedAsrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Asr 文字鉴违禁任务输入。
	Input *AiReviewProhibitedAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Asr 文字鉴违禁任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewProhibitedAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskProhibitedOcrResult

type AiReviewTaskProhibitedOcrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Ocr 文字鉴违禁任务输入。
	Input *AiReviewProhibitedOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Ocr 文字鉴违禁任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewProhibitedOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskTerrorismOcrResult

type AiReviewTaskTerrorismOcrResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核 Ocr 文字鉴恐任务输入。
	Input *AiReviewTerrorismOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核 Ocr 文字鉴恐任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewTerrorismOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskTerrorismResult

type AiReviewTaskTerrorismResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 内容审核鉴恐任务输入。
	Input *AiReviewTerrorismTaskInput `json:"Input,omitempty" name:"Input"`

	// 内容审核鉴恐任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AiReviewTerrorismTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTerrorismOcrTaskInput

type AiReviewTerrorismOcrTaskInput struct {

	// 鉴恐模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewTerrorismOcrTaskOutput

type AiReviewTerrorismOcrTaskOutput struct {

	// Ocr 文字涉恐评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Ocr 文字涉恐结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Ocr 文字有涉恐嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiReviewTerrorismTaskInput

type AiReviewTerrorismTaskInput struct {

	// 鉴恐模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewTerrorismTaskOutput

type AiReviewTerrorismTaskOutput struct {

	// 视频暴恐评分,分值为0到100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 暴恐结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频暴恐结果标签,取值范围:
	// <li>guns:武器枪支。</li>
	// <li>crowd:人群聚集。</li>
	// <li>police:警察部队。</li>
	// <li>bloody:血腥画面。</li>
	// <li>banners:暴恐旗帜。</li>
	// <li>militant:武装分子。</li>
	// <li>explosion:爆炸火灾。</li>
	// <li>terrorists:暴恐人物。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 有暴恐嫌疑的视频片段列表。
	SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet" list`
}

type AiSampleFaceInfo

type AiSampleFaceInfo struct {

	// 人脸图片 ID。
	FaceId *string `json:"FaceId,omitempty" name:"FaceId"`

	// 人脸图片地址。
	Url *string `json:"Url,omitempty" name:"Url"`
}

type AiSampleFaceOperation

type AiSampleFaceOperation struct {

	// 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 人脸 ID 集合,当 Type为delete 时,该字段必填。
	FaceIds []*string `json:"FaceIds,omitempty" name:"FaceIds" list`

	// 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
	// <li>当 Type为add 或 reset 时,该字段必填;</li>
	// <li>数组长度限制:5 张图片。</li>
	// 注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
	FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents" list`
}

type AiSampleFailFaceInfo

type AiSampleFailFaceInfo struct {

	// 对应入参 FaceContents 中错误图片下标,从 0 开始。
	Index *uint64 `json:"Index,omitempty" name:"Index"`

	// 错误码,取值:
	// <li>0:成功;</li>
	// <li>其他:失败。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误描述。
	Message *string `json:"Message,omitempty" name:"Message"`
}

type AiSamplePerson

type AiSamplePerson struct {

	// 人物 ID。
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`

	// 人物名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 人物描述。
	Description *string `json:"Description,omitempty" name:"Description"`

	// 人脸信息。
	FaceInfoSet []*AiSampleFaceInfo `json:"FaceInfoSet,omitempty" name:"FaceInfoSet" list`

	// 人物标签。
	TagSet []*string `json:"TagSet,omitempty" name:"TagSet" list`

	// 应用场景。
	UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet" list`

	// 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AiSampleTagOperation

type AiSampleTagOperation struct {

	// 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 标签,长度限制:128 个字符。
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`
}

type AiSampleWord

type AiSampleWord struct {

	// 关键词。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// 关键词标签。
	TagSet []*string `json:"TagSet,omitempty" name:"TagSet" list`

	// 关键词应用场景。
	UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet" list`

	// 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AiSampleWordInfo

type AiSampleWordInfo struct {

	// 关键词,长度限制:20 个字符。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// 关键词标签
	// <li>数组长度限制:20 个标签;</li>
	// <li>单个标签长度限制:128 个字符。</li>
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`
}

type AnimatedGraphicTaskInput

type AnimatedGraphicTaskInput struct {

	// 视频转动图模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 动图在视频中的开始时间,单位为秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 动图在视频中的结束时间,单位为秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 转动图后文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`
}

type AnimatedGraphicsTemplate

type AnimatedGraphicsTemplate struct {

	// 转动图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板类型,取值范围:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 转动图模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 转动图模板描述。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 动图格式。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 帧率。
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// 图片质量。
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AsrFullTextConfigureInfo

type AsrFullTextConfigureInfo struct {

	// 语音全文识别任务开关,可选值:
	// <li>ON:开启智能语音全文识别任务;</li>
	// <li>OFF:关闭智能语音全文识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
	// <li>vtt:生成 WebVTT 字幕文件。</li>
	SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"`
}

type AsrFullTextConfigureInfoForUpdate

type AsrFullTextConfigureInfoForUpdate struct {

	// 语音全文识别任务开关,可选值:
	// <li>ON:开启智能语音全文识别任务;</li>
	// <li>OFF:关闭智能语音全文识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
	// <li>vtt:生成 WebVTT 字幕文件。</li>
	SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"`
}

type AsrWordsConfigureInfo

type AsrWordsConfigureInfo struct {

	// 语音关键词识别任务开关,可选值:
	// <li>ON:开启语音关键词识别任务;</li>
	// <li>OFF:关闭语音关键词识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`
}

type AsrWordsConfigureInfoForUpdate

type AsrWordsConfigureInfoForUpdate struct {

	// 语音关键词识别任务开关,可选值:
	// <li>ON:开启语音关键词识别任务;</li>
	// <li>OFF:关闭语音关键词识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`
}

type AudioTemplateInfo

type AudioTemplateInfo struct {

	// 音频流的编码格式。
	// 当外层参数 Container 为 mp3 时,可选值为:
	// <li>libmp3lame。</li>
	// 当外层参数 Container 为 ogg 或 flac 时,可选值为:
	// <li>flac。</li>
	// 当外层参数 Container 为 m4a 时,可选值为:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame;</li>
	// <li>ac3。</li>
	// 当外层参数 Container 为 mp4 或 flv 时,可选值为:
	// <li>libfdk_aac:更适合 mp4;</li>
	// <li>libmp3lame:更适合 flv。</li>
	// 当外层参数 Container 为 hls 时,可选值为:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame。</li>
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
	// 当取值为 0,表示音频码率和原始音频保持一致。
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 音频流的采样率,可选值:
	// <li>32000</li>
	// <li>44100</li>
	// <li>48000</li>
	// 单位:Hz。
	SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// 音频通道方式,可选值:
	// <li>1:单通道</li>
	// <li>2:双通道</li>
	// <li>6:立体声</li>
	// 默认值:2。
	AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"`
}

type AudioTemplateInfoForUpdate

type AudioTemplateInfoForUpdate struct {

	// 音频流的编码格式。
	// 当外层参数 Container 为 mp3 时,可选值为:
	// <li>libmp3lame。</li>
	// 当外层参数 Container 为 ogg 或 flac 时,可选值为:
	// <li>flac。</li>
	// 当外层参数 Container 为 m4a 时,可选值为:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame;</li>
	// <li>ac3。</li>
	// 当外层参数 Container 为 mp4 或 flv 时,可选值为:
	// <li>libfdk_aac:更适合 mp4;</li>
	// <li>libmp3lame:更适合 flv;</li>
	// <li>mp2。</li>
	// 当外层参数 Container 为 hls 时,可选值为:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame。</li>
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 音频流的采样率,可选值:
	// <li>32000</li>
	// <li>44100</li>
	// <li>48000</li>
	// 单位:Hz。
	SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// 音频通道方式,可选值:
	// <li>1:单通道</li>
	// <li>2:双通道</li>
	// <li>6:立体声</li>
	AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"`
}

type ClassificationConfigureInfo

type ClassificationConfigureInfo struct {

	// 智能分类任务开关,可选值:
	// <li>ON:开启智能分类任务;</li>
	// <li>OFF:关闭智能分类任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ClassificationConfigureInfoForUpdate

type ClassificationConfigureInfoForUpdate struct {

	// 智能分类任务开关,可选值:
	// <li>ON:开启智能分类任务;</li>
	// <li>OFF:关闭智能分类任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateAIAnalysisTemplate

func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)

创建用户自定义内容分析模板,数量上限:50。

func (*Client) CreateAIRecognitionTemplate

func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)

创建用户自定义内容识别模板,数量上限:50。

func (*Client) CreateAdaptiveDynamicStreamingTemplate

func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)

创建转自适应码流模板,数量上限:100。

func (*Client) CreateAnimatedGraphicsTemplate

func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)

创建用户自定义转动图模板,数量上限:16。

func (*Client) CreateContentReviewTemplate

func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)

创建用户自定义内容审核模板,数量上限:50。

func (*Client) CreateImageSpriteTemplate

func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)

创建用户自定义雪碧图模板,数量上限:16。

func (*Client) CreatePersonSample

func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)

该接口用于创建人物样本,用于通过人脸识别等技术,进行内容识别、内容审核等视频处理。

func (*Client) CreateSampleSnapshotTemplate

func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)

创建用户自定义采样截图模板,数量上限:16。

func (*Client) CreateSnapshotByTimeOffsetTemplate

func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)

创建用户自定义指定时间点截图模板,数量上限:16。

func (*Client) CreateTranscodeTemplate

func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)

创建用户自定义转码模板,数量上限:1000。

func (*Client) CreateWatermarkTemplate

func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)

创建用户自定义水印模板,数量上限:1000。

func (*Client) CreateWordSamples

func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)

该接口用于批量创建关键词样本,样本用于通过OCR、ASR技术,进行内容审核、内容识别等视频处理。

func (*Client) CreateWorkflow

func (c *Client) CreateWorkflow(request *CreateWorkflowRequest) (response *CreateWorkflowResponse, err error)

对 COS 中指定 Bucket 的目录下上传的媒体文件,设置处理规则,包括: 1. 视频转码(带水印); 2. 视频转动图; 3. 对视频按指定时间点截图; 4. 对视频采样截图; 5. 对视频截图雪碧图; 6. 对视频转自适应码流; 7. 智能内容审核(鉴黄、鉴恐、鉴政); 8. 智能内容分析(标签、分类、封面、按帧标签); 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。

注意:创建工作流成功后是禁用状态,需要手动启用。

func (*Client) DeleteAIAnalysisTemplate

func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)

删除用户自定义内容分析模板。

注意:模板 ID 为 10000 以下的为系统预置模板,不允许删除。

func (*Client) DeleteAIRecognitionTemplate

func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)

删除用户自定义内容识别模板。

func (*Client) DeleteAdaptiveDynamicStreamingTemplate

func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)

删除转自适应码流模板

func (*Client) DeleteAnimatedGraphicsTemplate

func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)

删除用户自定义转动图模板。

func (*Client) DeleteContentReviewTemplate

func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)

删除用户自定义内容审核模板。

func (*Client) DeleteImageSpriteTemplate

func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)

删除雪碧图模板。

func (*Client) DeletePersonSample

func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)

该接口用于根据人物 ID,删除人物样本。

func (*Client) DeleteSampleSnapshotTemplate

func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)

删除用户自定义采样截图模板。

func (*Client) DeleteSnapshotByTimeOffsetTemplate

func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)

删除用户自定义指定时间点截图模板。

func (*Client) DeleteTranscodeTemplate

func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)

删除用户自定义转码模板。

func (*Client) DeleteWatermarkTemplate

func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)

删除用户自定义水印模板。

func (*Client) DeleteWordSamples

func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)

该接口用于批量删除关键词样本。

func (*Client) DeleteWorkflow

func (c *Client) DeleteWorkflow(request *DeleteWorkflowRequest) (response *DeleteWorkflowResponse, err error)

删除工作流。对于已启用的工作流,需要禁用后才能删除。

func (*Client) DescribeAIAnalysisTemplates

func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)

根据内容分析模板唯一标识,获取内容分析模板详情列表。返回结果包含符合条件的所有用户自定义内容分析模板及系统预置视频内容分析模板

func (*Client) DescribeAIRecognitionTemplates

func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)

根据内容识别模板唯一标识,获取内容识别模板详情列表。返回结果包含符合条件的所有用户自定义内容识别模板及系统预置视频内容识别模板

func (*Client) DescribeAdaptiveDynamicStreamingTemplates

func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)

查询转自适应码流模板,支持根据条件,分页查询。

func (*Client) DescribeAnimatedGraphicsTemplates

func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)

查询转动图模板列表,支持根据条件,分页查询。

func (*Client) DescribeContentReviewTemplates

func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)

根据内容审核模板唯一标识,获取内容审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及系统预置内容审核模板。

func (*Client) DescribeImageSpriteTemplates

func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)

查询雪碧图模板,支持根据条件,分页查询。

func (*Client) DescribeMediaMetaData

func (c *Client) DescribeMediaMetaData(request *DescribeMediaMetaDataRequest) (response *DescribeMediaMetaDataResponse, err error)

获取媒体的元信息,包括视频画面宽、高、编码格式、时长、帧率等。

func (*Client) DescribePersonSamples

func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)

该接口用于查询人物样本信息,支持根据人物 ID、名称、标签,分页查询。

func (*Client) DescribeSampleSnapshotTemplates

func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)

查询采样截图模板,支持根据条件,分页查询。

func (*Client) DescribeSnapshotByTimeOffsetTemplates

func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)

查询指定时间点截图模板,支持根据条件,分页查询。

func (*Client) DescribeTaskDetail

func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)

通过任务 ID 查询任务的执行状态和结果的详细信息(最多可以查询3天之内提交的任务)。

func (*Client) DescribeTasks

func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

* 该接口用于查询任务列表; * 当列表数据比较多时,单次接口调用无法拉取整个列表,可通过 ScrollToken 参数,分批拉取; * 只能查询到最近三天(72 小时)内的任务。

func (*Client) DescribeTranscodeTemplates

func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)

根据转码模板唯一标识,获取转码模板详情列表。返回结果包含符合条件的所有用户自定义模板及[系统预置转码模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF)。

func (*Client) DescribeWatermarkTemplates

func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)

查询用户自定义水印模板,支持根据条件,分页查询。

func (*Client) DescribeWordSamples

func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)

该接口用于根据应用场景、关键词、标签,分页查询关键词样本信息。

func (*Client) DescribeWorkflows

func (c *Client) DescribeWorkflows(request *DescribeWorkflowsRequest) (response *DescribeWorkflowsResponse, err error)

根据工作流 ID,获取工作流详情列表。

func (*Client) DisableWorkflow

func (c *Client) DisableWorkflow(request *DisableWorkflowRequest) (response *DisableWorkflowResponse, err error)

禁用工作流。

func (*Client) EditMedia

func (c *Client) EditMedia(request *EditMediaRequest) (response *EditMediaResponse, err error)

对视频进行编辑(剪辑、拼接等),生成一个新的点播视频。编辑的功能包括:

1. 对一个文件进行剪辑,生成一个新的视频; 2. 对多个文件进行拼接,生成一个新的视频; 3. 对多个文件进行剪辑,然后再拼接,生成一个新的视频。

func (*Client) EnableWorkflow

func (c *Client) EnableWorkflow(request *EnableWorkflowRequest) (response *EnableWorkflowResponse, err error)

启用工作流。

func (*Client) ManageTask

func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)

对已发起的任务进行管理。 > 注意:目前仅支持终止执行中的直播流处理任务。

func (*Client) ModifyAIAnalysisTemplate

func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)

修改用户自定义内容分析模板。

注意:模板 ID 10000 以下的为系统预置模板,不允许修改。

func (*Client) ModifyAIRecognitionTemplate

func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)

修改用户自定义内容识别模板。

func (*Client) ModifyAdaptiveDynamicStreamingTemplate

func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)

修改转自适应码流模板

func (*Client) ModifyAnimatedGraphicsTemplate

func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)

修改用户自定义转动图模板。

func (*Client) ModifyContentReviewTemplate

func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)

修改用户自定义内容审核模板。

func (*Client) ModifyImageSpriteTemplate

func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)

修改用户自定义雪碧图模板。

func (*Client) ModifyPersonSample

func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)

该接口用于根据人物 ID,修改人物样本信息,包括名称、描述的修改,以及人脸、标签的添加、删除、重置操作。人脸删除操作需保证至少剩余 1 张图片,否则,请使用重置操作。

func (*Client) ModifySampleSnapshotTemplate

func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)

修改用户自定义采样截图模板。

func (*Client) ModifySnapshotByTimeOffsetTemplate

func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)

修改用户自定义指定时间点截图模板。

func (*Client) ModifyTranscodeTemplate

func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)

修改用户自定义转码模板信息。

func (*Client) ModifyWatermarkTemplate

func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)

修改用户自定义水印模板,水印类型不允许修改。

func (*Client) ModifyWordSample

func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)

该接口用于修改关键词的应用场景、标签,关键词本身不可修改,如需修改,可删除重建。

func (*Client) ParseLiveStreamProcessNotification

func (c *Client) ParseLiveStreamProcessNotification(request *ParseLiveStreamProcessNotificationRequest) (response *ParseLiveStreamProcessNotificationResponse, err error)

从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 直播流处理事件通知的内容。 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 的中解析函数的实现事件通知的解析。

func (*Client) ParseNotification

func (c *Client) ParseNotification(request *ParseNotificationRequest) (response *ParseNotificationResponse, err error)

从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 事件通知的内容。 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 的中解析函数的实现事件通知的解析。

func (*Client) ProcessLiveStream

func (c *Client) ProcessLiveStream(request *ProcessLiveStreamRequest) (response *ProcessLiveStreamResponse, err error)

对直播流媒体发起处理任务,功能包括:

* 智能内容审核(画面鉴黄、鉴政、鉴暴、声音鉴黄)。

直播流处理事件通知实时写入用户指定的消息队列 CMQ 中,用户需要从消息队列 CMQ 中获取事件通知结果,同时处理过程中存在输出文件的,会写入用户指定的输出文件的目标存储中。

func (*Client) ProcessMedia

func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)

对 COS 中的媒体文件发起处理任务,功能包括: 1. 视频转码(带水印); 2. 视频转动图; 3. 对视频按指定时间点截图; 4. 对视频采样截图; 5. 对视频截图雪碧图; 6. 对视频转自适应码流; 7. 智能内容审核(鉴黄、鉴恐、鉴政); 8. 智能内容分析(标签、分类、封面、按帧标签); 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。

func (*Client) ResetWorkflow

func (c *Client) ResetWorkflow(request *ResetWorkflowRequest) (response *ResetWorkflowResponse, err error)

重新设置一个已经存在且处于禁用状态的工作流。

type ContentReviewTemplateItem

type ContentReviewTemplateItem struct {

	// 内容审核模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 内容审核模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 内容审核模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 鉴黄控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// 鉴恐控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// 鉴政控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// 违禁控制参数。违禁内容包括:
	// <li>谩骂;</li>
	// <li>涉毒违法。</li>
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// 用户自定义内容审核控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type CosFileUploadTrigger

type CosFileUploadTrigger struct {

	// 工作流绑定的 COS Bucket 名,如 TopRankVideo-125xxx88。
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`

	// 工作流绑定的 COS Bucket 所属园区,如 ap-chongiqng。
	Region *string `json:"Region,omitempty" name:"Region"`

	// 工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。
	Dir *string `json:"Dir,omitempty" name:"Dir"`

	// 工作流允许触发的文件格式列表,如 ["mp4", "flv", "mov"]。不填代表所有格式的文件都可以触发工作流。
	Formats []*string `json:"Formats,omitempty" name:"Formats" list`
}

type CosInputInfo

type CosInputInfo struct {

	// 视频处理对象文件所在的 COS Bucket 名,如 TopRankVideo-125xxx88。
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`

	// 视频处理对象文件所在的 COS Bucket 所属园区,如 ap-chongqing。
	Region *string `json:"Region,omitempty" name:"Region"`

	// 视频处理对象文件的输入路径,如`/movie/201907/WildAnimal.mov`。
	Object *string `json:"Object,omitempty" name:"Object"`
}

type CosOutputStorage

type CosOutputStorage struct {

	// 视频处理生成的文件输出的目标 Bucket 名,如 TopRankVideo-125xxx88。如果不填,表示继承上层。
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`

	// 视频处理生成的文件输出的目标 Bucket 的园区,如 ap-chongqing。如果不填,表示继承上层。
	Region *string `json:"Region,omitempty" name:"Region"`
}

type CoverConfigureInfo

type CoverConfigureInfo struct {

	// 智能封面任务开关,可选值:
	// <li>ON:开启智能封面任务;</li>
	// <li>OFF:关闭智能封面任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CoverConfigureInfoForUpdate

type CoverConfigureInfoForUpdate struct {

	// 智能封面任务开关,可选值:
	// <li>ON:开启智能封面任务;</li>
	// <li>OFF:关闭智能封面任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CreateAIAnalysisTemplateRequest

type CreateAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容分析模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 视频内容分析模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 智能分类任务控制参数。
	ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// 智能标签任务控制参数。
	TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// 智能封面任务控制参数。
	CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// 智能按帧标签任务控制参数。
	FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`
}

func NewCreateAIAnalysisTemplateRequest

func NewCreateAIAnalysisTemplateRequest() (request *CreateAIAnalysisTemplateRequest)

func (*CreateAIAnalysisTemplateRequest) FromJsonString

func (r *CreateAIAnalysisTemplateRequest) FromJsonString(s string) error

func (*CreateAIAnalysisTemplateRequest) ToJsonString

func (r *CreateAIAnalysisTemplateRequest) ToJsonString() string

type CreateAIAnalysisTemplateResponse

type CreateAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 视频内容分析模板唯一标识。
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAIAnalysisTemplateResponse

func NewCreateAIAnalysisTemplateResponse() (response *CreateAIAnalysisTemplateResponse)

func (*CreateAIAnalysisTemplateResponse) FromJsonString

func (r *CreateAIAnalysisTemplateResponse) FromJsonString(s string) error

func (*CreateAIAnalysisTemplateResponse) ToJsonString

func (r *CreateAIAnalysisTemplateResponse) ToJsonString() string

type CreateAIRecognitionTemplateRequest

type CreateAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容识别模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 视频内容识别模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 人脸识别控制参数。
	FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// 文本全文识别控制参数。
	OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// 文本关键词识别控制参数。
	OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// 语音全文识别控制参数。
	AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// 语音关键词识别控制参数。
	AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`
}

func NewCreateAIRecognitionTemplateRequest

func NewCreateAIRecognitionTemplateRequest() (request *CreateAIRecognitionTemplateRequest)

func (*CreateAIRecognitionTemplateRequest) FromJsonString

func (r *CreateAIRecognitionTemplateRequest) FromJsonString(s string) error

func (*CreateAIRecognitionTemplateRequest) ToJsonString

func (r *CreateAIRecognitionTemplateRequest) ToJsonString() string

type CreateAIRecognitionTemplateResponse

type CreateAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 视频内容识别模板唯一标识。
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAIRecognitionTemplateResponse

func NewCreateAIRecognitionTemplateResponse() (response *CreateAIRecognitionTemplateResponse)

func (*CreateAIRecognitionTemplateResponse) FromJsonString

func (r *CreateAIRecognitionTemplateResponse) FromJsonString(s string) error

func (*CreateAIRecognitionTemplateResponse) ToJsonString

func (r *CreateAIRecognitionTemplateResponse) ToJsonString() string

type CreateAdaptiveDynamicStreamingTemplateRequest

type CreateAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// 自适应转码格式,取值范围:
	// <li>HLS,</li>
	// <li>MPEG-DASH。</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// 转自适应码流输出子流参数信息,最多输出10路子流。
	// 注意:各个子流的帧率必须保持一致;如果不一致,采用第一个子流的帧率作为输出帧率。
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos" list`

	// 模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 是否禁止视频低码率转高码率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	// 默认为否。
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// 是否禁止视频分辨率转高分辨率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	// 默认为否。
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewCreateAdaptiveDynamicStreamingTemplateRequest

func NewCreateAdaptiveDynamicStreamingTemplateRequest() (request *CreateAdaptiveDynamicStreamingTemplateRequest)

func (*CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString

func (*CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type CreateAdaptiveDynamicStreamingTemplateResponse

type CreateAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 自适应转码模板唯一标识。
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAdaptiveDynamicStreamingTemplateResponse

func NewCreateAdaptiveDynamicStreamingTemplateResponse() (response *CreateAdaptiveDynamicStreamingTemplateResponse)

func (*CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString

func (*CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type CreateAnimatedGraphicsTemplateRequest

type CreateAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// 帧率,取值范围:[1, 30],单位:Hz。
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 动图格式,取值为 gif 和 webp。默认为 gif。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 图片质量,取值范围:[1, 100],默认值为 75。
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// 转动图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewCreateAnimatedGraphicsTemplateRequest

func NewCreateAnimatedGraphicsTemplateRequest() (request *CreateAnimatedGraphicsTemplateRequest)

func (*CreateAnimatedGraphicsTemplateRequest) FromJsonString

func (r *CreateAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

func (*CreateAnimatedGraphicsTemplateRequest) ToJsonString

type CreateAnimatedGraphicsTemplateResponse

type CreateAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 转动图模板唯一标识。
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAnimatedGraphicsTemplateResponse

func NewCreateAnimatedGraphicsTemplateResponse() (response *CreateAnimatedGraphicsTemplateResponse)

func (*CreateAnimatedGraphicsTemplateResponse) FromJsonString

func (*CreateAnimatedGraphicsTemplateResponse) ToJsonString

type CreateContentReviewTemplateRequest

type CreateContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// 内容审核模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 内容审核模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 鉴黄控制参数。
	PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// 鉴恐控制参数。
	TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// 鉴政控制参数。
	PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// 违禁控制参数。违禁内容包括:
	// <li>谩骂;</li>
	// <li>涉毒违法。</li>
	// 注意:此参数尚未支持。
	ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// 用户自定义内容审核控制参数。
	UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`
}

func NewCreateContentReviewTemplateRequest

func NewCreateContentReviewTemplateRequest() (request *CreateContentReviewTemplateRequest)

func (*CreateContentReviewTemplateRequest) FromJsonString

func (r *CreateContentReviewTemplateRequest) FromJsonString(s string) error

func (*CreateContentReviewTemplateRequest) ToJsonString

func (r *CreateContentReviewTemplateRequest) ToJsonString() string

type CreateContentReviewTemplateResponse

type CreateContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 内容审核模板唯一标识。
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateContentReviewTemplateResponse

func NewCreateContentReviewTemplateResponse() (response *CreateContentReviewTemplateResponse)

func (*CreateContentReviewTemplateResponse) FromJsonString

func (r *CreateContentReviewTemplateResponse) FromJsonString(s string) error

func (*CreateContentReviewTemplateResponse) ToJsonString

func (r *CreateContentReviewTemplateResponse) ToJsonString() string

type CreateImageSpriteTemplateRequest

type CreateImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// 采样类型,取值:
	// <li>Percent:按百分比。</li>
	// <li>Time:按时间间隔。</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	// <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
	// <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 雪碧图中小图的行数。
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// 雪碧图中小图的列数。
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// 雪碧图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewCreateImageSpriteTemplateRequest

func NewCreateImageSpriteTemplateRequest() (request *CreateImageSpriteTemplateRequest)

func (*CreateImageSpriteTemplateRequest) FromJsonString

func (r *CreateImageSpriteTemplateRequest) FromJsonString(s string) error

func (*CreateImageSpriteTemplateRequest) ToJsonString

func (r *CreateImageSpriteTemplateRequest) ToJsonString() string

type CreateImageSpriteTemplateResponse

type CreateImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 雪碧图模板唯一标识。
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateImageSpriteTemplateResponse

func NewCreateImageSpriteTemplateResponse() (response *CreateImageSpriteTemplateResponse)

func (*CreateImageSpriteTemplateResponse) FromJsonString

func (r *CreateImageSpriteTemplateResponse) FromJsonString(s string) error

func (*CreateImageSpriteTemplateResponse) ToJsonString

func (r *CreateImageSpriteTemplateResponse) ToJsonString() string

type CreatePersonSampleRequest

type CreatePersonSampleRequest struct {
	*tchttp.BaseRequest

	// 人物名称,长度限制:20 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 人物应用场景,可选值:
	// 1. Recognition:用于内容识别,等价于 Recognition.Face。
	// 2. Review:用于内容审核,等价于 Review.Face。
	// 3. All:用于内容识别、内容审核,等价于 1+2。
	Usages []*string `json:"Usages,omitempty" name:"Usages" list`

	// 人物描述,长度限制:1024 个字符。
	Description *string `json:"Description,omitempty" name:"Description"`

	// 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串,仅支持 jpeg、png 图片格式。数组长度限制:5 张图片。
	// 注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
	FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents" list`

	// 人物标签
	// <li>数组长度限制:20 个标签;</li>
	// <li>单个标签长度限制:128 个字符。</li>
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`
}

func NewCreatePersonSampleRequest

func NewCreatePersonSampleRequest() (request *CreatePersonSampleRequest)

func (*CreatePersonSampleRequest) FromJsonString

func (r *CreatePersonSampleRequest) FromJsonString(s string) error

func (*CreatePersonSampleRequest) ToJsonString

func (r *CreatePersonSampleRequest) ToJsonString() string

type CreatePersonSampleResponse

type CreatePersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 人物信息。
		Person *AiSamplePerson `json:"Person,omitempty" name:"Person"`

		// 处理失败的人脸信息。
		FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreatePersonSampleResponse

func NewCreatePersonSampleResponse() (response *CreatePersonSampleResponse)

func (*CreatePersonSampleResponse) FromJsonString

func (r *CreatePersonSampleResponse) FromJsonString(s string) error

func (*CreatePersonSampleResponse) ToJsonString

func (r *CreatePersonSampleResponse) ToJsonString() string

type CreateSampleSnapshotTemplateRequest

type CreateSampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// 采样截图类型,取值:
	// <li>Percent:按百分比。</li>
	// <li>Time:按时间间隔。</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	// <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
	// <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 采样截图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 图片格式,取值为 jpg 和 png。默认为 jpg。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewCreateSampleSnapshotTemplateRequest

func NewCreateSampleSnapshotTemplateRequest() (request *CreateSampleSnapshotTemplateRequest)

func (*CreateSampleSnapshotTemplateRequest) FromJsonString

func (r *CreateSampleSnapshotTemplateRequest) FromJsonString(s string) error

func (*CreateSampleSnapshotTemplateRequest) ToJsonString

func (r *CreateSampleSnapshotTemplateRequest) ToJsonString() string

type CreateSampleSnapshotTemplateResponse

type CreateSampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 采样截图模板唯一标识。
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSampleSnapshotTemplateResponse

func NewCreateSampleSnapshotTemplateResponse() (response *CreateSampleSnapshotTemplateResponse)

func (*CreateSampleSnapshotTemplateResponse) FromJsonString

func (r *CreateSampleSnapshotTemplateResponse) FromJsonString(s string) error

func (*CreateSampleSnapshotTemplateResponse) ToJsonString

func (r *CreateSampleSnapshotTemplateResponse) ToJsonString() string

type CreateSnapshotByTimeOffsetTemplateRequest

type CreateSnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// 指定时间点截图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 图片格式,取值可以为 jpg 和 png。默认为 jpg。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewCreateSnapshotByTimeOffsetTemplateRequest

func NewCreateSnapshotByTimeOffsetTemplateRequest() (request *CreateSnapshotByTimeOffsetTemplateRequest)

func (*CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString

func (*CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString

type CreateSnapshotByTimeOffsetTemplateResponse

type CreateSnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 时间点截图模板唯一标识。
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSnapshotByTimeOffsetTemplateResponse

func NewCreateSnapshotByTimeOffsetTemplateResponse() (response *CreateSnapshotByTimeOffsetTemplateResponse)

func (*CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString

func (*CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString

type CreateTranscodeTemplateRequest

type CreateTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 转码模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 是否去除视频数据,可选值:
	// <li>0:保留</li>
	// <li>1:去除</li>
	// 默认值:0。
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// 是否去除音频数据,可选值:
	// <li>0:保留</li>
	// <li>1:去除</li>
	// 默认值:0。
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// 视频流配置参数,当 RemoveVideo 为 0,该字段必填。
	VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// 音频流配置参数,当 RemoveAudio 为 0,该字段必填。
	AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// 极速高清转码参数。
	TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"`
}

func NewCreateTranscodeTemplateRequest

func NewCreateTranscodeTemplateRequest() (request *CreateTranscodeTemplateRequest)

func (*CreateTranscodeTemplateRequest) FromJsonString

func (r *CreateTranscodeTemplateRequest) FromJsonString(s string) error

func (*CreateTranscodeTemplateRequest) ToJsonString

func (r *CreateTranscodeTemplateRequest) ToJsonString() string

type CreateTranscodeTemplateResponse

type CreateTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 转码模板唯一标识。
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTranscodeTemplateResponse

func NewCreateTranscodeTemplateResponse() (response *CreateTranscodeTemplateResponse)

func (*CreateTranscodeTemplateResponse) FromJsonString

func (r *CreateTranscodeTemplateResponse) FromJsonString(s string) error

func (*CreateTranscodeTemplateResponse) ToJsonString

func (r *CreateTranscodeTemplateResponse) ToJsonString() string

type CreateWatermarkTemplateRequest

type CreateWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// 水印类型,可选值:
	// <li>image:图片水印;</li>
	// <li>text:文字水印;</li>
	// <li>svg:SVG 水印。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 水印模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 原点位置,可选值:
	// <li>TopLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
	// <li>TopRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>
	// <li>BottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
	// <li>BottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下角。</li>
	// 默认值:TopLeft。
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// 水印原点距离视频图像坐标原点的水平位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 XPos 为指定像素,如 100px 表示 XPos 为 100 像素。</li>
	// 默认值:0px。
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// 水印原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 YPos 为指定像素,如 100px 表示 YPos 为 100 像素。</li>
	// 默认值:0px。
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// 图片水印模板,仅当 Type 为 image,该字段必填且有效。
	ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// 文字水印模板,仅当 Type 为 text,该字段必填且有效。
	TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG 水印模板,仅当 Type 为 svg,该字段必填且有效。
	SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"`
}

func NewCreateWatermarkTemplateRequest

func NewCreateWatermarkTemplateRequest() (request *CreateWatermarkTemplateRequest)

func (*CreateWatermarkTemplateRequest) FromJsonString

func (r *CreateWatermarkTemplateRequest) FromJsonString(s string) error

func (*CreateWatermarkTemplateRequest) ToJsonString

func (r *CreateWatermarkTemplateRequest) ToJsonString() string

type CreateWatermarkTemplateResponse

type CreateWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 水印模板唯一标识。
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// 水印图片地址,仅当 Type 为 image,该字段有效。
		ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWatermarkTemplateResponse

func NewCreateWatermarkTemplateResponse() (response *CreateWatermarkTemplateResponse)

func (*CreateWatermarkTemplateResponse) FromJsonString

func (r *CreateWatermarkTemplateResponse) FromJsonString(s string) error

func (*CreateWatermarkTemplateResponse) ToJsonString

func (r *CreateWatermarkTemplateResponse) ToJsonString() string

type CreateWordSamplesRequest

type CreateWordSamplesRequest struct {
	*tchttp.BaseRequest

	// <b>关键词应用场景,可选值:</b>
	// 1. Recognition.Ocr:通过光学字符识别技术,进行内容识别;
	// 2. Recognition.Asr:通过语音识别技术,进行内容识别;
	// 3. Review.Ocr:通过光学字符识别技术,进行内容审核;
	// 4. Review.Asr:通过语音识别技术,进行内容审核;
	// <b>可合并简写为:</b>
	// 5. Recognition:通过光学字符识别技术、语音识别技术,进行内容识别,等价于 1+2;
	// 6. Review:通过光学字符识别技术、语音识别技术,进行内容审核,等价于 3+4;
	// 7. All:通过光学字符识别技术、语音识别技术,进行内容识别、内容审核,等价于 1+2+3+4。
	Usages []*string `json:"Usages,omitempty" name:"Usages" list`

	// 关键词,数组长度限制:100。
	Words []*AiSampleWordInfo `json:"Words,omitempty" name:"Words" list`
}

func NewCreateWordSamplesRequest

func NewCreateWordSamplesRequest() (request *CreateWordSamplesRequest)

func (*CreateWordSamplesRequest) FromJsonString

func (r *CreateWordSamplesRequest) FromJsonString(s string) error

func (*CreateWordSamplesRequest) ToJsonString

func (r *CreateWordSamplesRequest) ToJsonString() string

type CreateWordSamplesResponse

type CreateWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWordSamplesResponse

func NewCreateWordSamplesResponse() (response *CreateWordSamplesResponse)

func (*CreateWordSamplesResponse) FromJsonString

func (r *CreateWordSamplesResponse) FromJsonString(s string) error

func (*CreateWordSamplesResponse) ToJsonString

func (r *CreateWordSamplesResponse) ToJsonString() string

type CreateWorkflowRequest

type CreateWorkflowRequest struct {
	*tchttp.BaseRequest

	// 工作流名称,最多128字符。同一个用户该名称唯一。
	WorkflowName *string `json:"WorkflowName,omitempty" name:"WorkflowName"`

	// 工作流绑定的触发规则,当上传视频命中该规则到该对象时即触发工作流。
	Trigger *WorkflowTrigger `json:"Trigger,omitempty" name:"Trigger"`

	// 视频处理的文件输出存储位置。不填则继承 Trigger 中的存储位置。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 视频处理生成的文件输出的目标目录,如`/movie/201907/`。如果不填,表示与触发文件所在的目录一致。
	OutputDir *string `json:"OutputDir,omitempty" name:"OutputDir"`

	// 视频处理类型任务参数。
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// 视频内容审核类型任务参数。
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// 视频内容分析类型任务参数。
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// 视频内容识别类型任务参数。
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// 任务的事件通知配置,不填代表不获取事件通知。
	TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

	// 工作流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
	TaskPriority *int64 `json:"TaskPriority,omitempty" name:"TaskPriority"`
}

func NewCreateWorkflowRequest

func NewCreateWorkflowRequest() (request *CreateWorkflowRequest)

func (*CreateWorkflowRequest) FromJsonString

func (r *CreateWorkflowRequest) FromJsonString(s string) error

func (*CreateWorkflowRequest) ToJsonString

func (r *CreateWorkflowRequest) ToJsonString() string

type CreateWorkflowResponse

type CreateWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 工作流 ID。
		WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWorkflowResponse

func NewCreateWorkflowResponse() (response *CreateWorkflowResponse)

func (*CreateWorkflowResponse) FromJsonString

func (r *CreateWorkflowResponse) FromJsonString(s string) error

func (*CreateWorkflowResponse) ToJsonString

func (r *CreateWorkflowResponse) ToJsonString() string

type DeleteAIAnalysisTemplateRequest

type DeleteAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容分析模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteAIAnalysisTemplateRequest

func NewDeleteAIAnalysisTemplateRequest() (request *DeleteAIAnalysisTemplateRequest)

func (*DeleteAIAnalysisTemplateRequest) FromJsonString

func (r *DeleteAIAnalysisTemplateRequest) FromJsonString(s string) error

func (*DeleteAIAnalysisTemplateRequest) ToJsonString

func (r *DeleteAIAnalysisTemplateRequest) ToJsonString() string

type DeleteAIAnalysisTemplateResponse

type DeleteAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAIAnalysisTemplateResponse

func NewDeleteAIAnalysisTemplateResponse() (response *DeleteAIAnalysisTemplateResponse)

func (*DeleteAIAnalysisTemplateResponse) FromJsonString

func (r *DeleteAIAnalysisTemplateResponse) FromJsonString(s string) error

func (*DeleteAIAnalysisTemplateResponse) ToJsonString

func (r *DeleteAIAnalysisTemplateResponse) ToJsonString() string

type DeleteAIRecognitionTemplateRequest

type DeleteAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容识别模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteAIRecognitionTemplateRequest

func NewDeleteAIRecognitionTemplateRequest() (request *DeleteAIRecognitionTemplateRequest)

func (*DeleteAIRecognitionTemplateRequest) FromJsonString

func (r *DeleteAIRecognitionTemplateRequest) FromJsonString(s string) error

func (*DeleteAIRecognitionTemplateRequest) ToJsonString

func (r *DeleteAIRecognitionTemplateRequest) ToJsonString() string

type DeleteAIRecognitionTemplateResponse

type DeleteAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAIRecognitionTemplateResponse

func NewDeleteAIRecognitionTemplateResponse() (response *DeleteAIRecognitionTemplateResponse)

func (*DeleteAIRecognitionTemplateResponse) FromJsonString

func (r *DeleteAIRecognitionTemplateResponse) FromJsonString(s string) error

func (*DeleteAIRecognitionTemplateResponse) ToJsonString

func (r *DeleteAIRecognitionTemplateResponse) ToJsonString() string

type DeleteAdaptiveDynamicStreamingTemplateRequest

type DeleteAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// 自适应转码模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteAdaptiveDynamicStreamingTemplateRequest

func NewDeleteAdaptiveDynamicStreamingTemplateRequest() (request *DeleteAdaptiveDynamicStreamingTemplateRequest)

func (*DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString

func (*DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type DeleteAdaptiveDynamicStreamingTemplateResponse

type DeleteAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAdaptiveDynamicStreamingTemplateResponse

func NewDeleteAdaptiveDynamicStreamingTemplateResponse() (response *DeleteAdaptiveDynamicStreamingTemplateResponse)

func (*DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString

func (*DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type DeleteAnimatedGraphicsTemplateRequest

type DeleteAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// 转动图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteAnimatedGraphicsTemplateRequest

func NewDeleteAnimatedGraphicsTemplateRequest() (request *DeleteAnimatedGraphicsTemplateRequest)

func (*DeleteAnimatedGraphicsTemplateRequest) FromJsonString

func (r *DeleteAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

func (*DeleteAnimatedGraphicsTemplateRequest) ToJsonString

type DeleteAnimatedGraphicsTemplateResponse

type DeleteAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAnimatedGraphicsTemplateResponse

func NewDeleteAnimatedGraphicsTemplateResponse() (response *DeleteAnimatedGraphicsTemplateResponse)

func (*DeleteAnimatedGraphicsTemplateResponse) FromJsonString

func (*DeleteAnimatedGraphicsTemplateResponse) ToJsonString

type DeleteContentReviewTemplateRequest

type DeleteContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// 内容审核模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteContentReviewTemplateRequest

func NewDeleteContentReviewTemplateRequest() (request *DeleteContentReviewTemplateRequest)

func (*DeleteContentReviewTemplateRequest) FromJsonString

func (r *DeleteContentReviewTemplateRequest) FromJsonString(s string) error

func (*DeleteContentReviewTemplateRequest) ToJsonString

func (r *DeleteContentReviewTemplateRequest) ToJsonString() string

type DeleteContentReviewTemplateResponse

type DeleteContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteContentReviewTemplateResponse

func NewDeleteContentReviewTemplateResponse() (response *DeleteContentReviewTemplateResponse)

func (*DeleteContentReviewTemplateResponse) FromJsonString

func (r *DeleteContentReviewTemplateResponse) FromJsonString(s string) error

func (*DeleteContentReviewTemplateResponse) ToJsonString

func (r *DeleteContentReviewTemplateResponse) ToJsonString() string

type DeleteImageSpriteTemplateRequest

type DeleteImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// 雪碧图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteImageSpriteTemplateRequest

func NewDeleteImageSpriteTemplateRequest() (request *DeleteImageSpriteTemplateRequest)

func (*DeleteImageSpriteTemplateRequest) FromJsonString

func (r *DeleteImageSpriteTemplateRequest) FromJsonString(s string) error

func (*DeleteImageSpriteTemplateRequest) ToJsonString

func (r *DeleteImageSpriteTemplateRequest) ToJsonString() string

type DeleteImageSpriteTemplateResponse

type DeleteImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteImageSpriteTemplateResponse

func NewDeleteImageSpriteTemplateResponse() (response *DeleteImageSpriteTemplateResponse)

func (*DeleteImageSpriteTemplateResponse) FromJsonString

func (r *DeleteImageSpriteTemplateResponse) FromJsonString(s string) error

func (*DeleteImageSpriteTemplateResponse) ToJsonString

func (r *DeleteImageSpriteTemplateResponse) ToJsonString() string

type DeletePersonSampleRequest

type DeletePersonSampleRequest struct {
	*tchttp.BaseRequest

	// 人物 ID。
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
}

func NewDeletePersonSampleRequest

func NewDeletePersonSampleRequest() (request *DeletePersonSampleRequest)

func (*DeletePersonSampleRequest) FromJsonString

func (r *DeletePersonSampleRequest) FromJsonString(s string) error

func (*DeletePersonSampleRequest) ToJsonString

func (r *DeletePersonSampleRequest) ToJsonString() string

type DeletePersonSampleResponse

type DeletePersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeletePersonSampleResponse

func NewDeletePersonSampleResponse() (response *DeletePersonSampleResponse)

func (*DeletePersonSampleResponse) FromJsonString

func (r *DeletePersonSampleResponse) FromJsonString(s string) error

func (*DeletePersonSampleResponse) ToJsonString

func (r *DeletePersonSampleResponse) ToJsonString() string

type DeleteSampleSnapshotTemplateRequest

type DeleteSampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// 采样截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteSampleSnapshotTemplateRequest

func NewDeleteSampleSnapshotTemplateRequest() (request *DeleteSampleSnapshotTemplateRequest)

func (*DeleteSampleSnapshotTemplateRequest) FromJsonString

func (r *DeleteSampleSnapshotTemplateRequest) FromJsonString(s string) error

func (*DeleteSampleSnapshotTemplateRequest) ToJsonString

func (r *DeleteSampleSnapshotTemplateRequest) ToJsonString() string

type DeleteSampleSnapshotTemplateResponse

type DeleteSampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSampleSnapshotTemplateResponse

func NewDeleteSampleSnapshotTemplateResponse() (response *DeleteSampleSnapshotTemplateResponse)

func (*DeleteSampleSnapshotTemplateResponse) FromJsonString

func (r *DeleteSampleSnapshotTemplateResponse) FromJsonString(s string) error

func (*DeleteSampleSnapshotTemplateResponse) ToJsonString

func (r *DeleteSampleSnapshotTemplateResponse) ToJsonString() string

type DeleteSnapshotByTimeOffsetTemplateRequest

type DeleteSnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// 指定时间点截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteSnapshotByTimeOffsetTemplateRequest

func NewDeleteSnapshotByTimeOffsetTemplateRequest() (request *DeleteSnapshotByTimeOffsetTemplateRequest)

func (*DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString

func (*DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString

type DeleteSnapshotByTimeOffsetTemplateResponse

type DeleteSnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSnapshotByTimeOffsetTemplateResponse

func NewDeleteSnapshotByTimeOffsetTemplateResponse() (response *DeleteSnapshotByTimeOffsetTemplateResponse)

func (*DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString

func (*DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString

type DeleteTranscodeTemplateRequest

type DeleteTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// 转码模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteTranscodeTemplateRequest

func NewDeleteTranscodeTemplateRequest() (request *DeleteTranscodeTemplateRequest)

func (*DeleteTranscodeTemplateRequest) FromJsonString

func (r *DeleteTranscodeTemplateRequest) FromJsonString(s string) error

func (*DeleteTranscodeTemplateRequest) ToJsonString

func (r *DeleteTranscodeTemplateRequest) ToJsonString() string

type DeleteTranscodeTemplateResponse

type DeleteTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteTranscodeTemplateResponse

func NewDeleteTranscodeTemplateResponse() (response *DeleteTranscodeTemplateResponse)

func (*DeleteTranscodeTemplateResponse) FromJsonString

func (r *DeleteTranscodeTemplateResponse) FromJsonString(s string) error

func (*DeleteTranscodeTemplateResponse) ToJsonString

func (r *DeleteTranscodeTemplateResponse) ToJsonString() string

type DeleteWatermarkTemplateRequest

type DeleteWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// 水印模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

func NewDeleteWatermarkTemplateRequest

func NewDeleteWatermarkTemplateRequest() (request *DeleteWatermarkTemplateRequest)

func (*DeleteWatermarkTemplateRequest) FromJsonString

func (r *DeleteWatermarkTemplateRequest) FromJsonString(s string) error

func (*DeleteWatermarkTemplateRequest) ToJsonString

func (r *DeleteWatermarkTemplateRequest) ToJsonString() string

type DeleteWatermarkTemplateResponse

type DeleteWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWatermarkTemplateResponse

func NewDeleteWatermarkTemplateResponse() (response *DeleteWatermarkTemplateResponse)

func (*DeleteWatermarkTemplateResponse) FromJsonString

func (r *DeleteWatermarkTemplateResponse) FromJsonString(s string) error

func (*DeleteWatermarkTemplateResponse) ToJsonString

func (r *DeleteWatermarkTemplateResponse) ToJsonString() string

type DeleteWordSamplesRequest

type DeleteWordSamplesRequest struct {
	*tchttp.BaseRequest

	// 关键词,数组长度限制:100 个词。
	Keywords []*string `json:"Keywords,omitempty" name:"Keywords" list`
}

func NewDeleteWordSamplesRequest

func NewDeleteWordSamplesRequest() (request *DeleteWordSamplesRequest)

func (*DeleteWordSamplesRequest) FromJsonString

func (r *DeleteWordSamplesRequest) FromJsonString(s string) error

func (*DeleteWordSamplesRequest) ToJsonString

func (r *DeleteWordSamplesRequest) ToJsonString() string

type DeleteWordSamplesResponse

type DeleteWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWordSamplesResponse

func NewDeleteWordSamplesResponse() (response *DeleteWordSamplesResponse)

func (*DeleteWordSamplesResponse) FromJsonString

func (r *DeleteWordSamplesResponse) FromJsonString(s string) error

func (*DeleteWordSamplesResponse) ToJsonString

func (r *DeleteWordSamplesResponse) ToJsonString() string

type DeleteWorkflowRequest

type DeleteWorkflowRequest struct {
	*tchttp.BaseRequest

	// 工作流 ID。
	WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`
}

func NewDeleteWorkflowRequest

func NewDeleteWorkflowRequest() (request *DeleteWorkflowRequest)

func (*DeleteWorkflowRequest) FromJsonString

func (r *DeleteWorkflowRequest) FromJsonString(s string) error

func (*DeleteWorkflowRequest) ToJsonString

func (r *DeleteWorkflowRequest) ToJsonString() string

type DeleteWorkflowResponse

type DeleteWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWorkflowResponse

func NewDeleteWorkflowResponse() (response *DeleteWorkflowResponse)

func (*DeleteWorkflowResponse) FromJsonString

func (r *DeleteWorkflowResponse) FromJsonString(s string) error

func (*DeleteWorkflowResponse) ToJsonString

func (r *DeleteWorkflowResponse) ToJsonString() string

type DescribeAIAnalysisTemplatesRequest

type DescribeAIAnalysisTemplatesRequest struct {
	*tchttp.BaseRequest

	// 视频内容分析模板唯一标识过滤条件,数组长度限制:10。
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAIAnalysisTemplatesRequest

func NewDescribeAIAnalysisTemplatesRequest() (request *DescribeAIAnalysisTemplatesRequest)

func (*DescribeAIAnalysisTemplatesRequest) FromJsonString

func (r *DescribeAIAnalysisTemplatesRequest) FromJsonString(s string) error

func (*DescribeAIAnalysisTemplatesRequest) ToJsonString

func (r *DescribeAIAnalysisTemplatesRequest) ToJsonString() string

type DescribeAIAnalysisTemplatesResponse

type DescribeAIAnalysisTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 视频内容分析模板详情列表。
		AIAnalysisTemplateSet []*AIAnalysisTemplateItem `json:"AIAnalysisTemplateSet,omitempty" name:"AIAnalysisTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAIAnalysisTemplatesResponse

func NewDescribeAIAnalysisTemplatesResponse() (response *DescribeAIAnalysisTemplatesResponse)

func (*DescribeAIAnalysisTemplatesResponse) FromJsonString

func (r *DescribeAIAnalysisTemplatesResponse) FromJsonString(s string) error

func (*DescribeAIAnalysisTemplatesResponse) ToJsonString

func (r *DescribeAIAnalysisTemplatesResponse) ToJsonString() string

type DescribeAIRecognitionTemplatesRequest

type DescribeAIRecognitionTemplatesRequest struct {
	*tchttp.BaseRequest

	// 视频内容识别模板唯一标识过滤条件,数组长度限制:10。
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:50。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAIRecognitionTemplatesRequest

func NewDescribeAIRecognitionTemplatesRequest() (request *DescribeAIRecognitionTemplatesRequest)

func (*DescribeAIRecognitionTemplatesRequest) FromJsonString

func (r *DescribeAIRecognitionTemplatesRequest) FromJsonString(s string) error

func (*DescribeAIRecognitionTemplatesRequest) ToJsonString

type DescribeAIRecognitionTemplatesResponse

type DescribeAIRecognitionTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 视频内容识别模板详情列表。
		AIRecognitionTemplateSet []*AIRecognitionTemplateItem `json:"AIRecognitionTemplateSet,omitempty" name:"AIRecognitionTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAIRecognitionTemplatesResponse

func NewDescribeAIRecognitionTemplatesResponse() (response *DescribeAIRecognitionTemplatesResponse)

func (*DescribeAIRecognitionTemplatesResponse) FromJsonString

func (*DescribeAIRecognitionTemplatesResponse) ToJsonString

type DescribeAdaptiveDynamicStreamingTemplatesRequest

type DescribeAdaptiveDynamicStreamingTemplatesRequest struct {
	*tchttp.BaseRequest

	// 转自适应码流模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeAdaptiveDynamicStreamingTemplatesRequest

func NewDescribeAdaptiveDynamicStreamingTemplatesRequest() (request *DescribeAdaptiveDynamicStreamingTemplatesRequest)

func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString

func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString

type DescribeAdaptiveDynamicStreamingTemplatesResponse

type DescribeAdaptiveDynamicStreamingTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 转自适应码流模板详情列表。
		AdaptiveDynamicStreamingTemplateSet []*AdaptiveDynamicStreamingTemplate `json:"AdaptiveDynamicStreamingTemplateSet,omitempty" name:"AdaptiveDynamicStreamingTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAdaptiveDynamicStreamingTemplatesResponse

func NewDescribeAdaptiveDynamicStreamingTemplatesResponse() (response *DescribeAdaptiveDynamicStreamingTemplatesResponse)

func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString

func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString

type DescribeAnimatedGraphicsTemplatesRequest

type DescribeAnimatedGraphicsTemplatesRequest struct {
	*tchttp.BaseRequest

	// 转动图模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeAnimatedGraphicsTemplatesRequest

func NewDescribeAnimatedGraphicsTemplatesRequest() (request *DescribeAnimatedGraphicsTemplatesRequest)

func (*DescribeAnimatedGraphicsTemplatesRequest) FromJsonString

func (*DescribeAnimatedGraphicsTemplatesRequest) ToJsonString

type DescribeAnimatedGraphicsTemplatesResponse

type DescribeAnimatedGraphicsTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 转动图模板详情列表。
		AnimatedGraphicsTemplateSet []*AnimatedGraphicsTemplate `json:"AnimatedGraphicsTemplateSet,omitempty" name:"AnimatedGraphicsTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAnimatedGraphicsTemplatesResponse

func NewDescribeAnimatedGraphicsTemplatesResponse() (response *DescribeAnimatedGraphicsTemplatesResponse)

func (*DescribeAnimatedGraphicsTemplatesResponse) FromJsonString

func (*DescribeAnimatedGraphicsTemplatesResponse) ToJsonString

type DescribeContentReviewTemplatesRequest

type DescribeContentReviewTemplatesRequest struct {
	*tchttp.BaseRequest

	// 内容审核模板唯一标识过滤条件,数组长度限制:50。
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:50。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeContentReviewTemplatesRequest

func NewDescribeContentReviewTemplatesRequest() (request *DescribeContentReviewTemplatesRequest)

func (*DescribeContentReviewTemplatesRequest) FromJsonString

func (r *DescribeContentReviewTemplatesRequest) FromJsonString(s string) error

func (*DescribeContentReviewTemplatesRequest) ToJsonString

type DescribeContentReviewTemplatesResponse

type DescribeContentReviewTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 内容审核模板详情列表。
		ContentReviewTemplateSet []*ContentReviewTemplateItem `json:"ContentReviewTemplateSet,omitempty" name:"ContentReviewTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeContentReviewTemplatesResponse

func NewDescribeContentReviewTemplatesResponse() (response *DescribeContentReviewTemplatesResponse)

func (*DescribeContentReviewTemplatesResponse) FromJsonString

func (*DescribeContentReviewTemplatesResponse) ToJsonString

type DescribeImageSpriteTemplatesRequest

type DescribeImageSpriteTemplatesRequest struct {
	*tchttp.BaseRequest

	// 雪碧图模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeImageSpriteTemplatesRequest

func NewDescribeImageSpriteTemplatesRequest() (request *DescribeImageSpriteTemplatesRequest)

func (*DescribeImageSpriteTemplatesRequest) FromJsonString

func (r *DescribeImageSpriteTemplatesRequest) FromJsonString(s string) error

func (*DescribeImageSpriteTemplatesRequest) ToJsonString

func (r *DescribeImageSpriteTemplatesRequest) ToJsonString() string

type DescribeImageSpriteTemplatesResponse

type DescribeImageSpriteTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 雪碧图模板详情列表。
		ImageSpriteTemplateSet []*ImageSpriteTemplate `json:"ImageSpriteTemplateSet,omitempty" name:"ImageSpriteTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeImageSpriteTemplatesResponse

func NewDescribeImageSpriteTemplatesResponse() (response *DescribeImageSpriteTemplatesResponse)

func (*DescribeImageSpriteTemplatesResponse) FromJsonString

func (r *DescribeImageSpriteTemplatesResponse) FromJsonString(s string) error

func (*DescribeImageSpriteTemplatesResponse) ToJsonString

func (r *DescribeImageSpriteTemplatesResponse) ToJsonString() string

type DescribeMediaMetaDataRequest

type DescribeMediaMetaDataRequest struct {
	*tchttp.BaseRequest

	// 需要获取元信息的文件输入信息。
	InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"`
}

func NewDescribeMediaMetaDataRequest

func NewDescribeMediaMetaDataRequest() (request *DescribeMediaMetaDataRequest)

func (*DescribeMediaMetaDataRequest) FromJsonString

func (r *DescribeMediaMetaDataRequest) FromJsonString(s string) error

func (*DescribeMediaMetaDataRequest) ToJsonString

func (r *DescribeMediaMetaDataRequest) ToJsonString() string

type DescribeMediaMetaDataResponse

type DescribeMediaMetaDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 媒体元信息。
		MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMediaMetaDataResponse

func NewDescribeMediaMetaDataResponse() (response *DescribeMediaMetaDataResponse)

func (*DescribeMediaMetaDataResponse) FromJsonString

func (r *DescribeMediaMetaDataResponse) FromJsonString(s string) error

func (*DescribeMediaMetaDataResponse) ToJsonString

func (r *DescribeMediaMetaDataResponse) ToJsonString() string

type DescribePersonSamplesRequest

type DescribePersonSamplesRequest struct {
	*tchttp.BaseRequest

	// 拉取的人物类型,可选值:
	// <li>UserDefine:用户自定义人物库;</li>
	// <li>Default:系统默认人物库。</li>
	//
	// 默认值:UserDefine,拉取用户自定义人物库人物。
	// 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 人物 ID,数组长度限制:100。
	PersonIds []*string `json:"PersonIds,omitempty" name:"PersonIds" list`

	// 人物名称,数组长度限制:20。
	Names []*string `json:"Names,omitempty" name:"Names" list`

	// 人物标签,数组长度限制:20。
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:100,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribePersonSamplesRequest

func NewDescribePersonSamplesRequest() (request *DescribePersonSamplesRequest)

func (*DescribePersonSamplesRequest) FromJsonString

func (r *DescribePersonSamplesRequest) FromJsonString(s string) error

func (*DescribePersonSamplesRequest) ToJsonString

func (r *DescribePersonSamplesRequest) ToJsonString() string

type DescribePersonSamplesResponse

type DescribePersonSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 人物信息。
		PersonSet []*AiSamplePerson `json:"PersonSet,omitempty" name:"PersonSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePersonSamplesResponse

func NewDescribePersonSamplesResponse() (response *DescribePersonSamplesResponse)

func (*DescribePersonSamplesResponse) FromJsonString

func (r *DescribePersonSamplesResponse) FromJsonString(s string) error

func (*DescribePersonSamplesResponse) ToJsonString

func (r *DescribePersonSamplesResponse) ToJsonString() string

type DescribeSampleSnapshotTemplatesRequest

type DescribeSampleSnapshotTemplatesRequest struct {
	*tchttp.BaseRequest

	// 采样截图模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeSampleSnapshotTemplatesRequest

func NewDescribeSampleSnapshotTemplatesRequest() (request *DescribeSampleSnapshotTemplatesRequest)

func (*DescribeSampleSnapshotTemplatesRequest) FromJsonString

func (*DescribeSampleSnapshotTemplatesRequest) ToJsonString

type DescribeSampleSnapshotTemplatesResponse

type DescribeSampleSnapshotTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 采样截图模板详情列表。
		SampleSnapshotTemplateSet []*SampleSnapshotTemplate `json:"SampleSnapshotTemplateSet,omitempty" name:"SampleSnapshotTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSampleSnapshotTemplatesResponse

func NewDescribeSampleSnapshotTemplatesResponse() (response *DescribeSampleSnapshotTemplatesResponse)

func (*DescribeSampleSnapshotTemplatesResponse) FromJsonString

func (*DescribeSampleSnapshotTemplatesResponse) ToJsonString

type DescribeSnapshotByTimeOffsetTemplatesRequest

type DescribeSnapshotByTimeOffsetTemplatesRequest struct {
	*tchttp.BaseRequest

	// 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeSnapshotByTimeOffsetTemplatesRequest

func NewDescribeSnapshotByTimeOffsetTemplatesRequest() (request *DescribeSnapshotByTimeOffsetTemplatesRequest)

func (*DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString

func (*DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString

type DescribeSnapshotByTimeOffsetTemplatesResponse

type DescribeSnapshotByTimeOffsetTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 指定时间点截图模板详情列表。
		SnapshotByTimeOffsetTemplateSet []*SnapshotByTimeOffsetTemplate `json:"SnapshotByTimeOffsetTemplateSet,omitempty" name:"SnapshotByTimeOffsetTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSnapshotByTimeOffsetTemplatesResponse

func NewDescribeSnapshotByTimeOffsetTemplatesResponse() (response *DescribeSnapshotByTimeOffsetTemplatesResponse)

func (*DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString

func (*DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString

type DescribeTaskDetailRequest

type DescribeTaskDetailRequest struct {
	*tchttp.BaseRequest

	// 视频处理任务的任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeTaskDetailRequest

func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)

func (*DescribeTaskDetailRequest) FromJsonString

func (r *DescribeTaskDetailRequest) FromJsonString(s string) error

func (*DescribeTaskDetailRequest) ToJsonString

func (r *DescribeTaskDetailRequest) ToJsonString() string

type DescribeTaskDetailResponse

type DescribeTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务类型,目前取值有:
		// <li>WorkflowTask:视频工作流处理任务。</li>
		// <li>EditMediaTask:视频编辑任务。</li>
		// <li>LiveStreamProcessTask:直播流处理任务。</li>
		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

		// 任务状态,取值:
		// <li>WAITING:等待中;</li>
		// <li>PROCESSING:处理中;</li>
		// <li>FINISH:已完成。</li>
		Status *string `json:"Status,omitempty" name:"Status"`

		// 任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
		BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"`

		// 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
		FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`

		// 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		WorkflowTask *WorkflowTask `json:"WorkflowTask,omitempty" name:"WorkflowTask"`

		// 视频编辑任务信息,仅当 TaskType 为 EditMediaTask,该字段有值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		EditMediaTask *EditMediaTask `json:"EditMediaTask,omitempty" name:"EditMediaTask"`

		// 直播流处理任务信息,仅当 TaskType 为 LiveStreamProcessTask,该字段有值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		LiveStreamProcessTask *LiveStreamProcessTask `json:"LiveStreamProcessTask,omitempty" name:"LiveStreamProcessTask"`

		// 任务的事件通知信息。
		// 注意:此字段可能返回 null,表示取不到有效值。
		TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

		// 任务流的优先级,取值范围为 [-10, 10]。
		TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

		// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
		SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

		// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
		SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

		// 扩展信息字段,仅用于特定场景。
		ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskDetailResponse

func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)

func (*DescribeTaskDetailResponse) FromJsonString

func (r *DescribeTaskDetailResponse) FromJsonString(s string) error

func (*DescribeTaskDetailResponse) ToJsonString

func (r *DescribeTaskDetailResponse) ToJsonString() string

type DescribeTasksRequest

type DescribeTasksRequest struct {
	*tchttp.BaseRequest

	// 过滤条件:任务状态,可选值:WAITING(等待中)、PROCESSING(处理中)、FINISH(已完成)。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
	ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`
}

func NewDescribeTasksRequest

func NewDescribeTasksRequest() (request *DescribeTasksRequest)

func (*DescribeTasksRequest) FromJsonString

func (r *DescribeTasksRequest) FromJsonString(s string) error

func (*DescribeTasksRequest) ToJsonString

func (r *DescribeTasksRequest) ToJsonString() string

type DescribeTasksResponse

type DescribeTasksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务概要列表。
		TaskSet []*TaskSimpleInfo `json:"TaskSet,omitempty" name:"TaskSet" list`

		// 翻页标识,当请求未返回所有数据,该字段表示下一条记录的 ID。当该字段为空字符串,说明已无更多数据。
		ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTasksResponse

func NewDescribeTasksResponse() (response *DescribeTasksResponse)

func (*DescribeTasksResponse) FromJsonString

func (r *DescribeTasksResponse) FromJsonString(s string) error

func (*DescribeTasksResponse) ToJsonString

func (r *DescribeTasksResponse) ToJsonString() string

type DescribeTranscodeTemplatesRequest

type DescribeTranscodeTemplatesRequest struct {
	*tchttp.BaseRequest

	// 转码模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 模板类型过滤条件,可选值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 封装格式过滤条件,可选值:
	// <li>Video:视频格式,可以同时包含视频流和音频流的封装格式板;</li>
	// <li>PureAudio:纯音频格式,只能包含音频流的封装格式。</li>
	ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"`

	// 极速高清过滤条件,用于过滤普通转码或极速高清转码模板,可选值:
	// <li>Common:普通转码模板;</li>
	// <li>TEHD:极速高清模板。</li>
	TEHDType *string `json:"TEHDType,omitempty" name:"TEHDType"`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeTranscodeTemplatesRequest

func NewDescribeTranscodeTemplatesRequest() (request *DescribeTranscodeTemplatesRequest)

func (*DescribeTranscodeTemplatesRequest) FromJsonString

func (r *DescribeTranscodeTemplatesRequest) FromJsonString(s string) error

func (*DescribeTranscodeTemplatesRequest) ToJsonString

func (r *DescribeTranscodeTemplatesRequest) ToJsonString() string

type DescribeTranscodeTemplatesResponse

type DescribeTranscodeTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 转码模板详情列表。
		TranscodeTemplateSet []*TranscodeTemplate `json:"TranscodeTemplateSet,omitempty" name:"TranscodeTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTranscodeTemplatesResponse

func NewDescribeTranscodeTemplatesResponse() (response *DescribeTranscodeTemplatesResponse)

func (*DescribeTranscodeTemplatesResponse) FromJsonString

func (r *DescribeTranscodeTemplatesResponse) FromJsonString(s string) error

func (*DescribeTranscodeTemplatesResponse) ToJsonString

func (r *DescribeTranscodeTemplatesResponse) ToJsonString() string

type DescribeWatermarkTemplatesRequest

type DescribeWatermarkTemplatesRequest struct {
	*tchttp.BaseRequest

	// 水印模板唯一标识过滤条件,数组长度限制:100。
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions" list`

	// 水印类型过滤条件,可选值:
	// <li>image:图片水印;</li>
	// <li>text:文字水印。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数
	// <li>默认值:10;</li>
	// <li>最大值:100。</li>
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeWatermarkTemplatesRequest

func NewDescribeWatermarkTemplatesRequest() (request *DescribeWatermarkTemplatesRequest)

func (*DescribeWatermarkTemplatesRequest) FromJsonString

func (r *DescribeWatermarkTemplatesRequest) FromJsonString(s string) error

func (*DescribeWatermarkTemplatesRequest) ToJsonString

func (r *DescribeWatermarkTemplatesRequest) ToJsonString() string

type DescribeWatermarkTemplatesResponse

type DescribeWatermarkTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 水印模板详情列表。
		WatermarkTemplateSet []*WatermarkTemplate `json:"WatermarkTemplateSet,omitempty" name:"WatermarkTemplateSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWatermarkTemplatesResponse

func NewDescribeWatermarkTemplatesResponse() (response *DescribeWatermarkTemplatesResponse)

func (*DescribeWatermarkTemplatesResponse) FromJsonString

func (r *DescribeWatermarkTemplatesResponse) FromJsonString(s string) error

func (*DescribeWatermarkTemplatesResponse) ToJsonString

func (r *DescribeWatermarkTemplatesResponse) ToJsonString() string

type DescribeWordSamplesRequest

type DescribeWordSamplesRequest struct {
	*tchttp.BaseRequest

	// <b>关键词应用场景过滤条件,可选值:</b>
	// 1. Recognition.Ocr:通过光学字符识别技术,进行内容识别;
	// 2. Recognition.Asr:通过语音识别技术,进行内容识别;
	// 3. Review.Ocr:通过光学字符识别技术,进行内容审核;
	// 4. Review.Asr:通过语音识别技术,进行内容审核;
	// <b>可合并简写为:</b>
	// 5. Recognition:通过光学字符识别技术、语音识别技术,进行内容识别,等价于 1+2;
	// 6. Review:通过光学字符识别技术、语音识别技术,进行内容审核,等价于 3+4;
	// 可多选,元素间关系为 or,即关键词的应用场景包含该字段集合中任意元素的记录,均符合该条件。
	Usages []*string `json:"Usages,omitempty" name:"Usages" list`

	// 关键词过滤条件,数组长度限制:100 个词。
	Keywords []*string `json:"Keywords,omitempty" name:"Keywords" list`

	// 标签过滤条件,数组长度限制:20 个词。
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`

	// 分页偏移量,默认值:0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:100,最大值:100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeWordSamplesRequest

func NewDescribeWordSamplesRequest() (request *DescribeWordSamplesRequest)

func (*DescribeWordSamplesRequest) FromJsonString

func (r *DescribeWordSamplesRequest) FromJsonString(s string) error

func (*DescribeWordSamplesRequest) ToJsonString

func (r *DescribeWordSamplesRequest) ToJsonString() string

type DescribeWordSamplesResponse

type DescribeWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合条件的记录总数。
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 关键词信息。
		// 注意:此字段可能返回 null,表示取不到有效值。
		WordSet []*AiSampleWord `json:"WordSet,omitempty" name:"WordSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWordSamplesResponse

func NewDescribeWordSamplesResponse() (response *DescribeWordSamplesResponse)

func (*DescribeWordSamplesResponse) FromJsonString

func (r *DescribeWordSamplesResponse) FromJsonString(s string) error

func (*DescribeWordSamplesResponse) ToJsonString

func (r *DescribeWordSamplesResponse) ToJsonString() string

type DescribeWorkflowsRequest

type DescribeWorkflowsRequest struct {
	*tchttp.BaseRequest

	// 工作流 ID 过滤条件,数组长度限制:100。
	WorkflowIds []*int64 `json:"WorkflowIds,omitempty" name:"WorkflowIds" list`

	// 工作流状态,取值范围:
	// <li>Enabled:已启用,</li>
	// <li>Disabled:已禁用。</li>
	// 不填此参数,则不区分工作流状态。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 分页偏移量,默认值:0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回记录条数,默认值:10,最大值:100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeWorkflowsRequest

func NewDescribeWorkflowsRequest() (request *DescribeWorkflowsRequest)

func (*DescribeWorkflowsRequest) FromJsonString

func (r *DescribeWorkflowsRequest) FromJsonString(s string) error

func (*DescribeWorkflowsRequest) ToJsonString

func (r *DescribeWorkflowsRequest) ToJsonString() string

type DescribeWorkflowsResponse

type DescribeWorkflowsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合过滤条件的记录总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 工作流信息数组。
		WorkflowInfoSet []*WorkflowInfo `json:"WorkflowInfoSet,omitempty" name:"WorkflowInfoSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWorkflowsResponse

func NewDescribeWorkflowsResponse() (response *DescribeWorkflowsResponse)

func (*DescribeWorkflowsResponse) FromJsonString

func (r *DescribeWorkflowsResponse) FromJsonString(s string) error

func (*DescribeWorkflowsResponse) ToJsonString

func (r *DescribeWorkflowsResponse) ToJsonString() string

type DisableWorkflowRequest

type DisableWorkflowRequest struct {
	*tchttp.BaseRequest

	// 工作流 ID。
	WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`
}

func NewDisableWorkflowRequest

func NewDisableWorkflowRequest() (request *DisableWorkflowRequest)

func (*DisableWorkflowRequest) FromJsonString

func (r *DisableWorkflowRequest) FromJsonString(s string) error

func (*DisableWorkflowRequest) ToJsonString

func (r *DisableWorkflowRequest) ToJsonString() string

type DisableWorkflowResponse

type DisableWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisableWorkflowResponse

func NewDisableWorkflowResponse() (response *DisableWorkflowResponse)

func (*DisableWorkflowResponse) FromJsonString

func (r *DisableWorkflowResponse) FromJsonString(s string) error

func (*DisableWorkflowResponse) ToJsonString

func (r *DisableWorkflowResponse) ToJsonString() string

type EditMediaFileInfo

type EditMediaFileInfo struct {

	// 视频的输入信息。
	InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"`

	// 视频剪辑的起始时间偏移,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 视频剪辑的结束时间偏移,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type EditMediaRequest

type EditMediaRequest struct {
	*tchttp.BaseRequest

	// 输入的视频文件信息。
	FileInfos []*EditMediaFileInfo `json:"FileInfos,omitempty" name:"FileInfos" list`

	// 视频处理输出文件的目标存储。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 视频处理输出文件的目标路径。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 任务的事件通知信息,不填代表不获取事件通知。
	TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

	// 任务优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

func NewEditMediaRequest

func NewEditMediaRequest() (request *EditMediaRequest)

func (*EditMediaRequest) FromJsonString

func (r *EditMediaRequest) FromJsonString(s string) error

func (*EditMediaRequest) ToJsonString

func (r *EditMediaRequest) ToJsonString() string

type EditMediaResponse

type EditMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 编辑视频的任务 ID,可以通过该 ID 查询编辑任务的状态。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEditMediaResponse

func NewEditMediaResponse() (response *EditMediaResponse)

func (*EditMediaResponse) FromJsonString

func (r *EditMediaResponse) FromJsonString(s string) error

func (*EditMediaResponse) ToJsonString

func (r *EditMediaResponse) ToJsonString() string

type EditMediaTask

type EditMediaTask struct {

	// 任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 任务状态,取值:
	// <li>PROCESSING:处理中;</li>
	// <li>FINISH:已完成。</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码
	// <li>0:成功;</li>
	// <li>其他值:失败。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 视频编辑任务的输入。
	Input *EditMediaTaskInput `json:"Input,omitempty" name:"Input"`

	// 视频编辑任务的输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *EditMediaTaskOutput `json:"Output,omitempty" name:"Output"`
}

type EditMediaTaskInput

type EditMediaTaskInput struct {

	// 输入的视频文件信息。
	FileInfoSet []*EditMediaFileInfo `json:"FileInfoSet,omitempty" name:"FileInfoSet" list`
}

type EditMediaTaskOutput

type EditMediaTaskOutput struct {

	// 编辑后文件的目标存储。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 编辑后的视频文件路径。
	Path *string `json:"Path,omitempty" name:"Path"`
}

type EnableWorkflowRequest

type EnableWorkflowRequest struct {
	*tchttp.BaseRequest

	// 工作流 ID。
	WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`
}

func NewEnableWorkflowRequest

func NewEnableWorkflowRequest() (request *EnableWorkflowRequest)

func (*EnableWorkflowRequest) FromJsonString

func (r *EnableWorkflowRequest) FromJsonString(s string) error

func (*EnableWorkflowRequest) ToJsonString

func (r *EnableWorkflowRequest) ToJsonString() string

type EnableWorkflowResponse

type EnableWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEnableWorkflowResponse

func NewEnableWorkflowResponse() (response *EnableWorkflowResponse)

func (*EnableWorkflowResponse) FromJsonString

func (r *EnableWorkflowResponse) FromJsonString(s string) error

func (*EnableWorkflowResponse) ToJsonString

func (r *EnableWorkflowResponse) ToJsonString() string

type FaceConfigureInfo

type FaceConfigureInfo struct {

	// 人脸识别任务开关,可选值:
	// <li>ON:开启智能人脸识别任务;</li>
	// <li>OFF:关闭智能人脸识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 人脸识别过滤分数,当识别结果达到该分数以上,返回识别结果。默认 95 分。取值范围:0 - 100。
	Score *float64 `json:"Score,omitempty" name:"Score"`

	// 默认人物过滤标签,指定需要返回的默认人物的标签。如果未填或者为空,则全部默认人物结果都返回。标签可选值:
	// <li>entertainment:娱乐明星;</li>
	// <li>sport:体育明星;</li>
	// <li>politician:政治人物。</li>
	DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet" list`

	// 用户自定义人物过滤标签,指定需要返回的用户自定义人物的标签。如果未填或者为空,则全部自定义人物结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet" list`

	// 人物库选择,可选值:
	// <li>Default:使用默认人物库;</li>
	// <li>UserDefine:使用用户自定义人物库。</li>
	// <li>All:同时使用默认人物库和用户自定义人物库。</li>
	// 默认值:All,使用系统默认人物库及用户自定义人物库。
	FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"`
}

type FaceConfigureInfoForUpdate

type FaceConfigureInfoForUpdate struct {

	// 人脸识别任务开关,可选值:
	// <li>ON:开启智能人脸识别任务;</li>
	// <li>OFF:关闭智能人脸识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 人脸识别过滤分数,当识别结果达到该分数以上,返回识别结果。取值范围:0-100。
	Score *float64 `json:"Score,omitempty" name:"Score"`

	// 默认人物过滤标签,指定需要返回的默认人物的标签。如果未填或者为空,则全部默认人物结果都返回。标签可选值:
	// <li>entertainment:娱乐明星;</li>
	// <li>sport:体育明星;</li>
	// <li>politician:政治人物。</li>
	DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet" list`

	// 用户自定义人物过滤标签,指定需要返回的用户自定义人物的标签。如果未填或者为空,则全部自定义人物结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet" list`

	// 人物库选择,可选值:
	// <li>Default:使用默认人物库;</li>
	// <li>UserDefine:使用用户自定义人物库。</li>
	// <li>All:同时使用默认人物库和用户自定义人物库。</li>
	FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"`
}

type FrameTagConfigureInfo

type FrameTagConfigureInfo struct {

	// 智能按帧标签任务开关,可选值:
	// <li>ON:开启智能按帧标签任务;</li>
	// <li>OFF:关闭智能按帧标签任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type FrameTagConfigureInfoForUpdate

type FrameTagConfigureInfoForUpdate struct {

	// 智能按帧标签任务开关,可选值:
	// <li>ON:开启智能按帧标签任务;</li>
	// <li>OFF:关闭智能按帧标签任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ImageSpriteTaskInput

type ImageSpriteTaskInput struct {

	// 雪碧图模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}.{format}`。
	WebVttObjectName *string `json:"WebVttObjectName,omitempty" name:"WebVttObjectName"`

	// 截取雪碧图后输出路径中的`{number}`变量的规则。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitempty" name:"ObjectNumberFormat"`
}

type ImageSpriteTemplate

type ImageSpriteTemplate struct {

	// 雪碧图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板类型,取值范围:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 雪碧图模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 采样类型。
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 雪碧图中小图的行数。
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// 雪碧图中小图的列数。
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// 模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

type ImageWatermarkInput

type ImageWatermarkInput struct {

	// 水印图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串。支持 jpeg、png 图片格式。
	ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"`

	// 水印的宽度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素。取值范围为[8, 4096]。</li>
	// 默认值:10%。
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素。取值范围为0或[8, 4096]。</li>
	// 默认值:0px,表示 Height 按照原始水印图片的宽高比缩放。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type ImageWatermarkInputForUpdate

type ImageWatermarkInputForUpdate struct {

	// 水印图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串。支持 jpeg、png 图片格式。
	ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"`

	// 水印的宽度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素。取值范围为[8, 4096]。</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素。取值范围为0或[8, 4096]。</li>
	// 默认值:0px,表示 Height 按照原始水印图片的宽高比缩放。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type ImageWatermarkTemplate

type ImageWatermarkTemplate struct {

	// 水印图片地址。
	ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

	// 水印的宽度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素。</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素;</li>
	// 0px:表示 Height 按照 Width 对视频宽度的比例缩放。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type LiveStreamAiRecognitionResultInfo

type LiveStreamAiRecognitionResultInfo struct {

	// 内容识别结果列表。
	ResultSet []*LiveStreamAiRecognitionResultItem `json:"ResultSet,omitempty" name:"ResultSet" list`
}

type LiveStreamAiRecognitionResultItem

type LiveStreamAiRecognitionResultItem struct {

	// 结果的类型,取值范围:
	// <li>FaceRecognition:人脸识别,</li>
	// <li>AsrWordsRecognition:语音关键词识别,</li>
	// <li>OcrWordsRecognition:文本关键词识别,</li>
	// <li>AsrFullTextRecognition:语音全文识别,</li>
	// <li>OcrFullTextRecognition:文本全文识别。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 人脸识别结果,当 Type 为
	// FaceRecognition 时有效。
	FaceRecognitionResultSet []*LiveStreamFaceRecognitionResult `json:"FaceRecognitionResultSet,omitempty" name:"FaceRecognitionResultSet" list`

	// 语音关键词识别结果,当 Type 为
	// AsrWordsRecognition 时有效。
	AsrWordsRecognitionResultSet []*LiveStreamAsrWordsRecognitionResult `json:"AsrWordsRecognitionResultSet,omitempty" name:"AsrWordsRecognitionResultSet" list`

	// 文本关键词识别结果,当 Type 为
	// OcrWordsRecognition 时有效。
	OcrWordsRecognitionResultSet []*LiveStreamOcrWordsRecognitionResult `json:"OcrWordsRecognitionResultSet,omitempty" name:"OcrWordsRecognitionResultSet" list`

	// 语音全文识别结果,当 Type 为
	// AsrFullTextRecognition 时有效。
	AsrFullTextRecognitionResultSet []*LiveStreamAsrFullTextRecognitionResult `json:"AsrFullTextRecognitionResultSet,omitempty" name:"AsrFullTextRecognitionResultSet" list`

	// 文本全文识别结果,当 Type 为
	// OcrFullTextRecognition 时有效。
	OcrFullTextRecognitionResultSet []*LiveStreamOcrFullTextRecognitionResult `json:"OcrFullTextRecognitionResultSet,omitempty" name:"OcrFullTextRecognitionResultSet" list`
}

type LiveStreamAiReviewImagePoliticalResult

type LiveStreamAiReviewImagePoliticalResult struct {

	// 嫌疑片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 嫌疑片段结束的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 嫌疑片段涉政分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴黄结果建议,取值范围:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频鉴政结果标签,取值范围:
	// <li>politician:政治人物。</li>
	// <li>violation_photo:违规图标。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 涉政人物、违规图标名字。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 涉政人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`

	// 嫌疑图片 URL (图片不会永久存储,到达
	// PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type LiveStreamAiReviewImagePornResult

type LiveStreamAiReviewImagePornResult struct {

	// 嫌疑片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 嫌疑片段结束的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 嫌疑片段涉黄分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴黄结果建议,取值范围:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频鉴黄结果标签,取值范围:
	// <li>porn:色情。</li>
	// <li>sexy:性感。</li>
	// <li>vulgar:低俗。</li>
	// <li>intimacy:亲密行为。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 嫌疑图片 URL (图片不会永久存储,到达
	// PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type LiveStreamAiReviewImageTerrorismResult

type LiveStreamAiReviewImageTerrorismResult struct {

	// 嫌疑片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 嫌疑片段结束的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 嫌疑片段涉恐分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴恐结果建议,取值范围:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频暴恐结果标签,取值范围:
	// <li>guns:武器枪支。</li>
	// <li>crowd:人群聚集。</li>
	// <li>police:警察部队。</li>
	// <li>bloody:血腥画面。</li>
	// <li>banners:暴恐旗帜。</li>
	// <li>militant:武装分子。</li>
	// <li>explosion:爆炸火灾。</li>
	// <li>terrorists:暴恐人物。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 嫌疑图片 URL (图片不会永久存储,到达
	// PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type LiveStreamAiReviewResultInfo

type LiveStreamAiReviewResultInfo struct {

	// 内容审核结果列表。
	ResultSet []*LiveStreamAiReviewResultItem `json:"ResultSet,omitempty" name:"ResultSet" list`
}

type LiveStreamAiReviewResultItem

type LiveStreamAiReviewResultItem struct {

	// 审核结果的类型,可以取的值有:
	// <li>ImagePorn:图片鉴黄</li>
	// <li>ImageTerrorism:图片鉴恐</li>
	// <li>ImagePolitical:图片鉴政</li>
	// <li>PornVoice:声音鉴黄</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 图片鉴黄的结果,当 Type 为 ImagePorn 时有效。
	ImagePornResultSet []*LiveStreamAiReviewImagePornResult `json:"ImagePornResultSet,omitempty" name:"ImagePornResultSet" list`

	// 图片鉴恐的结果,当 Type 为 ImageTerrorism 时有效。
	ImageTerrorismResultSet []*LiveStreamAiReviewImageTerrorismResult `json:"ImageTerrorismResultSet,omitempty" name:"ImageTerrorismResultSet" list`

	// 图片鉴政的结果,当 Type 为 ImagePolitical 时有效。
	ImagePoliticalResultSet []*LiveStreamAiReviewImagePoliticalResult `json:"ImagePoliticalResultSet,omitempty" name:"ImagePoliticalResultSet" list`

	// 声音鉴黄的结果,当 Type 为 PornVoice 时有效。
	VoicePornResultSet []*LiveStreamAiReviewVoicePornResult `json:"VoicePornResultSet,omitempty" name:"VoicePornResultSet" list`
}

type LiveStreamAiReviewVoicePornResult

type LiveStreamAiReviewVoicePornResult struct {

	// 嫌疑片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 嫌疑片段结束的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 嫌疑片段涉黄分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴黄结果建议,取值范围:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 视频鉴黄结果标签,取值范围:
	// <li>sexual_moan:呻吟。</li>
	Label *string `json:"Label,omitempty" name:"Label"`
}

type LiveStreamAsrFullTextRecognitionResult

type LiveStreamAsrFullTextRecognitionResult struct {

	// 识别文本。
	Text *string `json:"Text,omitempty" name:"Text"`

	// 识别片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 识别片段终止的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type LiveStreamAsrWordsRecognitionResult

type LiveStreamAsrWordsRecognitionResult struct {

	// 语音关键词。
	Word *string `json:"Word,omitempty" name:"Word"`

	// 识别片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 识别片段终止的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type LiveStreamFaceRecognitionResult

type LiveStreamFaceRecognitionResult struct {

	// 人物唯一标识 ID。
	Id *string `json:"Id,omitempty" name:"Id"`

	// 人物名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 人物库类型,表示识别出的人物来自哪个人物库:
	// <li>Default:默认人物库;</li><li>UserDefine:用户自定义人物库。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 识别片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 识别片段终止的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`
}

type LiveStreamOcrFullTextRecognitionResult

type LiveStreamOcrFullTextRecognitionResult struct {

	// 语音文本。
	Text *string `json:"Text,omitempty" name:"Text"`

	// 识别片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 识别片段终止的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`
}

type LiveStreamOcrWordsRecognitionResult

type LiveStreamOcrWordsRecognitionResult struct {

	// 文本关键词。
	Word *string `json:"Word,omitempty" name:"Word"`

	// 识别片段起始的 PTS 时间,单位:秒。
	StartPtsTime *float64 `json:"StartPtsTime,omitempty" name:"StartPtsTime"`

	// 识别片段终止的 PTS 时间,单位:秒。
	EndPtsTime *float64 `json:"EndPtsTime,omitempty" name:"EndPtsTime"`

	// 识别片段置信度。取值:0~100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
	AreaCoords []*int64 `json:"AreaCoords,omitempty" name:"AreaCoords" list`
}

type LiveStreamProcessErrorInfo

type LiveStreamProcessErrorInfo struct {

	// 错误码:
	// <li>0表示没有错误;</li>
	// <li>非0表示错误,请参考 Message 错误信息。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`
}

type LiveStreamProcessTask

type LiveStreamProcessTask struct {

	// 视频处理任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 任务流状态,取值:
	// <li>PROCESSING:处理中;</li>
	// <li>FINISH:已完成。</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 直播流 URL。
	Url *string `json:"Url,omitempty" name:"Url"`
}

type LiveStreamTaskNotifyConfig

type LiveStreamTaskNotifyConfig struct {

	// CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
	CmqModel *string `json:"CmqModel,omitempty" name:"CmqModel"`

	// CMQ 的园区,如 sh,bj 等。
	CmqRegion *string `json:"CmqRegion,omitempty" name:"CmqRegion"`

	// 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
	QueueName *string `json:"QueueName,omitempty" name:"QueueName"`

	// 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
}

type ManageTaskRequest

type ManageTaskRequest struct {
	*tchttp.BaseRequest

	// 操作类型,取值范围:
	// <li>Abort:终止任务。</li>
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// 视频处理的任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewManageTaskRequest

func NewManageTaskRequest() (request *ManageTaskRequest)

func (*ManageTaskRequest) FromJsonString

func (r *ManageTaskRequest) FromJsonString(s string) error

func (*ManageTaskRequest) ToJsonString

func (r *ManageTaskRequest) ToJsonString() string

type ManageTaskResponse

type ManageTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewManageTaskResponse

func NewManageTaskResponse() (response *ManageTaskResponse)

func (*ManageTaskResponse) FromJsonString

func (r *ManageTaskResponse) FromJsonString(s string) error

func (*ManageTaskResponse) ToJsonString

func (r *ManageTaskResponse) ToJsonString() string

type MediaAiAnalysisClassificationItem

type MediaAiAnalysisClassificationItem struct {

	// 智能分类的类别名称。
	Classification *string `json:"Classification,omitempty" name:"Classification"`

	// 智能分类的可信度,取值范围是 0 到 100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisCoverItem

type MediaAiAnalysisCoverItem struct {

	// 智能封面存储路径。
	CoverPath *string `json:"CoverPath,omitempty" name:"CoverPath"`

	// 智能封面的可信度,取值范围是 0 到 100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisFrameTagItem

type MediaAiAnalysisFrameTagItem struct {

	// 按帧标签名称。
	Tag *string `json:"Tag,omitempty" name:"Tag"`

	// 按帧标签的可信度,取值范围是 0 到 100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisFrameTagSegmentItem

type MediaAiAnalysisFrameTagSegmentItem struct {

	// 按帧标签起始的偏移时间。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 按帧标签结束的偏移时间。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 时间片段内的标签列表。
	TagSet []*MediaAiAnalysisFrameTagItem `json:"TagSet,omitempty" name:"TagSet" list`
}

type MediaAiAnalysisTagItem

type MediaAiAnalysisTagItem struct {

	// 标签名称。
	Tag *string `json:"Tag,omitempty" name:"Tag"`

	// 标签的可信度,取值范围是 0 到 100。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAnimatedGraphicsItem

type MediaAnimatedGraphicsItem struct {

	// 转动图文件的存储位置。
	Storage *TaskOutputStorage `json:"Storage,omitempty" name:"Storage"`

	// 转动图的文件路径。
	Path *string `json:"Path,omitempty" name:"Path"`

	// 转动图模板 ID,参见[转动图参数模板](https://cloud.tencent.com/document/product/862/37042#.E9.A2.84.E7.BD.AE.E8.BD.AC.E5.8A.A8.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 动图格式,如 gif。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 动图的高度,单位:px。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 动图的宽度,单位:px。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 动图码率,单位:bps。
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 动图大小,单位:字节。
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// 动图的md5值。
	Md5 *string `json:"Md5,omitempty" name:"Md5"`

	// 动图在视频中的起始时间偏移,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 动图在视频中的结束时间偏移,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type MediaAudioStreamItem

type MediaAudioStreamItem struct {

	// 音频流的码率,单位:bps。
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 音频流的采样率,单位:hz。
	SamplingRate *int64 `json:"SamplingRate,omitempty" name:"SamplingRate"`

	// 音频流的编码格式,例如 aac。
	Codec *string `json:"Codec,omitempty" name:"Codec"`
}

type MediaContentReviewAsrTextSegmentItem

type MediaContentReviewAsrTextSegmentItem struct {

	// 嫌疑片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 嫌疑片段结束的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 嫌疑片段置信度。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段审核结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 嫌疑关键词列表。
	KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet" list`
}

type MediaContentReviewOcrTextSegmentItem

type MediaContentReviewOcrTextSegmentItem struct {

	// 嫌疑片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 嫌疑片段结束的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 嫌疑片段置信度。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段审核结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 嫌疑关键词列表。
	KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet" list`

	// 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`

	// 嫌疑图片 URL (图片不会永久存储,到达
	// PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaContentReviewPoliticalSegmentItem

type MediaContentReviewPoliticalSegmentItem struct {

	// 嫌疑片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 嫌疑片段结束的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 嫌疑片段涉政分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴政结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 涉政人物、违规图标名字。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 嫌疑片段鉴政结果标签。内容审核模板[画面鉴政任务控制参数](https://cloud.tencent.com/document/api/862/37615#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系:
	// violation_photo:
	// <li>violation_photo:违规图标。</li>
	// politician:
	// <li>nation_politician:国家领导人;</li>
	// <li>province_politician: 省部级领导人;</li>
	// <li>bureau_politician:厅局级领导人;</li>
	// <li>county_politician:县处级领导人;</li>
	// <li>rural_politician:乡科级领导人;</li>
	// <li>sensitive_politician:敏感政治人物;</li>
	// <li>foreign_politician:国外领导人。</li>
	// entertainment:
	// <li>sensitive_entertainment:敏感娱乐人物。</li>
	// sport:
	// <li>sensitive_sport:敏感体育人物。</li>
	// entrepreneur:
	// <li>sensitive_entrepreneur:敏感商业人物。</li>
	// scholar:
	// <li>sensitive_scholar:敏感教育学者。</li>
	// celebrity:
	// <li>sensitive_celebrity:敏感知名人物;</li>
	// <li>historical_celebrity:历史知名人物。</li>
	// military:
	// <li>sensitive_military:敏感军事人物。</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// 嫌疑图片 URL (图片不会永久存储,到达
	//  PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 涉政人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet" list`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaContentReviewSegmentItem

type MediaContentReviewSegmentItem struct {

	// 嫌疑片段起始的偏移时间,单位:秒。
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 嫌疑片段结束的偏移时间,单位:秒。
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// 嫌疑片段涉黄分数。
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// 嫌疑片段鉴黄结果标签。
	Label *string `json:"Label,omitempty" name:"Label"`

	// 嫌疑片段鉴黄结果建议,取值范围:
	// <li>pass。</li>
	// <li>review。</li>
	// <li>block。</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// 嫌疑图片 URL (图片不会永久存储,到达
	//  PicUrlExpireTime 时间点后图片将被删除)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaImageSpriteItem

type MediaImageSpriteItem struct {

	// 雪碧图规格,参见[雪碧图参数模板](https://cloud.tencent.com/document/product/266/33480#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 雪碧图小图的高度。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 雪碧图小图的宽度。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 每一张雪碧图大图里小图的数量。
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// 每一张雪碧图大图的路径。
	ImagePathSet []*string `json:"ImagePathSet,omitempty" name:"ImagePathSet" list`

	// 雪碧图子图位置与时间关系的 WebVtt 文件路径。WebVtt 文件表明了各个雪碧图小图对应的时间点,以及在雪碧大图里的坐标位置,一般被播放器用于实现预览。
	WebVttPath *string `json:"WebVttPath,omitempty" name:"WebVttPath"`

	// 雪碧图文件的存储位置。
	Storage *TaskOutputStorage `json:"Storage,omitempty" name:"Storage"`
}

type MediaInputInfo

type MediaInputInfo struct {

	// 输入来源对象的类型,现在仅支持 COS。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 当 Type 为 COS 时有效,则该项为必填,表示视频处理 COS 对象信息。
	CosInputInfo *CosInputInfo `json:"CosInputInfo,omitempty" name:"CosInputInfo"`
}

type MediaMetaData

type MediaMetaData struct {

	// 上传的媒体文件大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// 容器类型,例如 m4a,mp4 等。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 视频流码率平均值与音频流码率平均值之和,单位:bps。
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 视频流高度的最大值,单位:px。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 视频流宽度的最大值,单位:px。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 视频时长,单位:秒。
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// 视频拍摄时的选择角度,单位:度。
	Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"`

	// 视频流信息。
	VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet" list`

	// 音频流信息。
	AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet" list`

	// 视频时长,单位:秒。
	VideoDuration *float64 `json:"VideoDuration,omitempty" name:"VideoDuration"`

	// 音频时长,单位:秒。
	AudioDuration *float64 `json:"AudioDuration,omitempty" name:"AudioDuration"`
}

type MediaProcessTaskAdaptiveDynamicStreamingResult

type MediaProcessTaskAdaptiveDynamicStreamingResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0:成功,其他值:失败。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 对视频转自适应码流任务的输入。
	Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitempty" name:"Input"`

	// 对视频转自适应码流任务的输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *AdaptiveDynamicStreamingInfoItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskAnimatedGraphicResult

type MediaProcessTaskAnimatedGraphicResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 转动图任务的输入。
	Input *AnimatedGraphicTaskInput `json:"Input,omitempty" name:"Input"`

	// 转动图任务的输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *MediaAnimatedGraphicsItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskImageSpriteResult

type MediaProcessTaskImageSpriteResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 对视频截雪碧图任务的输入。
	Input *ImageSpriteTaskInput `json:"Input,omitempty" name:"Input"`

	// 对视频截雪碧图任务的输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *MediaImageSpriteItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskInput

type MediaProcessTaskInput struct {

	// 视频转码任务列表。
	TranscodeTaskSet []*TranscodeTaskInput `json:"TranscodeTaskSet,omitempty" name:"TranscodeTaskSet" list`

	// 视频转动图任务列表。
	AnimatedGraphicTaskSet []*AnimatedGraphicTaskInput `json:"AnimatedGraphicTaskSet,omitempty" name:"AnimatedGraphicTaskSet" list`

	// 对视频按时间点截图任务列表。
	SnapshotByTimeOffsetTaskSet []*SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTaskSet,omitempty" name:"SnapshotByTimeOffsetTaskSet" list`

	// 对视频采样截图任务列表。
	SampleSnapshotTaskSet []*SampleSnapshotTaskInput `json:"SampleSnapshotTaskSet,omitempty" name:"SampleSnapshotTaskSet" list`

	// 对视频截雪碧图任务列表。
	ImageSpriteTaskSet []*ImageSpriteTaskInput `json:"ImageSpriteTaskSet,omitempty" name:"ImageSpriteTaskSet" list`

	// 转自适应码流任务列表。
	AdaptiveDynamicStreamingTaskSet []*AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTaskSet,omitempty" name:"AdaptiveDynamicStreamingTaskSet" list`
}

type MediaProcessTaskResult

type MediaProcessTaskResult struct {

	// 任务的类型,可以取的值有:
	// <li>Transcode:转码</li>
	// <li>AnimatedGraphics:转动图</li>
	// <li>SnapshotByTimeOffset:时间点截图</li>
	// <li>SampleSnapshot:采样截图</li>
	// <li>ImageSprites:雪碧图</li>
	// <li>CoverBySnapshot:截图做封面</li>
	// <li>AdaptiveDynamicStreaming:自适应码流</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 视频转码任务的查询结果,当任务类型为 Transcode 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranscodeTask *MediaProcessTaskTranscodeResult `json:"TranscodeTask,omitempty" name:"TranscodeTask"`

	// 视频转动图任务的查询结果,当任务类型为 AnimatedGraphics 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AnimatedGraphicTask *MediaProcessTaskAnimatedGraphicResult `json:"AnimatedGraphicTask,omitempty" name:"AnimatedGraphicTask"`

	// 对视频按时间点截图任务的查询结果,当任务类型为 SnapshotByTimeOffset 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SnapshotByTimeOffsetTask *MediaProcessTaskSnapshotByTimeOffsetResult `json:"SnapshotByTimeOffsetTask,omitempty" name:"SnapshotByTimeOffsetTask"`

	// 对视频采样截图任务的查询结果,当任务类型为 SampleSnapshot 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SampleSnapshotTask *MediaProcessTaskSampleSnapshotResult `json:"SampleSnapshotTask,omitempty" name:"SampleSnapshotTask"`

	// 对视频截雪碧图任务的查询结果,当任务类型为 ImageSprite 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageSpriteTask *MediaProcessTaskImageSpriteResult `json:"ImageSpriteTask,omitempty" name:"ImageSpriteTask"`

	// 转自适应码流任务查询结果,当任务类型为 AdaptiveDynamicStreaming 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AdaptiveDynamicStreamingTask *MediaProcessTaskAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitempty" name:"AdaptiveDynamicStreamingTask"`
}

type MediaProcessTaskSampleSnapshotResult

type MediaProcessTaskSampleSnapshotResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 对视频做采样截图任务输入。
	Input *SampleSnapshotTaskInput `json:"Input,omitempty" name:"Input"`

	// 对视频做采样截图任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *MediaSampleSnapshotItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskSnapshotByTimeOffsetResult

type MediaProcessTaskSnapshotByTimeOffsetResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 对视频按指定时间点截图任务输入。
	Input *SnapshotByTimeOffsetTaskInput `json:"Input,omitempty" name:"Input"`

	// 对视频按指定时间点截图任务输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *MediaSnapshotByTimeOffsetItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskTranscodeResult

type MediaProcessTaskTranscodeResult struct {

	// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 错误码,0 表示成功,其他值表示失败:
	// <li>40000:输入参数不合法,请检查输入参数;</li>
	// <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
	// <li>70000:内部服务错误,建议重试。</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 错误信息。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 转码任务的输入。
	Input *TranscodeTaskInput `json:"Input,omitempty" name:"Input"`

	// 转码任务的输出。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Output *MediaTranscodeItem `json:"Output,omitempty" name:"Output"`
}

type MediaSampleSnapshotItem

type MediaSampleSnapshotItem struct {

	// 采样截图规格 ID,参见[采样截图参数模板](https://cloud.tencent.com/document/product/266/33480#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 采样方式,取值范围:
	// <li>Percent:根据百分比间隔采样。</li>
	// <li>Time:根据时间间隔采样。</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔
	// <li>当 SampleType 为 Percent 时,该值表示多少百分比一张图。</li>
	// <li>当 SampleType 为 Time 时,该值表示多少时间间隔一张图,单位秒, 第一张图均为视频首帧。</li>
	Interval *int64 `json:"Interval,omitempty" name:"Interval"`

	// 截图后文件的存储位置。
	Storage *TaskOutputStorage `json:"Storage,omitempty" name:"Storage"`

	// 生成的截图 path 列表。
	ImagePathSet []*string `json:"ImagePathSet,omitempty" name:"ImagePathSet" list`

	// 截图如果被打上了水印,被打水印的模板 ID 列表。
	WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition" list`
}

type MediaSnapshotByTimeOffsetItem

type MediaSnapshotByTimeOffsetItem struct {

	// 指定时间点截图规格,参见[指定时间点截图参数模板](https://cloud.tencent.com/document/product/266/33480#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 同一规格的截图信息集合,每个元素代表一张截图。
	PicInfoSet []*MediaSnapshotByTimePicInfoItem `json:"PicInfoSet,omitempty" name:"PicInfoSet" list`

	// 指定时间点截图文件的存储位置。
	Storage *TaskOutputStorage `json:"Storage,omitempty" name:"Storage"`
}

type MediaSnapshotByTimePicInfoItem

type MediaSnapshotByTimePicInfoItem struct {

	// 该张截图对应视频文件中的时间偏移,单位为<font color=red>毫秒</font>。
	TimeOffset *float64 `json:"TimeOffset,omitempty" name:"TimeOffset"`

	// 该张截图的路径。
	Path *string `json:"Path,omitempty" name:"Path"`

	// 截图如果被打上了水印,被打水印的模板 ID 列表。
	WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition" list`
}

type MediaTranscodeItem

type MediaTranscodeItem struct {

	// 转码后文件的目标存储。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 转码后的视频文件路径。
	Path *string `json:"Path,omitempty" name:"Path"`

	// 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 视频流码率平均值与音频流码率平均值之和, 单位:bps。
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 视频流高度的最大值,单位:px。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 视频流宽度的最大值,单位:px。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// 视频时长,单位:秒。
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// 容器类型,例如 m4a,mp4 等。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 视频的 md5 值。
	Md5 *string `json:"Md5,omitempty" name:"Md5"`

	// 音频流信息。
	AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet" list`

	// 视频流信息。
	VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet" list`
}

type MediaVideoStreamItem

type MediaVideoStreamItem struct {

	// 视频流的码率,单位:bps。
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 视频流的高度,单位:px。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 视频流的宽度,单位:px。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 视频流的编码格式,例如 h264。
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// 帧率,单位:hz。
	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
}

type ModifyAIAnalysisTemplateRequest

type ModifyAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容分析模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 视频内容分析模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 视频内容分析模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 智能分类任务控制参数。
	ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// 智能标签任务控制参数。
	TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// 智能封面任务控制参数。
	CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// 智能按帧标签任务控制参数。
	FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`
}

func NewModifyAIAnalysisTemplateRequest

func NewModifyAIAnalysisTemplateRequest() (request *ModifyAIAnalysisTemplateRequest)

func (*ModifyAIAnalysisTemplateRequest) FromJsonString

func (r *ModifyAIAnalysisTemplateRequest) FromJsonString(s string) error

func (*ModifyAIAnalysisTemplateRequest) ToJsonString

func (r *ModifyAIAnalysisTemplateRequest) ToJsonString() string

type ModifyAIAnalysisTemplateResponse

type ModifyAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAIAnalysisTemplateResponse

func NewModifyAIAnalysisTemplateResponse() (response *ModifyAIAnalysisTemplateResponse)

func (*ModifyAIAnalysisTemplateResponse) FromJsonString

func (r *ModifyAIAnalysisTemplateResponse) FromJsonString(s string) error

func (*ModifyAIAnalysisTemplateResponse) ToJsonString

func (r *ModifyAIAnalysisTemplateResponse) ToJsonString() string

type ModifyAIRecognitionTemplateRequest

type ModifyAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// 视频内容识别模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 视频内容识别模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 视频内容识别模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 人脸识别控制参数。
	FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// 文本全文识别控制参数。
	OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// 文本关键词识别控制参数。
	OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// 语音全文识别控制参数。
	AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// 语音关键词识别控制参数。
	AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`
}

func NewModifyAIRecognitionTemplateRequest

func NewModifyAIRecognitionTemplateRequest() (request *ModifyAIRecognitionTemplateRequest)

func (*ModifyAIRecognitionTemplateRequest) FromJsonString

func (r *ModifyAIRecognitionTemplateRequest) FromJsonString(s string) error

func (*ModifyAIRecognitionTemplateRequest) ToJsonString

func (r *ModifyAIRecognitionTemplateRequest) ToJsonString() string

type ModifyAIRecognitionTemplateResponse

type ModifyAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAIRecognitionTemplateResponse

func NewModifyAIRecognitionTemplateResponse() (response *ModifyAIRecognitionTemplateResponse)

func (*ModifyAIRecognitionTemplateResponse) FromJsonString

func (r *ModifyAIRecognitionTemplateResponse) FromJsonString(s string) error

func (*ModifyAIRecognitionTemplateResponse) ToJsonString

func (r *ModifyAIRecognitionTemplateResponse) ToJsonString() string

type ModifyAdaptiveDynamicStreamingTemplateRequest

type ModifyAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// 转自适应码流模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 转自适应码流格式,取值范围:
	// <li>HLS,</li>
	// <li>MPEG-DASH。</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// 是否禁止视频低码率转高码率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// 是否禁止视频分辨率转高分辨率,取值范围:
	// <li>0:否,</li>
	// <li>1:是。</li>
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// 转自适应码流输入流参数信息,最多输入10路流。
	// 注意:各个流的帧率必须保持一致;如果不一致,采用第一个流的帧率作为输出帧率。
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos" list`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewModifyAdaptiveDynamicStreamingTemplateRequest

func NewModifyAdaptiveDynamicStreamingTemplateRequest() (request *ModifyAdaptiveDynamicStreamingTemplateRequest)

func (*ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString

func (*ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type ModifyAdaptiveDynamicStreamingTemplateResponse

type ModifyAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAdaptiveDynamicStreamingTemplateResponse

func NewModifyAdaptiveDynamicStreamingTemplateResponse() (response *ModifyAdaptiveDynamicStreamingTemplateResponse)

func (*ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString

func (*ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type ModifyAnimatedGraphicsTemplateRequest

type ModifyAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// 转动图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 转动图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 动图格式,取值为 gif 和 webp。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 帧率,取值范围:[1, 30],单位:Hz。
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// 图片质量,取值范围:[1, 100],默认值为 75。
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewModifyAnimatedGraphicsTemplateRequest

func NewModifyAnimatedGraphicsTemplateRequest() (request *ModifyAnimatedGraphicsTemplateRequest)

func (*ModifyAnimatedGraphicsTemplateRequest) FromJsonString

func (r *ModifyAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

func (*ModifyAnimatedGraphicsTemplateRequest) ToJsonString

type ModifyAnimatedGraphicsTemplateResponse

type ModifyAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAnimatedGraphicsTemplateResponse

func NewModifyAnimatedGraphicsTemplateResponse() (response *ModifyAnimatedGraphicsTemplateResponse)

func (*ModifyAnimatedGraphicsTemplateResponse) FromJsonString

func (*ModifyAnimatedGraphicsTemplateResponse) ToJsonString

type ModifyContentReviewTemplateRequest

type ModifyContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// 内容审核模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 内容审核模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 内容审核模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 鉴黄控制参数。
	PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// 鉴恐控制参数。
	TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// 鉴政控制参数。
	PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// 违禁控制参数。违禁内容包括:
	// <li>谩骂;</li>
	// <li>涉毒违法。</li>
	// 注意:此参数尚未支持。
	ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// 用户自定义内容审核控制参数。
	UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`
}

func NewModifyContentReviewTemplateRequest

func NewModifyContentReviewTemplateRequest() (request *ModifyContentReviewTemplateRequest)

func (*ModifyContentReviewTemplateRequest) FromJsonString

func (r *ModifyContentReviewTemplateRequest) FromJsonString(s string) error

func (*ModifyContentReviewTemplateRequest) ToJsonString

func (r *ModifyContentReviewTemplateRequest) ToJsonString() string

type ModifyContentReviewTemplateResponse

type ModifyContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyContentReviewTemplateResponse

func NewModifyContentReviewTemplateResponse() (response *ModifyContentReviewTemplateResponse)

func (*ModifyContentReviewTemplateResponse) FromJsonString

func (r *ModifyContentReviewTemplateResponse) FromJsonString(s string) error

func (*ModifyContentReviewTemplateResponse) ToJsonString

func (r *ModifyContentReviewTemplateResponse) ToJsonString() string

type ModifyImageSpriteTemplateRequest

type ModifyImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// 雪碧图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 雪碧图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 采样类型,取值:
	// <li>Percent:按百分比。</li>
	// <li>Time:按时间间隔。</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	// <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
	// <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 雪碧图中小图的行数。
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// 雪碧图中小图的列数。
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

func NewModifyImageSpriteTemplateRequest

func NewModifyImageSpriteTemplateRequest() (request *ModifyImageSpriteTemplateRequest)

func (*ModifyImageSpriteTemplateRequest) FromJsonString

func (r *ModifyImageSpriteTemplateRequest) FromJsonString(s string) error

func (*ModifyImageSpriteTemplateRequest) ToJsonString

func (r *ModifyImageSpriteTemplateRequest) ToJsonString() string

type ModifyImageSpriteTemplateResponse

type ModifyImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyImageSpriteTemplateResponse

func NewModifyImageSpriteTemplateResponse() (response *ModifyImageSpriteTemplateResponse)

func (*ModifyImageSpriteTemplateResponse) FromJsonString

func (r *ModifyImageSpriteTemplateResponse) FromJsonString(s string) error

func (*ModifyImageSpriteTemplateResponse) ToJsonString

func (r *ModifyImageSpriteTemplateResponse) ToJsonString() string

type ModifyPersonSampleRequest

type ModifyPersonSampleRequest struct {
	*tchttp.BaseRequest

	// 人物 ID。
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`

	// 名称,长度限制:128 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 描述,长度限制:1024 个字符。
	Description *string `json:"Description,omitempty" name:"Description"`

	// 人物应用场景,可选值:
	// 1. Recognition:用于内容识别,等价于 Recognition.Face。
	// 2. Review:用于内容审核,等价于 Review.Face。
	// 3. All:用于内容识别、内容审核,等价于 1+2。
	Usages []*string `json:"Usages,omitempty" name:"Usages" list`

	// 人脸操作信息。
	FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitempty" name:"FaceOperationInfo"`

	// 标签操作信息。
	TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"`
}

func NewModifyPersonSampleRequest

func NewModifyPersonSampleRequest() (request *ModifyPersonSampleRequest)

func (*ModifyPersonSampleRequest) FromJsonString

func (r *ModifyPersonSampleRequest) FromJsonString(s string) error

func (*ModifyPersonSampleRequest) ToJsonString

func (r *ModifyPersonSampleRequest) ToJsonString() string

type ModifyPersonSampleResponse

type ModifyPersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 人物信息。
		Person *AiSamplePerson `json:"Person,omitempty" name:"Person"`

		// 处理失败的人脸信息。
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyPersonSampleResponse

func NewModifyPersonSampleResponse() (response *ModifyPersonSampleResponse)

func (*ModifyPersonSampleResponse) FromJsonString

func (r *ModifyPersonSampleResponse) FromJsonString(s string) error

func (*ModifyPersonSampleResponse) ToJsonString

func (r *ModifyPersonSampleResponse) ToJsonString() string

type ModifySampleSnapshotTemplateRequest

type ModifySampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// 采样截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 采样截图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 采样截图类型,取值:
	// <li>Percent:按百分比。</li>
	// <li>Time:按时间间隔。</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	// <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
	// <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 图片格式,取值为 jpg 和 png。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewModifySampleSnapshotTemplateRequest

func NewModifySampleSnapshotTemplateRequest() (request *ModifySampleSnapshotTemplateRequest)

func (*ModifySampleSnapshotTemplateRequest) FromJsonString

func (r *ModifySampleSnapshotTemplateRequest) FromJsonString(s string) error

func (*ModifySampleSnapshotTemplateRequest) ToJsonString

func (r *ModifySampleSnapshotTemplateRequest) ToJsonString() string

type ModifySampleSnapshotTemplateResponse

type ModifySampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySampleSnapshotTemplateResponse

func NewModifySampleSnapshotTemplateResponse() (response *ModifySampleSnapshotTemplateResponse)

func (*ModifySampleSnapshotTemplateResponse) FromJsonString

func (r *ModifySampleSnapshotTemplateResponse) FromJsonString(s string) error

func (*ModifySampleSnapshotTemplateResponse) ToJsonString

func (r *ModifySampleSnapshotTemplateResponse) ToJsonString() string

type ModifySnapshotByTimeOffsetTemplateRequest

type ModifySnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// 指定时间点截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 指定时间点截图模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 图片格式,取值可以为 jpg 和 png。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewModifySnapshotByTimeOffsetTemplateRequest

func NewModifySnapshotByTimeOffsetTemplateRequest() (request *ModifySnapshotByTimeOffsetTemplateRequest)

func (*ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString

func (*ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString

type ModifySnapshotByTimeOffsetTemplateResponse

type ModifySnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySnapshotByTimeOffsetTemplateResponse

func NewModifySnapshotByTimeOffsetTemplateResponse() (response *ModifySnapshotByTimeOffsetTemplateResponse)

func (*ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString

func (*ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString

type ModifyTranscodeTemplateRequest

type ModifyTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// 转码模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 转码模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 是否去除视频数据,可选值:
	// <li>0:保留</li>
	// <li>1:去除</li>
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// 是否去除音频数据,可选值:
	// <li>0:保留</li>
	// <li>1:去除</li>
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// 视频流配置参数。
	VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// 音频流配置参数。
	AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// 极速高清转码参数。
	TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitempty" name:"TEHDConfig"`
}

func NewModifyTranscodeTemplateRequest

func NewModifyTranscodeTemplateRequest() (request *ModifyTranscodeTemplateRequest)

func (*ModifyTranscodeTemplateRequest) FromJsonString

func (r *ModifyTranscodeTemplateRequest) FromJsonString(s string) error

func (*ModifyTranscodeTemplateRequest) ToJsonString

func (r *ModifyTranscodeTemplateRequest) ToJsonString() string

type ModifyTranscodeTemplateResponse

type ModifyTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTranscodeTemplateResponse

func NewModifyTranscodeTemplateResponse() (response *ModifyTranscodeTemplateResponse)

func (*ModifyTranscodeTemplateResponse) FromJsonString

func (r *ModifyTranscodeTemplateResponse) FromJsonString(s string) error

func (*ModifyTranscodeTemplateResponse) ToJsonString

func (r *ModifyTranscodeTemplateResponse) ToJsonString() string

type ModifyWatermarkTemplateRequest

type ModifyWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// 水印模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 水印模板名称,长度限制:64 个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息,长度限制:256 个字符。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 原点位置,可选值:
	// <li>TopLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
	// <li>TopRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>
	// <li>BottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
	// <li>BottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下角。</li>
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// 水印原点距离视频图像坐标原点的水平位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 XPos 为指定像素,如 100px 表示 XPos 为 100 像素。</li>
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// 水印原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 YPos 为指定像素,如 100px 表示 YPos 为 100 像素。</li>
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// 图片水印模板,该字段仅对图片水印模板有效。
	ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// 文字水印模板,该字段仅对文字水印模板有效。
	TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG水印模板,当 Type 为 svg,该字段必填。当 Type 为 image 或 text,该字段无效。
	SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitempty" name:"SvgTemplate"`
}

func NewModifyWatermarkTemplateRequest

func NewModifyWatermarkTemplateRequest() (request *ModifyWatermarkTemplateRequest)

func (*ModifyWatermarkTemplateRequest) FromJsonString

func (r *ModifyWatermarkTemplateRequest) FromJsonString(s string) error

func (*ModifyWatermarkTemplateRequest) ToJsonString

func (r *ModifyWatermarkTemplateRequest) ToJsonString() string

type ModifyWatermarkTemplateResponse

type ModifyWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 图片水印地址,仅当 ImageTemplate.ImageContent 非空,该字段有效。
		ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyWatermarkTemplateResponse

func NewModifyWatermarkTemplateResponse() (response *ModifyWatermarkTemplateResponse)

func (*ModifyWatermarkTemplateResponse) FromJsonString

func (r *ModifyWatermarkTemplateResponse) FromJsonString(s string) error

func (*ModifyWatermarkTemplateResponse) ToJsonString

func (r *ModifyWatermarkTemplateResponse) ToJsonString() string

type ModifyWordSampleRequest

type ModifyWordSampleRequest struct {
	*tchttp.BaseRequest

	// 关键词,长度限制:128 个字符。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// <b>关键词应用场景,可选值:</b>
	// 1. Recognition.Ocr:通过光学字符识别技术,进行内容识别;
	// 2. Recognition.Asr:通过语音识别技术,进行内容识别;
	// 3. Review.Ocr:通过光学字符识别技术,进行内容审核;
	// 4. Review.Asr:通过语音识别技术,进行内容审核;
	// <b>可合并简写为:</b>
	// 5. Recognition:通过光学字符识别技术、语音识别技术,进行内容识别,等价于 1+2;
	// 6. Review:通过光学字符识别技术、语音识别技术,进行内容审核,等价于 3+4;
	// 7. All:通过光学字符识别技术、语音识别技术,进行内容识别、内容审核,等价于 1+2+3+4。
	Usages []*string `json:"Usages,omitempty" name:"Usages" list`

	// 标签操作信息。
	TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"`
}

func NewModifyWordSampleRequest

func NewModifyWordSampleRequest() (request *ModifyWordSampleRequest)

func (*ModifyWordSampleRequest) FromJsonString

func (r *ModifyWordSampleRequest) FromJsonString(s string) error

func (*ModifyWordSampleRequest) ToJsonString

func (r *ModifyWordSampleRequest) ToJsonString() string

type ModifyWordSampleResponse

type ModifyWordSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyWordSampleResponse

func NewModifyWordSampleResponse() (response *ModifyWordSampleResponse)

func (*ModifyWordSampleResponse) FromJsonString

func (r *ModifyWordSampleResponse) FromJsonString(s string) error

func (*ModifyWordSampleResponse) ToJsonString

func (r *ModifyWordSampleResponse) ToJsonString() string

type MosaicInput

type MosaicInput struct {

	// 原点位置,目前仅支持:
	// <li>TopLeft:表示坐标原点位于视频图像左上角,马赛克原点为图片或文字的左上角。</li>
	// 默认值:TopLeft。
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// 马赛克原点距离视频图像坐标原点的水平位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示马赛克 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示马赛克 XPos 为指定像素,如 100px 表示 XPos 为 100 像素。</li>
	// 默认值:0px。
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// 马赛克原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示马赛克 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示马赛克 YPos 为指定像素,如 100px 表示 YPos 为 100 像素。</li>
	// 默认值:0px。
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// 马赛克的宽度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示马赛克 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示马赛克 Width 单位为像素,如 100px 表示 Width 为 100 像素。</li>
	// 默认值:10%。
	Width *string `json:"Width,omitempty" name:"Width"`

	// 马赛克的高度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示马赛克 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示马赛克 Height 单位为像素,如 100px 表示 Height 为 100 像素。</li>
	// 默认值:10%。
	Height *string `json:"Height,omitempty" name:"Height"`

	// 马赛克的起始时间偏移,单位:秒。不填或填0,表示马赛克从画面出现时开始显现。
	// <li>不填或填0,表示马赛克从画面开始就出现;</li>
	// <li>当数值大于0时(假设为 n),表示马赛克从画面开始的第 n 秒出现;</li>
	// <li>当数值小于0时(假设为 -n),表示马赛克从离画面结束 n 秒前开始出现。</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 马赛克的结束时间偏移,单位:秒。
	// <li>不填或填0,表示马赛克持续到画面结束;</li>
	// <li>当数值大于0时(假设为 n),表示马赛克持续到第 n 秒时消失;</li>
	// <li>当数值小于0时(假设为 -n),表示马赛克持续到离画面结束 n 秒前消失。</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type NumberFormat

type NumberFormat struct {

	// `{number}`变量的起始值,默认为0。
	InitialValue *uint64 `json:"InitialValue,omitempty" name:"InitialValue"`

	// `{number}`变量的增长步长,默认为1。
	Increment *uint64 `json:"Increment,omitempty" name:"Increment"`

	// `{number}`变量的最小长度,不足时补占位符。默认为1。
	MinLength *uint64 `json:"MinLength,omitempty" name:"MinLength"`

	// `{number}`变量的长度不足时,补充的占位符。默认为"0"。
	PlaceHolder *string `json:"PlaceHolder,omitempty" name:"PlaceHolder"`
}

type OcrFullTextConfigureInfo

type OcrFullTextConfigureInfo struct {

	// 文本全文识别任务开关,可选值:
	// <li>ON:开启智能文本全文识别任务;</li>
	// <li>OFF:关闭智能文本全文识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type OcrFullTextConfigureInfoForUpdate

type OcrFullTextConfigureInfoForUpdate struct {

	// 文本全文识别任务开关,可选值:
	// <li>ON:开启智能文本全文识别任务;</li>
	// <li>OFF:关闭智能文本全文识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type OcrWordsConfigureInfo

type OcrWordsConfigureInfo struct {

	// 文本关键词识别任务开关,可选值:
	// <li>ON:开启文本关键词识别任务;</li>
	// <li>OFF:关闭文本关键词识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`
}

type OcrWordsConfigureInfoForUpdate

type OcrWordsConfigureInfoForUpdate struct {

	// 文本关键词识别任务开关,可选值:
	// <li>ON:开启文本关键词识别任务;</li>
	// <li>OFF:关闭文本关键词识别任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 关键词过滤标签,指定需要返回的关键词的标签。如果未填或者为空,则全部结果都返回。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`
}

type ParseLiveStreamProcessNotificationRequest

type ParseLiveStreamProcessNotificationRequest struct {
	*tchttp.BaseRequest

	// 从 CMQ 获取到的直播流事件通知内容。
	Content *string `json:"Content,omitempty" name:"Content"`
}

func NewParseLiveStreamProcessNotificationRequest

func NewParseLiveStreamProcessNotificationRequest() (request *ParseLiveStreamProcessNotificationRequest)

func (*ParseLiveStreamProcessNotificationRequest) FromJsonString

func (*ParseLiveStreamProcessNotificationRequest) ToJsonString

type ParseLiveStreamProcessNotificationResponse

type ParseLiveStreamProcessNotificationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 直播流处理结果类型,包含:
		// <li>AiReviewResult:内容审核结果;</li>
		// <li>AiRecognitionResult:内容识别结果;</li>
		// <li>ProcessEof:直播流处理结束。</li>
		NotificationType *string `json:"NotificationType,omitempty" name:"NotificationType"`

		// 视频处理任务 ID。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 直播流处理错误信息,当 NotificationType 为 ProcessEof 时有效。
		// 注意:此字段可能返回 null,表示取不到有效值。
		ProcessEofInfo *LiveStreamProcessErrorInfo `json:"ProcessEofInfo,omitempty" name:"ProcessEofInfo"`

		// 内容审核结果,当 NotificationType 为 AiReviewResult 时有效。
		// 注意:此字段可能返回 null,表示取不到有效值。
		AiReviewResultInfo *LiveStreamAiReviewResultInfo `json:"AiReviewResultInfo,omitempty" name:"AiReviewResultInfo"`

		// 内容识别结果,当 NotificationType 为 AiRecognitionResult 时有效。
		// 注意:此字段可能返回 null,表示取不到有效值。
		AiRecognitionResultInfo *LiveStreamAiRecognitionResultInfo `json:"AiRecognitionResultInfo,omitempty" name:"AiRecognitionResultInfo"`

		// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
		SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

		// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
		SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewParseLiveStreamProcessNotificationResponse

func NewParseLiveStreamProcessNotificationResponse() (response *ParseLiveStreamProcessNotificationResponse)

func (*ParseLiveStreamProcessNotificationResponse) FromJsonString

func (*ParseLiveStreamProcessNotificationResponse) ToJsonString

type ParseNotificationRequest

type ParseNotificationRequest struct {
	*tchttp.BaseRequest

	// 从 CMQ 获取到的事件通知内容。
	Content *string `json:"Content,omitempty" name:"Content"`
}

func NewParseNotificationRequest

func NewParseNotificationRequest() (request *ParseNotificationRequest)

func (*ParseNotificationRequest) FromJsonString

func (r *ParseNotificationRequest) FromJsonString(s string) error

func (*ParseNotificationRequest) ToJsonString

func (r *ParseNotificationRequest) ToJsonString() string

type ParseNotificationResponse

type ParseNotificationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 支持事件类型,目前取值有:
		// <li>WorkflowTask:视频工作流处理任务。</li>
		// <li>EditMediaTask:视频编辑任务。</li>
		EventType *string `json:"EventType,omitempty" name:"EventType"`

		// 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		WorkflowTaskEvent *WorkflowTask `json:"WorkflowTaskEvent,omitempty" name:"WorkflowTaskEvent"`

		// 视频编辑任务信息,仅当 TaskType 为 EditMediaTask,该字段有值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		EditMediaTaskEvent *EditMediaTask `json:"EditMediaTaskEvent,omitempty" name:"EditMediaTaskEvent"`

		// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
		SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

		// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
		SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewParseNotificationResponse

func NewParseNotificationResponse() (response *ParseNotificationResponse)

func (*ParseNotificationResponse) FromJsonString

func (r *ParseNotificationResponse) FromJsonString(s string) error

func (*ParseNotificationResponse) ToJsonString

func (r *ParseNotificationResponse) ToJsonString() string

type PoliticalAsrReviewTemplateInfo

type PoliticalAsrReviewTemplateInfo struct {

	// 语音鉴政任务开关,可选值:
	// <li>ON:开启语音鉴政任务;</li>
	// <li>OFF:关闭语音鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalAsrReviewTemplateInfoForUpdate

type PoliticalAsrReviewTemplateInfoForUpdate struct {

	// 语音鉴政任务开关,可选值:
	// <li>ON:开启语音鉴政任务;</li>
	// <li>OFF:关闭语音鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalConfigureInfo

type PoliticalConfigureInfo struct {

	// 画面鉴政控制参数。
	ImgReviewInfo *PoliticalImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 语音鉴政控制参数。
	AsrReviewInfo *PoliticalAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本鉴政控制参数。
	OcrReviewInfo *PoliticalOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PoliticalConfigureInfoForUpdate

type PoliticalConfigureInfoForUpdate struct {

	// 画面鉴政控制参数。
	ImgReviewInfo *PoliticalImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 语音鉴政控制参数。
	AsrReviewInfo *PoliticalAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本鉴政控制参数。
	OcrReviewInfo *PoliticalOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PoliticalImgReviewTemplateInfo

type PoliticalImgReviewTemplateInfo struct {

	// 画面鉴政任务开关,可选值:
	// <li>ON:开启画面鉴政任务;</li>
	// <li>OFF:关闭画面鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴政过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>violation_photo:违规图标;</li>
	// <li>politician:政治人物;</li>
	// <li>entertainment:娱乐人物;</li>
	// <li>sport:体育人物;</li>
	// <li>entrepreneur:商业人物;</li>
	// <li>scholar:教育学者;</li>
	// <li>celebrity:知名人物;</li>
	// <li>military:军事人物。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 97 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 95 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalImgReviewTemplateInfoForUpdate

type PoliticalImgReviewTemplateInfoForUpdate struct {

	// 画面鉴政任务开关,可选值:
	// <li>ON:开启画面鉴政任务;</li>
	// <li>OFF:关闭画面鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴政过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>violation_photo:违规图标;</li>
	// <li>politician:政治人物;</li>
	// <li>entertainment:娱乐人物;</li>
	// <li>sport:体育人物;</li>
	// <li>entrepreneur:商业人物;</li>
	// <li>scholar:教育学者;</li>
	// <li>celebrity:知名人物;</li>
	// <li>military:军事人物。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalOcrReviewTemplateInfo

type PoliticalOcrReviewTemplateInfo struct {

	// 文本鉴政任务开关,可选值:
	// <li>ON:开启文本鉴政任务;</li>
	// <li>OFF:关闭文本鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalOcrReviewTemplateInfoForUpdate

type PoliticalOcrReviewTemplateInfoForUpdate struct {

	// 文本鉴政任务开关,可选值:
	// <li>ON:开启文本鉴政任务;</li>
	// <li>OFF:关闭文本鉴政任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornAsrReviewTemplateInfo

type PornAsrReviewTemplateInfo struct {

	// 语音鉴黄任务开关,可选值:
	// <li>ON:开启语音鉴黄任务;</li>
	// <li>OFF:关闭语音鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornAsrReviewTemplateInfoForUpdate

type PornAsrReviewTemplateInfoForUpdate struct {

	// 语音鉴黄任务开关,可选值:
	// <li>ON:开启语音鉴黄任务;</li>
	// <li>OFF:关闭语音鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornConfigureInfo

type PornConfigureInfo struct {

	// 画面鉴黄控制参数。
	ImgReviewInfo *PornImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 语音鉴黄控制参数。
	AsrReviewInfo *PornAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本鉴黄控制参数。
	OcrReviewInfo *PornOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PornConfigureInfoForUpdate

type PornConfigureInfoForUpdate struct {

	// 画面鉴黄控制参数。
	ImgReviewInfo *PornImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 语音鉴黄控制参数。
	AsrReviewInfo *PornAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本鉴黄控制参数。
	OcrReviewInfo *PornOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PornImgReviewTemplateInfo

type PornImgReviewTemplateInfo struct {

	// 画面鉴黄任务开关,可选值:
	// <li>ON:开启画面鉴黄任务;</li>
	// <li>OFF:关闭画面鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴黄过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>porn:色情;</li>
	// <li>vulgar:低俗;</li>
	// <li>intimacy:亲密行为;</li>
	// <li>sexy:性感。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 90 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 0 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornImgReviewTemplateInfoForUpdate

type PornImgReviewTemplateInfoForUpdate struct {

	// 画面鉴黄任务开关,可选值:
	// <li>ON:开启画面鉴黄任务;</li>
	// <li>OFF:关闭画面鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴黄过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>porn:色情;</li>
	// <li>vulgar:低俗;</li>
	// <li>intimacy:亲密行为;</li>
	// <li>sexy:性感。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornOcrReviewTemplateInfo

type PornOcrReviewTemplateInfo struct {

	// 文本鉴黄任务开关,可选值:
	// <li>ON:开启文本鉴黄任务;</li>
	// <li>OFF:关闭文本鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornOcrReviewTemplateInfoForUpdate

type PornOcrReviewTemplateInfoForUpdate struct {

	// 文本鉴黄任务开关,可选值:
	// <li>ON:开启文本鉴黄任务;</li>
	// <li>OFF:关闭文本鉴黄任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProcessLiveStreamRequest

type ProcessLiveStreamRequest struct {
	*tchttp.BaseRequest

	// 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv 等)。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 任务的事件通知信息,用于指定直播流处理的结果。
	TaskNotifyConfig *LiveStreamTaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

	// 直播流处理输出文件的目标存储。如处理有文件输出,该参数为必填项。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 直播流处理生成的文件输出的目标目录,如`/movie/201909/`,如果不填为 `/` 目录。
	OutputDir *string `json:"OutputDir,omitempty" name:"OutputDir"`

	// 视频内容审核类型任务参数。
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// 视频内容识别类型任务参数。
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

func NewProcessLiveStreamRequest

func NewProcessLiveStreamRequest() (request *ProcessLiveStreamRequest)

func (*ProcessLiveStreamRequest) FromJsonString

func (r *ProcessLiveStreamRequest) FromJsonString(s string) error

func (*ProcessLiveStreamRequest) ToJsonString

func (r *ProcessLiveStreamRequest) ToJsonString() string

type ProcessLiveStreamResponse

type ProcessLiveStreamResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务 ID
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewProcessLiveStreamResponse

func NewProcessLiveStreamResponse() (response *ProcessLiveStreamResponse)

func (*ProcessLiveStreamResponse) FromJsonString

func (r *ProcessLiveStreamResponse) FromJsonString(s string) error

func (*ProcessLiveStreamResponse) ToJsonString

func (r *ProcessLiveStreamResponse) ToJsonString() string

type ProcessMediaRequest

type ProcessMediaRequest struct {
	*tchttp.BaseRequest

	// 视频处理的文件输入信息。
	InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"`

	// 视频处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 视频处理生成的文件输出的目标目录,如`/movie/201907/`。如果不填,表示与 InputInfo 中文件所在的目录一致。
	OutputDir *string `json:"OutputDir,omitempty" name:"OutputDir"`

	// 视频处理类型任务参数。
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// 视频内容审核类型任务参数。
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// 视频内容分析类型任务参数。
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// 视频内容识别类型任务参数。
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// 任务的事件通知信息,不填代表不获取事件通知。
	TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

	// 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

func NewProcessMediaRequest

func NewProcessMediaRequest() (request *ProcessMediaRequest)

func (*ProcessMediaRequest) FromJsonString

func (r *ProcessMediaRequest) FromJsonString(s string) error

func (*ProcessMediaRequest) ToJsonString

func (r *ProcessMediaRequest) ToJsonString() string

type ProcessMediaResponse

type ProcessMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务 ID。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewProcessMediaResponse

func NewProcessMediaResponse() (response *ProcessMediaResponse)

func (*ProcessMediaResponse) FromJsonString

func (r *ProcessMediaResponse) FromJsonString(s string) error

func (*ProcessMediaResponse) ToJsonString

func (r *ProcessMediaResponse) ToJsonString() string

type ProhibitedAsrReviewTemplateInfo

type ProhibitedAsrReviewTemplateInfo struct {

	// 语音违禁任务开关,可选值:
	// <li>ON:开启语音违禁任务;</li>
	// <li>OFF:关闭语音违禁任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedAsrReviewTemplateInfoForUpdate

type ProhibitedAsrReviewTemplateInfoForUpdate struct {

	// 语音违禁任务开关,可选值:
	// <li>ON:开启语音违禁任务;</li>
	// <li>OFF:关闭语音违禁任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedConfigureInfo

type ProhibitedConfigureInfo struct {

	// 语音违禁控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AsrReviewInfo *ProhibitedAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本违禁控制参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OcrReviewInfo *ProhibitedOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type ProhibitedConfigureInfoForUpdate

type ProhibitedConfigureInfoForUpdate struct {

	// 语音违禁控制参数。
	AsrReviewInfo *ProhibitedAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 文本违禁控制参数。
	OcrReviewInfo *ProhibitedOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type ProhibitedOcrReviewTemplateInfo

type ProhibitedOcrReviewTemplateInfo struct {

	// 文本违禁任务开关,可选值:
	// <li>ON:开启文本违禁任务;</li>
	// <li>OFF:关闭文本违禁任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedOcrReviewTemplateInfoForUpdate

type ProhibitedOcrReviewTemplateInfoForUpdate struct {

	// 文本违禁任务开关,可选值:
	// <li>ON:开启文本违禁任务;</li>
	// <li>OFF:关闭文本违禁任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type RawImageWatermarkInput

type RawImageWatermarkInput struct {

	// 水印图片的输入内容。支持 jpeg、png 图片格式。
	ImageContent *MediaInputInfo `json:"ImageContent,omitempty" name:"ImageContent"`

	// 水印的宽度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素。</li>
	// 默认值:10%。
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素。</li>
	// 默认值:0px,表示 Height 按照原始水印图片的宽高比缩放。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type RawTranscodeParameter

type RawTranscodeParameter struct {

	// 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 是否去除视频数据,取值:
	// <li>0:保留;</li>
	// <li>1:去除。</li>
	// 默认值:0。
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// 是否去除音频数据,取值:
	// <li>0:保留;</li>
	// <li>1:去除。</li>
	// 默认值:0。
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// 视频流配置参数,当 RemoveVideo 为 0,该字段必填。
	VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// 音频流配置参数,当 RemoveAudio 为 0,该字段必填。
	AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// 极速高清转码参数。
	TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"`
}

type RawWatermarkParameter

type RawWatermarkParameter struct {

	// 水印类型,可选值:
	// <li>image:图片水印。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 原点位置,目前仅支持:
	// <li>TopLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角。</li>
	// 默认值:TopLeft。
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// 水印原点距离视频图像坐标原点的水平位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 XPos 为指定像素,如 100px 表示 XPos 为 100 像素。</li>
	// 默认值:0px。
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// 水印原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式:
	// <li>当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 YPos 为指定像素,如 100px 表示 YPos 为 100 像素。</li>
	// 默认值:0px。
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// 图片水印模板,当 Type 为 image,该字段必填。当 Type 为 text,该字段无效。
	ImageTemplate *RawImageWatermarkInput `json:"ImageTemplate,omitempty" name:"ImageTemplate"`
}

type ResetWorkflowRequest

type ResetWorkflowRequest struct {
	*tchttp.BaseRequest

	// 工作流 ID。
	WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`

	// 工作流名称,最多128字符。同一个用户该名称唯一。
	WorkflowName *string `json:"WorkflowName,omitempty" name:"WorkflowName"`

	// 工作流绑定的触发规则,当上传视频命中该规则到该对象时即触发工作流。
	Trigger *WorkflowTrigger `json:"Trigger,omitempty" name:"Trigger"`

	// 视频处理的文件输出配置。不填则继承 Trigger 中的存储位置。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 视频处理生成的文件输出的目标目录,如`/movie/201907/`。如果不填,表示与触发文件所在的目录一致,即`{inputDir}`。
	OutputDir *string `json:"OutputDir,omitempty" name:"OutputDir"`

	// 视频处理类型任务参数。
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// 视频内容审核类型任务参数。
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// 视频内容分析类型任务参数。
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// 视频内容识别类型任务参数。
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// 工作流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
	TaskPriority *int64 `json:"TaskPriority,omitempty" name:"TaskPriority"`

	// 任务的事件通知信息,不填代表不获取事件通知。
	TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`
}

func NewResetWorkflowRequest

func NewResetWorkflowRequest() (request *ResetWorkflowRequest)

func (*ResetWorkflowRequest) FromJsonString

func (r *ResetWorkflowRequest) FromJsonString(s string) error

func (*ResetWorkflowRequest) ToJsonString

func (r *ResetWorkflowRequest) ToJsonString() string

type ResetWorkflowResponse

type ResetWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetWorkflowResponse

func NewResetWorkflowResponse() (response *ResetWorkflowResponse)

func (*ResetWorkflowResponse) FromJsonString

func (r *ResetWorkflowResponse) FromJsonString(s string) error

func (*ResetWorkflowResponse) ToJsonString

func (r *ResetWorkflowResponse) ToJsonString() string

type SampleSnapshotTaskInput

type SampleSnapshotTaskInput struct {

	// 采样截图模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 水印列表,支持多张图片或文字水印,最大可支持 10 张。
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet" list`

	// 采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 采样截图后输出路径中的`{number}`变量的规则。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitempty" name:"ObjectNumberFormat"`
}

type SampleSnapshotTemplate

type SampleSnapshotTemplate struct {

	// 采样截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板类型,取值范围:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 采样截图模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 图片格式。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 采样截图类型。
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// 采样间隔。
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type SnapshotByTimeOffsetTaskInput

type SnapshotByTimeOffsetTaskInput struct {

	// 指定时间点截图模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 截图时间点列表,时间点支持 s、% 两种格式:
	// <li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li>
	// <li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>
	ExtTimeOffsetSet []*string `json:"ExtTimeOffsetSet,omitempty" name:"ExtTimeOffsetSet" list`

	// 截图时间点列表,单位为<font color=red>秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。
	TimeOffsetSet []*float64 `json:"TimeOffsetSet,omitempty" name:"TimeOffsetSet" list`

	// 水印列表,支持多张图片或文字水印,最大可支持 10 张。
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet" list`

	// 时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 时间点截图后输出路径中的`{number}`变量的规则。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitempty" name:"ObjectNumberFormat"`
}

type SnapshotByTimeOffsetTemplate

type SnapshotByTimeOffsetTemplate struct {

	// 时间点截图模板唯一标识。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 模板类型,取值范围:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 时间点截图模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 图片格式。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// <li>black:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
	// <li>black:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type SvgWatermarkInput

type SvgWatermarkInput struct {

	// 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素;当填 0px 且
	//  Height 不为 0px 时,表示水印的宽度按原始 SVG 图像等比缩放;当 Width、Height 都填 0px 时,表示水印的宽度取原始 SVG 图像的宽度;</li>
	// <li>当字符串以 W% 结尾,表示水印 Width 为视频宽度的百分比大小,如 10W% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 H% 结尾,表示水印 Width 为视频高度的百分比大小,如 10H% 表示 Width 为视频高度的 10%;</li>
	// <li>当字符串以 S% 结尾,表示水印 Width 为视频短边的百分比大小,如 10S% 表示 Width 为视频短边的 10%;</li>
	// <li>当字符串以 L% 结尾,表示水印 Width 为视频长边的百分比大小,如 10L% 表示 Width 为视频长边的 10%;</li>
	// <li>当字符串以 % 结尾时,含义同 W%。</li>
	// 默认值为 10W%。
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度,支持 px,W%,H%,S%,L% 六种格式:
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素;当填 0px 且
	//  Width 不为 0px 时,表示水印的高度按原始 SVG 图像等比缩放;当 Width、Height 都填 0px 时,表示水印的高度取原始 SVG 图像的高度;</li>
	// <li>当字符串以 W% 结尾,表示水印 Height 为视频宽度的百分比大小,如 10W% 表示 Height 为视频宽度的 10%;</li>
	// <li>当字符串以 H% 结尾,表示水印 Height 为视频高度的百分比大小,如 10H% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 S% 结尾,表示水印 Height 为视频短边的百分比大小,如 10S% 表示 Height 为视频短边的 10%;</li>
	// <li>当字符串以 L% 结尾,表示水印 Height 为视频长边的百分比大小,如 10L% 表示 Height 为视频长边的 10%;</li>
	// <li>当字符串以 % 结尾时,含义同 H%。</li>
	// 默认值为 0px。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type SvgWatermarkInputForUpdate

type SvgWatermarkInputForUpdate struct {

	// 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
	// <li>当字符串以 px 结尾,表示水印 Width 单位为像素,如 100px 表示 Width 为 100 像素;当填 0px 且
	//  Height 不为 0px 时,表示水印的宽度按原始 SVG 图像等比缩放;当 Width、Height 都填 0px 时,表示水印的宽度取原始 SVG 图像的宽度;</li>
	// <li>当字符串以 W% 结尾,表示水印 Width 为视频宽度的百分比大小,如 10W% 表示 Width 为视频宽度的 10%;</li>
	// <li>当字符串以 H% 结尾,表示水印 Width 为视频高度的百分比大小,如 10H% 表示 Width 为视频高度的 10%;</li>
	// <li>当字符串以 S% 结尾,表示水印 Width 为视频短边的百分比大小,如 10S% 表示 Width 为视频短边的 10%;</li>
	// <li>当字符串以 L% 结尾,表示水印 Width 为视频长边的百分比大小,如 10L% 表示 Width 为视频长边的 10%;</li>
	// <li>当字符串以 % 结尾时,含义同 W%。</li>
	// 默认值为 10W%。
	Width *string `json:"Width,omitempty" name:"Width"`

	// 水印的高度,支持 px,%,W%,H%,S%,L% 六种格式:
	// <li>当字符串以 px 结尾,表示水印 Height 单位为像素,如 100px 表示 Height 为 100 像素;当填 0px 且
	//  Width 不为 0px 时,表示水印的高度按原始 SVG 图像等比缩放;当 Width、Height 都填 0px 时,表示水印的高度取原始 SVG 图像的高度;</li>
	// <li>当字符串以 W% 结尾,表示水印 Height 为视频宽度的百分比大小,如 10W% 表示 Height 为视频宽度的 10%;</li>
	// <li>当字符串以 H% 结尾,表示水印 Height 为视频高度的百分比大小,如 10H% 表示 Height 为视频高度的 10%;</li>
	// <li>当字符串以 S% 结尾,表示水印 Height 为视频短边的百分比大小,如 10S% 表示 Height 为视频短边的 10%;</li>
	// <li>当字符串以 L% 结尾,表示水印 Height 为视频长边的百分比大小,如 10L% 表示 Height 为视频长边的 10%;</li>
	// <li>当字符串以 % 结尾时,含义同 H%。
	// 默认值为 0px。
	Height *string `json:"Height,omitempty" name:"Height"`
}

type TEHDConfig

type TEHDConfig struct {

	// 极速高清类型,可选值:
	// <li>TEHD-100:极速高清-100。</li>
	// 不填代表不启用极速高清。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 视频码率上限,当 Type 指定了极速高清类型时有效。
	// 不填或填0表示不设视频码率上限。
	MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"`
}

type TEHDConfigForUpdate

type TEHDConfigForUpdate struct {

	// 极速高清类型,可选值:
	// <li>TEHD-100:极速高清-100。</li>
	// 不填代表不修改。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 视频码率上限,不填代表不修改。
	MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"`
}

type TagConfigureInfo

type TagConfigureInfo struct {

	// 智能标签任务开关,可选值:
	// <li>ON:开启智能标签任务;</li>
	// <li>OFF:关闭智能标签任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type TagConfigureInfoForUpdate

type TagConfigureInfoForUpdate struct {

	// 智能标签任务开关,可选值:
	// <li>ON:开启智能标签任务;</li>
	// <li>OFF:关闭智能标签任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type TaskNotifyConfig

type TaskNotifyConfig struct {

	// CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
	CmqModel *string `json:"CmqModel,omitempty" name:"CmqModel"`

	// CMQ 的园区,如 sh,bj 等。
	CmqRegion *string `json:"CmqRegion,omitempty" name:"CmqRegion"`

	// 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
	QueueName *string `json:"QueueName,omitempty" name:"QueueName"`

	// 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// 工作流通知的模式,可取值有 Finish 和 Change,不填代表 Finish。
	NotifyMode *string `json:"NotifyMode,omitempty" name:"NotifyMode"`
}

type TaskOutputStorage

type TaskOutputStorage struct {

	// 视频处理输出对象存储位置的类型,现在仅支持 COS。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 当 Type 为 COS 时有效,则该项为必填,表示视频处理 COS 输出位置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosOutputStorage *CosOutputStorage `json:"CosOutputStorage,omitempty" name:"CosOutputStorage"`
}

type TaskSimpleInfo

type TaskSimpleInfo struct {

	// 任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 任务类型,包含:
	// <li> WorkflowTask:工作流处理任务;</li>
	// <li> EditMediaTask:视频编辑任务;</li>
	// <li> LiveProcessTask:直播处理任务。</li>
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。
	BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"`

	// 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。
	FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`
}

type TerrorismConfigureInfo

type TerrorismConfigureInfo struct {

	// 画面鉴恐任务控制参数。
	ImgReviewInfo *TerrorismImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 文本鉴恐任务控制参数。
	OcrReviewInfo *TerrorismOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type TerrorismConfigureInfoForUpdate

type TerrorismConfigureInfoForUpdate struct {

	// 画面鉴恐任务控制参数。
	ImgReviewInfo *TerrorismImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// 文本鉴恐任务控制参数。
	OcrReviewInfo *TerrorismOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type TerrorismImgReviewTemplateInfo

type TerrorismImgReviewTemplateInfo struct {

	// 画面鉴恐任务开关,可选值:
	// <li>ON:开启画面鉴恐任务;</li>
	// <li>OFF:关闭画面鉴恐任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴恐过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>guns:武器枪支;</li>
	// <li>crowd:人群聚集;</li>
	// <li>bloody:血腥画面;</li>
	// <li>police:警察部队;</li>
	// <li>banners:暴恐旗帜;</li>
	// <li>militant:武装分子;</li>
	// <li>explosion:爆炸火灾;</li>
	// <li>terrorists:暴恐人物。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 90 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 80 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismImgReviewTemplateInfoForUpdate

type TerrorismImgReviewTemplateInfoForUpdate struct {

	// 画面鉴恐任务开关,可选值:
	// <li>ON:开启画面鉴恐任务;</li>
	// <li>OFF:关闭画面鉴恐任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 画面鉴恐过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
	// <li>guns:武器枪支;</li>
	// <li>crowd:人群聚集;</li>
	// <li>bloody:血腥画面;</li>
	// <li>police:警察部队;</li>
	// <li>banners:暴恐旗帜;</li>
	// <li>militant:武装分子;</li>
	// <li>explosion:爆炸火灾;</li>
	// <li>terrorists:暴恐人物。</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismOcrReviewTemplateInfo

type TerrorismOcrReviewTemplateInfo struct {

	// 文本鉴恐任务开关,可选值:
	// <li>ON:开启文本鉴恐任务;</li>
	// <li>OFF:关闭文本鉴恐任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismOcrReviewTemplateInfoForUpdate

type TerrorismOcrReviewTemplateInfoForUpdate struct {

	// 文本鉴恐任务开关,可选值:
	// <li>ON:开启文本鉴恐任务;</li>
	// <li>OFF:关闭文本鉴恐任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TextWatermarkTemplateInput

type TextWatermarkTemplateInput struct {

	// 字体类型,目前可以支持两种:
	// <li>simkai.ttf:可以支持中文和英文;</li>
	// <li>arial.ttf:仅支持英文。</li>
	FontType *string `json:"FontType,omitempty" name:"FontType"`

	// 字体大小,格式:Npx,N 为数值。
	FontSize *string `json:"FontSize,omitempty" name:"FontSize"`

	// 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
	FontColor *string `json:"FontColor,omitempty" name:"FontColor"`

	// 文字透明度,取值范围:(0, 1]
	// <li>0:完全透明</li>
	// <li>1:完全不透明</li>
	// 默认值:1。
	FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"`
}

type TextWatermarkTemplateInputForUpdate

type TextWatermarkTemplateInputForUpdate struct {

	// 字体类型,目前可以支持两种:
	// <li>simkai.ttf:可以支持中文和英文;</li>
	// <li>arial.ttf:仅支持英文。</li>
	FontType *string `json:"FontType,omitempty" name:"FontType"`

	// 字体大小,格式:Npx,N 为数值。
	FontSize *string `json:"FontSize,omitempty" name:"FontSize"`

	// 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
	FontColor *string `json:"FontColor,omitempty" name:"FontColor"`

	// 文字透明度,取值范围:(0, 1]
	// <li>0:完全透明</li>
	// <li>1:完全不透明</li>
	FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"`
}

type TranscodeTaskInput

type TranscodeTaskInput struct {

	// 视频转码模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 视频转码自定义参数,当 Definition 填 0 时有效。
	// 该参数用于高度定制场景,建议您优先使用 Definition 指定转码参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawParameter *RawTranscodeParameter `json:"RawParameter,omitempty" name:"RawParameter"`

	// 水印列表,支持多张图片或文字水印,最大可支持 10 张。
	// 注意:此字段可能返回 null,表示取不到有效值。
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet" list`

	// 马赛克列表,最大可支持 10 张。
	MosaicSet []*MosaicInput `json:"MosaicSet,omitempty" name:"MosaicSet" list`

	// 转码后文件的目标存储,不填则继承上层的 OutputStorage 值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 转码后主文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。
	OutputObjectPath *string `json:"OutputObjectPath,omitempty" name:"OutputObjectPath"`

	// 转码后分片文件的输出路径(转码 HLS 时 ts 的路径),只能为相对路径。如果不填,则默认为:`{inputName}_transcode_{definition}_{number}.{format}`。
	SegmentObjectName *string `json:"SegmentObjectName,omitempty" name:"SegmentObjectName"`

	// 转码后输出路径中的`{number}`变量的规则。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitempty" name:"ObjectNumberFormat"`
}

type TranscodeTemplate

type TranscodeTemplate struct {

	// 转码模板唯一标识。
	Definition *string `json:"Definition,omitempty" name:"Definition"`

	// 封装格式,取值:mp4、flv、hls、mp3、flac、ogg。
	Container *string `json:"Container,omitempty" name:"Container"`

	// 转码模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 模板类型,取值:
	// <li>Preset:系统预置模板;</li>
	// <li>Custom:用户自定义模板。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 是否去除视频数据,取值:
	// <li>0:保留;</li>
	// <li>1:去除。</li>
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// 是否去除音频数据,取值:
	// <li>0:保留;</li>
	// <li>1:去除。</li>
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// 视频流配置参数,仅当 RemoveVideo 为 0,该字段有效。
	VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// 音频流配置参数,仅当 RemoveAudio 为 0,该字段有效 。
	AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// 极速高清转码参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"`

	// 封装格式过滤条件,可选值:
	// <li>Video:视频格式,可以同时包含视频流和音频流的封装格式;</li>
	// <li>PureAudio:纯音频格式,只能包含音频流的封装格式板。</li>
	ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type UserDefineAsrTextReviewTemplateInfo

type UserDefineAsrTextReviewTemplateInfo struct {

	// 用户自定语音审核任务开关,可选值:
	// <li>ON:开启自定义语音审核任务;</li>
	// <li>OFF:关闭自定义语音审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义语音过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义语音关键词素材时需要添加对应标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineAsrTextReviewTemplateInfoForUpdate

type UserDefineAsrTextReviewTemplateInfoForUpdate struct {

	// 用户自定语音审核任务开关,可选值:
	// <li>ON:开启自定义语音审核任务;</li>
	// <li>OFF:关闭自定义语音审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义语音过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义语音关键词素材时需要添加对应标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineConfigureInfo

type UserDefineConfigureInfo struct {

	// 用户自定义人物审核控制参数。
	FaceReviewInfo *UserDefineFaceReviewTemplateInfo `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"`

	// 用户自定义语音审核控制参数。
	AsrReviewInfo *UserDefineAsrTextReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 用户自定义文本审核控制参数。
	OcrReviewInfo *UserDefineOcrTextReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type UserDefineConfigureInfoForUpdate

type UserDefineConfigureInfoForUpdate struct {

	// 用户自定义人物审核控制参数。
	FaceReviewInfo *UserDefineFaceReviewTemplateInfoForUpdate `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"`

	// 用户自定义语音审核控制参数。
	AsrReviewInfo *UserDefineAsrTextReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// 用户自定义文本审核控制参数。
	OcrReviewInfo *UserDefineOcrTextReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type UserDefineFaceReviewTemplateInfo

type UserDefineFaceReviewTemplateInfo struct {

	// 用户自定义人物审核任务开关,可选值:
	// <li>ON:开启自定义人物审核任务;</li>
	// <li>OFF:关闭自定义人物审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义人物过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义人物库的时,需要添加对应人物标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 97 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 95 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineFaceReviewTemplateInfoForUpdate

type UserDefineFaceReviewTemplateInfoForUpdate struct {

	// 用户自定义人物审核任务开关,可选值:
	// <li>ON:开启自定义人物审核任务;</li>
	// <li>OFF:关闭自定义人物审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义人物过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义人物库的时,需要添加对应人物标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineOcrTextReviewTemplateInfo

type UserDefineOcrTextReviewTemplateInfo struct {

	// 用户自定文本审核任务开关,可选值:
	// <li>ON:开启自定义文本审核任务;</li>
	// <li>OFF:关闭自定义文本审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义文本过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet" list`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineOcrTextReviewTemplateInfoForUpdate

type UserDefineOcrTextReviewTemplateInfoForUpdate struct {

	// 用户自定文本审核任务开关,可选值:
	// <li>ON:开启自定义文本审核任务;</li>
	// <li>OFF:关闭自定义文本审核任务。</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 用户自定义文本过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
	// 标签个数最多 10 个,每个标签长度最多 16 个字符。
	LabelSet *string `json:"LabelSet,omitempty" name:"LabelSet"`

	// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type VideoTemplateInfo

type VideoTemplateInfo struct {

	// 视频流的编码格式,可选值:
	// <li>libx264:H.264 编码</li>
	// <li>libx265:H.265 编码</li>
	// <li>av1:AOMedia Video 1 编码</li>
	// 目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。av1 编码容器目前只支持 mp4 。
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// 视频帧率,取值范围:[0, 60],单位:Hz。
	// 当取值为 0,表示帧率和原始视频保持一致。
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
	// 当取值为 0,表示视频码率和原始视频保持一致。
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	// 默认值:open。
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	// 默认值:0。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。
	// 当填 0 或不填时,系统将自动设置 gop 长度。
	Gop *uint64 `json:"Gop,omitempty" name:"Gop"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	// 默认值:black 。
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type VideoTemplateInfoForUpdate

type VideoTemplateInfoForUpdate struct {

	// 视频流的编码格式,可选值:
	// <li>libx264:H.264 编码</li>
	// <li>libx265:H.265 编码</li>
	// <li>av1:AOMedia Video 1 编码</li>
	// 目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。av1 编码容器目前只支持 mp4 。
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// 视频帧率,取值范围:[0, 60],单位:Hz。
	// 当取值为 0,表示帧率和原始视频保持一致。
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
	// 当取值为 0,表示视频码率和原始视频保持一致。
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// 分辨率自适应,可选值:
	// <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
	// <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	// <li>当 Width、Height 均为 0,则分辨率同源;</li>
	// <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
	// <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
	// <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。当填 0 时,系统将自动设置 gop 长度。
	Gop *uint64 `json:"Gop,omitempty" name:"Gop"`

	// 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
	// <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
	// <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type WatermarkInput

type WatermarkInput struct {

	// 水印模板 ID。
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// 水印自定义参数,当 Definition 填 0 时有效。
	// 该参数用于高度定制场景,建议您优先使用 Definition 指定水印参数。
	RawParameter *RawWatermarkParameter `json:"RawParameter,omitempty" name:"RawParameter"`

	// 文字内容,长度不超过100个字符。仅当水印类型为文字水印时填写。
	TextContent *string `json:"TextContent,omitempty" name:"TextContent"`

	// SVG 内容。长度不超过 2000000 个字符。仅当水印类型为 SVG 水印时填写。
	SvgContent *string `json:"SvgContent,omitempty" name:"SvgContent"`

	// 水印的起始时间偏移,单位:秒。不填或填0,表示水印从画面出现时开始显现。
	// <li>不填或填0,表示水印从画面开始就出现;</li>
	// <li>当数值大于0时(假设为 n),表示水印从画面开始的第 n 秒出现;</li>
	// <li>当数值小于0时(假设为 -n),表示水印从离画面结束 n 秒前开始出现。</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// 水印的结束时间偏移,单位:秒。
	// <li>不填或填0,表示水印持续到画面结束;</li>
	// <li>当数值大于0时(假设为 n),表示水印持续到第 n 秒时消失;</li>
	// <li>当数值小于0时(假设为 -n),表示水印持续到离画面结束 n 秒前消失。</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type WatermarkTemplate

type WatermarkTemplate struct {

	// 水印模板唯一标识。
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// 水印类型,取值:
	// <li>image:图片水印;</li>
	// <li>text:文字水印。</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// 水印模板名称。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板描述信息。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 水印图片原点距离视频图像原点的水平位置。
	// <li>当字符串以 % 结尾,表示水印 Left 为视频宽度指定百分比的位置,如 10% 表示 Left 为视频宽度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Left 为视频宽度指定像素的位置,如 100px 表示 Left 为 100 像素。</li>
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// 水印图片原点距离视频图像原点的垂直位置。
	// <li>当字符串以 % 结尾,表示水印 Top 为视频高度指定百分比的位置,如 10% 表示 Top 为视频高度的 10%;</li>
	// <li>当字符串以 px 结尾,表示水印 Top 为视频高度指定像素的位置,如 100px 表示 Top 为 100 像素。</li>
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// 图片水印模板,仅当 Type 为 image,该字段有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageTemplate *ImageWatermarkTemplate `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// 文字水印模板,仅当 Type 为 text,该字段有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG 水印模板,当 Type 为 svg,该字段有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"`

	// 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 原点位置,可选值:
	// <li>topLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
	// <li>topRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>
	// <li>bottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
	// <li>bottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下。;</li>
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`
}

type WorkflowInfo

type WorkflowInfo struct {

	// 工作流 ID。
	WorkflowId *int64 `json:"WorkflowId,omitempty" name:"WorkflowId"`

	// 工作流名称。
	WorkflowName *string `json:"WorkflowName,omitempty" name:"WorkflowName"`

	// 工作流状态,取值范围:
	// <li>Enabled:已启用,</li>
	// <li>Disabled:已禁用。</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// 工作流绑定的输入规则,当上传视频命中该规则到该对象时即触发工作流。
	Trigger *WorkflowTrigger `json:"Trigger,omitempty" name:"Trigger"`

	// 视频处理的文件输出存储位置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputStorage *TaskOutputStorage `json:"OutputStorage,omitempty" name:"OutputStorage"`

	// 视频处理类型任务参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// 视频内容审核类型任务参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// 视频内容分析类型任务参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// 视频内容识别类型任务参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// 任务的事件通知信息,不填代表不获取事件通知。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitempty" name:"TaskNotifyConfig"`

	// 任务流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
	TaskPriority *int64 `json:"TaskPriority,omitempty" name:"TaskPriority"`

	// 视频处理生成的文件输出的目标目录,如`/movie/201907/`。
	OutputDir *string `json:"OutputDir,omitempty" name:"OutputDir"`

	// 工作流创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 工作流最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type WorkflowTask

type WorkflowTask struct {

	// 视频处理任务 ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 任务流状态,取值:
	// <li>PROCESSING:处理中;</li>
	// <li>FINISH:已完成。</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// 已弃用,请使用各个具体任务的 ErrCode。
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// 已弃用,请使用各个具体任务的 Message。
	Message *string `json:"Message,omitempty" name:"Message"`

	// 视频处理的目标文件信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"`

	// 原始视频的元信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// 视频处理任务的执行状态与结果。
	MediaProcessResultSet []*MediaProcessTaskResult `json:"MediaProcessResultSet,omitempty" name:"MediaProcessResultSet" list`

	// 视频内容审核任务的执行状态与结果。
	AiContentReviewResultSet []*AiContentReviewResult `json:"AiContentReviewResultSet,omitempty" name:"AiContentReviewResultSet" list`

	// 视频内容分析任务的执行状态与结果。
	AiAnalysisResultSet []*AiAnalysisResult `json:"AiAnalysisResultSet,omitempty" name:"AiAnalysisResultSet" list`

	// 视频内容识别任务的执行状态与结果。
	AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitempty" name:"AiRecognitionResultSet" list`
}

type WorkflowTrigger

type WorkflowTrigger struct {

	// 触发器的类型,目前仅支持 CosFileUpload。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 当 Type 为 CosFileUpload 时必填且有效,为 COS 触发规则。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosFileUploadTrigger *CosFileUploadTrigger `json:"CosFileUploadTrigger,omitempty" name:"CosFileUploadTrigger"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL