Details of the AI intelligent analysis template
Used by actions: DescribeAIAnalysisTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the intelligent analysis template. |
| Name | String | Name of the intelligent analysis template. |
| Comment | String | Description of the intelligent analysis template. |
| ClassificationConfigure | ClassificationConfigureInfo | Intelligent Classification Task Control Parameters. |
| TagConfigure | TagConfigureInfo | Intelligent tag task control parameter. |
| CoverConfigure | CoverConfigureInfo | Intelligent cover task control parameters. |
| FrameTagConfigure | FrameTagConfigureInfo | Intelligent frame tagging task control parameter. |
| HighlightConfigure | HighlightsConfigureInfo | Control parameters for the intelligent highlights compilation task. |
| CreateTime | String | Template creation time in ISO datetime format. |
| UpdateTime | String | Template last modified time in ISO datetime format. |
Description of the video content recognition template
Used by actions: DescribeAIRecognitionTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of the video content recognition template. |
| Name | String | Video content recognition template name. |
| Comment | String | Description of the video content recognition template. |
| Type | String | Template type. Valid values: |
| HeadTailConfigure | HeadTailConfigureInfo | Head and tail recognition control parameters. |
| SegmentConfigure | SegmentConfigureInfo | Segmentation recognition control parameter. |
| FaceConfigure | FaceConfigureInfo | Face recognition control parameter. |
| OcrFullTextConfigure | OcrFullTextConfigureInfo | Text full-text recognition control parameters. |
| OcrWordsConfigure | OcrWordsConfigureInfo | Text keyword recognition control parameters. |
| AsrFullTextConfigure | AsrFullTextConfigureInfo | Voice full-text recognition control parameters. Note: This parameter is no longer maintained. We recommend using the AsrTranslateConfigure parameter to initiate speech translation recognition (when DstLanguage is not specified or is an empty string, no translation is performed, and the billing item is the same as full speech recognition). |
| AsrWordsConfigure | AsrWordsConfigureInfo | Voice keyword recognition control parameters. |
| AsrTranslateConfigure | AsrTranslateConfigureInfo | Speech translation recognition control parameters. |
| ObjectConfigure | ObjectConfigureInfo | Object recognition control parameters. |
| ScreenshotInterval | Float | Screenshot time interval in seconds. |
| CreateTime | String | Template creation time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| UpdateTime | String | Template last modified time, use ISO date format. |
Control parameters for low-light and overexposure detection in video frames.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video low-light and overexposure detection switch. Available values: |
Control parameters for low-light and overexposure detection in video frames.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Low-light and overexposure detection switch for video images. Available values: |
Region acceleration information of the domain
Used by actions: DescribeVodDomains.
| Name | Type | Description |
|---|---|---|
| Area | String | Acceleration region. Available values: |
| TencentDisableReason | String | Tencent disable reason. Available values: |
| TencentEdgeDomain | String | CNAME domain name corresponding to the acceleration domain. |
Adaptive bitrate streaming information.
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Adaptive bitrate streaming specification. |
| Package | String | Packaging format. Value range: |
| DrmType | String | Encryption type. |
| Url | String | Playback address. |
| Size | Integer | Media file size, unit: byte. |
| DigitalWatermarkType | String | Digital watermark type. Available values: |
| SubStreamSet | Array of MediaSubStreamInfoItem | List of substream info. |
| CopyRightWatermarkText | String | Copyright information. |
| BlindWatermarkDefinition | Integer | Digital watermark template id. |
| SubtitleSet | Array of MediaSubtitleItem | Subtitle information list. |
| DefaultSubtitleId | String | Unique identifier for default subtitle. |
| DrmEncryptType | String | DRM encryption method. |
Input parameter type for video to adaptive bitrate stream
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Adaptive bitrate streaming template ID. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Up to 10 image or text watermarks are supported. |
| TraceWatermark | TraceWatermarkInput | No | Traceable watermark. |
| CopyRightWatermark | CopyRightWatermarkInput | No | Copyright watermark. |
| BlindWatermark | BlindWatermarkInput | No | Digital watermark. |
| SubtitleSet | Array of String | No | External subtitle file. Elements are subtitle IDs. Supports multiple subtitles, up to 16. |
| SubtitleInfoSet | Array of SubtitleInfoInput | No | Subtitle suppression information list. Up to 2 supported. |
| DrmInfo | ThirdPartyDrmInfo | No | Third-party DRM encryption information. It is not currently supported to initiate tasks using third-party DRM info via task flow. |
Adaptive bitrate streaming template details
Used by actions: DescribeAdaptiveDynamicStreamingTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Adaptive bitrate streaming template unique ID. |
| Type | String | Template type. Valid values: |
| Name | String | Adaptive bitrate streaming template name. |
| Comment | String | Adaptive bitrate streaming template description. |
| Format | String | Adaptive Transcoding Format. Value range: |
| DrmType | String | DRM type. Value range: |
| DrmKeyProvider | String | Key provider of DRM. Value range: The SDMC service will gradually phase out subsequently. Please use the VOD DRM encryption service. |
| DrmEncryptType | String | Encryption type of DRM. Value range: {"cbcs", "cenc"} |
| StreamInfos | Array of AdaptiveStreamTemplate | Adaptive Transcoding Input Stream Parameter Information, up to 10 streams. |
| DisableHigherVideoBitrate | Integer | Whether to prohibit video low bitrate to high bitrate conversion. Value range: |
| DisableHigherVideoResolution | Integer | Whether to prohibit video resolution to high resolution conversion. Value range: |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Last template modification time, in ISO date format. |
| SegmentType | String | Segment type. ts: HLS, internally mapped to ts-segment fmp4: HLS/DASH, internally mapped to mp4-mp4-segment for HLS and mp4-mp4-byterange for DASH ts-segment: HLS+TS segment ts-byterange: HLS+TS byte range mp4-segment: HLS+MP4 segment mp4-byterange: HLS+MP4 byte range ts-packed-audio: HLS+TS+Packed Audio segment mp4-packed-audio: HLS+MP4+Packed Audio segment ts-ts-segment: HLS+TS+TS segment ts-ts-byterange: HLS+TS+TS byte range mp4-mp4-segment: HLS+MP4+MP4 segment mp4-mp4-byterange: HLS/DASH+MP4+MP4 byte range ts-packed-audio-byterange: HLS+TS+Packed Audio byte range mp4-packed-audio-byterange: HLS+MP4+Packed Audio byte range |
| SegmentDuration | Integer | Average segmentation duration Unit: seconds Default value: 6 Adaptive bitrate streaming uses SegmentDuration to set the segment duration, not the HlsTime field. |
Adaptive transcoding stream parameter template
Used by actions: CreateAdaptiveDynamicStreamingTemplate, DescribeAdaptiveDynamicStreamingTemplates, ModifyAdaptiveDynamicStreamingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Video | VideoTemplateInfo | Yes | Video parameter information. |
| Audio | AudioTemplateInfo | Yes | Audio parameter information. |
| RemoveAudio | Integer | No | Indicates whether to remove the audio stream. Value range: |
| RemoveVideo | Integer | No | Indicates whether to remove the video stream. Value range: |
| TEHDConfig | TEHDConfig | No | Top Speed Codec transcoding parameters. |
| EnhanceConfig | EnhanceConfig | No | Audio/video enhancement configurations. |
| StdExtInfo | String | No | Extended parameter. |
Custom entity information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ElementId | String | Principal ID. |
| ElementInfo | String | Entity information. |
Super-resolution configuration.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: Default value: ON. |
| Type | String | No | Type. Valid values: Default value: standard. |
| Mode | String | No | Image output mode. The default value is percent. |
| Percent | Float | No | Overscaling multiplication rate, which can be a decimal. |
| Width | Integer | No | Target image width. Cannot exceed 4096. |
| Height | Integer | No | Target image height. Cannot exceed 4096. |
| LongSide | Integer | No | Long side length of the target image. It cannot exceed 4096. Note: This configuration is used when Mode is equal to aspect or fixed, and Width and Height fields are not configured. |
| ShortSide | Integer | No | Short side length of the target image. It cannot exceed 4096. Note: This configuration is used when Mode is equal to aspect or fixed, and Width and Height fields are not configured. |
Intelligent analysis result
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| ClassificationTask | AiAnalysisTaskClassificationResult | Query result of the video content analysis intelligent categorization task. Valid when the task type is Classification. |
| CoverTask | AiAnalysisTaskCoverResult | Query result of the video content analysis Intelligent Cover Task. Valid when the task type is Cover. |
| TagTask | AiAnalysisTaskTagResult | Query result of the video content analysis intelligent tag task. Valid when the task type is Tag. |
| FrameTagTask | AiAnalysisTaskFrameTagResult | Query result of the intelligent frame-specific tagging task for video content analysis. Valid when TaskType is FrameTag. |
| HighlightTask | AiAnalysisTaskHighlightResult | Query result of the video content analysis intelligent highlight task. Valid when the task type is Highlight. |
Intelligent classification task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Video intelligent classification template ID. |
Intelligent classification result info
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ClassificationSet | Array of MediaAiAnalysisClassificationItem | Video intelligent classification list. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to ClassificationSetFileUrl. |
| ClassificationSetFileUrl | String | Video intelligent classification list file URL. The content of the file is in JSON format, and its data structure is consistent with the ClassificationSet fields. (The file is not retained permanently. It will be deleted after reaching the ClassificationSetFileUrlExpireTime time point.) |
| ClassificationSetFileUrlExpireTime | String | Expiration time of the video intelligent classification list file URL in ISO date format. |
Intelligent classification task result type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiAnalysisTaskClassificationInput | Intelligent classification task input. |
| Output | AiAnalysisTaskClassificationOutput | Output of the intelligent classification task. |
| Progress | Integer | Intelligent categorization task progress, in the range of [0,100]. |
| BeginProcessTime | String | Intelligent categorization task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of intelligent categorization in ISO date format. |
Intelligent classification task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Video intelligent cover template ID. |
Intelligent cover result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| CoverSet | Array of MediaAiAnalysisCoverItem | List of smart covers. Note: This list only shows the first 100 elements. To obtain the complete result, get it from the file corresponding to CoverSetFileUrl. |
| CoverSetFileUrl | String | URL of the intelligent cover list file. The content of the file is in JSON format, and the data structure is consistent with the CoverSet fields. (The file is not retained permanently. It will be deleted after the CoverSetFileUrlExpireTime time point is reached.) |
| CoverSetFileUrlExpireTime | String | Expiration time of the intelligent cover list file URL, using the ISO date format. |
Intelligent cover result type
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiAnalysisTaskCoverInput | Input of the intelligent cover task. |
| Output | AiAnalysisTaskCoverOutput | Output of intelligent cover tasks. |
| Progress | Integer | Intelligent Cover Task progress, value ranges from 0 to 100. |
| BeginProcessTime | String | Start execution time of the Intelligent Cover Task in ISO datetime format. |
| FinishTime | String | Intelligent cover task completion time in ISO datetime format. |
Intelligent frame-specific tagging task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video frame-by-frame tagging template. |
Intelligent frame tagging result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of MediaAiAnalysisFrameTagSegmentItem | List of frame-specific tags of a video. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | Video frame tagging list file URL. The content of the file is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the video frame tag list file URL in ISO date format. |
Result type of intelligent frame tagging
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiAnalysisTaskFrameTagInput | Intelligent frame-specific tagging task input. |
| Output | AiAnalysisTaskFrameTagOutput | Intelligent frame-specific tagging task output. |
| Progress | Integer | Intelligent frame-specific tagging task progress, in the range of [0,100]. |
| BeginProcessTime | String | Intelligent frame-specific tagging task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of intelligent frame tagging in ISO datetime format. |
Intelligent highlight task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Intelligent highlight template ID. |
Intelligent highlight result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| HighlightSet | Array of MediaAiAnalysisHighlightItem | Intelligent video highlight list. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to HighlightSetFileUrl. |
| HighlightSetFileUrl | String | URL of the video intelligent highlight segment list file. The file content is in JSON format, and its data structure is consistent with the HighlightSet field. (The file will not be retained permanently and will be deleted after reaching the HighlightSetFileUrlExpireTime time point.) |
| HighlightSetFileUrlExpireTime | String | Expiration time of the video intelligent striking segment list file URL, in ISO date format. |
Type of the intelligent highlight result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiAnalysisTaskHighlightInput | Input of the intelligent highlight task. |
| Output | AiAnalysisTaskHighlightOutput | Task output of the intelligent highlight. |
| Progress | Integer | Intelligent highlight task progress. Value range: [0-100]. |
| BeginProcessTime | String | Intelligent highlight task start execution time in ISO datetime format. |
| FinishTime | String | Intelligent highlight task completion time in ISO datetime format. |
Input parameter type for AI smart video analysis
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, ProcessMedia, ProcessMediaByUrl, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video content analysis template ID. |
Intelligent tag task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Video intelligent tag template ID. |
Intelligent tag result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TagSet | Array of MediaAiAnalysisTagItem | Video intelligent tag list. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to TagSetFileUrl. |
| TagSetFileUrl | String | URL of the video intelligent tag list file. The file content is in JSON format, and its data structure is consistent with the TagSet field. (The file will not be retained permanently and will be deleted after reaching the TagSetFileUrlExpireTime time point.) |
| TagSetFileUrlExpireTime | String | Expiration time of the video intelligent tag list file URL, in ISO date format. |
Intelligent tag result type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiAnalysisTaskTagInput | Input for the intelligent tag task. |
| Output | AiAnalysisTaskTagOutput | Intelligent tag task output. |
| Progress | Integer | Progress of the intelligent tag task, with a value range of [0-100]. |
| BeginProcessTime | String | Intelligent tag task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of the intelligent tag in ISO datetime format. |
Audio/video moderation result
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| PornTask | AiReviewTaskPornResult | Query result of a video audio/video moderation task (visual contains offensive content). Valid when the task type is Porn. |
| TerrorismTask | AiReviewTaskTerrorismResult | Query result of a video audio/video moderation task (frames involving unsafe information). Valid when the task type is Terrorism. |
| PoliticalTask | AiReviewTaskPoliticalResult | Query result of the video audio/video moderation task (visuals involving inappropriate information). Valid when the task type is Political. |
| PornAsrTask | AiReviewTaskPornAsrResult | Query result of a video audio/video moderation task (ASR text involves offensive content). Valid when the task type is Porn.Asr. |
| PornOcrTask | AiReviewTaskPornOcrResult | Query result of a video audio/video moderation task (OCR text contains offensive content). Valid when the task type is Porn.Ocr. |
| PoliticalAsrTask | AiReviewTaskPoliticalAsrResult | Query result of the video audio/video moderation task (ASR text involving inappropriate information). Valid when the task type is Political.Asr. |
| PoliticalOcrTask | AiReviewTaskPoliticalOcrResult | Query result of a video/audio moderation task (OCR text involving inappropriate information). Valid when the task type is Political.Ocr. |
| TerrorismOcrTask | AiReviewTaskTerrorismOcrResult | Query result of a video/audio moderation task (OCR text involving unsafe information). Valid when the task type is Terrorism.Ocr. |
| ProhibitedOcrTask | AiReviewTaskProhibitedOcrResult | Query result of a video audio/video moderation OCR text prohibited task. Valid when the task type is Prohibited.Ocr. |
| ProhibitedAsrTask | AiReviewTaskProhibitedAsrResult | Query result of the ASR text prohibited task in video moderation. Valid when the task type is Prohibited.Asr. |
Type of the audio/video moderation task
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, ProcessMedia, ProcessMediaByUrl, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Audio/video moderation template ID. |
Intelligent image masking configuration.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Available values: ON: Enable; OFF: Disable. Default value: ON. |
| Type | String | No | Matting target type: "foreground" / "pattern" |
| PatternConfig | PatternConfig | No | Pattern cutout configuration. This parameter is valid only when Type is pattern. |
| Model | String | No | Matting model selection. This parameter is optional. Enumeration values:
|
Intelligent identification result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| HeadTailTask | AiRecognitionTaskHeadTailResult | Video start and end recognition result when Type is Valid when HeadTailRecognition is used. |
| SegmentTask | AiRecognitionTaskSegmentResult | Video splitting recognition result, which is valid when Type is Valid when set to SegmentRecognition. |
| FaceTask | AiRecognitionTaskFaceResult | Face recognition result, which is valid when Type is Valid for FaceRecognition. |
| AsrWordsTask | AiRecognitionTaskAsrWordsResult | Speech keyword recognition result. When Type is Valid when set to AsrWordsRecognition. |
| AsrFullTextTask | AiRecognitionTaskAsrFullTextResult | Full speech recognition result. When Type is Valid when set to AsrFullTextRecognition. |
| AsrTranslateTask | AiRecognitionTaskAsrTranslateResult | Voice translation result. Valid when Type is AsrTranslateRecognition. |
| OcrWordsTask | AiRecognitionTaskOcrWordsResult | Text keyword recognition result. When Type is Valid when set to OcrWordsRecognition. |
| OcrFullTextTask | AiRecognitionTaskOcrFullTextResult | Full text recognition result. When Type is Valid when set to OcrFullTextRecognition. |
| ObjectTask | AiRecognitionTaskObjectResult | Object recognition result, which is valid when Type is Valid when set to ObjectRecognition. |
Full speech recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskAsrFullTextResultInput | Input information on the full speech recognition task. |
| Output | AiRecognitionTaskAsrFullTextResultOutput | Output information on the full speech recognition task. |
| Progress | Integer | Speech full-text recognition task progress, in the range of [0,100]. |
| BeginProcessTime | String | Speech full-text recognition task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of full text speech recognition in ISO datetime format. |
Input for full speech recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the full speech identification template. |
Full speech recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskAsrFullTextSegmentItem | List of segments for full speech recognition. Note: This list only shows the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the speech full text recognition Segment List File. The content of the file is in JSON format, and its data structure is consistent with the fields of SegmentSet. (The file is not retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the full speech recognition segment list file URL, using the ISO date format. |
| SubtitleSet | Array of AiRecognitionTaskAsrFullTextResultOutputSubtitleItem | Generated subtitle list, corresponding to SubtitleFormats in speech full-text recognition task control parameter (https://www.tencentcloud.com/document/api/266/31773?from_cn_redirect=1#AsrFullTextConfigureInfo). |
| SubtitleUrl | String | Generated subtitle file Url, corresponding to SubtitleFormat in speech full-text recognition task control parameter (https://www.tencentcloud.com/document/api/266/31773?from_cn_redirect=1#AsrFullTextConfigureInfo). |
Subtitle information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Id | String | Media asset subtitle ID, used for media asset subtitle management. Valid only when Format is vtt. Note: For tasks earlier than 2024-11-01T10:00:00Z, this field is invalid. |
| Name | String | Media asset subtitle name for player display. Valid only when Format is vtt. Note: For tasks earlier than 2024-11-01T10:00:00Z, this field is invalid. |
| Language | String | Subtitle language. |
| Format | String | Subtitle file format. Valid values: |
| Url | String | Subtitle file Url. |
Segment undergone full speech recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| Text | String | Recognized text. |
Voice translation result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskAsrTranslateResultInput | Voice translation task input information. |
| Output | AiRecognitionTaskAsrTranslateResultOutput | Voice translation task output information. |
| Progress | Integer | Voice translation task progress, value ranges from 0 to 100. |
| BeginProcessTime | String | Voice translation task start time in ISO datetime format. |
| FinishTime | String | Time for voice translation task completion in ISO datetime format. |
Input for speech translation.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Speech translation template ID. |
Voice translation result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskAsrTranslateSegmentItem | Voice translation clip list. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of Speech Translation Clip List File. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after the time point specified by SegmentSetFileUrlExpireTime is reached.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the file URL for the speech translation clip list, in ISO date format. |
| SubtitleSet | Array of AiRecognitionTaskAsrFullTextResultOutputSubtitleItem | Generated subtitle list. |
Segment undergone voice translation recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of a recognized segment in speech translation. Value range: 0-100. |
| StartTimeOffset | Float | Start time offset of a speech translation recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a voice translation recognized segment, in seconds. |
| Text | String | Recognized text. |
| Translation | String | Translated text. |
Speech keyword recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskAsrWordsResultInput | Input information on the speech keyword recognition task. |
| Output | AiRecognitionTaskAsrWordsResultOutput | Output information on the speech keyword recognition task. |
| Progress | Integer | Speech keyword recognition task progress, in the range of [0,100]. |
| BeginProcessTime | String | Speech keyword recognition task start execution time in ISO datetime format. |
| FinishTime | String | Completion time of the speech keyword recognition task in ISO datetime format. |
Input for speech keyword recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for speech keyword recognition. |
Speech keyword recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Word | String | Speech keyword. |
| SegmentSet | Array of AiRecognitionTaskAsrWordsSegmentItem | List of time segments where speech keywords appear. |
Speech keyword recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskAsrWordsResultItem | Result set of speech keyword recognition. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to ResultSetFileUrl. |
| ResultSetFileUrl | String | URL of the speech keyword recognition result set file. The content of the file is in JSON format, and its data structure is consistent with the fields of ResultSet. (The file is not retained permanently. It will be deleted after reaching ResultSetFileUrlExpireTime.) |
| ResultSetFileUrlExpireTime | String | Expiration time of the speech keyword recognition result set file URL, in ISO date format. |
Speech recognition segment.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
Face recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskFaceResultInput | Face recognition task input. |
| Output | AiRecognitionTaskFaceResultOutput | Output information of the face recognition task. |
| Progress | Integer | Face recognition task progress. Value range: [0-100]. |
| BeginProcessTime | String | Face recognition task start execution time in ISO datetime format. |
| FinishTime | String | Face recognition task completion time in ISO datetime format. |
User-submitted input for face recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Face recognition template ID. |
Face recognition result
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Id | String | Unique identification ID of a person. |
| Type | String | Library type, which indicates the figure library that the recognized figure comes from: |
| Name | String | Figure name. |
| SegmentSet | Array of AiRecognitionTaskFaceSegmentItem | Result set of segments where the person appears. |
Intelligent face recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskFaceResultItem | Intelligent face recognition result set. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to ResultSetFileUrl. |
| ResultSetFileUrl | String | URL of the intelligent face recognition result set file. The content of the file is in JSON format, and its data structure is consistent with the fields of ResultSet. (The file is not retained permanently. It will be deleted after reaching the ResultSetFileUrlExpireTime time point.) |
| ResultSetFileUrlExpireTime | String | Expiration time of the intelligent face recognition result set file URL in ISO date format. |
Face recognition result fragment
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| AreaCoordSet | Array of Integer | Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. |
Video start and end recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskHeadTailResultInput | Input information of the video opening and closing credits recognition task. |
| Output | AiRecognitionTaskHeadTailResultOutput | Output information of the video opening and closing credits recognition task. |
| Progress | Integer | Video opening and closing credits recognition task progress, value ranges from 0 to 100. |
| BeginProcessTime | String | Start execution time of the video opening and closing credits recognition task in ISO datetime format. |
| FinishTime | String | The time when the video opening and closing credits recognition task is completed, in ISO datetime format. |
Input for video start and end recognition.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Opening and closing segments recognition template ID. |
Video start and end recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| HeadConfidence | Float | Confidence of opening scene recognition. Value range: 0-100. |
| HeadTimeOffset | Float | End time point of the video intro, in seconds. |
| TailConfidence | Float | Recognition confidence of the ending scene. Value range: 0-100. |
| TailTimeOffset | Float | Start time point of the video ending scene. Unit: seconds. |
Input parameter type for video content recognition
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, ProcessMedia, ProcessMediaByUrl, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video intelligent identification template ID. |
Object recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskObjectResultInput | Object recognition task input. |
| Output | AiRecognitionTaskObjectResultOutput | Object recognition task output information. |
| Progress | Integer | Object recognition task progress, in the range of [0,100]. |
| BeginProcessTime | String | Object identification task start execution time in ISO datetime format. |
| FinishTime | String | Object recognition task completion time in ISO datetime format. |
Object recognition task input type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Object recognition template ID. |
Single object recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Name | String | Name of a recognized object. |
| RecognitionSegmentSet | Array of AiRecognitionTaskObjectSegmentItem | List of segments that contain the object. |
Intelligent object recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskObjectResultItem | Intelligent object recognition result set. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to ResultSetFileUrl. |
| ResultSetFileUrl | String | Intelligent object recognition result set file URL. The content of the file is in JSON format, and the data structure is consistent with the fields of ResultSet. (The file is not retained permanently. It will be deleted after reaching the ResultSetFileUrlExpireTime time point.) |
| ResultSetFileUrlExpireTime | String | Expiration time of the intelligent object recognition result set file URL, in ISO date format. |
Object recognition result segment.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| AreaCoordSet | Array of Integer | Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. |
Full text recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskOcrFullTextResultInput | Input information on the full text recognition task. |
| Output | AiRecognitionTaskOcrFullTextResultOutput | Output information on the full text recognition task. |
| Progress | Integer | Progress of the full text recognition task, with a value range of [0-100]. |
| BeginProcessTime | String | Full text recognition task start execution time in ISO datetime format. |
| FinishTime | String | Full text recognition task completion time in ISO date format. |
Full text recognition input.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Full text recognition template ID. |
Full text recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskOcrFullTextSegmentItem | Full text recognition result set. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the text full recognition result set file. The content of the file is in JSON format, and the data structure is consistent with the ResultSet fields. (The file is not retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the full text recognition result set file URL in ISO date format. |
Full text recognition segment.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| TextSet | Array of AiRecognitionTaskOcrFullTextSegmentTextItem | Recognition segment result set. |
Full text recognition segment.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| AreaCoordSet | Array of Integer | Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. |
| Text | String | Recognized text. |
Keyword recognition result of the text.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskOcrWordsResultInput | Text keyword recognition task input. |
| Output | AiRecognitionTaskOcrWordsResultOutput | Output message of the text keyword recognition task. |
| Progress | Integer | Progress of the text keyword recognition task. Value range: [0-100]. |
| BeginProcessTime | String | Start execution time of the text keyword recognition task in ISO datetime format. |
| FinishTime | String | Completion time of the text keyword recognition task in ISO datetime format. |
Text keyword recognition input.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Text keyword recognition template ID. |
Text keyword recognition result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Word | String | Text keyword. |
| SegmentSet | Array of AiRecognitionTaskOcrWordsSegmentItem | List of segments where the key text appears. |
Text keyword recognition output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskOcrWordsResultItem | Result set of text keyword recognition. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to ResultSetFileUrl. |
| ResultSetFileUrl | String | URL of the text keyword recognition result set file. The content of the file is in JSON format, and the data structure is consistent with the ResultSet fields. (The file is not retained permanently. It will be deleted after reaching the ResultSetFileUrlExpireTime time point.) |
| ResultSetFileUrlExpireTime | String | Expiration time of the text keyword recognition result set file URL in ISO date format. |
Text recognition segment.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| AreaCoordSet | Array of Integer | Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. |
Video splitting result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiRecognitionTaskSegmentResultInput | Video splitting task input information. |
| Output | AiRecognitionTaskSegmentResultOutput | Video splitting task output information. |
| Progress | Integer | Progress of the video splitting task, in the range of [0,100]. |
| BeginProcessTime | String | Start execution time of the video splitting task in ISO date format. |
| FinishTime | String | Video splitting task completion time in ISO datetime format. |
Input of video splitting.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Video splitting template ID. |
Video splitting output.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskSegmentSegmentItem | Video splitting segment list. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the video splitting Segment List File. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after the time point specified by SegmentSetFileUrlExpireTime is reached.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the video splitting segment list file URL, using ISO date format. |
Video splitting clip.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | File ID. Valid only when processing VOD files and the generated sub-segments are VOD files. |
| SegmentUrl | String | Video splitting segment Url. |
| Confidence | Float | Confidence of a split segment. Value range: 0-100. |
| StartTimeOffset | Float | Start time offset of a split segment, in seconds. |
| EndTimeOffset | Float | End time offset of a split segment, in seconds. |
| CovImgUrl | String | Segment cover image Url. |
| SpecialInfo | String | Special field. Ignore it. |
Task input parameter type for inappropriate information and rule violations involving Asr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authentication involving inappropriate information. |
Asr text involving inappropriate information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Asr text involves inappropriate information and rule violation score. The score ranges from 0 to 100. |
| Suggestion | String | Asr text involves inappropriate information and rule violation result suggestions, with a permissible range of: |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | List of video segments where the Asr text involves inappropriate information or suspected rule violations. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the Segment List File for videos where the Asr text involves suspected inappropriate information or rule violations. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the file URL for the video segment list where the Asr text involves inappropriate information or suspected rule violations, in ISO date format. |
Task input parameter type for Ocr text involving inappropriate information in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authenticating content that involves inappropriate information. |
Ocr text involves inappropriate information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Ocr text involving inappropriate information and rule violation score. The score ranges from 0 to 100. |
| Suggestion | String | Ocr text involving inappropriate information and violation result recommendations. Value ranges from...to... |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | List of video segments whose Ocr text involves inappropriate information or is suspected of rule violations. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the segment list file for videos where the Ocr text involves inappropriate information or suspected rule violations. The content of the file is in JSON format, and the data structure is consistent with the fields of SegmentSet. (The file will not be retained permanently and will be deleted after reaching SegmentSetFileUrlExpireTime.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the Segment List File URL for video segments with Ocr text involving inappropriate information or suspected rule violations, in ISO date format. |
Task input parameter type for inappropriate information in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authenticating content that involves inappropriate information. |
Involves inappropriate information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of inappropriate information in the video. Value range: 0-100. |
| Suggestion | String | Result suggestions involving inappropriate information. Value range: |
| Label | String | Result tag for videos involving inappropriate information. Mapping between the LabelSet parameter in the screen image authentication task control parameter (https://www.tencentcloud.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) of the audio/video moderation template and the value range of this parameter: violation_photo: Other (politician/entertainment/sport/entrepreneur/scholar/celebrity/military): |
| SegmentSet | Array of MediaContentReviewPoliticalSegmentItem | List of video segments suspected of involving inappropriate information. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the segment list file that may contain inappropriate information. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file will not be retained permanently. It will be deleted after the SegmentSetFileUrlExpireTime is reached.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the Segment List File of the video suspected of involving inappropriate information in ISO date format. |
Task input parameter type for Asr text involving offensive content in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authenticating content that involves offensive information. |
Asr text involves offensive content
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of offensive content in the Asr text. Value range: 0–100. |
| Suggestion | String | Result suggestions for Asr text involving offensive content. Value range: |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | List of video segments whose Asr text is suspected of involving offensive content. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the segment list file for videos where the Asr text is suspected of containing offensive content. The content of the file is in JSON format, and the data structure is consistent with the fields in SegmentSet. (The file is not retained permanently and will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the segment list file for videos suspected of involving offensive content in Asr text, in ISO date format. |
Task input parameter type of Ocr text involving offensive content in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authenticating templates that involve offensive content. |
Ocr text involves offensive content
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of Ocr text involving offensive content. Value range: 0–100. |
| Suggestion | String | Result suggestions for Ocr text involving offensive content. Value ranges from 0 to 100. |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | List of video segments whose Ocr text is suspected of involving offensive content. Note: This list can only show up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the video segment list file whose Ocr text may involve offensive content. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after the time point specified by SegmentSetFileUrlExpireTime is reached.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the file URL for the video segment list where the Ocr text involves suspected offensive content, in ISO date format. |
Task input parameter type for offensive content in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Template ID for authenticating content that involves offensive information. |
Authentication result info involving offensive content
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Video identification involves scoring offensive content, with a score from 0 to 100. |
| Suggestion | String | Result suggestions for authentication involving offensive content. Value range: |
| Label | String | Result tag of video identification involving offensive content. Value range: |
| SegmentSet | Array of MediaContentReviewSegmentItem | List of video segments suspected of involving offensive content. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the Segment List File that may involve offensive content. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file is not retained permanently. It will be deleted after the time point specified by SegmentSetFileUrlExpireTime is reached.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the file URL for the video segment list where the video involves suspected offensive content, in ISO date format. |
Input parameter type for prohibited information recognition in Asr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Prohibited information recognition template ID. |
Asr text involving prohibited information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Asr text violation score. Value range: 0-100. |
| Suggestion | String | Asr text violation result suggestion. Value range: |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | List of video segments whose Asr text is suspected of prohibition violations. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the video segment list file where the Asr text is suspected of prohibition violations. The content of the file is in JSON, and the data structure is consistent with the SegmentSet fields. (The file is not retained permanently and will be deleted after reaching SegmentSetFileUrlExpireTime.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the file URL for the video segment list where the Asr text is suspected of prohibition violations, in ISO date format. |
Task input parameter type for Ocr text prohibited information recognition in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Prohibited information recognition template ID. |
Ocr text involving prohibited information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of Ocr text involving prohibited content. Value range: 0-100. |
| Suggestion | String | Suggestion for Ocr text involving prohibited content. Value range: |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | List of video segments whose Ocr text is suspected of prohibition violations. Note: This list only shows the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the video segment list file where the Ocr text is suspected of prohibition violations. The content of the file is in JSON format, and the data structure is consistent with the SegmentSet field. (The file is not retained permanently and will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the Segment List File URL for videos with Ocr text suspected of prohibition violations, in ISO date format. |
Task result type for inappropriate information and rule violations involving Asr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPoliticalAsrTaskInput | Task input for inappropriate information involving Asr text in audio/video moderation. |
| Output | AiReviewPoliticalAsrTaskOutput | Task output of Asr text involving inappropriate information in audio/video moderation. |
| Progress | Integer | Task progress of Asr text involving inappropriate information in audio/video moderation. Value ranges from 0 to 100. |
Result type for tasks involving inappropriate information or rule violations in Ocr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPoliticalOcrTaskInput | Task input for tasks involving inappropriate information in Ocr text in audio/video moderation. |
| Output | AiReviewPoliticalOcrTaskOutput | Task output of audio/video moderation involving inappropriate information in Ocr text. |
| Progress | Integer | Progress of the Ocr text task involving inappropriate information in audio/video moderation. Value range: 0-100. |
Task result type for inappropriate content involved in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPoliticalTaskInput | Task input for inappropriate content involved in audio/video moderation. |
| Output | AiReviewPoliticalTaskOutput | Task output of audio/video moderation involving inappropriate information. |
| Progress | Integer | Task progress of audio/video moderation involving inappropriate information, in the range of [0,100]. |
Task result type of Asr text involving offensive content in audio/video moderation.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPornAsrTaskInput | Task input for offensive content involved in Asr text in audio/video moderation. |
| Output | AiReviewPornAsrTaskOutput | Task output of Asr text involving offensive content in audio/video moderation. |
| Progress | Integer | Task progress of audio/video moderation involving offensive content in Asr text, in the range of [0,100]. |
Task result type of Ocr text involving offensive content in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPornOcrTaskInput | Task input of Ocr text involving offensive content in audio/video moderation. |
| Output | AiReviewPornOcrTaskOutput | Task output of Ocr text, audio, and video moderation involving offensive content. |
| Progress | Integer | Task progress of Ocr text, audio, and video moderation involving offensive content, in the range of [0-100]. |
Task result type for offensive content involved in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewPornTaskInput | Task input for offensive content involved in audio/video moderation. |
| Output | AiReviewPornTaskOutput | Task output of audio/video moderation involving offensive content. |
| Progress | Integer | Task progress of audio/video moderation involving offensive content, in the range of [0,100]. |
Result type of prohibited task for Asr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewProhibitedAsrTaskInput | Task input for prohibited information recognition in Asr text during audio/video moderation. |
| Output | AiReviewProhibitedAsrTaskOutput | Task output of prohibited information recognition in Asr text during audio/video moderation. |
| Progress | Integer | Progress of the Asr text prohibited task moderation for audio/video. Value range: 0-100. |
Result type of prohibited task for Ocr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewProhibitedOcrTaskInput | Input for prohibited task of Ocr text in audio/video moderation. |
| Output | AiReviewProhibitedOcrTaskOutput | Output of the Ocr text moderation prohibited task in audio/video moderation. |
| Progress | Integer | Progress of the Ocr text prohibited task moderation for audio/video. Value range: 0-100. |
Task result type of Ocr text identification involving unsafe content in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewTerrorismOcrTaskInput | Task input of Ocr text involving unsafe information in audio/video moderation. |
| Output | AiReviewTerrorismOcrTaskOutput | Task output of Ocr text involving unsafe information in video moderation. |
| Progress | Integer | Task progress of Ocr text, audio, and video moderation involving unsafe information, in the range of [0-100]. |
Task result type of audio/video moderation involving unsafe information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AiReviewTerrorismTaskInput | Task input of audio/video moderation involving unsafe information. |
| Output | AiReviewTerrorismTaskOutput | Task output of audio and video moderation involving unsafe information. |
| Progress | Integer | Task progress of audio/video moderation involving unsafe information, in the range of [0,100]. |
Task input parameter type for Ocr text involving unsafe information in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authenticating content that involves unsafe information. |
Ocr text involves unsafe information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of unsafe information in Ocr text. Value range: 0-100. |
| Suggestion | String | Ocr text involves result suggestions for unsafe information. Value range: |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | List of video segments with Ocr text suspected of involving unsafe information. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the segment list file for videos suspected of containing unsafe information in Ocr text. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file will not be retained permanently and will be deleted after reaching the SegmentSetFileUrlExpireTime.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the Segment List File for video segments suspected of involving unsafe information in Ocr text, in ISO date format. |
Task input parameter type for unsafe information involved in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for authentication involving unsafe information. |
Terrorism information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Video terrorism score. The score ranges from 0 to 100. |
| Suggestion | String | Terrorism result suggestion. Value range: |
| Label | String | Video terrorism result tag. Value range: |
| SegmentSet | Array of MediaContentReviewSegmentItem | List of video segments suspected of terrorism. Note: This list can only display up to the first 100 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of the segment list file for suspected terrorism videos. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file will not be retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the Segment List File URL for suspected terrorism videos, in ISO date format. |
AI sample management, face information.
Used by actions: CreatePersonSample, DescribePersonSamples, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| FaceId | String | Face image ID. |
| Url | String | Face image address. |
AI sample management, face data manipulation.
Used by actions: ModifyPersonSample.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type. Available values: add, delete, reset. The reset operation will clear the existing face data of the person and add the face data specified by FaceContents. |
| FaceIds | Array of String | No | Human face ID set. This field is required when Type is delete. |
| FaceContents | Array of String | No | Collection of strings after the face image is Base64-encoded. Only jpeg and png image formats are supported. |
AI sample management, face information that failed processing
Used by actions: CreatePersonSample, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| Index | Integer | Incorrect image subscript in the input parameter FaceContents, starting from 0. |
| ErrCode | Integer | Error code. Value: |
| Message | String | Error description. |
AI sample management, figure information.
Used by actions: CreatePersonSample, DescribePersonSamples, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| PersonId | String | Figure ID. |
| Name | String | Figure name. |
| Description | String | Character description. |
| FaceInfoSet | Array of AiSampleFaceInfo | Face information. |
| TagSet | Array of String | Figure tag. |
| UsageSet | Array of String | Application scenarios. |
| CreateTime | String | Creation time, in ISO date format. |
| UpdateTime | String | Last modification time, in ISO date format. |
AI sample management, tag manipulation.
Used by actions: ModifyPersonSample, ModifyWordSample.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type. Available values: add, delete, reset. |
| Tags | Array of String | Yes | Tag. Length limit: 128 characters. |
AI sample management, keyword output information.
Used by actions: DescribeWordSamples.
| Name | Type | Description |
|---|---|---|
| Keyword | String | Keyword. |
| TagSet | Array of String | Keyword tag. |
| UsageSet | Array of String | Keyword application scenario. |
| CreateTime | String | Creation time, in ISO date format. |
| UpdateTime | String | Last modification time, in ISO date format. |
AI sample management, keyword input.
Used by actions: CreateWordSamples.
| Name | Type | Required | Description |
|---|---|---|---|
| Keyword | String | Yes | Keyword. Length limit: 20 characters. |
| Tags | Array of String | No | Keyword tag |
AI dressing configuration message.
Used by actions: CreateSceneAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Model | String | Yes | Dressing model. Enumeration values:
|
| ClothesFileInfos | Array of SceneAigcImageTaskInputFileInfo | No | Input the image list of clothing that need to be replaced. 1-4 images are supported. |
| Prompt | String | No | Dressing instruction Prompt. |
AIGC advanced custom entity information
Used by actions: DescribeAigcAdvancedCustomElements.
| Name | Type | Description |
|---|---|---|
| Id | String | Subject ID. |
| Name | String | Subject name. |
| VoiceId | String | Main voice ID. |
| Description | String | Subject description. |
| CreateTime | String | Entity creation time. Format according to the ISO 8601 standard. For details, see ISO date format description. |
AIGC voice clone input file info
Used by actions: CreateAigcAudioClone, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can get this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Note: 1. An image less than 10M is recommended; 2. Image format values: jpeg, jpg, png. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: 1. An image less than 10M is recommended; 2. Image format values: jpeg, jpg, png. |
Output media file configuration for AIGC sound effect tasks.
Used by actions: CreateAigcAudioTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode Enumeration values:
Default value: Temporary |
| MediaName | String | No | Output filename. It can contain up to 64 characters. By default, the system specifies the filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category through the create category API to obtain the category ID. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. The default is permanent with no expiration. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| Duration | Integer | No | Audio duration. Not filled in by default. Value range: [0, 60] |
| OutputAudioFormat | String | No | Output audio format. By default, this is not specified. |
Reference audio information.
Used by actions: CreateAigcAudioTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: 1. Images less than 7M are recommended. 2. Supported image formats: jpeg, jpg, png, webp. |
| FileId | String | No | Media file ID of the audio file, which is the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in video upload completion event notification or VOD console. This parameter is valid when Type is File. |
| Url | String | No | Audio file URL, which needs to be external network accessible. This parameter is valid when Type is Url. |
Reference video asset for AIGC video generation.
Used by actions: CreateAigcAudioTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID of a video file, which is the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. |
| Url | String | No | Reference video URL, which needs to be external network accessible. This parameter is valid when Type is Url. |
Create AIGC sound effect task information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, please use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. An empty string indicates success, and other values indicate failure. Enumeration values:
|
| Message | String | Error message. |
| Progress | Integer | Task progress. Value range: [0-100]. |
| Input | AigcAudioTaskInput | Input information of AIGC audio tasks. |
| Output | AigcAudioTaskOutput | Output information of AIGC audio tasks. |
Input of the AIGC sound effect generation task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| ModelName | String | Model name. |
| ModelVersion | String | Model version. |
| SceneType | String | Scenario type. Values are as follows: |
| Prompt | String | Prompt content for video generation. Supports up to 1,000 characters. This parameter is required when FileInfos is empty. |
| NegativePrompt | String | Prompt content to prevent the model from generating video. Supports up to 1000 characters. |
| AudioInfos | Array of AigcAudioReferenceAudioInfo | Reference audio content |
| VideoInfos | Array of AigcAudioReferenceVideoInfo | Reference video info |
| EnhancePrompt | Boolean | Whether to optimize Prompt content automatically. When Enabled, the passed-in Prompt will be optimized automatically to enhance generation quality. Valid values: |
| OutputConfig | AigcAudioOutputConfig | Output result file output of AIGC image generation. |
| AdditionalParameters | String | Additional parameter. |
Output information of the AIGC sound effect task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| AudioInfos | Array of AigcAudioTaskOutputFileInfo | Output audio information |
| VideoInfos | Array of AigcAudioTaskOutputFileInfo | Output video information |
Output file information of AIGC sound effect tasks.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: Default value: Temporary |
| MediaName | String | Output filename, up to 64 characters. By default, the system specifies the generated filename. Valid when StorageMode is Permanent. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It is permanent with no expiration by default. The format is based on ISO 8601. For details, see ISO date format description. |
| FileType | String | File type, for example, mp4 and flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Meta-information of the output audio. |
| Duration | Float | Duration Unit: second |
Human face identity information.
Used by actions: DescribeAigcFaceInfo.
| Name | Type | Description |
|---|---|---|
| FaceId | String | Face ID in the video. The same face is treated as different IDs if it appears more than 1s apart in the video. |
| FaceImage | String | Schematic diagram of a human face captured from the video. |
| StartTime | Integer | Start time of the lip-sync interval for this face. It can be used as the best lip-sync start time. Unit: ms. |
| EndTime | Integer | End time of the lip-sync interval for the face. Note: This result has a millisecond-level deviation and will be later than the actual interval end. Unit: ms. |
AIGC face information
Used by actions: DescribeAigcFaceInfo, DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SessionId | String | Principal ID. Note the returned principal ID. |
| FaceInfoList | Array of AigcFaceIdentityInfo | Face information list. |
AIGC human face input file information
Used by actions: DescribeAigcFaceInfo, DescribeAigcFaceInfoAsync, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification (https://www.tencentcloud.com/document/product/266/7830?from_cn_redirect=1) or the VOD console (https://console.tencentcloud.com/vod/media). This parameter is valid when Type is File. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. |
Existing model information used to generate Hunyuan 3D models.
Used by actions: CreateAigcHunyuan3DTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input file type. Valid values: |
| FileId | String | No | File ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Note: Supported image formats: glb and obj. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: Supported file formats: glb and obj. |
Multi-perspective diagram information of AIGC Hunyuan 3D.
Used by actions: CreateAigcHunyuan3DTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input file type. Valid values: |
| FileId | String | No | File ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Description: Supported image formats: jpg, jpeg, png, bmp, webp. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: Supported image formats: jpg, jpeg, png, bmp, webp. |
| ViewType | String | No | View image type. Enumeration values:
|
Configuration of the output media file of an AIGC Hunyuan 3D task.
Used by actions: CreateAigcHunyuan3DTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode. Valid values: |
Reference image information for AIGC Hunyuan 3D.
Used by actions: CreateAigcHunyuan3DTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input file type. Valid values: |
| FileId | String | No | File ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Description: Supported image formats: jpg, jpeg, png, bmp, webp. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: Supported image formats: jpg, jpeg, png, bmp, webp. |
AIGC Hunyuan 3D task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, please use the ErrCode of each specific task. |
| ErrCodeExt | String | Expansion error code. |
| Message | String | Error message. |
| Progress | Integer | Task progress, value ranges from 0 to 100. |
| Input | AigcHunyuan3DTaskInput | Input information of the AIGC Hunyuan 3D task. |
| Output | AigcHunyuan3DTaskOutput | Output information of the AIGC Hunyuan 3D task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Input of the AIGC Hunyuan 3D task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ImageInfos | Array of AigcHunyuan3DReferenceImageInfo | Generate 3D reference image information. |
| MultiViewImageInfos | Array of AigcHunyuan3DMultiViewImageInfo | Multi-perspective image information used to generate a 3D model. The array length must be between 2 and 8 and must contain the front perspective. |
| Prompt | String | Prompt for generating a 3D model. |
| GenerateType | String | Generation Type. Enumeration values:
|
| MeshInfos | Array of AigcHunyuan3DMeshInfo | Reference 3D model used to generate a 3D model. |
| EnablePBR | String | Whether to enable output PBR material. Enumeration values:
|
| FaceCount | Integer | Number of patches. This parameter is valid only when the value of GenerateType is Normal or Geometry. |
| KeepUV | String | Whether to retain UV unfolding. Enumeration values:
|
| ResultFormat | String | Result format. In addition to the default return of obj and glb, an extra output format. Enumeration values:
|
| Seed | Integer | Random Seed. Results can be reproduced with the same Seed input. |
| Style | String | Style control word. |
| OutputConfig | AigcHunyuan3DOutputConfig | Configuration of the output media file of the task. |
Output information of the AIGC Hunyuan 3D task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of AigcHunyuan3DTaskOutputFileInfo | Output file information for an AIGC Hunyuan 3D task. |
Output file information of the AIGC Hunyuan 3D task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| FileType | String | File type, such as OBJ, GLB, and FBX. |
| FileUrl | String | Output file address. |
| PreviewFileUrl | String | Output file preview address. Empty if no file preview address is available. |
Output media file configuration for an AIGC image generation task.
Used by actions: CreateAigcImageTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode Enumeration values:
Default value: Temporary |
| MediaName | String | No | Output filename, up to 64 characters. By default, the system assigns the generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| Resolution | String | No | Resolution of the generated image. Available values for each model:
|
| AspectRatio | String | No | Specify the aspect ratio of the generated image.
|
| PersonGeneration | String | No | Whether to allow generation of people or human faces. Valid values: |
| InputComplianceCheck | String | No | Whether to enable compliance check on the input content. Valid values: |
| OutputComplianceCheck | String | No | Whether to enable compliance check on output content. Valid values: |
| OutputImageCount | Integer | No | Number of images generated. Available values for each model:
Not effective for other models. |
| OutputFormat | String | No | Specify the image file format for model output. If not specified, the model default value is followed. Available values:
|
| LogoAdd | String | No | Indicates whether to enable the logo watermark. Default value: Disabled. Valid values:
|
Scenario-based AIGC image generation configuration.
Used by actions: CreateSceneAigcImageTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | AI image generation scenario type. Available values:
The following
|
| AiTryOnConfig | AiTryOnConfig | No | Required when Type is ai_try_on, indicating the AI dressing configuration parameters. |
| ChangeClothesConfig | ChangeClothesConfig | No | Abandoned. Please use AiTryOnConfig.When Type is one of the following types, this item is required and represents the AI try-on image generation configuration parameters:
|
| ProductImageConfig | ProductImageConfig | No | Required when Type is product_image, indicating the AI-generated product image configuration parameters. |
AIGC image generation task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. An empty string indicates success, while other values indicate failure. Enumeration values:
|
| Message | String | Error message. |
| Progress | Integer | Task progress, value ranges from 0 to 100. |
| Input | AigcImageTaskInput | Input information for the AIGC image generation task. |
| Output | AigcImageTaskOutput | Output information of the AIGC image generation task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Input of the AIGC image generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ModelName | String | Model name. |
| ModelVersion | String | Model version. |
| FileInfos | Array of AigcImageTaskInputFileInfo | AIGC image generation task input file information. |
| Prompt | String | Prompt content for image generation. When FileInfos is empty, this parameter is required. |
| NegativePrompt | String | Prompt content to prevent the model from generating images. |
| EnhancePrompt | String | Whether to optimize Prompt content automatically. When Enabled, the passed-in Prompt will be optimized automatically to enhance generation quality. Valid values: |
| GenerationMode | String | Generation mode. Valid values: |
| OutputConfig | AigcImageOutputConfig | AIGC image generation output result file output. |
| Seed | Integer | Random seed of the model. |
| SceneType | String | Scenario type. Values are as follows: |
| ExtInfo | String | Pass-through parameter. |
AIGC image generation task input file information
Used by actions: CreateAigcImageTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input file type. Valid values: |
| FileId | String | No | Media file ID of the image file, which is the globally unique identifier of the file on VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File.
|
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url.
|
| Base64 | String | No | Accessible file Base64. This parameter is valid when Type is Base64. Details:
|
| Text | String | No | Description of the input image, used to help the model understand the image. Only valid for GEM 2.5 and GEM 3.0. |
| ReferenceType | String | No | Valid only when ModelName is OG. Image type. Enumeration values:
|
Output of an AIGC image generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of AigcImageTaskOutputFileInfo | Information of the output file of an AIGC image generation task. |
Information of the output file of an AIGC image generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: |
| MediaName | String | Output filename, up to 64 characters. By default, the system assigns the generated filename. Valid when StorageMode is Permanent. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| FileType | String | File type, such as png or jpg. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Meta-information of the output image. |
AIGC quota
Used by actions: DescribeAigcQuotas.
| Name | Type | Description |
|---|---|---|
| QuotaType | String | Quota type Enumeration values:
|
| ApiToken | String | Valid only when QuotaLimit is Text. It is used to select the ApiToken that needs a quota limit. |
| QuotaLimit | Integer | Number of task quotas Unit:
|
| Usage | Integer | Already used amount Unit:
|
AIGC-generated details
Used by actions: DescribeAigcUsageData.
| Name | Type | Required | Description |
|---|---|---|---|
| PageSize | Integer | No | Entries per page |
| ScrollToken | String | No | scroll_token returned in the previous page response, used for turning to the next page |
| Data | Array of AigcTextDetailData | No | Detailed data for text generation |
Aigc-generated detailed data
Used by actions: DescribeAigcUsageData.
| Name | Type | Required | Description |
|---|---|---|---|
| Timestamp | String | No | Request start time (RFC3339) |
| ReqId | String | No | Gateway layer request ID. |
| ChatId | String | No | Dialogue ID returned by the backend model |
| StatusCode | Integer | No | HTTP status code returned to the client |
| Model | String | No | Model name |
| SubAppId | Integer | No | Application ID. |
| ApiKey | String | No | Masked api_key: first 8 characters + **** (returned without modification if length ≤ 8) |
| Stream | Boolean | No | Whether to return in streaming mode |
| InputTokens | Integer | No | Input token count |
| OutputTokens | Integer | No | Output token count |
| CacheInputTokens | Integer | No | Number of tokens for cache hits in prompt cache |
| TotalTokens | Integer | No | Total token count |
| TPS | Float | No | tokens per second in the generation stage |
| TTFT | Float | No | Time To First Token Unit: second |
| Total | Float | No | End-to-end total time Unit: seconds |
| ApiType | String | No | Entry protocol: completions / responses / anthropic |
AIGC statistics
Used by actions: DescribeAigcUsageData.
| Name | Type | Description |
|---|---|---|
| Specification | String | AIGC specification. |
| DataSet | Array of TaskStatDataItem | Usage data. |
Configuration of the output media file of an AIGC video task.
Used by actions: CreateAigcVideoTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode Enumeration values:
Default value: Temporary |
| MediaName | String | No | Output media filename, up to 64 characters. By default, the system assigns the generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| Duration | Float | No | Duration of the generated video, in seconds. |
| Resolution | String | No | Resolution of the generated video. |
| AspectRatio | String | No | Aspect ratio of the generated video. |
| AudioGeneration | String | No | Whether to generate audio. Supported models include GV, OS, Vidu, Jimeng, and Kling. Enumeration values:
Default value: Disabled |
| PersonGeneration | String | No | Whether to allow generation of people or human faces. Valid values: |
| InputComplianceCheck | String | No | Whether compliance check is enabled for the input. Valid values: |
| OutputComplianceCheck | String | No | Whether to enable compliance check on output content. Valid values: |
| EnhanceSwitch | String | No | Whether to enable video enhancement. Valid values: Description:
|
| OffPeak | String | No | Whether to enable off-peak. Valid values: |
| FrameInterpolate | String | No | Whether intelligent frame interpolation is enabled for vidu. Valid values: |
| LogoAdd | String | No | Indicates whether to enable the logo watermark. Valid values: |
| EnableBGM | String | No | Whether to add background music to the generated video. Enumeration values:
Default value: Disabled |
Output media file configuration for an AIGC video conversion task.
Used by actions: CreateAigcVideoRedrawTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode. Valid values: |
| MediaName | String | No | Output media file name, up to 64 characters. By default, the system specifies the generated file name. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can call the Create Category API to create a category and obtain the category ID. |
| ExpireTime | String | No | Expiry date of the output file. Files will be deleted after this time. By default, files never expire. Format according to the ISO 8601 standard. For details, see ISO date format description. Parameter format: 2025-12-28T00:35:00Z. |
Output file information for an AIGC video conversion task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: |
| MediaName | String | Output filename, up to 64 characters. By default, the system specifies the generated filename. Valid when StorageMode is Permanent. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| FileType | String | File type, for example, mp4 and flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Meta-information of the output video. Valid when StorageMode is Permanent. |
AIGC video conversion task info
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, please use the ErrCode of each specific task. |
| ErrCodeExt | String | Expansion error code. |
| Message | String | Error message. |
| Progress | Integer | Task progress. Value range: [0-100]. |
| Input | AigcVideoRedrawTaskInput | Input information of the AIGC video conversion task. |
| Output | AigcVideoRedrawTaskOutput | Output information of the AIGC video conversion task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
AIGC video conversion figure parameter information.
Used by actions: CreateAigcVideoRedrawTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Style | String | No | For description of the style. Limited to 50 characters. |
Input of an AIGC video stylization task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| FileInfo | AigcVideoRedrawTaskInputFileInfo | Input file information of the AIGC video conversion task. |
| TaskInfo | AigcVideoRedrawTaskInfo | AIGC video redrawing task parameter information. |
| OutputConfig | AigcVideoRedrawOutputConfig | Output configuration for AIGC video conversion. |
Input file information for the AIGC video conversion task.
Used by actions: CreateAigcVideoRedrawTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID, the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Notes: 1. Images less than 10M are recommended. 2. Image format values: jpeg, jpg, png. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Note: 1. Images less than 10 MB are recommended; 2. Supported image formats: jpeg, jpg, png. |
Output information of an AIGC video conversion task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| FileInfo | AigcVideoRedrawOutputFileInfo | Output file information for the AIGC video conversion task. |
Scenario-based AIGC image generation configuration.
Used by actions: CreateSceneAigcVideoTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | AI video generation scenario type. Optional values: - product_showcase: 360-degree product showcase. |
| ProductShowcaseConfig | ProductShowcaseConfig | No | Product display parameters |
AIGC video generation task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error codes. Enumeration values:
|
| Message | String | Error message. |
| Progress | Integer | Task progress, value ranges from 0 to 100. |
| Input | AigcVideoTaskInput | Input information for the AIGC video generation task. |
| Output | AigcVideoTaskOutput | Output information of the AIGC video task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Input of AIGC video tasks.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ModelName | String | Model name. |
| ModelVersion | String | Model version. |
| FileInfos | Array of AigcVideoTaskInputFileInfo | Input file information for an AIGC video generation task. |
| SubjectInfos | Array of AigcVideoTaskInputSubjectInfo | Fixed subject input information for the AIGC task. |
| LastFrameFileId | String | Media file ID used as the tail frame to generate a video. This globally unique identifier of the file in VOD is assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. |
| LastFrameUrl | String | URL of the media file used as the last frame to generate video. Description:
|
| Prompt | String | Prompt for video generation. Supports up to 1000 characters. This parameter is required when FileInfos is empty. |
| NegativePrompt | String | Prompt to prevent the model from generating video. Supports up to 1000 characters. |
| EnhancePrompt | String | Whether to optimize Prompt content automatically. When Enabled, the passed-in Prompt will be optimized automatically to enhance generation quality. Valid values: |
| GenerationMode | String | Generation mode. Valid values: |
| OutputConfig | AigcVideoOutputConfig | Output result file output for AIGC image generation. |
| InputRegion | String | Region information of the input file. If the file url is a foreign address, selectable Oversea. Default: Mainland. |
| SceneType | String | Scenario type. Values are as follows: |
| Seed | Integer | Random seed of the model. |
| ExtInfo | String | Pass-through parameter. |
Image file information for the AIGC video generation task input.
Used by actions: CreateAigcVideoTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| Category | String | No | File category. Valid values:
|
| FileId | String | No | Media file ID, the globally unique identifier of the file on VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification or the VOD console. This parameter is valid when Type is File. Description:
|
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url.
|
| Base64 | String | No | Accessible file Base64. This parameter is valid when Type is Base64. Description:
|
| ReferenceType | String | No | Reference Type, applicable to GV, Kling, and PixVerse models. |
| ObjectId | String | No | Usage: Vidu subject Id. |
| VoiceId | String | No | Suitable for Vidu-q2 model. |
| KeepOriginalSound | String | No | Whether to retain the original sound of the video. Valid when Category is Video. Values are as follows: |
| Usage | String | No | Used to distinguish whether the input image is for first (last) frame to video, image to video, or reference to video. Available values:
Note: FirstFrame is selected by default. |
| Text | String | No | Only effective for the multi-image (subject) reference mode of the PixVerse model. Assign a name to the image for more precise results. Usage: When this field value is "kitten", use @kitten in the Prompt to accurately describe the scenario. There must be a space after @Text, for example, @kitten run. The name referenced in the Prompt must be identical to this field. |
AIGC subject input information.
Used by actions: CreateAigcVideoTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | Fixed subject Id.
|
| Name | String | No | Fixed name.
|
| VoiceId | String | No | Valid only for Vidu. The voice type ID is used to determine the timbre of the sound in the video. If empty, the system will automatically recommend one. |
| ImageUrls | Array of String | No | Valid only for Vidu. Temporary subject images, up to 3 images |
| VideoUrls | Array of String | No | Valid only for Vidu. Temporary subject video, a maximum of 1 5-second video. Note 1: Only the viduq2-pro model supports the use of video subjects for reference; Note 2: Supports uploading up to 1 5-second video; Note 3: Video supports mp4, avi, mov formats; Note 4: Video pixel cannot be less than 128*128, and the ratio must be less than 1:4 or 4:1; |
Output information of the AIGC video task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of AigcVideoTaskOutputFileInfo | Output file information of the AIGC video generation task. |
| ProcedureTaskIds | Array of String | Task ID of the task whose task type is Procedure. If a task flow template (Procedure) is specified when initiating an AIGC video generation task, the task is initiated when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, and AiRecognitionTask. |
| Usage | AigcVideoTaskUsage | Usage information of AIGC video tasks. |
Output file information for the AIGC video generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: Default value: Temporary |
| MediaName | String | Output filename, up to 64 characters. By default, the system generates the filename. Valid when StorageMode is Permanent. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. Format according to the ISO 8601 standard. For details, see ISO date format description. |
| FileType | String | File type, for example, mp4 or flv. |
| FileUrl | String | Media file playback address. |
| FileContent | String | File content. A return value is returned when UsageType is position_info. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Metadata of the output video. |
| UsageType | String | Purpose type of the file. Enumeration values:
|
Amount of AIGC video tasks.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| InputTokens | Integer | Input the number of tokens. Valid only when using the omni version of GV. |
| ThoughtTokens | Integer | Number of tokens generated by thinking. Valid only when using the omni version of GV. |
| InputImageCount | Integer | Number of input images. Valid only when using the H3 version of Hailuo. |
| InputSeconds | Integer | Duration of the input video. Unit: seconds. Valid only when using the H3 version of Hailuo. |
| OutputSeconds | Integer | Output video duration. Unit: seconds. Valid only when using the H3 version of Hailuo. |
| TotalSeconds | Integer | Total input and output duration. Default value: seconds. Valid only when using Hailuo H3 version. |
Type of rotating image tasks
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video-to-GIF conversion template ID. |
| StartTimeOffset | Float | Yes | Start time offset of the GIF in the video, in seconds. |
| EndTimeOffset | Float | Yes | End time offset of an animated image in the video, in seconds. |
Rotating image template description.
Used by actions: DescribeAnimatedGraphicsTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier for rotation diagram template. |
| Type | String | Template type. Valid values: |
| Name | String | Rotating image template name. |
| Comment | String | Animated image template description information. |
| Width | Integer | Maximum value of the animated gif width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. |
| Height | Integer | Maximum value of the animated gif height (or short side). Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | Resolution adaptation. Available values: Default value: open. |
| Format | String | Animated image file format. |
| Fps | Integer | Frame rate. |
| Quality | Float | Image quality. |
| CreateTime | String | Template creation time in ISO date format. |
| UpdateTime | String | Template last modified time in ISO date format. |
Log push target.
Used by actions: DescribeCLSPushTargets, SetCLSPushTarget.
| Name | Type | Required | Description |
|---|---|---|---|
| CLSRegion | String | Yes | Logset region: |
| TopicId | String | Yes | ID of the destination topic for delivery. |
| LogsetId | String | Yes | ID of the target set for submission. |
| Switch | String | No | Log delivery status. ON: enabled. OFF: disabled. |
Artifact (burr) removal control information.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Artifact (burr) removal control switch. Available values: |
| Type | String | No | Artifact (burr) removal type. It is valid only when the artifact (burr) removal control switch is ON. Available values: Default value: weak. |
Control parameters for a speech full-text recognition task.
Note: This parameter is no longer maintained. It is recommended to use the AsrTranslateConfigure parameter to initiate speech translation recognition (when DstLanguage is not filled in or is an empty string, no translation is performed, and the billing item is the same as full text speech recognition).
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Voice full-text recognition task switch. Available values: |
| SubtitleFormats | Array of String | No | List of generated subtitle file formats. Leave empty or pass an empty array to indicate no subtitle file generation. Available values: |
| SrcLanguage | String | No | Media source language. Value range: |
| SubtitleName | String | No | Specify subtitle name, length limited to 64 characters. This value will be used for player display. If left blank, VOD will auto generate it. |
Speech full-text recognition task control parameters
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Voice full-text recognition task switch. Available values: |
| SubtitleFormatsOperation | SubtitleFormatsOperation | No | Subtitle format list operation information. |
| SrcLanguage | String | No | Media source language. Valid values: |
| SubtitleName | String | No | Specify subtitle name. Length limit: 64 characters. This value will be used for player display. |
Speech translation recognition task control parameter
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for speech translation recognition. Available values: |
| SrcLanguage | String | No | Media source language. This parameter is required when Switch is ON. Value range: |
| DstLanguage | String | No | Translation target language. This parameter is valid when Switch is ON. If this parameter is not specified or an empty string is entered, it means that only full text recognition is performed without translation. The billing item is the same as that of full text recognition in AsrFullTextConfigure. Otherwise, the parameter value range is divided into the following cases: When SrcLanguage is zh (Chinese), value range: When SrcLanguage is en, value range: When SrcLanguage is ja (Japanese), value range: When SrcLanguage is ko (Korean), the value range is:When SrcLanguage is vi (Vietnamese), ms (Malay), or th (Thai), the value range is: When SrcLanguage is pt (Portuguese), value range: When SrcLanguage is tr (Turkish), the value ranges from...to... When SrcLanguage is es (Spanish), value range: When SrcLanguage is ar (Arabic) or hi (Hindi), value range: When SrcLanguage is fr (French), value range: |
| SubtitleFormats | Array of String | No | Generated subtitle file format list. Leaving it empty or as an empty array means no subtitle file will be generated. Valid values: |
| SubtitleName | String | No | Specify subtitle name. Length limited to 64 characters. This value will be used for player display. If left blank, VOD will automatically generate it. Note: This field is valid only when SubtitleFormats includes vtt. |
Voice translation recognition control parameters.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for speech translation recognition. Value range: |
| SrcLanguage | String | No | Media source language. Valid values: |
| DstLanguage | String | No | Target language. If this parameter is set to an empty string, it indicates that only full speech recognition is performed without translation (the billing item is the same as AsrFullTextConfigure full speech recognition). Otherwise, the value range of this parameter is divided into the following cases: When SrcLanguage is zh (Chinese), value range: When SrcLanguage is en, value range: When SrcLanguage is ja (Japanese), value ranges from...to... When SrcLanguage is ko (Korean), value ranges from...to... When SrcLanguage is vi (Vietnamese), ms (Malay), or th (Thai), value range: When SrcLanguage is pt (Portuguese), value ranges from...to... When SrcLanguage is tr (Turkish), value ranges from...to... When SrcLanguage is es (Spanish), value range: When SrcLanguage is ar (Arabic) or hi (Hindi), value range: When SrcLanguage is fr (French), value range: |
| SubtitleFormatsOperation | SubtitleFormatsOperation | No | Subtitle format list operation information. |
| SubtitleName | String | No | Specify subtitle name, length limited to 64 characters. This value will be used for player display. |
Voice keyword recognition control parameters.
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Speech keyword recognition task switch. Available values: |
| LabelSet | Array of String | No | Tag for keyword-based filtering. Specify the tag of keywords to return. If this parameter is not specified or is empty, all results are returned. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
Voice keyword recognition control parameters.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Speech keyword recognition task switch. Available values: |
| LabelSet | Array of String | No | Keyword filtering tag. Specify the tag of keywords to return. If this parameter is left empty or is an empty string, all results are returned. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
Audio beautification configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Audio beautification control switch. Available values: |
| Types | Array of String | No | Type. Multiple selections allowed. Valid values: Default value: declick. |
Audio noise reduction control information
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Audio noise reduction control switch. Available values: |
| Type | String | No | Audio noise reduction type. It is valid only when the audio noise reduction control switch is ON. Available values: Default value: normal. |
Audio enhancement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Denoise | AudioDenoiseInfo | No | Audio noise reduction configuration. |
| Separate | AudioSeparateInfo | No | Audio separation configuration. |
| VolumeBalance | AudioVolumeBalanceInfo | No | Volume equalization configuration. |
| Beautify | AudioBeautifyInfo | No | Volume beautification configuration. |
Audio separation configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Audio separation control switch. Available values: |
| Type | String | No | Scenario type. Valid values: Default value: normal. |
| Track | String | No | Output audio track. Available values: Default value: vocal. |
Audio stream configuration parameters
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Audio stream encoding format. When the outer parameter Container is mp3, optional values: When the outer parameter Container is ogg or flac, optional values: When the outer parameter Container is m4a, valid values are: When the outer parameter Container is mp4 or flv, valid values are: When the outer parameter Container is hls, valid values are: When the outer parameter Format is HLS or MPEG-DASH, valid values are: When the outer parameter Container is wav, valid values are: |
| Bitrate | Integer | Yes | Bitrate of the audio stream. Value range: 0 and [26, 256]. Unit: kbps. When the value is 0, it means VOD automatically sets the bitrate. |
| SampleRate | Integer | Yes | Sampling rate of the audio stream. Available values: Unit: Hz. |
| AudioChannel | Integer | No | Audio channel. Valid values: When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to stereo. Default value: 2. |
Audio stream configuration parameters
Used by actions: CreateProcedureTemplate, ModifyTranscodeTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Audio stream encoding format. |
| Bitrate | Integer | No | Audio stream bitrate, in kbps. Value range: 0 and [26, 256]. When the value is 0, it means VOD automatically sets the bitrate. |
| SampleRate | Integer | No | Sampling rate of the audio stream. Available values: |
| AudioChannel | Integer | No | Audio channel. Available values: |
| StreamSelects | Array of Integer | No | Specifies the retained audio tracks for output. All source tracks are retained by default. This parameter is valid only when specified in OverrideParameter. In other cases, it does not take effect. |
Audio segment information on the audio track.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | String | Yes | Media material source of the audio recording clip, which can be: Note: When using the download URL of another media file as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as a hotlink protection signature). |
| SourceMediaStartTime | Float | No | Start time of the audio clip in the material file, in seconds. 0 means capturing from the start position of the material. Default value: 0. |
| Duration | Float | No | Duration of the audio clip in seconds. Default: same as the material length, which means the entire material is captured. |
| TargetDuration | Float | No | Target duration of the audio clip, in seconds. |
| AudioOperations | Array of AudioTransform | No | Operation performed on the audio clip, for example, audio volume adjustment. |
Audio operation
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Audio operation type. Valid values: |
| VolumeParam | AudioVolumeParam | No | Audio volume adjustment parameter. Valid when Type is Volume. |
Volume equalization configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Volume equalization control switch. Available values: |
| Type | String | No | Type. Valid values: Default value: loudNorm. |
Audio gain adjustment parameter
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Mute | Integer | No | Whether to mute. Value range: 0 or 1. Default value: 0. |
| Gain | Float | No | Audio gain. Value range: 0-10. Default value: 0. |
Timestamp hotlink protection configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Hotlink protection configuration switch. Value:on: Enable;off: Cache. |
| TypeA | AuthenticationTypeA | No | Timestamp hotlink protection mode A configuration. |
| TypeB | AuthenticationTypeB | No | Configuration of timestamp hotlink protection mode B. |
| TypeC | AuthenticationTypeC | No | Configuration of timestamp hotlink protection mode C. |
| TypeD | AuthenticationTypeD | No | Configuration of timestamp hotlink protection mode D. |
Timestamp hotlink protection mode A configuration;
The access URL format of timestamp hotlink protection mode A is: http://DomainName/Filename?sign=timestamp-rand-uid-md5hash;
Among them, timestamp is a decimal UNIX timestamp.rand is a random string consisting of 0–100 upper- and lower-case letters and numbers.
uid is 0;
md5hash: MD5 (file path-timestamp-rand-uid-custom key).
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| SecretKey | String | Yes | Key used for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
| SignParam | String | Yes | Signature parameter name setting; Only allow upper- and lower-case letters, digits, or underscores. The length is 1–100 characters and cannot start with a digit. |
| ExpireTime | Integer | Yes | Signature expiration time settings; In seconds. Maximum settable value: 630720000. |
| FileExtensions | Array of String | Yes | List of filename extensions for authentication/no authentication settings; If containing the character *, it indicates all files. |
| FilterType | String | Yes | whitelist: allowlist, means to authenticate all types except those in the FileExtensions list. blacklist: blocklist, means authentication is only applicable to the types in FileExtensions. |
| BackupSecretKey | String | No | Secondary key for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
Timestamp hotlink protection mode B configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| SecretKey | String | Yes | Key used for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
| ExpireTime | Integer | Yes | Signature expiration time setting; In seconds. The maximum settable value is 630720000. |
| FileExtensions | Array of String | Yes | List of filename extensions for authentication/no authentication settings; If it contains the character *, it means all files. |
| FilterType | String | Yes | whitelist: allowlist, means to authenticate all types except those in the FileExtensions list; blacklist: blocklist, means authentication is only applicable to the types in FileExtensions. |
| BackupSecretKey | String | No | Secondary key for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
Configuration of timestamp hotlink protection mode C.
The access URL format of timestamp hotlink protection mode C is: http://DomainName/md5hash/timestamp/FileName;
Among them, timestamp is a hexadecimal UNIX timestamp;
md5hash: MD5 (custom key + file path + timestamp).
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| SecretKey | String | Yes | Key used for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
| ExpireTime | Integer | Yes | Signature expiration time setting; In seconds. The maximum settable value is 630720000. |
| FileExtensions | Array of String | Yes | List of filename extensions for authentication/no authentication settings; If it contains the character *, it means all files. |
| FilterType | String | Yes | whitelist: allowlist, means to authenticate all types except those in the FileExtensions list; blacklist: blocklist, means authentication is only applicable to the types in FileExtensions. |
| TimeFormat | String | Yes | Timestamp base settings: |
| BackupSecretKey | String | No | Secondary key for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
Configuration of timestamp hotlink protection mode D.
The access URL format of timestamp hotlink protection mode D is: http://DomainName/FileName?sign=md5hash&t=timestamp;
Among them, timestamp is a decimal or hexadecimal UNIX timestamp;
md5hash: MD5 (custom key + file path + timestamp).
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| SecretKey | String | Yes | Key used for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
| ExpireTime | Integer | Yes | Signature expiration time setting; In seconds. Maximum settable value: 630720000. |
| FileExtensions | Array of String | Yes | List of filename extensions for authentication/no authentication settings; If it contains the character *, it indicates all files. |
| FilterType | String | Yes | whitelist: allowlist, means to authenticate all types except those in the FileExtensions list; blacklist: blocklist, means authentication is only applicable to the types in FileExtensions. |
| SignParam | String | Yes | Signature parameter name settings; Only allow upper- and lower-case letters, digits, or underscores, with a length of 1–100 characters. It cannot start with a digit. |
| TimeParam | String | Yes | Timestamp parameter name settings; Only allow upper- and lower-case letters, digits, or underscores, with a length of 1–100 characters. It cannot start with a digit. |
| TimeFormat | String | Yes | Timestamp base settings: |
| BackupSecretKey | String | No | Secondary key for signature calculation. Only allow upper- and lower-case letters and digits, with a length of 6–32 characters. |
Authentication for Aws S3 origin-pull.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Toggle for Aws S3 origin-pull authentication. Valid values:on: Enable;off: Cache. |
| AccessKey | String | No | Access ID. |
| SecretKey | String | No | Key. |
| Region | String | No | Region. |
| Bucket | String | No | Bucket Name. |
Image beauty effect item.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable beauty effects. Enumeration values:
|
| Type | String | No | Beauty item. |
| Value | Integer | No | Intensity of beauty effects. |
| ResourcePath | String | No | Attach a resource path. |
| ExtInfo | String | No | Additional information. |
Beauty filter item.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether the filter is enabled. Enumeration values:
|
| Type | String | No | Filter item. |
| Value | Integer | No | Filter strength. |
Control parameters for video picture black edge, white edge, black screen, and white screen detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video picture black edge, white edge, black screen, and white screen detection switch. Available values: |
Control parameters for video picture black edge, white edge, black screen, and white screen detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video picture black edge, white edge, black screen, and white screen detection switch. Available values: |
Digital watermark parameter type in the MPS task.
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Digital watermark template ID. |
Digital watermark template details.
Used by actions: DescribeBlindWatermarkTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the digital watermark template. |
| Type | String | Digital watermark type. Valid values: |
| Name | String | Digital watermark template name. |
| TextContent | String | Text content of the digital watermark template. The length cannot exceed 64 characters. |
| Comment | String | Description information of the digital watermark template. |
| CreateTime | String | Creation time of the digital watermark template in ISO date and time format. |
| UpdateTime | String | Last modification time of the digital watermark template in ISO date and time format. |
Control parameters for video frame blur detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video frame blur detection switch. Available values: |
Control parameters for video frame blur detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video frame blur detection switch. Available values: |
https acceleration configuration for the domain name. Disabled by default.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| CertId | String | No | Server certificate ID is automatically generated when hosting a certificate in SSL certificate management. |
| Certificate | String | No | Certificate information. |
| PrivateKey | String | No | Key information. |
| ExpireTime | Timestamp ISO8601 | No | Certificate expiration time; No need to fill when used as an input parameter configuration. |
Cdn domain configuration information
Used by actions: CreateCDNDomain, DescribeCDNDomains.
| Name | Type | Required | Description |
|---|---|---|---|
| Area | String | Yes | Domain acceleration region: |
| Origin | Origin | Yes | Origin server configuration. |
| IpFilter | IpFilter | No | IP allowlist/blocklist configuration. |
| UserAgentFilter | UserAgentFilter | No | UA Blocklist/Allowlist Configuration. |
| FollowRedirect | FollowRedirect | No | 301/302 origin-pull follow configuration. |
| RequestHeader | RequestHeader | No | Request header configuration. |
| ResponseHeader | ResponseHeader | No | header configuration. |
| Cache | Cache | No | Cache expiration time configuration. |
| Https | Https | No | Https configuration. |
| Authentication | Authentication | No | Timestamp hotlink protection configuration. |
| ForceRedirect | ForceRedirect | No | Forced redirect configuration for access protocols. |
| Referer | Referer | No | Referer anti-leech configuration. |
| MaxAge | MaxAge | No | Browser cache configuration. |
| Ipv6Access | Ipv6Access | No | Ipv6 access configuration. |
| Quic | Quic | No | Quic access configuration. |
| AwsPrivateAccess | AwsPrivateAccess | No | Authentication configuration for AWS S3 origin-pull. |
| OssPrivateAccess | OssPrivateAccess | No | Authentication configuration for origin-pull from Alibaba Cloud OSS. |
| HwPrivateAccess | HwPrivateAccess | No | Huawei Cloud object storage origin-pull authentication configuration. |
| OthersPrivateAccess | OthersPrivateAccess | No | Authentication configuration for origin-pull from other vendors' object storage. |
Cdn domain configuration information
Used by actions: ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Area | String | No | Domain acceleration region: |
| Origin | Origin | No | Origin server configuration. |
| IpFilter | IpFilter | No | IP allowlist/blocklist configuration. |
| UserAgentFilter | UserAgentFilter | No | UA Blocklist/Allowlist Configuration. |
| FollowRedirect | FollowRedirect | No | 301/302 origin-pull follow configuration. |
| RequestHeader | RequestHeader | No | Request header configuration. |
| ResponseHeader | ResponseHeader | No | header configuration. |
| Cache | Cache | No | Cache expiration time configuration. |
| Https | Https | No | Https configuration. |
| Authentication | Authentication | No | Timestamp hotlink protection configuration. |
| ForceRedirect | ForceRedirect | No | Forced redirect configuration for access protocols. |
| Referer | Referer | No | Referer anti-leech configuration. |
| MaxAge | MaxAge | No | Browser cache configuration. |
| Ipv6Access | Ipv6Access | No | Ipv6 access configuration. |
| Quic | Quic | No | Quic access configuration. |
| AwsPrivateAccess | AwsPrivateAccess | No | Authentication configuration for AWS S3 origin-pull |
| OssPrivateAccess | OssPrivateAccess | No | Authentication configuration for origin-pull from Alibaba Cloud OSS. |
| HwPrivateAccess | HwPrivateAccess | No | Huawei Cloud object storage origin-pull authentication configuration. |
| OthersPrivateAccess | OthersPrivateAccess | No | Authentication configuration for origin-pull from other vendors' object storage. |
cdn domain information
Used by actions: DescribeCDNDomains.
| Name | Type | Description |
|---|---|---|
| Domain | String | Domain name. |
| DeployStatus | String | Deployment state. |
| Cname | String | Cname record. |
| CreateTime | String | Creation time. |
| Config | CDNDomainConfig | cdn domain configuration information. |
CLS logset information
Used by actions: DescribeCLSLogsets.
| Name | Type | Description |
|---|---|---|
| LogsetId | String | Logset ID. |
| LogsetName | String | Logset name. |
CLS log topic information.
Used by actions: DescribeCLSTopics.
| Name | Type | Description |
|---|---|---|
| TopicId | String | Log topic ID. |
| TopicName | String | Log topic name. |
| LogsetId | String | Logset ID. |
Node cache expiration time configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleCache | Array of RuleCache | No | Path cache configuration. |
Path cache configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Path cache configuration switch. Valid values:on: Enable;off: Cache. |
| CacheTime | Integer | Yes | Cache expiration time settings. Unit: second. The maximum value is 365 days. |
| CompareMaxAge | String | Yes | Advanced cache expiration configuration. When enabled, the max-age value returned by the origin server is compared with the cache expiration time set in CacheRules, and the minimum value is used for node caching. Valid values:on: Enable;off: Cache. |
| IgnoreCacheControl | String | Yes | Force cache. Value:on: Enable;off: Cache. |
| IgnoreSetCookie | String | Yes | Whether to cache the Set-Cookie header and body on the node when the origin server returns the header.off: disabled, following user-defined node cache rules. |
Path cache follows the origin server configuration.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Path cache follows the origin site configuration switch. Valid values:on: Enable;off: Cache. |
| HeuristicCache | HeuristicCache | No | Heuristic cache configuration. |
Path cache no cache configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Path cache no cache configuration configuration switch. Value:on: Enable;off: Cache. |
| Revalidate | String | Yes | Always validate with the origin server. Value:on: Enable;off: Cache. |
Canvas information. In video production, if the source material (video or image) cannot fill the output video window, the set canvas is used to draw the background.
Used by actions: ComposeMedia, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Color | String | No | Background color. Valid values: Default value: Black. |
| Width | Integer | No | Canvas width, i.e., the output video width. Value range: 0–3840. Unit: px. Default value: 0, which means the video width is the same as that of the first video clip on the first video track. |
| Height | Integer | No | Canvas height, i.e. the height (or long side) of the output video. Value range: 0–3840. Unit: px. Default value: 0, which means the video height is the same as that of the first video clip on the first video track. |
CDN log information
Used by actions: DescribeCdnLogs.
| Name | Type | Description |
|---|---|---|
| Date | String | Date of the log, format: yyyy-MM-dd, for example, 2018-03-01. |
| Name | String | Log name, format: date-hour-domain name |
| Url | String | Log download link, valid for download within 24 hours. |
| StartTime | String | Log start time, in ISO date format. |
| EndTime | String | Log end time. Use the ISO date format. |
Parameter configuration for AI outfit change
Used by actions: CreateSceneAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| ClothesFileInfos | Array of SceneAigcImageTaskInputFileInfo | No | Input the image list of clothing that need to be replaced. Maximum supported clothing quantity for each type:
|
| Prompt | String | No | Prompt for AI clothes changing. Valid only when Type is change_clothes. |
Intelligent Classification Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent classification task switch. Valid values: |
Control parameters of intelligent classification tasks
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent classification task switch. Valid values: |
Video clipping result file information (2017 version)
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ErrCode | Integer | Error code. |
| Message | String | Error description. |
| FileId | String | Output the file ID of the target file. |
| FileUrl | String | File address of the output target file. |
| FileType | String | Output file type of the target file. |
Video editing task information. This structure is only used for tasks initiated by the 2017 version of the video editing API.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Video clipping task ID. |
| SrcFileId | String | Video editing task source file ID. |
| FileInfo | ClipFileInfo2017 | Video editing output file information. |
Input for a voice cloning task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| AudioUrl | String | Cloning audio URL. Valid when AudioData is empty. |
| AudioFileId | String | fileId of the input audio |
| LanguageBoost | String | Audio language |
| ExtParam | String | Extended parameters in the format of a JSON string. |
Timbre clone task output.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| VoiceId | String | Voice ID. |
| DemoAudio | String | Audition audio. |
| ExtInfo | String | Extended information. |
Voice cloning task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates that the task is successful, while other values indicate that the task has failed. For valid values, see the list of video processing error codes. |
| Input | CloneVoiceAsyncInput | Voice type clone task input information. |
| Output | CloneVoiceAsyncOutput | Voice type clone task output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
| Progress | Integer | Pull upload progress. Value range: [0-100]. |
Color enhancement control parameters
Used by actions: CreateEnhanceMediaTemplate, CreateProcessImageAsyncTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyProcessImageAsyncTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Color enhancement control switch Enumeration values:
|
| Type | String | No | Color enhancement type. Valid only when the color enhancement control switch is ON. Available values: |
Adaptive bitrate task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ComplexAdaptiveDynamicStreamingTaskResultSet | Array of ComplexAdaptiveDynamicStreamingTaskResult | Execution status and results of the adaptive bitrate stream task. Each element corresponds to an adaptive bitrate template. |
Input parameter of the multilingual audio stream for an adaptive bitrate streaming task.
Used by actions: CreateComplexAdaptiveDynamicStreamingTask.
| Name | Type | Required | Description |
|---|---|---|---|
| FileId | String | Yes | Media ID of the audio source. The first audio stream in the media source file is always used, while video streams and other audio streams (if any) will be ignored. |
| Name | String | Yes | Audio stream name in the output adaptive bitrate stream. Length limit: 16 characters. |
| Language | String | Yes | Language of the audio stream in the output adaptive bitrate stream. Length limit: 16 characters. It must comply with RFC5646. |
| Default | String | No | Whether to set as the default audio for adaptive bitrate. Parameter values: |
| AudioTrackIdx | Integer | No | Audio track serial number, indicating which audio track in the audio source to select. Counting begins from 0. The default value is 0, which means selecting the audio track positioned towards the front. |
Input parameter of an adaptive bitrate streaming task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StreamPara | ComplexAdaptiveDynamicStreamingTaskStreamPara | Yes | Adaptive bitrate parameters. |
Output result of the adaptive bitrate streaming task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Adaptive bitrate template ID. |
| Format | String | Adaptive bitrate packaging format. Available values: |
| DrmType | String | DRM solution type. Available values: |
| Url | String | Playback address of the adaptive bitrate stream. |
Adaptive bitrate task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values: |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Progress | Integer | Transcoding progress, with a value range of [0-100]. |
| Input | ComplexAdaptiveDynamicStreamingTaskInput | Input of an adaptive bitrate task. |
| Output | ComplexAdaptiveDynamicStreamingTaskOutput | Output of the adaptive bitrate streaming task. |
Stream parameters of an adaptive bitrate streaming task.
Used by actions: CreateComplexAdaptiveDynamicStreamingTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Adaptive bitrate template ID. |
Input parameter of adaptive bitrate task multilingual subtitles.
Used by actions: CreateComplexAdaptiveDynamicStreamingTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | Yes | Subtitle ID. This subtitle must belong to the input main media of the adaptive bitrate task. |
| Default | String | No | Whether to set as the default subtitle for adaptive bitrate. Value: |
Output media file information.
Used by actions: ComposeMedia, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| FileName | String | Yes | Filename, up to 64 characters. |
| Description | String | No | Description. The maximum length is 128 characters. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| Container | String | No | Muxing format. Available values: mp4 and mp3. Among them, mp3 is for audio-only files. |
| VideoStream | OutputVideoStream | No | Output video information. |
| AudioStream | OutputAudioStream | No | Output audio content. |
| RemoveVideo | Integer | No | Indicates whether to remove video data. Available values:0: reservedDefault value: 0. |
| RemoveAudio | Integer | No | Indicates whether to remove audio data. Available values:0: reservedDefault value: 0. |
Media file production task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task stream status. Valid values: |
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| Progress | Integer | Progress of the media file creation task, in the range of [0,100]. |
| Input | ComposeMediaTaskInput | Input of a media file creation task. |
| Output | ComposeMediaTaskOutput | Output of the media file creation task. |
| MetaData | MediaMetaData | Metadata of the output video. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Input of a media file creation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Tracks | Array of MediaTrack | Input media track list, including multiple track information composed of materials such as video, audio, and image. |
| Canvas | Canvas | Canvas used when making video files. |
| Output | ComposeMediaOutput | Output media file information. |
Output of the media file creation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileType | String | File type, for example, mp4 and mp3. |
| FileId | String | Media file ID. |
| FileUrl | String | Media file playback address. |
| MediaName | String | File name, up to 64 characters. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is based on the ISO 8601 standard. For details, see ISO date format description. |
Source file information for video stitching (2017)
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| FileId | String | ID of the source file for video splicing. |
| FileUrl | String | Addresses of the source files for video stitching. |
| FileType | String | Format of the source file for video splicing. |
Video splicing task information. This structure is only used for tasks initiated via the 2017 video splicing API.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Video splicing task ID. |
| FileInfoSet | Array of ConcatFileInfo2017 | Source file information for video splicing. |
Audio/video moderation template details
Used by actions: DescribeContentReviewTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of an audio and video review template. |
| Name | String | Audio/video moderation template name. Length limit: 64 characters. |
| Comment | String | Description of the audio and video review template, with a length limit of 256 characters. |
| PornConfigure | PornConfigureInfo | Control parameters for authentication involving offensive information. |
| TerrorismConfigure | TerrorismConfigureInfo | Authentication involves control parameters for unsafe information. |
| PoliticalConfigure | PoliticalConfigureInfo | Control parameters for authentication involving inappropriate information. |
| ProhibitedConfigure | ProhibitedConfigureInfo | Prohibited control parameters. Restricted content includes: |
| UserDefineConfigure | UserDefineConfigureInfo | Control parameters of custom audio/video moderation. |
| ReviewWallSwitch | String | Whether the audio/video moderation result enters the audio/video moderation wall (for manual review of the audio/video moderation result). |
| ScreenshotInterval | Float | Frame interception interval in seconds. If not specified, the default frame interval is 1 second, with a minimum value of 0.5 seconds. |
| CreateTime | String | Template creation time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| UpdateTime | String | Template last modified time, use ISO date format. |
Copyright watermark parameters
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Text | String | Yes | Copyright information. Maximum length: 200 characters. |
Task input parameter type for screencapturing for cover image of a video
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Time point screenshot template ID. |
| PositionType | String | Yes | Screenshot type. Valid values: |
| PositionValue | Float | Yes | Screenshot position: |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Multiple image or text watermarks up to a maximum of 10 are supported. |
Task output type for screencapturing for cover image of a video
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| CoverUrl | String | URL of a cover. |
Intelligent Cover Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent cover task switch. Available values: |
Intelligent cover task control parameters
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent cover task switch. Available values: |
Control parameters for video screen glitch detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video image distortion detection switch. Available values: |
Control parameters for distortion detection in video footage.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Screen glitch detection switch for video footage. Available values: |
Create a custom user-submitted input.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ElementName | String | Subject name. |
| ElementDescription | String | Subject description. |
| ReferenceType | String | Subject reference method. |
| ElementVoiceId | String | Main timbre. |
| ElementVideoList | String | Subject reference video. |
| ElementImageList | String | Main body reference image. |
| TagList | String | Subject configuration tag. |
Create custom subject callback output
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| InfoList | Array of AdvancedElementInfo | Custom entity list. |
Create custom subject task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Enumeration values:
|
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. An empty string indicates success, while other values indicate failure. |
| Message | String | Error message. |
| Progress | Integer | Task progress, in the range of [0,100]. |
| Input | CreateAigcAdvancedCustomElementInput | Input information for creating a custom AIGC subject task. |
| Output | CreateAigcAdvancedCustomElementOutput | Create AIGC custom subject task output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Create AIGC voice clone input information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| AudioFileInfo | AigcAudioCloneInputFileInfo | Original audio file. The model will use the voice type of the audio passed in this parameter as an example to replicate the timbre. |
| VoiceId | String | Custom Voice ID. |
| Text | String | Clone the audition parameter. |
| PromptAudioFileInfo | AigcAudioCloneInputFileInfo | Sample audio for voice replication. |
| PromptText | String | Text content corresponding to the sample audio. |
| Payload | String | Pass-through parameter. |
Create AIGC voice clone output information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| State | String | Processing status. |
| VoiceId | String | User-defined voice_id. It is not returned if the task fails. |
| DemoAudio | String | If the trial text is passed in the request body, this parameter returns the audio audition in link format. Otherwise, this parameter is empty. |
| Payload | String | Pass-through parameter passed in for this call. |
| CreatedAt | String | Task creation time. |
Create AIGC voice clone task information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, please use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. A null string indicates success, while other values indicate failure. |
| Message | String | Error message. |
| Progress | Integer | Task progress. Value range: [0-100]. |
| Input | CreateAigcAudioCloneInput | Input information of the AIGC audio clone task. |
| Output | CreateAigcAudioCloneOutput | Output information of the AIGC audio clone task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Create custom voice type callback input information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| VoiceName | String | Timbre name. |
| VoiceUrl | String | Link to obtain the timbre data file. |
| VideoId | String | Historic work ID, which can provide audio material by referring to historic works. |
Callback output information for creating a custom voice type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| InfoList | Array of CustomVoiceInfo | Custom timbre list. |
Create custom voice type task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Enumeration values:
|
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. A null string indicates success, while other values indicate failure. |
| Message | String | Error message. |
| Progress | Integer | Task progress, value ranges from 0 to 100. |
| Input | CreateAigcCustomVoiceInput | Create AIGC custom voice type input information. |
| Output | CreateAigcCustomVoiceOutput | Create AIGC custom voice type output message. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Input information for creating a principal.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| SubjectName | String | Subject name. |
| SubjectImages | Array of String | Main image. |
| SubjectVideos | Array of String | Main video. |
| VoiceId | String | Main voice ID. |
Create subject output information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| SubjectId | String | Principal ID. |
| SubjectInfo | String | Entity information. |
Create principal task information.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Enumeration values:
|
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Extended error code. An empty string indicates success, while other values indicate failure. |
| Message | String | Error message. |
| Input | CreateAigcSubjectInput | Create AIGC subject input information. |
| Output | CreateAigcSubjectOutput | Create AIGC subject output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
Video image sprite task. This structure is only used for tasks initiated by the 2017 capture CSS sprites API.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Screenshot image sprite task ID. |
| ErrCode | Integer | Error code |
| Message | String | Error message. |
| FileId | String | Capture the file ID of CSS sprites. |
| Definition | Integer | Image sprite specification. See image sprite screenshot template. |
| TotalCount | Integer | Total number of small images in the sprite sheet. |
| ImageSpriteUrlSet | Array of String | Capture the domain names or IP addresses output by CSS sprites. |
| WebVttUrl | String | Sprite sheet sub-image position and temporal relationship WebVtt file address. |
Custom tone information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| VoiceId | String | Voice ID. |
| VoiceInfo | String | Tone information. |
DNS resolution verification info
Used by actions: CreateDomainVerifyRecord.
| Name | Type | Description |
|---|---|---|
| SubDomain | String | Sub-parsing. |
| Record | String | Parse the value. |
| RecordType | String | Parsing type. |
Playback statistics.
Used by actions: DescribeDailyMediaPlayStat, DescribeDailyMostPlayedStat.
| Name | Type | Description |
|---|---|---|
| Date | String | Date of playing the media file, in ISO date format. |
| FileId | String | Media file ID. |
| PlayTimes | Integer | Number of plays. |
| Traffic | Integer | Playback traffic volume, unit: byte. |
Asynchronously fetch AIGC human face information input.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of AigcFaceInputFileInfo | Input video information that requires face information. |
Asynchronously fetch AIGC human face information output
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FaceInfoSet | Array of AigcFaceInfo | Face information. |
Asynchronously fetch AIGC human face information tasks.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| ErrCodeExt | String | Expansion error code. Parameter format: expansion error code. Enumeration values:
|
| Message | String | Error message. |
| Progress | Integer | Task progress, value ranges from 0 to 100. |
| Input | DescribeAigcFaceInfoAsyncInput | Asynchronously fetch the input information of AIGC face information tasks. |
| Output | DescribeAigcFaceInfoAsyncOutput | Asynchronously fetch the output information of the AIGC human face information task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
File attribute acquisition task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0 indicates success. Additional values indicate failure: |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Progress | Integer | Task progress. Value range: [0-100]. |
| FileId | String | Media file ID. |
| Output | DescribeFileAttributesTaskOutput | Output of a media file attribute retrieval task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
File attribute retrieval task output
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Md5 | String | Md5 value of the media file. |
| Sha1 | String | Sha1 value of the media file. |
Timbre design task input.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| Prompt | String | Voice description. |
| VoiceSettings | VoiceSettings | Tone information |
| PreviewText | String | Trial text. |
| ExtParam | String | Extended parameters in the format of a JSON string. |
Timbre design task output.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| VoiceId | String | Voice ID. |
| TrialAudio | String | Audition audio. |
Timbre design task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and additional values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Input | DesignVoiceAsyncInput | Timbre design task input information. |
| Output | DesignVoiceAsyncOutput | Timbre design task output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
| Progress | Integer | Pull upload progress. Value range: [0-100]. |
LLM enhancement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Large model enhancement switch. Available values: |
| Type | String | No | Strength type. It is valid only when the large model enhancement control switch is ON. Available values: Default value: normal. |
Push a domain name to a CLS destination.
Used by actions: DescribeCLSPushTargets.
| Name | Type | Description |
|---|---|---|
| Domain | String | Domain name. |
| ChineseMainlandCLSTargetInfo | AreaCLSTargetInfo | Log push target in the Chinese mainland. |
| OutsideChineseMainlandCLSTargetInfo | AreaCLSTargetInfo | Log push targets outside the Chinese mainland. |
Domain name information
Used by actions: DescribeVodDomains.
| Name | Type | Description |
|---|---|---|
| Domain | String | Domain name. |
| AccelerateAreaInfos | Array of AccelerateAreaInfo | Acceleration region information. |
| DeployStatus | String | Deployment state. Valid values: |
| HTTPSConfig | DomainHTTPSConfig | HTTPS configuration information. |
| UrlSignatureAuthPolicy | UrlSignatureAuthPolicy | Key hotlink protection configuration message. |
| RefererAuthPolicy | RefererAuthPolicy | Referer hotlink protection configuration message. |
| CreateTime | String | The time when the domain name is added to the Tencent Cloud VOD system. |
| QUICConfig | DomainQUICConfig | Domain name QUIC configuration message. |
| IPFilterPolicy | IPFilterPolicy | IP access restriction configuration information. |
| Type | String | Domain type. Valid values: |
HTTPS configuration info of the domain name
Used by actions: DescribeVodDomains.
| Name | Type | Required | Description |
|---|---|---|---|
| CertExpireTime | String | Yes | Certificate expiration time. Parameter format: YYYY-MM-DDThh:mm:ss+08:00 |
| CloudCertId | String | No | Certificate ID in Tencent Cloud SSL product. |
QUIC configuration message of the domain name
Used by actions: DescribeVodDomains, ModifyVodDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Status | String | Yes | QUIC configuration status. Available values: |
DRM adaptive bitrate stream playback information
Used by actions: CreateSuperPlayerConfig, DescribeSuperPlayerConfigs.
| Name | Type | Required | Description |
|---|---|---|---|
| SimpleAesDefinition | Integer | No | Adaptive bitrate streaming template ID with the protection type SimpleAES. |
| WidevineDefinition | Integer | No | Adaptive bitrate streaming template ID with Widevine protection type. |
| FairPlayDefinition | Integer | No | Adaptive bitstreaming template ID with FairPlay protection type. |
DRM adaptive bitrate stream playback information modification object
Used by actions: ModifySuperPlayerConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| SimpleAesDefinition | Integer | No | Adaptive bitstreaming template ID with SimpleAES protection type. |
| WidevineDefinition | Integer | No | Adaptive bitrate streaming template ID with Widevine protection type. |
| FairPlayDefinition | Integer | No | Adaptive bitrate streaming template ID with FairPlay protection type. |
Visual dynamic range information.
Used by actions: LiveRealTimeClip, SimpleHlsClip.
| Name | Type | Description |
|---|---|---|
| Type | String | Frame dynamic range information. Valid values: |
| HDRType | String | High dynamic range type. Valid when Type is HDR. Currently supports the following valid values: |
Edit information of VOD video files
Used by actions: DescribeTaskDetail, EditMedia, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| FileId | String | Yes | Video ID. |
| StartTimeOffset | Float | No | Start time offset of video editing, in seconds. |
| EndTimeOffset | Float | No | End time offset of video editing, in seconds. |
Output of the result file of video editing.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system generates the filename. |
| Type | String | No | Output file format. Available values: mp4, hls. mp4 is selected by default. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is according to the ISO 8601 standard. For details, see ISO date format description. |
| VideoStream | EditMediaVideoStream | No | Output video information. |
| TEHDConfig | EditMediaTEHDConfig | No | TSC transcoding parameters. |
Edit video stream information.
Used by actions: DescribeTaskDetail, EditMedia, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StreamId | String | Yes | Stream ID of the recording |
| StartTime | String | No | Start time of stream clipping in ISO date format. |
| EndTime | String | No | End time of stream clipping, in ISO date format. |
Parameter configuration for top speed Codec in video editing.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Top speed Codec type. Available values: |
| MaxVideoBitrate | Integer | No | Maximum video bitrate. Valid when Type is set to top speed Codec. Leave it empty or set it to 0 to let VOD automatically set the bitrate cap. |
Edit video task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success. Other values indicate failure: |
| ErrCodeExt | String | Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Progress | Integer | Video editing task progress, in the range of [0,100]. |
| Input | EditMediaTaskInput | Input for a video editing task. |
| Output | EditMediaTaskOutput | Output of the video editing task. |
| MetaData | MediaMetaData | Metadata of the output video. |
| ProcedureTaskId | String | Task ID of the task type Procedure. If a task flow template (ProcedureName) is specified when initiating a video editing (https://www.tencentcloud.com/document/api/266/34783?from_cn_redirect=1) task, the task is initiated when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, and AiRecognitionTask. |
| ReviewAudioVideoTaskId | String | Task ID of the ReviewAudioVideo task type. If a task flow template (ProcedureName) is specified when initiating a video editing task (https://www.tencentcloud.com/document/api/266/34783?from_cn_redirect=1), the task is initiated when the task flow template specifies ReviewAudioVideoTask. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Input of the video editing task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| InputType | String | Source type of the input video. Valid values: File and Stream. |
| FileInfoSet | Array of EditMediaFileInfo | Input video file information. This field has a value when InputType is File. |
| StreamInfoSet | Array of EditMediaStreamInfo | Input stream information. This field has a value when InputType is Stream. |
Output of video editing tasks.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileType | String | File type, for example, mp4 and flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. |
| MediaName | String | Output filename, up to 64 characters. By default, the system generates a filename. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format follows the ISO 8601 standard. For details, see ISO date format description. |
Video stream configuration information
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Encoding format for video streams. Optional values: |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 100000]. Unit: kbps. When the value is 0 or not specified, VOD automatically sets the bitrate. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: Default value: open. |
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. |
| Height | Integer | No | Maximum height (or short side) of the video stream. Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| Fps | Integer | No | Video frame rate. Value range: [0, 100]. Unit: Hz. When the value is 0, the frame rate is automatically set for the video. Default value: 0. |
Principal reference information.
Used by actions: CreateAigcCustomElement.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageUrl | String | No | Reference image URLs of the subject from different perspectives. Image format: .jpg, .jpeg, and .png are supported. Image file size must not exceed 10 MB. Image width and height must not be less than 300 px. Image aspect ratio must be between 1:2.5 and 2.5:1. |
Empty track segment used as a placeholder on the timeline. If a period of silence is required between two audio clips, you can use EmptyTrackItem as a placeholder.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | Float | Yes | Duration, in seconds. |
Audio/video enhancement configuration
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| VideoEnhance | VideoEnhanceConfig | No | Video enhancement configuration. |
| AudioEnhance | AudioEnhanceConfig | No | Audio enhancement configuration. |
Audio/video enhancement configuration
Used by actions: ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| VideoEnhance | VideoEnhanceConfig | No | Video enhancement configuration. |
| AudioEnhance | AudioEnhanceConfig | No | Audio enhancement configuration. |
Output file of the rebuild media generation result.
Used by actions: EnhanceMediaQuality.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system assigns a generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can call the Create Category API to create a category and obtain the category ID. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. Default value: permanent, no expiration. Format according to the ISO 8601 standard. For details, see ISO date format description. |
Event notification content. Among them, TranscodeCompleteEvent, ConcatCompleteEvent, ClipCompleteEvent, CreateImageSpriteCompleteEvent, and SnapshotByTimeOffsetCompleteEvent are event notifications for tasks initiated via 2017 API-compatible interfaces.
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| EventHandle | String | Event handler. The caller must call ConfirmEvents to acknowledge that the message has been received. The confirmation is valid for 30 seconds. After expiration, the event can be retrieved again. |
| EventType | String | Supported event types: |
| FileUploadEvent | FileUploadTask | Video upload completion event. Valid when the event type is NewFileUpload. |
| ProcedureStateChangeEvent | ProcedureTask | Task flow status change event. Valid when the event type is ProcedureStateChanged. |
| FileDeleteEvent | FileDeleteTask | File deletion event. Valid when the event type is FileDeleted. |
| PullCompleteEvent | PullUploadTask | Video pull completion event. Valid when the event type is PullComplete. |
| EditMediaCompleteEvent | EditMediaTask | Video editing completion event. Valid when the event type is EditMediaComplete. |
| SplitMediaCompleteEvent | SplitMediaTask | Video splitting completion event. Valid when the event type is SplitMediaComplete. |
| ComposeMediaCompleteEvent | ComposeMediaTask | Media file creation task completion event. Valid when the event type is ComposeMediaComplete. |
| ClipCompleteEvent | ClipTask2017 | Video editing completion event. Valid when the event type is ClipComplete. |
| TranscodeCompleteEvent | TranscodeTask2017 | Video transcoding completion event. Valid when the event type is TranscodeComplete. |
| CreateImageSpriteCompleteEvent | CreateImageSpriteTask2017 | Video thumbnail capture completion event. Valid when the event type is CreateImageSpriteComplete. |
| ConcatCompleteEvent | ConcatTask2017 | Video splicing completion event. Valid when the event type is ConcatComplete. |
| SnapshotByTimeOffsetCompleteEvent | SnapshotByTimeOffsetTask2017 | Video screenshot by time point completion event. Valid when the event type is CreateSnapshotByTimeOffsetComplete. |
| WechatPublishCompleteEvent | WechatPublishTask | WeChat Publishing Completion Event, valid when the event type is WechatPublishComplete. |
| WechatMiniProgramPublishCompleteEvent | WechatMiniProgramPublishTask | WeChat Mini Program Publishing Task Completion Event. Valid when the event type is WechatMiniProgramPublishComplete. |
| RemoveWatermarkCompleteEvent | RemoveWatermarkTask | Intelligent Watermark Removal Completion Event, valid when the event type is RemoveWatermark. |
| RestoreMediaCompleteEvent | RestoreMediaTask | Video retrieval completion event. Valid when the event type is RestoreMediaComplete. |
| RebuildMediaCompleteEvent | RebuildMediaTask | Audio and video quality rebirth completion event. Valid when the event type is RebuildMediaComplete. |
| ExtractTraceWatermarkCompleteEvent | ExtractTraceWatermarkTask | Traceability watermark extraction completion event. Valid when the event type is ExtractTraceWatermarkComplete. |
| ExtractCopyRightWatermarkCompleteEvent | ExtractCopyRightWatermarkTask | Copyright watermark extraction completion event, valid when the event type is ExtractCopyRightWatermarkComplete. |
| ReviewAudioVideoCompleteEvent | ReviewAudioVideoTask | Audio/video moderation completed event. Valid when the event type is ReviewAudioVideoComplete. |
| ReduceMediaBitrateCompleteEvent | ReduceMediaBitrateTask | This field is invalid. |
| DescribeFileAttributesCompleteEvent | DescribeFileAttributesTask | File attribute acquisition completion event. Valid when the event type is DescribeFileAttributesComplete. |
| QualityInspectCompleteEvent | QualityInspectTask | Audio and video quality detection completion event. Valid when the event type is QualityInspectComplete. |
| QualityEnhanceCompleteEvent | QualityEnhanceTask | Audio and video quality rebirth completion event. Valid when the event type is QualityEnhanceComplete. |
| MediaCastStatusChangedEvent | MediaCastEvent | Media forwarding status change event, valid when the event type is MediaCastStatusChanged. |
| PersistenceCompleteEvent | PersistenceCompleteTask | Editing solidification completion event. Valid when the event type is PersistenceComplete. |
| ComplexAdaptiveDynamicStreamingCompleteEvent | ComplexAdaptiveDynamicStreamingTask | Adaptive bitrate task information. Valid only when EventType is ComplexAdaptiveDynamicStreamingComplete. |
| ProcessMediaByMPSCompleteEvent | ProcessMediaByMPS | MPS video processing task information. Valid only when EventType is ProcessMediaByMPSComplete. |
| AigcImageCompleteEvent | AigcImageTask | AIGC image generation task information. Valid only when EventType is AigcImageTaskComplete. |
| AigcVideoCompleteEvent | AigcVideoTask | Information of the AIGC video generation task. Valid only when EventType is AigcVideoTaskComplete. |
| ExtractBlindWatermarkComplete | ExtractBlindWatermarkTask | Extract digital watermark information. Valid only when EventType is ExtractBlindWatermarkComplete. |
| SceneAigcImageCompleteEvent | SceneAigcImageTask | AIGC scenario-based image generation task info. Valid only when EventType is SceneAigcImageCompleteEvent. |
| ProcessImageAsyncCompleteEvent | ProcessImageAsyncTask | Image asynchronous task processing information. Valid only when EventType is ProcessImageAsyncCompleteEvent. |
| CreateAigcAdvancedCustomElementCompleteEvent | CreateAigcAdvancedCustomElementTask | AIGC custom entity information. This field has a value only when EventType is CreateAigcAdvancedCustomElementCompleteEvent. |
| CreateAigcCustomVoiceCompleteEvent | CreateAigcCustomVoiceTask | AIGC custom tone information. This field has a value only when EventType is CreateAigcCustomVoiceCompleteEvent. |
| DescribeAigcFaceInfoAsyncCompleteEvent | DescribeAigcFaceInfoAsyncTask | Asynchronously fetch AIGC face information. This field has a value only when EventType is DescribeAigcFaceInfoAsyncComplete. |
| AigcHunyuan3DCompleteEvent | AigcHunyuan3DTask | AIGC Hunyuan 3D task information. This field has a value only when EventType is AigcHunyuan3DTaskComplete. |
Extraction blind watermark input information
Used by actions: DescribeTaskDetail, ExtractBlindWatermark, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Digital watermark extraction input type. Available values: |
| FileId | String | No | Media asset file ID to extract |
| Url | String | No | url of the video file to extract |
Extraction task information of video digital watermark
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Media processing task ID. |
| Status | String | Task stream status. Valid values: |
| ErrCode | Integer | Error code. 0: Success. Other values: Failure. |
| Message | String | Error message. |
| InputInfo | ExtractBlindWatermarkInputInfo | File input information for digital watermark extraction. |
| Type | String | Digital watermark type. Available values: |
| IsDetected | Boolean | Tag whether a watermark is detected. If this parameter is true, the Result field will return the watermark extraction Result. If this parameter is false, the Result field will not be returned. |
| Result | String | Extracted digital watermark content. This field will not be returned if no watermark is detected. |
| ResultUV | String | Player's ID extracted from the traceability watermark, represented in hexadecimal, 6 digits in total. |
| ExtractBlindWatermarkConfig | ExtractBlindWatermarkTaskConfig | Configuration for digital watermark extraction. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
Extract the digital watermark task configuration for video transcoding
Used by actions: DescribeTaskDetail, ExtractBlindWatermark, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| SegmentDuration | Integer | Yes | Valid when the digital watermark extraction type is blind-abseq. Used to specify the segment duration of the input video. Unit: ms. If left empty, the default segment duration is 5 seconds. |
Copyright Watermark Extraction Task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Input | ExtractCopyRightWatermarkTaskInput | Input information of the copyright watermark extraction task. |
| Output | ExtractCopyRightWatermarkTaskOutput | Output information of the copyright watermark extraction task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Input of the Copyright Watermark Extraction Task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Url | String | URL of the media requiring watermark extraction. |
Extract copyright watermark output information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Text | String | Copyright information. |
Source watermark extraction task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Input | ExtractTraceWatermarkTaskInput | Input information of the source watermark extraction task. |
| Output | ExtractTraceWatermarkTaskOutput | Output information of the source watermark extraction task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Extraction traceability watermark input
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Url | String | URL of the media requiring watermark extraction. |
| FileId | String | Media file ID. Original media file ID corresponding to the Url. |
Extract traceability watermark output information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Uv | String | Player's ID, represented in hexadecimal, 6 digits in total. |
Face recognition task control parameter
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Face recognition task switch. Available values: |
| Score | Float | No | Face recognition filter score. When the recognition result reaches this score or above, the recognition result will be returned. Default: 95 points. Value range: 0-100. |
| DefaultLibraryLabelSet | Array of String | No | Filter tag for default characters, specifying the tags of default characters to return. If not filled or left empty, all default character results will be returned. Available tag values: |
| UserDefineLibraryLabelSet | Array of String | No | Filter tags for user-defined characters, specifying the tags of user-defined characters to return. If not specified or empty, all user-defined character results are returned. |
| FaceLibrary | String | No | Figure library selection. Available values: |
Face recognition task control parameter
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Face recognition task switch. Available values: |
| Score | Float | No | Face recognition filter score. When the recognition result reaches this score or above, the recognition result will be returned. Value range: 0-100. |
| DefaultLibraryLabelSet | Array of String | No | Default character filter tag, specify the tag of the default character to return. If not filled or empty, all default character results are returned. Available tag values: |
| UserDefineLibraryLabelSet | Array of String | No | User-defined character filter tag, specify the tag of the user-defined character to return. If not specified or empty, all customized figure results are returned. |
| FaceLibrary | String | No | Figure library selection. Available values: |
Face enhancement control
Used by actions: CreateEnhanceMediaTemplate, CreateProcessImageAsyncTemplate, CreateRebuildMediaTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyProcessImageAsyncTemplate, ModifyRebuildMediaTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Face enhancement control switch. Available values: |
| Intensity | Float | No | Face enhancement strength. Valid only when the face enhancement control switch is ON. Value range: 0.0-1.0. Default value: 0.0. |
Media information for face recognition
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| FaceRecognitionTasks | Array of FaceRecognitionTask | Face recognition task list |
Face recognition output file information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| FileType | String | Face recognition output file type Enumeration values:
|
| Url | String | URL of the face recognition output file |
Face recognition task
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Face recognition template No. |
| OutputFile | Array of FaceRecognitionOutputFileInfo | Output file information |
Input media type for quick media edit operations
Used by actions: FastEditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| FileId | String | Yes | Media ID. |
| AudioVideoType | String | Yes | Audio and video type for operation. Optional values: Note: The audio and video to operate must be in HLS format. |
| TranscodeDefinition | Integer | No | Valid when AudioVideoType is Transcode. It indicates the transcoding template ID for media operation. |
| StartTimeOffset | Float | No | Media editing start offset time, in seconds. |
| EndTimeOffset | Float | No | Media editing end time offset, in seconds. |
Stored file in VOD.
Used by actions: ListFiles.
| Name | Type | Description |
|---|---|---|
| Key | String | Object key. |
| LastModified | String | Last modification time of the object in ISO 8601 format, for example, 2019-05-24T10:56:40Z. |
| ETag | String | Entity Tag is an information Tag that identifies the object content upon creation. It can be used to check whether the object content has changed. |
| Size | Integer | Object size in bytes. |
| StorageClass | String | For enumeration values, please refer to the storage type document, for example, STANDARD_IA and ARCHIVE. |
| FileId | String | Unique identifier of the media file corresponding to this file. |
| Category | String | File category: |
| FileType | String | Optional values: -OriginalFiles: source file - TranscodeFiles: transcoded file -AdaptiveDynamicStreamingFiles: Transcode to an adaptive bitrate stream file - SubtitleFiles: subtitle file. - SampleSnapshotFiles: sampled screenshot files - ImageSpriteFiles: image sprite screenshot files - SnapshotByTimeOffsetFiles: time point screenshot files. |
| Definition | Integer | Video template ID. For template definition, see Transcoding Template. |
| SubtitleID | String | Subtitle ID. Value only when FileType is SubtitleFiles. |
File deletion result information
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | File ID deleted. |
| DeleteParts | Array of MediaDeleteItem | Part of the files deleted this time. |
File deletion task
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| FileIdSet | Array of String | List of file IDs to delete. |
| FileDeleteResultInfo | Array of FileDeleteResultItem | List of result information for deleting files. |
File moderation information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| MediaReviewInfo | ReviewInfo | Media review information*. * Only show the review result info initiated by Audio/Video Moderation (ReviewAudioVideo) or Image Moderation (ReviewImage). |
| CoverReviewInfo | ReviewInfo | Media cover review info*. * Only show the review result info initiated by Audio/Video Moderation (ReviewAudioVideo) or Image Moderation (ReviewImage). |
File upload task information
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Unique file ID. |
| MediaBasicInfo | MediaBasicInfo | Basic information of the media file generated after upload completion. |
| ProcedureTaskId | String | Task ID for the task type Procedure. If A task (Procedure) is specified during video upload, the task is initiated when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, or AiRecognitionTask. |
| ReviewAudioVideoTaskId | String | Task ID of the ReviewAudioVideo task type. If a task procedure is specified during video upload (https://www.tencentcloud.com/document/product/266/33475?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7), the task is initiated when the task flow template specifies ReviewAudioVideoTask. |
| MetaData | MediaMetaData | Metadata, including size, duration, video stream information, and audio stream information. |
File verification information
Used by actions: CreateDomainVerifyRecord.
| Name | Type | Description |
|---|---|---|
| FileVerifyUrl | String | File validation URL guide. |
| FileVerifyDomains | Array of String | File verification domain name list. |
| FileVerifyName | String | File verification file name. |
Automatic Follow Configuration for 301/302 status codes during origin-pull, disabled by default
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Follow origin configuration switch. Valid values:on: Enable;off: Cache. |
Forced redirect configuration for access protocols. Disabled by default.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Access the forced redirect configuration switch. Value:on: Enable;off: Cache. |
| RedirectType | String | No | Access forced redirect type:https: Force HTTPS redirect |
| RedirectStatusCode | Integer | No | Status code returned for forced redirection. Supports 301 and 302. |
| CarryHeaders | String | No | Whether to return the added header during forced redirection. |
Frame interpolation frame rate configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Frame interpolation frame rate configuration control switch. Available values: |
| FpsNum | Integer | No | Frame rate numerator. Value range: non-negative number, which should be less than 100 when divided by the denominator, and in the unit of Hz. The default value is 0. Note: For transcoding, this parameter will override the Fps in the VideoTemplate. |
| FpsDen | Integer | No | Frame rate denominator. Value range: equal to or greater than 1. Default value: 1. |
Intelligent frame-specific tagging task control parameter.
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for the intelligent frame-specific tagging task. Available values: |
| ScreenshotInterval | Float | No | Frame interception interval in seconds. If not specified, the default frame interval is 1 second. Minimum value: 0.5 seconds. |
Intelligent frame tagging task control parameter
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch for the intelligent frame-specific tagging task. Available values: |
| ScreenshotInterval | Float | No | Frame interception interval in seconds. Minimum value: 0.5 seconds. |
High dynamic range type control parameter.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | HDR type control switch. Available values: |
| Type | String | No | High dynamic range type. Valid values: Note: |
Control parameter for video opening and closing credits recognition tasks
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video opening and closing credits recognition task switch. Available values: |
Control parameter for the video opening and closing credits recognition task
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video opening and closing credits recognition task switch. Available values: |
Ending task input type.
Used by actions: CreateComplexAdaptiveDynamicStreamingTask, CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Opening and ending template ID. |
Description of the title and trailer template
Used by actions: DescribeHeadTailTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Opening and ending template ID. |
| Name | String | Template name. Supports up to 64 characters. |
| Comment | String | Template description. Supports up to 256 characters. |
| HeadCandidateSet | Array of String | Opening candidate list. When used, the one closest to the main content resolution is selected. If identical candidates exist, the first one is used. Supports up to 5 candidates. |
| TailCandidateSet | Array of String | Ending candidate list. When used, the one closest to the main content resolution is selected. If identical candidates exist, the first one is used. Supports up to 5 candidates. |
| FillType | String | Filling method. When the aspect ratio of the video stream configuration width and height parameters is inconsistent with that of the original video, the processing method for transcoding is "padding". Optional filling methods: Default value: stretch. |
| CreateTime | String | Template creation time in ISO datetime format. |
| UpdateTime | String | Template last modified time in ISO date format. |
Heuristic cache configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Heuristic cache configuration switch. Valid values:on: Enable;off: Cache. |
| CacheConfig | HeuristicCacheConfig | No | Custom heuristic cache time configuration. |
Heuristic custom time cache configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| HeuristicCacheTimeSwitch | String | Yes | Heuristic custom time cache configuration switch. Valid values:on: Enable;off: Cache. |
| HeuristicCacheTime | Integer | Yes | Unit: seconds. |
List of intelligent highlight clips.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence degree. |
| StartTimeOffset | Float | Start time offset of a segment. Unit: seconds |
| EndTimeOffset | Float | Segment end time offset. Unit: seconds |
Intelligent highlight task control parameter
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for intelligent highlight. Available values: |
Intelligent highlight task control parameters
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent highlight task switch. Value range: |
Http header setting rules, with a maximum of 100.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| HeaderMode | String | Yes | http header setting method: |
| HeaderName | String | Yes | http header name, with a maximum of 100 characters. |
| HeaderValue | String | Yes | http header value, up to 1000 characters; Optional when Mode is del. Required if Mode is add/set. |
| RuleType | String | Yes | Rule type: |
| RulePaths | Array of String | Yes | Matching content under the corresponding type of RuleType: |
https acceleration configuration for the domain name. Disabled by default.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | https configuration switch. Value:on: Enable;off: Cache. |
| Http2 | String | No | http/2 configuration switch. Value:on: Enable;off: Cache. |
| CertInfo | CDNCertInfo | No | Certificate configuration information. |
Huawei Cloud object storage origin-pull authentication
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Huawei Cloud object storage origin-pull authentication configuration switch. Valid values:on: Enable;off: Cache. |
| AccessKey | String | No | Access ID. |
| SecretKey | String | No | Key. |
| Bucket | String | No | Bucket Name. |
IP access restriction rule. It currently supports IP blocklist and allowlist configuration.
Used by actions: DescribeVodDomains, ModifyVodDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Status | String | Yes | IP access restriction status. Available values: |
| FilterType | String | No | IP access restriction type: |
| IPList | Array of String | No | IP list. Supports IPV4 addresses in X.X.X.X format, IPV6 addresses in X:X:X:X:X:X:X:X format, or IP ranges in /N format (IPV4: 1≤N≤32; IPV6: 1≤N≤128). You can fill up to 200 IPs or ranges. When Status is Enabled, IPList must be assigned a value. |
Image beauty configuration.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| BeautyEffectItems | Array of BeautyEffectItem | No | Beauty effect item. |
| BeautyFilterItems | Array of BeautyFilterItem | No | Beauty filter item. |
Blur an image.
Used by actions: CreateImageProcessingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type for blurry images. Optional modes: |
| Radius | Integer | No | Blur radius. Value range: 1-50. This field is valid when Type is Gaussian. |
| Sigma | Integer | No | Standard deviation of the normal distribution. Must be greater than 0. This field is valid when the value of Type is Gaussian. |
Crop the image center.
Used by actions: CreateImageProcessingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Image cropping type. Selectable values: Circle and Rectangle. |
| Width | Integer | No | Width of the output image in pixels. Valid when Type is Rectangle. |
| Height | Integer | No | Height of the output image. Unit: pixel. Valid when Type is Rectangle. |
| Radius | Integer | No | Radius of the output image. Unit: pixel. Valid when Type is Circle. |
Image denoising configuration.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: Default value: ON. |
| Type | String | No | Type. Valid values: Default value: weak. |
Image encoding format parameters
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Format | String | No | Image format. Valid values: JPEG, PNG, BMP, and WebP. If it is not specified, the original image format is used. Animations are not supported. |
| Quality | Integer | No | Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality. |
Image enhancement parameters
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| SuperResolution | SuperResolutionInfo | No | Super-resolution configuration. |
| AdvancedSuperResolution | AdvancedSuperResolutionConfig | No | Advanced super-resolution configuration. |
| Denoise | ImageDenoiseConfig | No | Denoising configuration. |
| ImageQualityEnhance | ImageQualityEnhanceInfo | No | Comprehensive enhancement configuration. |
| ColorEnhance | ColorEnhanceInfo | No | Color enhancement configuration. |
| SharpEnhance | SharpEnhanceInfo | No | Detail enhancement configuration. |
| FaceEnhance | FaceEnhanceInfo | No | Face enhancement configuration. |
| LowLightEnhance | LowLightEnhanceInfo | No | Low-light enhancement configuration. |
One image processing operation.
Used by actions: CreateImageProcessingTemplate, DescribeImageProcessingTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Image processing type. Optional types: |
| Scale | ImageScale | No | Image thumbnail processing. This parameter is valid only when Type is Scale. |
| CenterCut | ImageCenterCut | No | Image crop processing. Valid only when Type is CenterCut. |
| Blur | ImageBlur | No | Blur the image. This parameter is valid only when Type is Blur. |
Image processing template supports up to three operations. For example: crop - thumbnail - crop.
Used by actions: DescribeImageProcessingTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the image processing template. |
| Type | String | Template type. Valid values: |
| Name | String | Image processing template name. |
| Comment | String | Template description information. |
| Operations | Array of ImageOperation | Image processing operation array. Operations are performed in array order. |
| CreateTime | String | Template creation time in ISO date format. |
Comprehensive enhancement control
Used by actions: CreateProcessImageAsyncTemplate, CreateTranscodeTemplate, ModifyProcessImageAsyncTemplate, ModifyTranscodeTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Comprehensive enhancement control switch. Valid values: |
| Type | String | No | Comprehensive enhancement type. Valid only when the comprehensive enhancement control switch is ON. Available values: Default value: weak. |
Image moderation count statistics.
Used by actions: DescribeImageReviewUsageData.
| Name | Type | Description |
|---|---|---|
| Time | String | Start time of the time interval where the data resides, using ISO date format. For example, when the time granularity is day, 2018-12-01T00:00:00+08:00 means the interval from December 1, 2018 (inclusive) to December 2, 2018 (exclusive). |
| Count | Integer | Count. |
Image scaling processing.
Used by actions: CreateImageProcessingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type of image scaling. Optional modes: |
| Height | Integer | No | Height of the output image. Unit: pixel. This field is valid when Type is HeightFirst or Force. |
| Width | Integer | No | Width of the output image in pixels. This field is valid when Type is WidthFirst or Force. |
| LongEdge | Integer | No | Long side length of the output image in pixels. This field is valid when Type is LongEdgeFirst. |
| ShortEdge | Integer | No | Short side length of the output image, unit: pixel. This field is valid when Type value is ShortEdgeFirst. |
Image encoding format parameters.
Used by actions: CreateSceneAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Format | String | No | Image format. Valid values: JPEG, PNG. If it is not specified, the original image format is used. Animations are not supported. |
| Quality | Integer | No | Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality. |
Task input parameter type of sprite sheet capture in a video
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Image sprite template ID. |
Sprite sheet template details
Used by actions: DescribeImageSpriteTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Sprite template unique identifier. |
| Type | String | Template type. Valid values: |
| Name | String | Sprite sheet template name. |
| Width | Integer | Maximum width (or long side) of small images in sprite image. Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| Height | Integer | Maximum height (or short side) of small images in the sprite image. Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | Resolution adaptation. Available values: Default value: open. |
| SampleType | String | Sampling type. |
| SampleInterval | Integer | Sampling interval. |
| RowCount | Integer | Number of rows of small images in the sprite image. |
| ColumnCount | Integer | Number of columns of small images in the sprite image. |
| CreateTime | String | Template creation time. Use the ISO date format. |
| UpdateTime | String | Template last modified time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| FillType | String | Filling method. When the aspect ratio of the video stream configuration width and height parameters is inconsistent with that of the original video, the processing method for transcoding is "padding". Optional filling methods: Default value: black. |
| Comment | String | Template description information. |
| Format | String | Image format. |
Image rotation, flipping, and other operations.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Type. Valid values: |
| RotateAngle | Float | No | Angle to rotate the image around the center point. Value range: 0-360. Valid when Type is Rotate. |
| Flip | String | No | Image flipping action. Valid values: Valid when Type is set to Flip. |
Image understanding information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| ImageUnderstandingSet | Array of ImageUnderstandingItem | Collection of image understanding items. |
Image understanding information item.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template id. |
| OutputFile | Array of MPSOutputFileInfo | Task output file. |
Image watermark template input parameters.
Used by actions: CreateWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageContent | String | Yes | Base64-encoded string (https://tools.ietf.org/html/rfc4648) of the watermark image. Supports jpeg, png, and gif image formats. |
| Width | String | No | Width of a watermark, supporting two formats: % and px.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width.Default value: 10%. |
| Height | String | No | Height of a watermark. Supports two formats: % and px.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height.Default value: 0px, which means Height is scaled according to the aspect ratio of the raw watermark image. |
| RepeatType | String | No | Watermark repeat type. Usage scenario: the watermark is a dynamic image. Value range: |
| Transparency | Integer | No | Image transparency. Value range: [0, 100]. Default value: 0. |
Input parameters of an image watermark template
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageContent | String | No | Base64-encoded string (https://tools.ietf.org/html/rfc4648) of the watermark image. Supports jpeg and png image formats. |
| Width | String | No | Width of a watermark, supporting two formats: % and px.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width. |
| Height | String | No | Height of a watermark, supporting two formats: % and px.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height. |
| RepeatType | String | No | Watermark repeat type. Usage scenario: the watermark is a dynamic image. Value range: |
| Transparency | Integer | No | Image transparency. Value range: [0, 100]. |
Image watermark template
Used by actions: DescribeWatermarkTemplates.
| Name | Type | Description |
|---|---|---|
| ImageUrl | String | Watermark image address. |
| Width | String | Width of a watermark, supporting two formats: % and px.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width. |
| Height | String | Height of the watermark. Supports two formats: % and px.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height.0px: means Height is scaled proportionally to the video width according to Width. |
| RepeatType | String | Watermark repeat type. Usage scenario: the watermark is a dynamic image. Value range: |
| Transparency | Integer | Image transparency. Value range: [0, 100]. |
Media import knowledge base task
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| FileId | String | Media file ID |
| Input | ImportMediaKnowledgeTaskInput | Input of the import knowledge base task. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure |
| Message | String | Error message. |
Input parameter type for importing an intelligent media assets knowledge base in a task flow template.
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, DescribeTaskDetail, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Large Model Understanding Template |
| KnowledgeBaseIds | Array of String | No | List of knowledge base IDs. Leave empty to use the default knowledge base. |
IP allowlist/blocklist configuration, disabled by default
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | IP allowlist/blocklist configuration switch. Parameter value:on: Enable;off: Cache. |
| FilterType | String | No | IP allowlist/blocklist type: |
| Filters | Array of String | No | IP blocklist and allowlist. Supports IPs in the X.X.X.X format or network segments in the /8, /16, or /24 format. You can fill up to 50 allowlist entries or 50 blocklist entries. |
| FilterRules | Array of IpFilterPathRule | No | IP blocklist/allowlist path-specific configuration. |
IP allowlist/blocklist path-specific configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| FilterType | String | Yes | IP allowlist/blocklist type: |
| Filters | Array of String | Yes | IP blocklist/allowlist list, supporting IPs in X.X.X.X format or network segments in /8, /16, or /24 format. You can fill up to 50 allowlist entries or 50 blocklist entries. |
| RuleType | String | Yes | Rule type: |
| RulePaths | Array of String | Yes | Matching content under the corresponding type of RuleType: |
Ipv6 access configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Domain name activation switch for ipv6 access configuration. Valid values:on: Enable;off: Cache. |
Control parameters for video frame jitter and ghosting detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video frame jitter and ghosting detection switch. Value range: |
Control parameters for video frame jitter and ghosting detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video frame jitter and ghosting detection switch. Available values: |
Details of the just in time transcoding template.
Used by actions: DescribeJustInTimeTranscodeTemplates.
| Name | Type | Description |
|---|---|---|
| Type | String | Template type. |
| Name | String | Template name. |
| Comment | String | Template description. |
| VideoConfigure | VideoConfigureInfo | Video parameter configuration. |
| WatermarkConfigure | WatermarkConfigureData | Watermark parameter configuration. |
Knowledge base media analysis information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Large model parsing template number |
| AnalysisResults | Array of KnowledgeAnalysisResult | Large model parsing result |
Media analysis result of the knowledge base.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| TaskType | String | Processing task type Enumeration values:
|
| File | MPSOutputFileInfo | Task output file collection |
Detailed information about the knowledge base list to which media assets are imported, as well as the parsing template used.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| KnowledgeBaseId | String | Knowledge base ID |
| Definition | Integer | Associated large model parsing template |
| ImportTime | Timestamp ISO8601 | Storage time |
Knowledge base info.
Used by actions: DescribeKnowledgeBases.
| Name | Type | Description |
|---|---|---|
| KnowledgeBaseId | String | Knowledge base ID. |
| Name | String | Knowledge base name. |
| Description | String | Repository description. |
| Status | String | Knowledge base status. Enumeration values:
|
| CreateTime | Timestamp ISO8601 | Creation time of the knowledge base. |
Media asset intelligent knowledge base information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Bases | Array of String | List of knowledge bases currently imported for the media asset |
| KnowledgeAnalysisInfos | Array of KnowledgeAnalysisInfo | Media analysis info in the knowledge base |
| KnowledgeBaseDetails | Array of KnowledgeBaseDetail | Current repository list imported for the media asset, as well as detailed information such as the parsing template used |
Large model parse text transcription parsing configuration
Used by actions: CreateLLMComprehendTemplate, DescribeLLMComprehendTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Text transcription task switch. Available values: - ON: Enable the text transcription task. -OFF: disables the transcription task. |
Large model text transcription parsing configuration
Used by actions: ModifyLLMComprehendTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Text transcription task switch. Available values: - ON: Enable the text transcription task. - OFF: disables the text transcription task. |
Large model parsing face recognition configuration
Used by actions: CreateLLMComprehendTemplate, DescribeLLMComprehendTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Face recognition task switch Enumeration values:
Default value: OFF |
| Score | Float | No | Face recognition filter score. When the recognition result reaches this score or above, the recognition result is returned. Value range: [0, 100] Default value: 95 |
| DefaultLibraryLabelSet | Array of String | No | Default character filter tag, specify the tag of the default character to return. If not filled or empty, all default character results are returned. Enumeration values:
|
| UserDefineLibraryLabelSet | Array of String | No | User-defined character filter tags, specify the tags of user-defined characters to return. If not filled or empty, all customized figure results will be returned. Input limits: up to 100 tags, each tag up to 16 characters in length. |
| FaceLibrary | String | No | Figure library selection Enumeration values:
Default value: All |
Large model parsing face identification configuration
Used by actions: ModifyLLMComprehendTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Face recognition task switch Enumeration values:
Default value: OFF |
| Score | Float | No | Face recognition filter score. When the recognition result reaches this score or above, the recognition result will be returned. Value range: [0, 100] |
| DefaultLibraryLabelSet | Array of String | No | Default character filter tag, specifying the tag of the default character to return. If not filled or empty, all default character results are returned. Enumeration values:
|
| UserDefineLibraryLabelSet | Array of String | No | User-defined character filter tag, specify the tag of the user-defined character to return. If not specified or empty, all customized figure results are returned. Input limitation: up to 100 tags, each tag up to 16 characters in length. |
| FaceLibrary | String | No | Figure library selection Enumeration values:
Default value: All |
Large model parsing segment summary parsing configuration
Used by actions: CreateLLMComprehendTemplate, DescribeLLMComprehendTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Segment summary task switch. Available values: - ON: Enable the segment summary task. - OFF: disables segment summary. |
| ExtendedParameter | String | No | Extended parameter. Its value is a serialized json string. For details, see Extended Parameter description. |
Large model parsing segment summary parsing configuration
Used by actions: ModifyLLMComprehendTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for segment summary. Available values: - ON: enable the segmentation summary task. -OFF: disables segment summary. |
| ExtendedParameter | String | No | Extended parameter. Its value is a serialized json string. For details, see Extended Parameter description. |
Large model parsing template detail.
Used by actions: DescribeLLMComprehendTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the image asynchronous processing template. |
| Name | String | Image asynchronous processing template name. |
| Comment | String | Description information of the image asynchronous processing template. |
| Type | String | Template type Enumeration values:
|
| Level | String | Parsing level. Available values are:
|
| Summary | LLMComprehendSummary | Segment summary parsing configuration |
| Asr | LLMComprehendAsr | Text transcription parsing configuration |
| FaceRecognition | LLMComprehendFaceRecognition | Face recognition parsing configuration |
| CreateTime | Timestamp ISO8601 | Template creation time, in ISO date format. |
| UpdateTime | Timestamp ISO8601 | Last template modification time, in ISO date format. |
License request count statistics.
Used by actions: DescribeLicenseUsageData.
| Name | Type | Description |
|---|---|---|
| Time | String | Start time of the time interval where the data resides, in ISO date format. For example, if the time granularity is day, 2018-12-01T00:00:00+08:00 means the interval from December 1, 2018 (inclusive) to December 2, 2018 (exclusive). |
| Count | Integer | License request count. |
Segment information of the media after instant clipping.
Used by actions: LiveRealTimeClip.
| Name | Type | Description |
|---|---|---|
| StartTime | String | Segment start time. See ISO date format description for the format. |
| EndTime | String | Segment end time. For the format, see ISO date format description. |
Live streaming Instant Editing stream info
Used by actions: LiveRealTimeClip.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Live stream type. Valid values: |
| TemplateId | Integer | No | Live streaming transcoding template ID. Required when Type is "Transcoding". |
Live recording information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Domain | String | Live streaming recording domain name |
| Path | String | Live recording Path |
| StreamId | String | Live recording stream ID. |
| RecordStartTime | String | Recording start time, in ISO date format. |
| RecordEndTime | String | Recording end time, in ISO date format. |
Low-light enhancement control
Used by actions: CreateEnhanceMediaTemplate, CreateProcessImageAsyncTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyProcessImageAsyncTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Low-light enhancement control switch. Available values: |
| Type | String | No | Low-light enhancement type. It is valid only when the low-light enhancement control switch is ON. Available values: Default value: normal. |
Configuration options of MPS intelligent analysis templates
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent classification task switch. Available values: |
Input for MPS intelligent analysis template
Used by actions: CreateMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Video analysis template name. Length limit: 64 characters. |
| Comment | String | Yes | Video analysis template description. Length limit: 256 characters. |
| ClassificationConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent Classification Task Control Parameters. |
| TagConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent tag task. |
| CoverConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent Cover Task Control Parameters. |
| FrameTagConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent frame-specific tagging task. |
| SplitConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent splitting task control parameters. |
| HighlightConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent highlights task. |
| OpeningAndEndingConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent opening and closing credits task control parameters. |
Input of the MPS intelligent analysis template
Used by actions: ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Unique identifier of the video content analysis template. |
| Name | String | Yes | Video analysis template name. Length limit: 64 characters. |
| Comment | String | Yes | Video analysis template description. Length limit: 256 characters. |
| ClassificationConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent Classification Task Control Parameters. |
| TagConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent tag task. |
| CoverConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent Cover Task Control Parameters. |
| FrameTagConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent frame tagging task. |
| SplitConfigure | MPSAIAnalysisConfigureInfo | No | Intelligent splitting task control parameter. |
| HighlightConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent highlights task. |
| OpeningAndEndingConfigure | MPSAIAnalysisConfigureInfo | No | Control parameters for the intelligent opening and ending sequences task. |
Input parameter type for AI smart video analysis
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video content analysis template ID. |
| ExtendedParameter | String | No | Additional parameters, with the value being a serialized json string. Note: This parameter is a customization requirement parameter. See the following: Intelligent EraseIntelligent SplittingIntelligent HighlightIntelligent Landscape-to-Portrait |
Intelligent media information after MPS processing
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| AiMediaList | Array of MPSAiMediaItem | Intelligent media information list after MPS processing |
MPS AI media asset task item
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| TaskType | String | MPS intelligent processing task type. Valid values: |
| AiMediaTasks | Array of MPSAiMediaTask | MPS intelligent processing task result set |
MPS intelligent task
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID of the MPS intelligent task |
| OutputFile | Array of MPSOutputFileInfo | MPS intelligent task output file collection |
| OutputText | String | Result returned by the MPS intelligent task. This field corresponds to the Output result in the MPS task response, returned in JSON format. The output result structures of different MPS tasks are different. For the specific return content, see the MPS task output struct. Intelligent classification result Intelligent Cover Result Intelligent Tag Result Intelligent frame tagging classification result Intelligent Highlight Result Video Splitting Result Intelligent opening and ending content result Intelligent Summary Result Intelligent Landscape-to-Portrait Result Intelligent dubbing result Intelligent video understanding result Smart subtitle speech full text recognition result Intelligent caption translation result Translation result of pure subtitle file in smart subtitling Smart subtitle text extraction subtitle result |
MPS subtitle suppression template
Used by actions: CreateMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | No | Subtitle suppression template name |
| Comment | String | No | Subtitle suppression template description information |
| SubtitleEmbedConfig | MPSSubtitleEmbedConfig | No | Subtitle suppression configuration |
Subtitle suppression template in MPS
Used by actions: ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Unique identifier of the subtitle suppression template |
| Name | String | No | Subtitle suppression name |
| Comment | String | No | Subtitle suppression template description information |
| SubtitleEmbedConfig | MPSSubtitleEmbedConfig | No | Subtitle suppression configuration |
Intelligent removal, coordinate configuration of the removal area.
The region is determined by the coordinates of the top-left and bottom-right corners.
The coordinate origin is the top-left corner of the frame. Coordinate points can be specified in pixel values or percentages.
For the auto erase area:
When the unit is %, the coordinate range is [0,1];
When the unit is px, the X value range is [0, video image width] and the Y value range is [0, video image height].
For the specified removal area:
When the unit is %, the coordinate range is [0,1);
When the unit is px, the X value range is [0, video image width] and the Y value range is [0, video image height].
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| LeftTopX | Float | Yes | Top-left X-axis coordinate of the region. For example, when Unit is 1, that is, using percentage as the measurement unit, 0.05 means the horizontal distance from the top-left corner of the region to the top-left corner of the entire frame is 5% of the frame width. |
| LeftTopY | Float | Yes | Y-axis coordinate of the region's top-left corner. For example, when Unit is 1, meaning usage percentage, 0.1 indicates the vertical distance between the region's top-left corner and the frame's top-left corner is 10% of the screen height. |
| RightBottomX | Float | Yes | X coordinate of the region's bottom-right corner. For example, when Unit is 1, using percentage as the unit, 0.75 means the horizontal distance from the bottom-right corner of the region to the upper left of the entire frame is 75% of the frame width. |
| RightBottomY | Float | Yes | Y-coordinate of the region's bottom-right corner. For example, when Unit is 1, meaning percentage is used, 0.9 indicates the vertical distance from the bottom-right corner of the region to the upper left corner of the entire frame is 90% of the screen height. |
| Unit | Integer | Yes | Coordinate unit - 1 Percentage - 2 Pixel values |
Intelligent removal, specify the removal region configuration.
Directly erase the specified region within a specified period.
When both BeginMs and EndMs are 0, directly erase the specified region in the entire video.
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| BeginMs | Integer | Yes | Start time, unit: ms |
| EndMs | Integer | Yes | End time, unit: ms |
| Areas | Array of MPSEraseArea | Yes | List of regions removed during the period |
For description of the returned file result in an MPS video processing task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileType | String | File type. Used to identify the specific return file in the execution results of MPS video processing tasks. Parameter Value: |
| StorageMode | String | Storage format. Used to represent the storage format of the result file. Valid values: |
| FileId | String | Media file ID. Valid when Type is Permanent. It indicates that the result file is stored as a media asset on the VOD platform, and the field value is the FileId of the media asset. |
| Url | String | Downloadable Url of the result file. |
| Definition | String | Transcoding specification ID. Valid when FileType is equal to MediaProcess.Transcode.Video. A value of 0 represents the original file. |
| ExpiredTime | Integer | Expiration time. Valid when StorageMode is Temporary. It indicates the expiration time of the Url in seconds. |
MPS output file information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| FileType | String | Output file type of MPS. Valid values: Output type file. Different MPS tasks have different output results. For the specific return content, see the MPS task output struct. The struct is JSON-serialized to generate an Output type file. Intelligent Classification Result Intelligent Cover Result Intelligent Tag Result Intelligent frame tagging classification result Intelligent Highlight Result Video Splitting Result Intelligent opening and ending content result Intelligent Summary Result Intelligent Landscape-to-Portrait Result Intelligent dubbing result Intelligent video understanding result Smart subtitle full speech recognition result Intelligent caption translation result Translation result of pure subtitle file from smart subtitling Smart subtitle text extraction subtitle result |
| Url | String | MPS output file URL |
Custom parameters for smart erasing.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| EraseType | String | No | Removal Type
|
| EraseSubtitleConfig | MPSUpdateSmartEraseSubtitleConfig | No | Subtitle erasing configuration; |
| EraseWatermarkConfig | MPSUpdateSmartEraseWatermarkConfig | No | Watermark erasing configuration. |
| ErasePrivacyConfig | MPSSmartErasePrivacyConfig | No | Privacy protection configuration. |
| SubtitleEmbedId | Integer | No | id of the subtitle removal suppression template. |
Custom parameters for smart erasing.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| EraseType | String | Yes | Removal Type
|
| EraseSubtitleConfig | MPSSmartEraseSubtitleConfig | No | Subtitle erasing configuration; |
| EraseWatermarkConfig | MPSSmartEraseWatermarkConfig | No | Watermark erasing configuration. |
| ErasePrivacyConfig | MPSSmartErasePrivacyConfig | No | Privacy protection configuration. |
| SubtitleEmbedId | Integer | No | id of the subtitle removal suppression template. |
| UseOriginalPos | Integer | No | Suppression configuration, enabled by default, moves subtitles back to the original subtitle position. |
| UseOriginalSize | Integer | No | Suppression configuration, enabled by default. When enabled, use the original subtitle font size. |
Custom smart subtitle parameter.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleType | Integer | Yes | Intelligent caption subtitle language type. Enumeration values:
Only 0 is supported when TranslateSwitch is OFF. Only 1 or 2 is supported when TranslateSwitch is ON. |
| VideoSrcLanguage | String | Yes | Smart subtitling video source language |
| SubtitleFormat | String | No | Intelligent subtitle file format:
Note:
|
| TranslateSwitch | String | No | Subtitle translation switch Note: For pure subtitle translation mode, the default value is enabled if the field is unspecified. The field cannot be left blank or set to |
| TranslateDstLanguage | String | No | Subtitle target language Note: Use the multilingual method. |
| ExtInfo | String | No | Custom parameter |
| ProcessType | Integer | No | Subtitle processing type:
Note: The default type is ASR recognition subtitle if the field is unspecified. |
| SelectingSubtitleAreasConfig | MPSSelectingSubtitleAreasConfig | No | Area configurations for the subtitle OCR extraction box |
| SubtitleEmbedId | Integer | No | Suppression Template id. Only allowed to fill in when ProcessType is 0 or 2 (task type is ASR or OCR). |
| SpeakerMode | Integer | No | Speaker identification mode. Valid values: |
| SpeakerLabel | Integer | No | Indicates whether to output the identified speaker to the subtitle file. Valid values: |
Area configurations for the subtitle OCR extraction box.
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| AutoAreas | Array of MPSEraseArea | No | Automatically select a custom region. For the selected areas, the AI model is used to automatically detect and extract the target content. |
| SampleWidth | Integer | No | Width of the sample video or image, in pixels. |
| SampleHeight | Integer | No | Height of the sample video or image, in pixels. |
Privacy protection configuration for the smart erasing template.
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| PrivacyModel | String | Yes | Privacy protection removal method. Enumeration values:
|
| PrivacyTargets | Array of String | Yes | Privacy protection objective (during use in API Explorer, no need to import an array; just add the corresponding item and fill in the value). Enumeration values:
|
Subtitle removal configuration for the smart erasing template.
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleEraseMethod | String | Yes | Subtitle erasure method.
|
| SubtitleModel | String | Yes | Subtitle erasure model.
|
| OcrSwitch | String | No | Whether OCR subtitle extraction is enabled. The default value is OFF.
|
| SubtitleLang | String | No | Subtitle language, used to guide OCR recognition. Default value: zh_en. This parameter is valid only when OcrSwitch is set to "ON".
|
| SubtitleFormat | String | No | Subtitle file format. Default value: vtt. This parameter is valid only when OcrSwitch is set to "ON".
|
| TransSwitch | String | No | Whether caption translation is enabled. Default value: OFF. This parameter is valid only when OcrSwitch is set to "ON".
|
| TransDstLang | String | No | Subtitle translation target language, default value: en. This parameter is valid only when TransSwitch is set to "ON". |
| AutoAreas | Array of MPSEraseArea | No | Automatically erase custom regions. |
| CustomAreas | Array of MPSEraseTimeArea | No | Designate the removal of custom regions. |
| SubtitleEmbedId | Integer | No | Subtitle suppression template id. Only allowed to fill in when OCR translation is enabled. |
| UseOriginalPos | Integer | No | Suppression configuration, enabled by default, compresses subtitles back to their original position. It can be filled only when OCR translation is turned on. A value of 0 indicates disabled suppression. |
| UseOriginalSize | Integer | No | Suppression configuration, enabled by default. After being turned on, the original subtitle font size is used. It can only be filled when OCR translation is enabled. Setting it to 0 means non-use of the original font size. |
Intelligent erasure task
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | id of the intelligent erasure template. |
| RawParameter | MPSRawSmartEraseParameter | No | Custom parameters for smart erasing. When Definition is set to 0, this parameter is valid. This parameter is used in highly customized scenarios. It is recommended to prioritize using Definition to specify smart erasing parameters. |
| OverrideParameter | MPSOverrideEraseParameter | No | Custom parameters for intelligent erasure. When the value of Definition is not 0, this parameter is valid. When certain erasure parameters in this structure are specified, the specified parameters will be used to overwrite those in the intelligent erasure template. This parameter is used in highly customized scenarios. It is recommended to use only Definition to specify intelligent erasure parameters. |
Intelligent erasure template input for MPS
Used by actions: CreateMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Length limit for the smart erasing template name: 64 characters. |
| EraseType | String | Yes | Removal Type
|
| Comment | String | No | Length limit for the description information of the smart erasing template: 256 characters. |
| EraseSubtitleConfig | MPSSmartEraseSubtitleConfig | No | Subtitle erasing configuration. This parameter is required and valid only when the value of EraseType is set to subtitle. |
| EraseWatermarkConfig | MPSSmartEraseWatermarkConfig | No | Watermark erasing configuration. This parameter is required and valid only when the value of EraseType is set to watermark. |
| ErasePrivacyConfig | MPSSmartErasePrivacyConfig | No | Privacy protection configuration. This parameter is required and valid only when the value of EraseType is set to privacy. |
| SampleWidth | Integer | No | Width of the sample video or image, in pixels. |
| SampleHeight | Integer | No | Height of the sample video or image, in pixels. |
Input for MPS intelligent erasure template
Used by actions: ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Unique identifier of the intelligent erasure template |
| Name | String | Yes | Length limit for the smart erasing template name: 64 characters. |
| EraseType | String | Yes | Removal Type
|
| Comment | String | No | Length limit for the description information of the smart erasing template: 256 characters. |
| EraseSubtitleConfig | MPSSmartEraseSubtitleConfig | No | Subtitle erasing configuration. It takes effect when the value of EraseType is set to subtitle, or when the value of EraseType is left unspecified but the original EraseType value of the modified template is subtitle. |
| EraseWatermarkConfig | MPSSmartEraseWatermarkConfig | No | Watermark erasing configuration. The value of EraseType can be set to watermark or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to watermark. |
| ErasePrivacyConfig | MPSSmartErasePrivacyConfig | No | Privacy protection configuration. The value of EraseType can be set to privacy or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to privacy. |
| SampleWidth | Integer | No | Width of the sample video or image, in pixels. |
| SampleHeight | Integer | No | Height of the sample video or image, in pixels. |
Watermark removal configuration for the smart erasing template.
Used by actions: CreateMPSTemplate, ModifyMPSTemplate, ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| WatermarkEraseMethod | String | Yes | Watermark removal method. Auto removal: Model A automatically recognizes watermarks in the video and generates a new video after removal. Suitable for dynamic watermarks. When using auto removal, if you do not specify AutoAreas, auto removal will be performed on the full screen of the video; if AutoAreas is specified, auto removal will be performed on your specified areas instead. Specified area removal: For static watermarks with relatively fixed positions, it is recommended to directly specify the removal area. When you choose specified area removal, at least one specified area must be provided. - auto: auto removal - custom: specified area removal |
| WatermarkModel | String | Yes | Watermark removal model. Basic Edition: provides average effects and high cost performance. It applies to animations or videos with clean backgrounds. Advanced Edition: provides better effectiveness and is suitable for realistic-style videos such as mini-dramas. - basic edition - advanced edition |
| AutoAreas | Array of MPSEraseArea | No | Automatically erase custom regions. For selected regions, use the AI model to automatically detect and erase existing targets. Note: When the erase method is set to custom, this parameter will not take effect. Input [] for region cleanup. If not provided, the template region information remains unchanged. |
| CustomAreas | Array of MPSEraseTimeArea | No | Designate the removal of custom regions. For specified regions, directly perform erasure without detection and recognition within a selected time range. Note: Import [] to clear regions. The template region information remains unchanged if not imported. |
Intelligent subtitle template input for MPS
Used by actions: CreateMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Intelligent subtitle template name |
| Comment | String | Yes | Intelligent caption template description information |
| SubtitleType | Integer | Yes | Smart subtitle language type. |
| VideoSrcLanguage | String | No | Smart subtitling video source language |
| SubtitleFormat | String | No | Intelligent subtitle file format:
Note:
|
| TranslateSwitch | String | No | Subtitle translation switch Note: For pure subtitle translation mode, the default value is enabled if the field is unspecified. The field cannot be left blank or set to |
| TranslateDstLanguage | String | No | Subtitle target language Note: Use the multilingual method. |
| ProcessType | Integer | No | Subtitle processing type:
Note: The default type is ASR recognition subtitle if the field is unspecified. |
| SelectingSubtitleAreasConfig | MPSSelectingSubtitleAreasConfig | No | Area configurations for the subtitle OCR extraction box |
| SubtitleEmbedId | Integer | No | Suppression Template id. Only allowed to fill in when ProcessType is 0 or 2 (task type is ASR or OCR). Cannot fill in when multiple target languages are enabled. |
| SpeakerMode | Integer | No | Speaker identification switch. Valid values: |
| SpeakerLabel | Integer | No | Indicates whether to output the identified speaker to the subtitle file. Valid values: |
Input for MPS smart subtitle template
Used by actions: ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Unique identifier of the smart subtitle template. |
| Name | String | Yes | Intelligent subtitle template name |
| Comment | String | Yes | Intelligent caption template description information |
| SubtitleType | Integer | Yes | Smart subtitle language type. |
| VideoSrcLanguage | String | No | Smart subtitling video source language |
| SubtitleFormat | String | No | Intelligent subtitle file format:
Note:
|
| TranslateSwitch | String | No | Subtitle translation switch Note: For pure subtitle translation mode, the default value is enabled if the field is unspecified. The field cannot be left blank or set to |
| TranslateDstLanguage | String | No | Subtitle target language Note: Use the multilingual method. |
| ProcessType | Integer | No | Subtitle processing type:
Note: ASR is selected by default if the field is unspecified. |
| SelectingSubtitleAreasConfig | MPSSelectingSubtitleAreasConfig | No | Area configurations for the subtitle OCR extraction box |
| SubtitleEmbedId | Integer | No | Suppression Template id. Only allowed to fill in when ProcessType is 0 or 2 (task type is ASR or OCR). Cannot fill in when multiple target languages are enabled. |
| SpeakerMode | Integer | No | Speaker identification switch. Valid values: |
| SpeakerLabel | Integer | No | Indicates whether to output the identified speaker to the subtitle file. Valid values: |
Smart subtitle input struct.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | Smart subtitle template ID. |
| RawParameter | MPSRawSmartSubtitleParameter | No | Custom smart subtitle parameter. It takes effect when Definition is set to 0. This parameter is used in high customization scenarios. It is recommended that you preferentially use Definition to specify smart subtitle parameters. |
Type of the MPS subtask query result.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskType | String | Task type. The specific subtask type in the WorkflowTask structure of MPS. Value: |
| Status | String | Task status. It has three values: PROCESSING, SUCCESS, and FAIL. |
| ErrCode | String | Error code. 0 indicates success. Other values indicate failure. |
| Message | String | Error message. |
| Input | String | Input of the MPS video processing task. This field corresponds to the Input result returned by the MPS task, returned in JSON format. |
| Output | MPSTaskOutput | Output of the MPS video processing task. |
MPS subtitle suppression module background settings
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleBoardConfigSwitch | Integer | No | Subtitle suppression module background configuration switch, 0 for off, 1 for on, default 0 |
| BoardX | Integer | No | The X-coordinate position of the subtitle background base plate. Supports pixel and percentage formats: - Pixel: Npx, where N ranges from [-4096, 4096]. - Percentage: N%, where N ranges from [-100, 100]; for example, 10% means the X-coordinate of the subtitle background base plate equals 10% of the source video width. Default value: 0px. Note: The origin of the coordinate axes is at the bottom of the central axis of the source video, and the reference point of the subtitle base plate is at the bottom of its central axis. Refer to the figure below: |
| BoardXUnit | Integer | No | BoardX unit, 0 pixel, 1 percentage, default is 0, pixel |
| BoardY | Integer | No | Y-coordinate position of the subtitle background base plate. Supports pixel and percentage formats: - Pixel: Npx, where N ranges from [0,4096]. - Percentage: N%, where N ranges from [0,100]. For example, 10% means the subtitle background base plate Y-coordinate = 10% * source video height. If not specified, the subtitle background base plate is disabled. Note: The coordinate axis origin is located at the bottom of the central axis of the source video, and the reference point of the subtitle background base plate is at the bottom of its central axis. Refer to the figure below: |
| BoardYUnit | Integer | No | BoardY unit, 0 pixel, 1 percentage, default is 0, pixel |
| BoardWidth | Integer | No | Width of the base plate, a positive integer. - When representing pixels, value ranges from 0 to 4096. - When representing a percentage, value ranges from 0 to 100. If base plate is enabled and this parameter is not specified, the default width is 90% of the source video width. |
| BoardWidthUnit | Integer | No | Background width measurement unit. 0: pixel, 1: percentage. Default is 0 (pixel). |
| BoardHeight | Integer | No | Height of the base plate, positive integer. - When representing pixels, value ranges from 0 to 4096. - When representing a percentage, value ranges from 0 to 100. If background is enabled and this parameter is not specified, the default height is 15% of the source video height. |
| BoardHeightUnit | Integer | No | Base plate height unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| BoardColor | String | No | Base plate color. Format: 0xRRGGBB. Default value: 0x000000 (black). |
| BoardAlpha | Float | No | Subtitle background transparency. Value range: [0, 1]. |
MPS subtitle suppression module settings
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | No | Font type, supports: Note: |
| FontPath | String | No | Custom font file url address |
| FontSize | Integer | No | Font size. If not specified, the font size of the subtitle file applies. Pixel and percentage formats are supported:
If left blank and the subtitle file has no settings, the default is 5% of the source video height. |
| FontSizeUnit | Integer | No | FontSize unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| FontColor | String | No | Font color. Format: 0xRRGGBB. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | No | Text opacity, value ranges from 0 to 1. |
| PosX | Integer | No | The X-coordinate position of subtitles. Specifying this parameter will ignore the built-in coordinates in the subtitle file. Supports pixel and percentage formats:
Default value: 0px. |
| PosXUnit | Integer | No | PosX unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| PosY | Integer | No | Subtitle Y-coordinate position. Specify this parameter to ignore the built-in coordinates in the subtitle file. Supports pixel and percentage formats:
Default value: source video height * 4%. |
| PosYUnit | Integer | No | PosY measurement unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| SubtitleBoardConfig | MPSSubtitleBoardConfig | No | Background configuration |
| SubtitleLayoutConfig | MPSSubtitleLayoutConfig | No | Column configuration |
| SubtitleOutlineConfig | MPSSubtitleOutlineConfig | No | Text stroke configuration |
| SubtitleShadowConfig | MPSSubtitleShadowConfig | No | Text shadow configuration |
| SampleWidth | Integer | No | Width of the source video dimensions, in pixels |
| SampleHeight | Integer | No | Height of the source video dimensions, in unit pixel |
Subtitle arrangement configuration for the MPS subtitle suppression module
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleLayoutConfigSwitch | Integer | No | Subtitle arrangement configuration switch, 0 for off, 1 for on, default 0 |
| LineSpacing | Integer | No | Line spacing. The value should be a positive integer. - When it represents pixel values, the range is [0, 1000]. - When it represents a percentage, the range is [0, 100]. The default value is 0 if left blank. |
| LineSpacingUnit | Integer | No | LineSpacing unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| Alignment | String | No | Alignment mode. Valid values: top: The top position of the subtitle is fixed, while the bottom position changes according to the number of lines. bottom: The bottom position of the subtitle is fixed, while the top position changes according to the number of lines. If this is not specified, bottom alignment is used by default. |
Text stroke configuration for the MPS subtitle suppression module
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleOutlineConfigSwitch | Integer | No | Text stroke configuration switch, 0 for off, 1 for on, default 0 |
| OutlineWidth | Float | No | Stroke width, default unit pixel, underlying default value is 0.3% of the source video height |
| OutlineWidthUnit | Integer | No | Stroke width unit, 0 pixel, 1 percentage, defaults to 0, pixel |
| OutlineColor | String | No | Border color. 6-digit base 16 RGB. Black by default if left blank. |
| OutlineAlpha | Float | No | Stroke transparency. The value should be a positive floating-point number in the range of (0, 1]. If this is not specified, the default value is 1, which means completely opaque. |
MPS subtitle suppression module text shadow configuration
Used by actions: CreateMPSTemplate, ModifyMPSTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleShadowConfigSwitch | Integer | No | Text shadow configuration switch, 0 for off, 1 for on, default 0 |
| ShadowWidth | Float | No | Shadow width, default unit pixel, underlying default value 0, no shading |
| ShadowWidthUnit | Integer | No | Shadow width unit. 0 for pixel, 1 for percentage. Default is 0 (pixel). |
| ShadowColor | String | No | Shadow color. 6-digit hexadecimal RGB. Black by default if left blank (when shadow has set) |
| ShadowAlpha | Float | No | Shadow transparency. The value should be a positive floating-point number in the range of (0, 1]. If this is not specified, the default value is 1, which means completely opaque (with shadow configured). |
Output return result of the MPS subtask.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| OutputFiles | Array of MPSOutputFile | File type result in the task return result. For example, in intelligent removal, the erased video file will be stored in the media asset, and FileId will be provided in this field. The Url of the subtitle file extracted from the video will be provided in this field. |
| OutputText | String | Result returned by the task. This field corresponds to the Output result in the MPS task response, returned in JSON format. The output result structures of different MPS tasks are different. For the specific return content, see the MPS task output struct. Intelligent Categorization Result Intelligent Cover Result Intelligent Tag Result Intelligent frame tagging classification result Intelligent Highlight Result Video Splitting Result Intelligent opening and ending content result Intelligent Summary Result Horizontal-to-Vertical Video Transformation Result Intelligent dubbing result Intelligent video understanding result Smart subtitle full speech recognition result Intelligent caption translation result Translation result of pure subtitle file in smart subtitling Smart subtitle text extraction subtitle result |
MPS task template detail.
Used by actions: DescribeMPSTemplates.
| Name | Type | Description |
|---|---|---|
| TaskType | String | MPS template type. Valid values: |
| MPSTemplateInfo | String | Details of the MPS task template. |
Subtitle removal configuration for the smart erasing template.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleEraseMethod | String | No | Subtitle erasure method. Automatic erasing: Video subtitles are automatically recognized using an AI model and are erased without traces to generate a new video. However, missed or incorrect erasing may occur due to image interference and special subtitle styles. In this case, you can specify the erasing area. When using automatic erasing, if you do not specify AutoAreas, the default region (lower middle part of the frame) will be erased automatically. If AutoAreas is specified, the designated region will be erased instead. Specified area erasure: If your subtitle position is fixed, it is recommended to directly specify the erasure area to minimize missed erasures. When choosing specified area erasure, please input at least one designated region in CustomAreas.
|
| SubtitleModel | String | No | Subtitle erasure model. Standard version (recommended): If your subtitles have a standard style, it is usually recommended to select this version for better effectiveness in seamless detail removal. Area edition: If the subtitles have special styles, such as calligraphy, shadow, or motion effects, you are recommended to select this edition to ensure a larger erasing area. However, the erasing effect in the details is not as good as the standard edition. - standard Standard model - area Regional model |
| OcrSwitch | String | No | Whether OCR subtitle extraction is enabled. The default value is OFF. OCR subtitle extraction is supported if and only if SubtitleEraseMethod is set to auto. When enabled, it identifies the text region that appears most persistently and stably within the automatic erasing area as the subtitle area. The text within the subtitle area is extracted and erased.
|
| SubtitleLang | String | No | Subtitle language, for OCR recognition. Default value: zh_en.
|
| SubtitleFormat | String | No | Subtitle file format. Default value: vtt. This parameter is valid only when OcrSwitch is set to "ON".
|
| TransSwitch | String | No | Whether to enable subtitle translation. Default value: OFF. This parameter is valid only when OcrSwitch is set to "ON".
|
| TransDstLang | String | No | Target language for subtitle translation. Default value: en. This parameter is valid only when TransSwitch is set to "ON". Currently supported languages: |
| AutoAreas | Array of MPSEraseArea | No | Automatically erase custom regions. For selected regions, use the AI model to automatically detect and erase existing targets. |
| CustomAreas | Array of MPSEraseTimeArea | No | Designate the removal of custom regions. For specified regions, directly perform erasure without detection and recognition within a selected time range. Note: When modifying the template, import [] to clear regions. The template region information remains unchanged if not imported. |
Watermark removal configuration for the smart erasing template.
Used by actions: ProcessMediaByMPS.
| Name | Type | Required | Description |
|---|---|---|---|
| WatermarkEraseMethod | String | No | Watermark removal method. |
| WatermarkModel | String | No | Watermark removal model. Basic Edition: provides average effects and high cost performance. It applies to animations or videos with clean backgrounds. Advanced Edition: provides better effectiveness and applies to realistic-style videos such as mini-dramas.
|
| AutoAreas | Array of MPSEraseArea | No | Automatically erase custom regions. For selected regions, use the AI model to automatically detect and erase existing targets. Note: When the erase method is set to custom, this parameter will not take effect. To clear regions, input []. If not provided, the template region information remains unchanged. |
| CustomAreas | Array of MPSEraseTimeArea | No | Designate the removal of custom regions. For specified regions, directly perform erasure without detection and recognition within a selected time range. Note: Import [] to clear regions. The template region information remains unchanged if not imported. |
Browser cache rule configuration, used to set the default MaxAge value. Disabled by default.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| MaxAgeRules | Array of MaxAgeRule | No | MaxAge rule. |
MagAge rule configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| MaxAgeType | String | Yes | Rule type: |
| MaxAgeContents | Array of String | Yes | Matching content for the corresponding type of MaxAgeType: |
| MaxAgeTime | Integer | Yes | MaxAge time setting, in seconds; |
| FollowOrigin | String | No | Whether to follow the origin site. Valid values: on, off. When enabled, the time setting is ignored. |
Adaptive bitrate information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| AdaptiveDynamicStreamingSet | Array of AdaptiveDynamicStreamingInfoItem | Information array of adaptive bitrate streaming. |
Intelligent classification result
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Classification | String | Category name for intelligent categorization. |
| Confidence | Float | Confidence of the intelligent classification, with a value range from 0 to 100. |
Intelligent cover information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| CoverUrl | String | Intelligent cover address. |
| Confidence | Float | Confidence of the intelligent cover, with a value range from 0 to 100. |
Intelligent frame-specific tagging result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Tag | String | By frame tag name. |
| CategorySet | Array of String | Classification list by frame tag name. CategorySet.N indicates the (N+1)-th level category. For example, if Tag is "tower", CategorySet contains two elements: CategorySet.0 is "scenario" and CategorySet.1 is "building", indicating the frame tag is "tower", with "scenario" as the level-1 category and "building" as the level-2 category. |
| Confidence | Float | Confidence of the frame tagging, with a value range from 0 to 100. |
Segments by frame tag
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Time offset of frame tagging start. Unit: seconds |
| EndTimeOffset | Float | Offset time when frame tagging ends. Unit: seconds |
| TagSet | Array of MediaAiAnalysisFrameTagItem | Tag list in the time segment. |
Intelligent highlight info
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| HighlightUrl | String | Intelligent highlight address. |
| CovImgUrl | String | Intelligent highlight cover address. |
| Confidence | Float | Confidence of the intelligent highlights, with a value range from 0 to 100. |
| Duration | Float | Duration of intelligent highlights. Unit: seconds |
| SegmentSet | Array of HighlightSegmentItem | List of intelligent highlight sub-segments. Highlight clips are generated by concatenating these sub-segments. |
Intelligent tag result information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Tag | String | Tag name. |
| Confidence | Float | Confidence of the tag, with a value range from 0 to 100. |
VOD file video motion graphic result information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| AnimatedGraphicsSet | Array of MediaAnimatedGraphicsItem | Video motion graphic result information |
Video motion graphic result information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Url | String | File address of the animated image. |
| Definition | Integer | Rotating image template ID. See video-to-animated image conversion parameter template. |
| Container | String | Animated image file format, for example, gif. |
| Height | Integer | Height of the animated image. Measurement unit: px. |
| Width | Integer | Width of the animated image. Unit: px. |
| Bitrate | Integer | Animated image bitrate in bps. |
| Size | Integer | Animated image size. Unit: byte. |
| Md5 | String | md5 value of the animated image. |
| StartTimeOffset | Float | Start time offset of the GIF in the video, in seconds. |
| EndTimeOffset | Float | End time offset of an animated image in the video, in seconds. |
Audio stream information of VOD files
Used by actions: DescribeMediaInfos, LiveRealTimeClip, SearchMedia, SimpleHlsClip.
| Name | Type | Description |
|---|---|---|
| Bitrate | Integer | Audio stream bitrate, in bps. |
| SamplingRate | Integer | Sampling rate of the audio stream, unit: hz. |
| Codec | String | Audio stream encoding format, for example, aac. |
Basic information of an on-demand media file
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Name | String | Media file name. |
| Description | String | Media file description. |
| CreateTime | String | Media file creation time. Use the ISO date format. |
| UpdateTime | String | Latest update time of the media file (operations such as modifying video attributes and initiating video processing will trigger updates to the media file information), in ISO date format. |
| ExpireTime | String | Expiry date of the media file in ISO date format. After expiry, the media file and its related resources (transcoding results, sprites) will be permanently deleted. "9999-12-31T23:59:59Z" means it never expires. |
| ClassId | Integer | Category ID of the media file. |
| ClassName | String | Category name of the media file. |
| ClassPath | String | Category path of the media file. Categories are separated by "-", for example "new first-level category - new sub-category". |
| CoverUrl | String | Thumbnail URL of the media file. |
| Type | String | Muxing format of the media file, for example, mp4 and flv. |
| MediaUrl | String | URL address of the original media file. |
| SourceInfo | MediaSourceData | Source information of the media file. |
| StorageRegion | String | Media file storage region, such as ap-chongqing. See region list (https://www.tencentcloud.com/document/product/266/9760?from_cn_redirect=1#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8). |
| StoragePath | String | Media storage path. |
| TagSet | Array of String | Tag information of the media file. |
| Vid | String | Unique identifier of the live streaming recording file. |
| Category | String | File type: |
| Status | String | File status: Normal: normal, Forbidden: blocked. |
| StorageClass | String | Storage class of a media file |
Media forwarding event notification message.
Used by actions: PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| CastId | String | No | Media forwarding ID. |
| Status | String | No | Retweet status. Valid values: |
Classification information description
Used by actions: DescribeAllClass.
| Name | Type | Description |
|---|---|---|
| ClassId | Integer | Category ID. |
| ParentId | Integer | Parent category ID. The parent category ID of a first-level category is -1. |
| Name | String | Category name. |
| Level | Integer | Category level. The first-level category is 0, and the maximum value is 3, which allows up to 4 category levels. |
| SubClassIdSet | Array of Integer | ID set of level-1 subcategories in the current category. |
| ClassName | String | Category name (this field is not recommended. Use the new category name field Name instead). |
Suspected segment of Asr text in audio/video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a suspected segment, in seconds. |
| EndTimeOffset | Float | End time offset of a suspected segment, in seconds. |
| Confidence | Float | Confidence degree of the suspected segment. |
| Suggestion | String | Result suggestion for moderation of suspected audio and video segments. Permissible range: |
| KeywordSet | Array of String | List of suspicious keywords. |
Suspected segment of Ocr text in video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a suspected segment, in seconds. |
| EndTimeOffset | Float | End time offset of a suspected segment, in seconds. |
| Confidence | Float | Confidence degree of the suspected segment. |
| Suggestion | String | Result suggestion for video moderation of the suspected segment. Value range: |
| KeywordSet | Array of String | List of suspect keywords. |
| AreaCoordSet | Array of Integer | Pixel-level coordinates of the area where the suspected text appears, [x1, y1, x2, y2], which are the coordinates of the top-left corner and the bottom-right corner. |
| Url | String | Suspected image URL (images are not retained permanently and will be deleted after reaching Images will be deleted after the PicUrlExpireTime time point). |
| PicUrlExpireTime | String | Expiration time of the suspected image URL in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
Suspected segments involving inappropriate information in video moderation
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Time offset of the start of the suspected segment. Unit: second. |
| EndTimeOffset | Float | End time offset of the suspected segment, in seconds. |
| Confidence | Float | Suspected segment score. |
| Suggestion | String | Result suggestions for suspected segments involving inappropriate information. Value range: |
| Name | String | Involves inappropriate information and violative icon names. |
| Label | String | Result tag for suspected segments involving inappropriate information. Mapping between the LabelSet parameter in the task control parameter for frames involving inappropriate information in the audio/video moderation template (https://www.tencentcloud.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) and the value range of this parameter: violation_photo: politician: entertainment: sport: entrepreneur: scholar: celebrity: military: |
| Url | String | Suspected image URL (images are not retained permanently and will reach Images will be deleted after the PicUrlExpireTime time point). |
| AreaCoordSet | Array of Integer | Coordinates of the area where inappropriate information or violation icons appear (pixel-level), [x1, y1, x2, y2], i.e., coordinates of the top-left corner and bottom-right corner. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL in ISO date format. |
Moderated segments involving offensive or unsafe content.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a suspected segment, in seconds. |
| EndTimeOffset | Float | End time offset of a suspected segment, in seconds. |
| Confidence | Float | Score of offensive information involved in suspected clips. |
| Label | String | Tag of the result that the suspected segment involves offensive content. |
| Suggestion | String | Result suggestions for identifying offensive content in suspected segments. Value range: |
| Url | String | Suspected image URL (images are not retained permanently and will reach Images will be deleted after the PicUrlExpireTime time point). |
| PicUrlExpireTime | String | Expiration time of the suspected image URL in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
Deletion content when specifying deletion of on-demand videos
Used by actions: DeleteMedia, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The specified deletion part. If this field is not filled in, the parameter is invalid. Optional values: |
| Definition | Integer | No | Delete the video template ID of the type specified by the Type parameter. For template definition, see Transcoding Template. |
Sprite image information of VOD files
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| ImageSpriteSet | Array of MediaImageSpriteItem | Collection of sprite image information for a specific spec. Each element represents a set of sprite images with the same spec. |
Sprite image information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Sprite sheet specification. See sprite sheet parameter template. |
| Height | Integer | Height of the small image in the sprite sheet. |
| Width | Integer | Width of the small image in the sprite sheet. |
| TotalCount | Integer | The number of small images in each large sprite sheet. |
| ImageUrlSet | Array of String | Address of each sprite sheet. |
| WebVttUrl | String | Address of the WebVtt file that describes the positional and temporal relationship of sprite subimages. The WebVtt file indicates the time point corresponding to each sprite and its coordinates in the sprite sheet. It is generally used by the player to implement preview. |
VOD file information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| BasicInfo | MediaBasicInfo | Basic information, including video name, category, playback address, cover image, and more. |
| MetaData | MediaMetaData | Meta information, including size, duration, video stream information, and audio stream information. |
| TranscodeInfo | MediaTranscodeInfo | Transcoding result information, including the domain names or IP addresses, specifications, bitrates, and resolutions of the videos generated by transcoding this video at various bitrates. |
| AnimatedGraphicsInfo | MediaAnimatedGraphicsInfo | Animated graphics information. Information related to the animated graphics after converting a video to gif (for example, gif). |
| SampleSnapshotInfo | MediaSampleSnapshotInfo | Sampling screenshot information. After sampling video screenshots, the related screenshot information. |
| ImageSpriteInfo | MediaImageSpriteInfo | Sprite image information. Relevant information about the sprite after capturing CSS sprites from the video. |
| SnapshotByTimeOffsetInfo | MediaSnapshotByTimeOffsetInfo | Screenshot information at the specified time point. Information of each screenshot after capturing screenshots of the video at the specified time point. |
| KeyFrameDescInfo | MediaKeyFrameDescInfo | Video timestamp information. Each timestamp information set for the video. |
| AdaptiveDynamicStreamingInfo | MediaAdaptiveDynamicStreamingInfo | Adaptive bitrate streaming information, including specification, encryption type, and packaging format. |
| MiniProgramReviewInfo | MediaMiniProgramReviewInfo | Mini program review information. |
| SubtitleInfo | MediaSubtitleInfo | Subtitle information. |
| FileId | String | Media file unique identifier ID. |
| ReviewInfo | FileReviewInfo | Review information. |
| MPSAiMediaInfo | MPSAiMediaInfo | MPS intelligent media asset information |
| ImageUnderstandingInfo | ImageUnderstandingInfo | Image understanding information. |
| KnowledgeBasesInfo | KnowledgeBasesInfo | Intelligent knowledge base information. |
| FaceRecognitionInfo | FaceRecognitionInfo | Facial recognition information. |
Source video information to be processed, including video name and custom video ID.
Used by actions: ProcessMediaByUrl.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | Yes | Video URL. |
| Name | String | No | Video name. |
| Id | String | No | Video custom ID. |
Video timestamp information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| KeyFrameDescSet | Array of MediaKeyFrameDescItem | Array of video timestamp information. |
Video timestamp information
Used by actions: DescribeMediaInfos, ModifyMediaInfo, SearchMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| TimeOffset | Float | Yes | Video offset time of the timestamp, in seconds. |
| Content | String | Yes | Content string for marking points. Limited to 1-128 characters. |
Meta-information of on-demand media files
Used by actions: DescribeMediaInfos, DescribeTaskDetail, LiveRealTimeClip, PullEvents, SearchMedia, SimpleHlsClip.
| Name | Type | Description |
|---|---|---|
| Size | Integer | Size of the uploaded media file (for HLS videos, the size is the sum of the m3u8 and ts file sizes), unit: byte. |
| Container | String | Container type, such as m4a, mp4. |
| Bitrate | Integer | Sum of the average video stream bitrate and average audio stream bitrate, in bps. |
| Height | Integer | Maximum value of the video stream height in px. |
| Width | Integer | Maximum value of the video stream width in px. |
| Duration | Float | Video duration, unit: seconds. |
| Rotate | Integer | Selection angle during video shooting. Unit: degree. |
| VideoStreamSet | Array of MediaVideoStreamItem | Video stream information. |
| AudioStreamSet | Array of MediaAudioStreamItem | Audio stream information. |
| VideoDuration | Float | Video duration, unit: seconds. |
| AudioDuration | Float | Audio duration, in seconds. |
| Md5 | String | Md5 value of the media file. |
Mini Program Audio and Video review overview meta information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Type | String | Audio and video moderation type. |
| Suggestion | String | Audio/video moderation feedback. |
| Confidence | Float | Confidence of the audio/video moderation result. Value range: 0-100. |
Mini Program Audio and Video moderation information
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| MiniProgramReviewList | Array of MediaMiniProgramReviewInfoItem | Audio/video moderation information list. |
Mini Program Audio and Video review information unit
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. The transcoding template ID corresponding to the video released in the mini program. 0 indicates the original video. |
| MetaData | MediaMetaData | Video metadata. |
| Url | String | Video playback address for Mini Program Audio and Video review. |
| ReviewResult | String | Mini program video publishing status: |
| ReviewSummary | Array of MediaMiniProgramReviewElem | Mini Program Audio and Video review element. |
Output file information parameters for video processing.
Used by actions: ProcessMediaByUrl.
| Name | Type | Required | Description |
|---|---|---|---|
| Region | String | No | Region of the output file Bucket, for example, ap-guangzhou. |
| Bucket | String | No | Output file Bucket. |
| Dir | String | No | Output file directory. The directory name must end with "/". |
Result type of the video to adaptive streaming task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Progress | Integer | Adaptive bitrate streaming task progress, value ranges from 0 to 100. |
| Input | AdaptiveDynamicStreamingTaskInput | Input for a video to adaptive streaming task. |
| Output | AdaptiveDynamicStreamingInfoItem | Output of a video to adaptive streaming task. |
| BeginProcessTime | String | Adaptive bitrate streaming task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of transcoding to adaptive bitstream in ISO datetime format. |
Result type of the rotating image task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | AnimatedGraphicTaskInput | Input of the rotating image task. |
| Output | MediaAnimatedGraphicsItem | Output of rotating image tasks. |
| Progress | Integer | Rotating image task progress, value ranges from 0 to 100. |
| BeginProcessTime | String | Rotating image task start time in ISO datetime format. |
| FinishTime | String | Animated image task completion time in ISO datetime format. |
Result type of the screencapturing for cover image task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | CoverBySnapshotTaskInput | Input of the screencapturing for cover image task. |
| Output | CoverBySnapshotTaskOutput | Output of the screencapturing for cover image task for videos. |
| Progress | Integer | Task progress of screencapturing for cover image from a video. Value ranges from 0 to 100. |
| BeginProcessTime | String | Screencapturing for cover image task start execution time in ISO date format. |
| FinishTime | String | Task completion time for screencapturing for cover image, in ISO date format. |
Result type of the image sprite task for a video
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | ImageSpriteTaskInput | Input of the image sprite task for a video. |
| Output | MediaImageSpriteItem | Output of the image sprite task for videos. |
| Progress | Integer | Progress of the image sprite task for videos. Value range: 0-100. |
| BeginProcessTime | String | Image sprite task start execution time in ISO datetime format. |
| FinishTime | String | Task completion time of sprite sheet capture in ISO datetime format. |
Video processing task type
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| TranscodeTaskSet | Array of TranscodeTaskInput | No | List of video transcoding tasks. |
| AnimatedGraphicTaskSet | Array of AnimatedGraphicTaskInput | No | List of video-to-GIF tasks. |
| SnapshotByTimeOffsetTaskSet | Array of SnapshotByTimeOffsetTaskInput | No | List of time point screenshot tasks for videos. |
| SampleSnapshotTaskSet | Array of SampleSnapshotTaskInput | No | List of sampled screenshot tasks for videos. |
| ImageSpriteTaskSet | Array of ImageSpriteTaskInput | No | List of image sprite tasks for videos. |
| CoverBySnapshotTaskSet | Array of CoverBySnapshotTaskInput | No | Task list of screencapturing for cover images from videos. |
| AdaptiveDynamicStreamingTaskSet | Array of AdaptiveDynamicStreamingTaskInput | No | List of video to adaptive streaming tasks. |
Task query result type.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| TranscodeTask | MediaProcessTaskTranscodeResult | Query result of a video transcoding task. Valid when the task type is Transcode. |
| AnimatedGraphicTask | MediaProcessTaskAnimatedGraphicResult | Query result of a video-to-GIF task. Valid when the task type is AnimatedGraphics. |
| SnapshotByTimeOffsetTask | MediaProcessTaskSnapshotByTimeOffsetResult | Query result of a video time point screenshot task. Valid when the task type is SnapshotByTimeOffset. |
| SampleSnapshotTask | MediaProcessTaskSampleSnapshotResult | Query result of the video sampling screenshot task. Valid when the task type is SampleSnapshot. |
| ImageSpriteTask | MediaProcessTaskImageSpriteResult | Query result of the image sprite task for a video. Valid when the task type is ImageSprite. |
| CoverBySnapshotTask | MediaProcessTaskCoverBySnapshotResult | Query result of the video screencapturing for cover image task. Valid when the task type is CoverBySnapshot. |
| AdaptiveDynamicStreamingTask | MediaProcessTaskAdaptiveDynamicStreamingResult | Query result of the video to adaptive streaming task. Valid when the task type is AdaptiveDynamicStreaming. |
Result type of the sampling screenshot task for a video
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | SampleSnapshotTaskInput | Input of the sampling screenshot task for a video. |
| Output | MediaSampleSnapshotItem | Output of the sampling screenshot task for videos. |
| Progress | Integer | Progress of the sampling screenshot task for video, in the range of [0,100]. |
| BeginProcessTime | String | Start execution time of the sampling screenshot task in ISO date format. |
| FinishTime | String | Task completion time of sampling screenshot taking in ISO date format. |
Task result type of screenshot taking at specified time points in a video
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | SnapshotByTimeOffsetTaskInput | Task input of screenshot taking at specified time points in a video. |
| Output | MediaSnapshotByTimeOffsetItem | Output of the time point screenshot task for videos. |
| Progress | Integer | Progress of the screenshot taking task at specified time points, in the range of [0,100]. |
| BeginProcessTime | String | Time point screenshot task start execution time in ISO datetime format. |
| FinishTime | String | Time point screenshot task completion time in ISO datetime format. |
Result type of transcoding task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| Input | TranscodeTaskInput | Input of a transcoding task. |
| Output | MediaTranscodeItem | Transcoding task output. |
| Progress | Integer | Transcoding progress, with a value range of [0-100]. |
| BeginProcessTime | String | Transcoding task start execution time in ISO date format. |
| FinishTime | String | Transcoding task completion time in ISO datetime format. |
Sampling screenshot information of VOD files
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| SampleSnapshotSet | Array of MediaSampleSnapshotItem | A collection of sampling screenshot information for a specific specification, where each element represents a set of sampled screenshots of the same spec. |
Sampling screenshot information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Sampling screenshot specification ID. See Sampling Screenshot Parameter Template. |
| SampleType | String | Sampling method. Valid value: |
| Interval | Integer | Sampling interval |
| ImageUrlSet | Array of String | List of generated screenshot URLs. |
| WaterMarkDefinition | Array of Integer | List of template IDs if the screenshot is watermarked. |
Screenshot information of a VOD file at the specified time point
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| SnapshotByTimeOffsetSet | Array of MediaSnapshotByTimeOffsetItem | Collection of screenshot information at the specified time point for a specific specification. Currently, each specification can have only one set of screenshots. |
Screenshot information of a VOD file at the specified time point
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | SnapshotByTimeOffset specification. See SnapshotByTimeOffset parameter template. |
| PicInfoSet | Array of MediaSnapshotByTimePicInfoItem | Screenshot information set of the same specification. Each element represents a screenshot. |
Screenshot information at the specified time point
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| TimeOffset | Float | The time offset of this screenshot in the video file, in ms. |
| Url | String | URL address of the screenshot. |
| WaterMarkDefinition | Array of Integer | List of template IDs if the screenshot is watermarked. |
Source file information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| SourceType | String | Media file source category: |
| SourceContext | String | Field passed through when the user creates a file. |
| LiveRecordInfo | LiveRecordInfo | Live recording information is valid when the file source is Record. |
| TrtcRecordInfo | TrtcRecordInfo | TRTC Companion Recording Information. Valid when the file source is TrtcRecord. |
| WebPageRecordInfo | WebPageRecordInfo | Panoramic recording information. Valid when the file source is WebPageRecord. |
Substream info of transcoding to adaptive bitstream.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Type | String | Sub-stream type. Valid values: |
| Width | Integer | Video image width when the substream is a video stream. Unit: px. |
| Height | Integer | Video image height when the substream is a video stream. Measurement unit: px. |
| Size | Integer | Substream media file size. Measurement unit: Byte. Note: This field is 0 for adaptive bitrate stream files generated before 2023-02-09T16:00:00Z. |
Subtitle information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| SubtitleSet | Array of MediaSubtitleItem | Subtitle information list. |
Subtitle information input parameter.
Used by actions: ModifyMediaInfo.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Subtitle name. Length limit: 64 characters. |
| Language | String | Yes | Subtitle language. Common values are as follows: For other values, see RFC5646. |
| Format | String | Yes | Subtitle format. Valid values: |
| Content | String | Yes | Caption content as an encoded string after Base64 encoding. |
| Id | String | No | Unique identifier of the subtitle. The length cannot exceed 16 characters. It can contain upper- and lower-case letters, digits, underscores (_), and hyphens (-). It cannot duplicate the unique identifier of an existing subtitle in the media file. |
Subtitle information.
Used by actions: DescribeMediaInfos, ModifyMediaInfo, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Id | String | Unique identifier of the subtitle. |
| Name | String | Subtitle name. |
| Language | String | Subtitle language. Common values are as follows: For other values, see RFC5646. |
| Format | String | Subtitle format. Valid values: |
| Url | String | Subtitle URL. |
| Source | String | Subtitle source. Value range: |
Track information
Used by actions: ComposeMedia, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Track type. Valid values:
|
| TrackItems | Array of MediaTrackItem | Yes | List of media segments on track. |
Segment information of the media track.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Fragment type. Valid values: |
| VideoItem | VideoTrackItem | No | Video clip. Valid when Type is Video. |
| AudioItem | AudioTrackItem | No | Audio clip. Valid when Type is Audio. |
| StickerItem | StickerTrackItem | No | Texture segment. Valid when Type is Sticker. |
| TransitionItem | MediaTransitionItem | No | Transition. Valid when Type is Transition. |
| EmptyItem | EmptyTrackItem | No | Empty segment. Valid when Type = Empty. The empty segment is used as a placeholder on the timeline. |
Transcoding information of a VOD file
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| TranscodeSet | Array of MediaTranscodeItem | Transcoding information collection for each specification. Each element represents the transcoding result of a specification. |
Transcoding information
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Url | String | File URL of the video after transcoding. |
| Definition | Integer | Transcoding specification ID. See transcoding parameter template. |
| Bitrate | Integer | Sum of the average video stream bitrate and average audio stream bitrate. Unit: bps. |
| Height | Integer | Maximum height of the video stream. Unit: px. |
| Width | Integer | Maximum value of the video stream width. Unit: px. |
| Size | Integer | Total size of media files, unit: byte. |
| Duration | Float | Video duration, unit: seconds. |
| Md5 | String | md5 value of the video. |
| Container | String | Container type, for example, m4a, mp4. |
| VideoStreamSet | Array of MediaVideoStreamItem | Video stream information. |
| AudioStreamSet | Array of MediaAudioStreamItem | Audio stream information. |
| DigitalWatermarkType | String | Digital watermark type. Available values: |
| CopyRightWatermarkText | String | Copyright information. |
| BlindWatermarkDefinition | Integer | Digital watermark template id. |
| FileId | String | New FileId generated by transcoding. Valid when requesting to turn on standalone media asset output. |
Transition information
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | Float | Yes | Transition duration in seconds. For two media segments with transition processing, the start time of the second segment on the track is automatically adjusted to the end time of the previous segment minus the transition duration. |
| MediaTransitions | Array of TransitionOperation | No | Transition operation list. A maximum of one image transition and one audio transition are supported respectively. |
Video stream information of VOD files
Used by actions: DescribeMediaInfos, LiveRealTimeClip, SearchMedia, SimpleHlsClip.
| Name | Type | Description |
|---|---|---|
| Bitrate | Integer | Bitrate of the video stream. Unit: bps. |
| Height | Integer | Height of the video stream in px. |
| Width | Integer | Video stream width in px. |
| Codec | String | Video stream encoding format, for example, h264. |
| Fps | Integer | Frame rate. Unit: hz. |
| CodecTag | String | Encoding tag. Valid only when Codec is hevc. |
| DynamicRangeInfo | DynamicRangeInfo | Visual dynamic range information. |
Control parameters for video frame mosaic detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video frame mosaic detection switch. Available values: |
Control parameters for video frame mosaic detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video frame mosaic detection switch. Available values: |
Mosaic parameter type in a video processing task
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CoordinateOrigin | String | No | Origin position. Currently only support: Default value: TopLeft. |
| XPos | String | No | Horizontal position of the mosaic origin relative to the origin of coordinates of the video image. Supports two formats: % and px.XPos of a mosaic is a specified percentage of a video's width. For example, 10% means that XPos is 10% of a video's width.Default value: 0px. |
| YPos | String | No | Vertical position of the mosaic origin relative to the origin of coordinates of the video image. Supports two formats: % and px.YPos of a mosaic is a specified percentage of a video's height. For example, 10% means that YPos is 10% of a video's height.Default value: 0px. |
| Width | String | No | Width of the mosaic, supporting two formats: % and px.Width of a mosaic is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width.Default value: 10%. |
| Height | String | No | Height of a mosaic, supporting two formats: % and px.Height of a mosaic is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height.Default value: 10%. |
| StartTimeOffset | Float | No | Start time offset of a mosaic, in seconds. If not set or set to 0, a mosaic starts appearing when a video starts. |
| EndTimeOffset | Float | No | End time offset of a mosaic, in seconds. |
Control parameters for video frame noise detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video frame noise detection switch. Available values: |
Control parameters for video frame noise detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video frame noise detection switch. Available values: |
Object recognition task control parameters
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Object recognition task switch. Available values: |
| ObjectLibrary | String | No | Object library selection. Valid values: Default value: All. Use both the default object library and the user-defined object library. |
Object recognition task control parameters
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Object recognition task switch. Available values: |
| ObjectLibrary | String | No | Object library selection. Valid values: |
Task control parameters for full text recognition
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for the full text recognition task. Available values: |
Text Full-text Recognition Task Control Parameters.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Full text recognition task switch. Available values: |
Text keyword recognition control parameters.
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Text keyword recognition task switch. Available values: |
| LabelSet | Array of String | No | Keyword filtering tag. Specify the tag of the keyword to return. If this parameter is left empty, all results are returned. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
Text keyword recognition control parameters.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Text keyword recognition task switch. Available values: |
| LabelSet | Array of String | No | Keyword filtering tag. Specify the tag of keywords to return. If this parameter is not specified or is empty, all results are returned. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
Origin server configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Origins | Array of String | No | Primary origin server list. When modifying the primary origin server, fill in the corresponding OriginType at the same time. |
| OriginType | String | No | Primary origin server type. The input parameter supports the following types: |
| ServerName | String | No | Host header when accessing the primary origin server. If not filled, the acceleration domain name is used by default. When the origin server type is COS, the ServerName field is required. |
| OriginPullProtocol | String | No | Origin-pull protocol configuration.https: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server. |
| BackupOrigins | Array of String | No | Backup origin list. When modifying the backup origin server, fill in the corresponding OriginType at the same time. |
| BackupOriginType | String | No | Secondary origin type. Input supports the following types: |
| BackupServerName | String | No | Host header when accessing the backup origin server. If not filled, the ServerName of the primary origin server is used by default. |
| OriginCompany | String | No | Object storage origin service vendor. Required when the origin server type is third-party object storage origin (third_party). Optional values include the following: |
Authentication for origin-pull from Alibaba Cloud OSS
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for authentication configuration for origin-pull from Alibaba Cloud OSS. Valid values:on: Enable;off: Cache. |
| AccessKey | String | No | Access ID. |
| SecretKey | String | No | Key. |
| Region | String | No | Region. |
| Bucket | String | No | Bucket Name. |
Origin-pull authentication for object storage from other vendors
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for origin-pull authentication configuration of other vendor object storage. Valid values:on: Enable;off: Cache. |
| AccessKey | String | No | Access ID. |
| SecretKey | String | No | Key. |
| Region | String | No | Region. |
| Bucket | String | No | Bucket Name. |
Output audio stream information
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Encoding format for audio streams. Optional values: Default value: libfdk_aac. |
| SampleRate | Integer | No | Sampling rate of the audio stream. Available values: Unit: Hz. Default value: 16000. |
| AudioChannel | Integer | No | Number of audio channels. Available values: Default value: 2. |
| Bitrate | Integer | No | Bitrate of the audio stream. Value range: 0 and [26, 256]. Unit: kbps. When the value is 0, the audio bitrate is set automatically. |
Output video stream information.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Encoding format for video streams. Optional values: Default value: libx264. |
| Fps | Integer | No | Video frame rate. Value range: [0, 60]. Unit: Hz. Default value: 0, which means the frame rate is the same as that of the first video clip in the first video track. |
Custom video transcoding parameters.
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Container | String | No | Container format. Valid values: mp4, flv, hls, mp3, flac, ogg, m4a, and wav. Among them, mp3, flac, ogg, m4a, and wav are for audio-only files. |
| RemoveVideo | Integer | No | Indicates whether to remove video data. Valid values: |
| RemoveAudio | Integer | No | Indicates whether to remove audio data. Valid values: |
| VideoTemplate | VideoTemplateInfoForUpdate | No | Video stream configuration parameters. |
| AudioTemplate | AudioTemplateInfoForUpdate | No | Audio stream configuration parameters. |
| TEHDConfig | TEHDConfigForUpdate | No | Top Speed Codec transcoding configuration parameters. |
| StdExtInfo | String | No | Standard extended fields for special usage. |
Stamp extraction configuration.
Used by actions: CreateProcessImageAsyncTemplate, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| TransparencyThreshold | Integer | No | Transparency threshold Value range: [0, 255] Default value: 30 |
| OpaqueThreshold | Integer | No | Opaque threshold, must be greater than TransparencyThreshold Value range: [0, 255] Default value: 127 |
| EdgeSamplingStep | Integer | No | Edge sampling steps Value range: [1, 10] Default value: 5 |
| EdgeExpansionStep | Integer | No | Edge expansion steps Default value: 5 |
| EdgeBlendingIntensity | Float | No | Edge fusion strength Value range: [0.0, 1.0] Default value: 0.5 |
Clipping solidification task information.
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Fixed generated media ID. |
| PersistenceSource | String | Sources of clipping solidification are as follows. |
Playback statistics file information
Used by actions: DescribeDailyPlayStatFileList.
| Name | Type | Description |
|---|---|---|
| Date | String | Date of the playback statistics in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| Url | String | URL address of the playback statistics file. The playback statistics file contains: |
Playback statistical information.
Used by actions: DescribeMediaPlayStatDetails.
| Name | Type | Description |
|---|---|---|
| Time | String | Start time of the time interval where the data resides, in ISO date format. For example, when the time granularity is day, 2018-12-01T00:00:00+08:00 means the interval from December 1, 2018 (inclusive) to December 2, 2018 (exclusive). |
| FileId | String | Media file ID. |
| PlayTimes | Integer | Number of plays. |
| Traffic | Integer | Playback traffic volume. Measurement unit: byte. |
Player configuration details.
Used by actions: DescribeSuperPlayerConfigs.
| Name | Type | Description |
|---|---|---|
| Name | String | Player configuration name. |
| Type | String | Player configuration type. Valid values: |
| AudioVideoType | String | Played Audio and Video Type. Optional values: |
| DrmSwitch | String | Switch for playing DRM-protected adaptive bitstream: |
| AdaptiveDynamicStreamingDefinition | Integer | Allowed output of unencrypted adaptive bitstream template ID. |
| DrmStreamingsInfo | DrmStreamingsInfo | Allowed output of DRM adaptive bitstream template content. |
| TranscodeDefinition | Integer | Allowed output transcoding template ID. |
| ImageSpriteDefinition | Integer | Allowed output sprite template ID. |
| ResolutionNameSet | Array of ResolutionNameInfo | The player displays names for substreams of different resolutions. |
| CreateTime | String | Player configuration creation time, in ISO date format. |
| UpdateTime | String | Last player configuration modification time, in ISO date format. |
| Domain | String | Domain name used during playback. If the value is Default, it indicates usage of the domain name in the default distribution configuration. |
| Scheme | String | Scheme used during playback. Value range: |
| Comment | String | Template description information. |
Task control parameters for ASR-based recognition involving inappropriate information
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for ASR-based recognition involving inappropriate information. Available values: |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the audio/video moderation score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the audio/video moderation score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
Task control parameter for ASR-based recognition involving inappropriate information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for ASR-based recognition involving inappropriate information. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the audio/video moderation score reaches or exceeds this value, the content is deemed as suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the audio/video moderation score reaches or exceeds this threshold, manual review is considered necessary. Value range: 0–100. |
Task control parameters for authentication involving inappropriate information
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PoliticalImgReviewTemplateInfo | No | Image recognition involves control parameters for inappropriate information. |
| AsrReviewInfo | PoliticalAsrReviewTemplateInfo | No | Control parameters for inappropriate information involved in ASR-based recognition. |
| OcrReviewInfo | PoliticalOcrReviewTemplateInfo | No | Control parameters for text recognition involving inappropriate information. |
Control parameters for authentication involving inappropriate information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PoliticalImgReviewTemplateInfoForUpdate | No | Image recognition involves control parameters for inappropriate information. |
| AsrReviewInfo | PoliticalAsrReviewTemplateInfoForUpdate | No | Control parameters for inappropriate information involved in ASR-based recognition. |
| OcrReviewInfo | PoliticalOcrReviewTemplateInfoForUpdate | No | Control parameters for text recognition involving inappropriate information. |
Image recognition involves task control parameters for inappropriate information.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for image recognition involving inappropriate information. Available values: |
| LabelSet | Array of String | No | Filter tags for image recognition involving inappropriate information. The review results including the selected tags are returned. If the filter tag is empty, all review results will be returned. Available values are: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 97 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 95 points. Value range: 0–100. |
Image recognition involves task control parameters for inappropriate information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for image recognition involving inappropriate information. Available values: |
| LabelSet | Array of String | No | Filter tags for inappropriate information detected in image recognition. The auditing results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. Value range: 0–100. |
Task control parameters for text recognition involving inappropriate information.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for text recognition involving inappropriate information. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, the default is 75. Value range: 0–100. |
Task control parameter for text recognition involving inappropriate content.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for text recognition involving inappropriate information. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the review score reaches or exceeds this value, the content is deemed as suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the moderation score reaches or exceeds this threshold, manual review is considered necessary. Value range: 0–100. |
Task control parameter for ASR-based recognition involving offensive content
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for ASR-based recognition involving offensive content. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the review score reaches or exceeds this value, the content is deemed as suspected violation. Default value: 100. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. If not specified, the default is 75 points. Value range: 0–100. |
Task control parameter for ASR-based recognition involving offensive content.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for ASR-based recognition involving offensive content. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the review score reaches or exceeds this value, the content is deemed as suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. Value range: 0–100. |
Task control parameter for authentication involving offensive content
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PornImgReviewTemplateInfo | No | Image recognition involves control parameters for offensive information. |
| AsrReviewInfo | PornAsrReviewTemplateInfo | No | Control parameters for offensive information involved in ASR-based recognition. |
| OcrReviewInfo | PornOcrReviewTemplateInfo | No | Control parameters for text recognition involving offensive information. |
Task control parameters for authentication involving offensive content.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PornImgReviewTemplateInfoForUpdate | No | Image recognition involves control parameters for offensive information. |
| AsrReviewInfo | PornAsrReviewTemplateInfoForUpdate | No | Control parameters for offensive information involved in ASR-based recognition. |
| OcrReviewInfo | PornOcrReviewTemplateInfoForUpdate | No | Control parameters for text recognition involving offensive content. |
Task control parameter for image recognition involving offensive content
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for image recognition involving offensive content. Available values: |
| LabelSet | Array of String | No | Filter tags for offensive content involved in image recognition. The review results including the selected tags are returned. If the filter tag is empty, all review results will be returned. Available values are: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 90 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. If not specified, it defaults to 0 points. Value range: 0–100. |
Image recognition involves task control parameters for offensive information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for image recognition involving offensive content. Available values: |
| LabelSet | Array of String | No | Filter tags for offensive content involved in image recognition. The auditing results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches this threshold or above, it is considered a suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. Value range: 0–100. |
Task control parameters for text recognition involving offensive content
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for text recognition involving offensive content. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
Task control parameter for text recognition involving offensive content.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for text recognition involving offensive content. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the intelligent review score reaches or exceeds this value, the content is deemed as suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the intelligent review score reaches or exceeds this threshold, manual review is considered necessary. Value range: 0–100. |
Input parameter type for audio/video moderation in the task flow template.
Used by actions: CreateProcedureTemplate, DescribeProcedureTemplates, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Moderation template. |
| ReviewContents | Array of String | No | Content for review. Available values: If this parameter is not specified or is set to an empty array, Media is reviewed by default. |
Audio/Video processing task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Media processing task ID. |
| Status | String | Task flow status. Valid values: |
| FileId | String | Media file ID |
| FileName | String | Media file name |
| FileUrl | String | Media file address |
| MetaData | MediaMetaData | Metadata of the original audio/video. |
| MediaProcessResultSet | Array of MediaProcessTaskResult | Execution status and results of the audio/video processing task. |
| AiContentReviewResultSet | Array of AiContentReviewResult | Execution status and results of a video moderation task. |
| AiAnalysisResultSet | Array of AiAnalysisResult | Execution status and results of an audio/video content analysis task. |
| AiRecognitionResultSet | Array of AiRecognitionResult | Execution status and results of an audio/video content recognition task. |
| TasksPriority | Integer | Priority of the task flow, with a value range of [-10, 10]. |
| TasksNotifyMode | String | Task flow status change notification mode. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| Operator | String | Operator. Value range: |
| OperationType | String | Operation type. Valid values: |
Task flow template details
Used by actions: DescribeProcedureTemplates.
| Name | Type | Description |
|---|---|---|
| Name | String | Task flow name. |
| Type | String | Task flow template type. Valid values: |
| Comment | String | Transcoding template description. Length limit: 256 characters. |
| MediaProcessTask | MediaProcessTaskInput | Video processing type task parameters. |
| AiContentReviewTask | AiContentReviewTaskInput | AI intelligent review type task parameter . |
| AiAnalysisTask | AiAnalysisTaskInput | Parameters for the AI intelligent content analysis task. |
| AiRecognitionTaskSet | Array of AiRecognitionTaskInput | Parameters for the AI content recognition task. |
| MiniProgramPublishTask | WechatMiniProgramPublishTaskInput | WeChat Mini Program publishing task parameter. |
| ReviewAudioVideoTask | ProcedureReviewAudioVideoTaskInput | Parameters for the audio and video moderation task. |
| ImportMediaKnowledgeTaskSet | Array of ImportMediaKnowledgeTaskInput | Parameters for importing the Intelligent Media Assets knowledge base task. |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Template last modified time, in ISO date format. |
Information of the image asynchronous processing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| Message | String | Error message. |
| Progress | Integer | Task progress. Value range: [0-100]. |
| Input | ProcessImageAsyncInput | Input information of the image asynchronous processing task. |
| Output | ProcessImageAsyncOutput | Output information of the image asynchronous task processing. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Information of an image asynchronous processing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| FileId | String | FileId for image processing. |
| Url | String | Image URL. |
| ImageTaskInput | ProcessImageAsyncTaskInput | Image processing parameter. |
| OutputConfig | ProcessImageAsyncOutputConfig | Configuration of the output media file for an image processing task. |
Additional parameters for image asynchronous processing.
Used by actions: ProcessImageAsync.
| Name | Type | Required | Description |
|---|---|---|---|
| Prompts | Array of String | No | Prompt input to the model. |
Output of an image asynchronous processing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| FileInfo | ProcessImageAsyncOutputFileInfo | Output file information for an asynchronous image processing task. |
| OutputText | String | Image understanding result. |
Output media file configuration of an asynchronous image processing task.
Used by actions: DescribeTaskDetail, ProcessImageAsync.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system specifies the generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is based on ISO 8601. For details, see ISO date format description. |
Output file information of an asynchronous image processing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| MediaName | String | Output filename, up to 64 characters. By default, the system specifies the generated filename. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is based on ISO 8601. For details, see ISO date format description. |
| FileType | String | File type, for example, mp4, flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Meta information of the output video. Valid when StorageMode is Permanent. |
Asynchronous image processing configuration.
Used by actions: CreateProcessImageAsyncTemplate, DescribeProcessImageAsyncTemplates, ModifyProcessImageAsyncTemplate, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| EncodeConfig | ImageEncodeConfig | No | Image transcoding output configuration. |
| EnhanceConfig | ImageEnhanceConfig | No | Image enhancement configuration. |
| BeautyConfig | ImageBeautyConfig | No | Image beauty effect configuration. |
| AiCutOutConfig | AiCutOutConfig | No | Ai cutout configuration |
Image processing configuration.
Used by actions: DescribeTaskDetail, ProcessImageAsync.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Image async processing template ID. |
| ExtendedParameter | ProcessImageAsyncInputExtendedParameter | No | Extended parameters for asynchronous image processing. |
Image async processing template details.
Used by actions: DescribeProcessImageAsyncTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template unique identifier for asynchronous image processing. |
| Type | String | Template type. |
| Name | String | Image async processing template name. |
| Comment | String | Description information of the image async processing template. |
| CreateTime | String | Template creation time in ISO date format. |
| UpdateTime | String | Template last modified time, use ISO date format. |
| ProcessImageConfigure | ProcessImageAsyncTask | Image async processing template configuration. |
MPS media processing task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned when a source error occurs. If 0 is returned, use the ErrCode of each specific task. |
| Message | String | Error information. If a source error occurs, the corresponding exception Message is returned. Otherwise, use the Message of each specific task. |
| SubTaskSet | Array of MPSSubTaskResult | MPS video processing task. |
Parameter configuration for AI-generated product images
Used by actions: CreateSceneAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Prompt | String | No | Prompt for generating the image background. If this field is default, inspiration is generated automatically. |
| NegativePrompt | String | No | Prompt used to prevent the model from image generation. |
| ProductDesc | String | No | A detailed product description helps generate images that better meet requirements. |
| MoreRequirement | String | No | Special requirements. If any, input them through this field. |
| OutputImageCount | Integer | No | Number of images expected to be generated. Default value: 1. Maximum valid value: 10. |
Parameter configuration for AI-generated 360-degree product showcase videos
Used by actions: CreateSceneAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| CameraMovement | String | No | Lens movement method. Supported values: AutoMatch, ZoomIn, ZoomOut, GlideRight, GlideLeft, CraneDown. |
Speech prohibition task control parameter
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Speech prohibition task switch. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
Control parameters of the speech prohibition task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Speech prohibition task switch. Available values: |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the review score reaches or exceeds this value, the content is deemed as suspected violation. Default value: 100. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. If not specified, the default is 75 points. Value range: 0–100. |
Prohibited task control parameter
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| AsrReviewInfo | ProhibitedAsrReviewTemplateInfo | No | Voice prohibition control parameter. |
| OcrReviewInfo | ProhibitedOcrReviewTemplateInfo | No | Prohibited control parameters for text. |
Prohibited task control parameters.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| AsrReviewInfo | ProhibitedAsrReviewTemplateInfoForUpdate | No | Voice prohibition control parameter. |
| OcrReviewInfo | ProhibitedOcrReviewTemplateInfoForUpdate | No | Prohibited control parameters for text. |
Text prohibition task control parameter
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Text prohibition task switch. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
Prohibited task control parameters for text.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Text prohibition task switch. Value range: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches this threshold or above, it is considered a suspected violation. Default value: 100. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is required. Default value: 75. Value range: 0-100. |
Pull upload task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Pull the upload task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| FileId | String | Pull the video ID generated after upload completion. |
| MediaBasicInfo | MediaBasicInfo | Pull basic information of the generated media file after upload completion. |
| MetaData | MediaMetaData | Meta information of the output video. |
| FileUrl | String | Get the playback address generated after upload completion. |
| ProcedureTaskId | String | Task ID of the task type Procedure. If a media subsequent task operation (Procedure) is specified during pull upload, the task is initiated when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, and AiRecognitionTask. |
| ReviewAudioVideoTaskId | String | Task ID of the task type ReviewAudioVideo. If a media subsequent task operation (Procedure) is specified during pull upload, the task is initiated when the task flow template specifies ReviewAudioVideoTask. |
| SessionContext | String | Source context, used to pass through user request information. URL pull video upload completed will return the value of this field, up to 1000 characters. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| Progress | Integer | Pull upload progress, in the range of [0,100]. |
Control parameters for video frame QR code detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | QR code detection switch for video frames. Available values: |
Control parameters for video frame QR code detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | QR code detection switch for video frames. Available values: |
Audio and video quality regeneration task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task stream status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Progress | Integer | Audio and video quality regeneration task progress. Value range: [0-100]. |
| Input | QualityEnhanceTaskInput | Input of the audio and video quality regeneration task. |
| Output | QualityEnhanceTaskOutput | Output of the audio and video quality regeneration task. |
| MetaData | MediaMetaData | Meta-information of the output video after audio and video quality revival. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Input of the audio and video quality regeneration task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| Definition | Integer | Audio-visual quality rebirth template ID. |
Output of the audio and video quality regeneration task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileType | String | File type, for example, mp4 or flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. |
| MediaName | String | Output filename, up to 64 characters. By default, the system generates the filename. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is according to the ISO 8601 standard. For details, see ISO date format description. |
Control parameters for video frame quality evaluation.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video quality evaluation detection switch. Available values: |
| Score | Integer | No | Video quality evaluation filter threshold. Only return time periods below this value. Default value: 60. |
Control parameters for video frame quality evaluation.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video quality evaluation switch. Available values: |
| Score | Integer | No | Video quality rating filter threshold. Only time periods with values below this threshold are returned. |
Configuration of control parameters for audio and video quality detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates, ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Detection item name. Enumeration values:
|
| Switch | String | No | Capability configuration switch. Enumeration values:
Default value: ON |
| Sampling | String | No | Sampling method Enumeration values:
|
| IntervalTime | Integer | No | Sampling interval time Unit: ms. |
| Duration | Integer | No | Duration of abnormality. Measurement unit: ms. |
| Threshold | String | No | Threshold corresponding to the detection item. Different detection items have different thresholds. |
Format diagnosis of audio and video quality inspection detects abnormal items.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Category | String | Diagnosed exception category Enumeration values:
|
| Type | String | Specific exception type diagnosed. Enumeration values:
|
| SeverityLevel | String | Diagnosed exception level. Enumeration values:
|
| TimestampSet | Array of Float | Timestamp. |
Audio and video quality detection abnormal fragment info.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Offset time of abnormal segment start, in seconds. |
| EndTimeOffset | Float | End time offset of an abnormal fragment, in seconds. |
| AreaCoordSet | Array of Integer | Coordinates of the detected abnormal area. The array contains 4 elements [x1,y1,x2,y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners of the area in sequence. Note: This field is valid only when Type is one of the following values: |
| Confidence | Integer | Confidence. Value range: [0, 100]. Note: This field is valid only when Type is one of the following values: |
Issue detected by the LLM in audio and video quality detection.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Tag | String | Issue category tag. |
| Description | String | Issue description. |
| Score | Float | Quality score of the issue Value range: [0, 100] |
| Confidence | Float | Detection confidence for the issue Value range: [0, 100] |
| StartTimeMs | Integer | Issue start time. Unit: ms. |
| EndTimeMs | Integer | Issue end time. Unit: ms. |
| ExtraData | String | Additional data (JSON format), such as severity and other supplementary information. |
AIGC quality detection result of the large language model for audio and video quality inspection.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ResultCount | Integer | Number of detection results. |
| ResultSet | Array of QualityInspectLLMDetectionResultItem | Detection item result list. |
Aggregation results of one detection item of the LLM large model for audio and video quality detection.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Category | String | Detection category. Enumeration value:
|
| Group | String | Detection group. Enumeration values:
|
| Type | String | Detection type name. Enumeration values:
|
| Score | Float | Overall quality score. Value range: [0, 100]. Higher values indicate better quality. |
| Confidence | Float | Detection confidence. Value range: [0, 100]. Higher values indicate greater certainty. |
| IssueSet | Array of QualityInspectLLMDetectionIssue | List of issues detected. This is empty if no issue is detected. |
Audio and video quality detection exception result info.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Exception type. Valid values: |
| SegmentSet | Array of QualityInspectItem | Abnormal fragment list. |
| SegmentSetFileUrl | String | URL of the exception segment list file. The file content is in JSON, and its data structure is consistent with the fields of SegmentSet. (The file will not be retained permanently and will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the abnormal Segment List File, in ISO date format. |
Policy information for audio and video quality inspection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates, ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| StrategyType | String | No | Policy type. Enumeration values:
|
| TimeSpotCheck | QualityInspectTimeSpotCheck | No | Spot check policy parameters based on time. Valid when StrategyType is TimeSpotCheck. |
Audio and video quality detection task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| MetaData | MediaMetaData | Metadata of audio and video for quality inspection input. |
| Input | QualityInspectTaskInput | Audio and video quality inspection task input. |
| Output | QualityInspectTaskOutput | Output of the audio and video quality inspection task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context, used to pass through user request information. The audio and video quality detection completion callback will return the value of this field. Maximum length: 1000 characters. |
Input of the audio and video quality inspection task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| Definition | Integer | Audio and video quality inspection template ID. |
Output of the audio and video quality inspection task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| NoAudio | Integer | Whether the media file has no audio track. Value range: |
| NoVideo | Integer | Whether the media file has no video track. Value range: |
| QualityEvaluationScore | Integer | Video picture quality score. Value range: [0, 100]. |
| QualityInspectResultSet | Array of QualityInspectResultItem | List of abnormalities detected in audio and video quality. |
| QualityEvaluationMeanOpinionScore | Float | No-reference quality score of the video (MOS). |
| AestheticEvaluationScore | Integer | Video aesthetic score. Value range: [0, 100]. |
| ContainerDiagnoseResultSet | Array of QualityInspectContainerDiagnoseResultItem | Exception items detected in format diagnosis. |
| LLMDetectionReport | QualityInspectLLMDetectionReport | LLM AIGC quality detection result. |
Audio and video quality detection template details.
Used by actions: DescribeQualityInspectTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
| Type | String | Template type. Available values: |
| Name | String | Template name. |
| Comment | String | Template description. |
| Configs | Array of QualityInspectConfig | Configuration parameters for audio and video quality detection. |
| Strategy | QualityInspectStrategy | Spot check policy for audio and video quality inspection. |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Template last modified time in ISO date format. |
| ScreenshotInterval | Float | (Not recommended. Use Configs as an alternative.) Frame interception interval in seconds. |
| JitterConfigure | JitterConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for video frame jitter and ghosting detection. |
| BlurConfigure | BlurConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for video frame blur detection. |
| AbnormalLightingConfigure | AbnormalLightingConfigureInfo | (Not recommended. Use Configs instead.) Control parameters for low-light and overexposure detection in video frames. |
| CrashScreenConfigure | CrashScreenConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for video footage distortion detection. |
| BlackWhiteEdgeConfigure | BlackWhiteEdgeConfigureInfo | Control parameters for detecting black edges, white edges, black screen, and white screen in video picture. |
| NoiseConfigure | NoiseConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for video frame noise detection. |
| MosaicConfigure | MosaicConfigureInfo | (Not recommended. Use Configs instead.) Control parameters for video frame mosaic detection. |
| QRCodeConfigure | QRCodeConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for video frame QR code detection. |
| QualityEvaluationConfigure | QualityEvaluationConfigureInfo | (Not recommended. Use Configs instead.) Control parameters for video frame quality evaluation. |
| VoiceConfigure | VoiceConfigureInfo | (Not recommended. Use Configs as an alternative.) Control parameters for audio (mute, bass, pop) detection. |
Audio and video quality inspection spot check policy.
Used by actions: CreateQualityInspectTemplate, ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CheckDuration | Integer | No | Duration of each loop detection. Value range: [10, 86400] Unit: seconds. |
| CheckInterval | Integer | No | Detection interval, which indicates the duration after a detection is completed and before the next detection is conducted Value range: [10, 3600] Unit: seconds. |
| SkipDuration | Integer | No | Skipped opening duration. Value range: [1, 1800] Unit: seconds. |
| CirclesNumber | Integer | No | Number of loops. Value range: [0, 1000] |
Quic configuration item
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Quic feature configuration switch. Valid values:on: Enable;off: Cache. |
Audio-visual quality revival audio control information.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeEnhanceMediaTemplates, DescribeRebuildMediaTemplates, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| AudioDenoiseInfo | AudioDenoiseInfo | No | Audio noise reduction control parameters. |
Output file of the rebuild media generation result.
Used by actions: EnhanceMediaByTemplate, RebuildMediaByTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system assigns a generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. Default value: permanent, no expiration. Format according to the ISO 8601 standard. For details, see ISO date format description. |
Audio content of the remastering output.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeEnhanceMediaTemplates, DescribeRebuildMediaTemplates, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Audio stream encoding format. When the outer parameter Container is mp3, optional values: When the outer parameter Container is ogg or flac, optional values: When the outer parameter Container is m4a, valid values are: When the outer parameter Container is mp4 or flv, valid values are: When the outer parameter Container is hls, valid values are: |
| Bitrate | Integer | No | Bitrate of the audio stream. Value range: 0 and [26, 256]. Unit: kbps. When the value is 0, VOD sets the bitrate automatically. |
| SampleRate | Integer | No | Sampling rate of the audio stream. Available values: Unit: Hz. |
| AudioChannel | Integer | No | Audio channel mode. Valid values: When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to stereo. Default value: 2. |
Target parameter for remastering
Used by actions: DescribeTaskDetail, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system assigns the generated filename. |
| Description | String | No | Description. It can contain up to 128 characters. The default description is empty. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| Container | String | No | Output file container format. Available values: mp4, flv, hls. Default value: mp4. |
| VideoStream | RebuildMediaTargetVideoStream | No | Output video information. |
| AudioStream | RebuildMediaTargetAudioStream | No | Output audio content. |
| RemoveVideo | Integer | No | Indicates whether to remove video data. Available values:0: reservedDefault value: 0. |
| RemoveAudio | Integer | No | Indicates whether to remove audio data. Available values: Default value: 0. |
Video information of the remastered output
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeEnhanceMediaTemplates, DescribeRebuildMediaTemplates, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Encoding format for video streams. Optional values: Default video stream encoding format: H.264. |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 35000]. Unit: kbps. When the value is 0, VOD automatically sets the bitrate. |
| Fps | Integer | No | Video frame rate. Value range: [0, 100]. Unit: Hz. A value of 0 means the frame rate is consistent with the original video. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: Default value: open. |
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. |
| Height | Integer | No | Maximum height (or short side) of the video stream. Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| FillType | String | No | Filling method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the processing method for transcoding is "padding". Optional filling modes: Default value: stretch. |
| Gop | Integer | No | Interval between I-frames, in frames. Value range: 0 and [1, 100000]. If this parameter is 0 or left blank, the system will automatically set the GOP length. |
Audio and video quality regeneration task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and additional values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Progress | Integer | Progress of the audio and video quality regeneration task, in the range of [0,100]. |
| Input | RebuildMediaTaskInput | Input of the audio and video quality regeneration task. |
| Output | RebuildMediaTaskOutput | Output of the audio and video quality regeneration task. |
| MetaData | MediaMetaData | Meta-information of the output video after audio and video quality revival. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Input of the audio and video quality regeneration task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| StartTimeOffset | Float | Start offset time, in seconds. If not filled, it indicates cutting from the beginning of the video. |
| EndTimeOffset | Float | End offset time, in seconds. Not filled indicates cutting to the end of the video. |
| Definition | Integer | Audio and video quality rebirth template number. |
| RepairInfo | RepairInfo | Image quality restoration control parameters. |
| VideoFrameInterpolationInfo | VideoFrameInterpolationInfo | Intelligent frame interpolation control parameters. |
| SuperResolutionInfo | SuperResolutionInfo | Image super-resolution control parameters. |
| HDRInfo | HDRInfo | High dynamic range type control parameter. |
| VideoDenoiseInfo | VideoDenoiseInfo | Video noise reduction control parameters. |
| AudioDenoiseInfo | AudioDenoiseInfo | Audio noise reduction control parameters. |
| ColorInfo | ColorEnhanceInfo | Color enhancement control parameters. |
| SharpInfo | SharpEnhanceInfo | Detail enhancement control parameters. |
| FaceInfo | FaceEnhanceInfo | Face enhancement control parameters. |
| LowLightInfo | LowLightEnhanceInfo | Low-light control parameters. |
| ScratchRepairInfo | ScratchRepairInfo | Scratch removal control parameter. |
| ArtifactRepairInfo | ArtifactRepairInfo | Artifact (burr) removal control parameter. |
| TargetInfo | RebuildMediaTargetInfo | Output target parameters for audio-visual quality rebirth. |
Output of the audio and video quality regeneration task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileType | String | File type, for example, mp4 and flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. |
| MediaName | String | Output filename, up to 64 characters. By default, the system assigns a generated filename. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format follows the ISO 8601 standard. For details, see ISO date format description. |
Audio-visual quality rebirth template details.
Used by actions: DescribeEnhanceMediaTemplates, DescribeRebuildMediaTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Audio and video quality rebirth template number. |
| Type | String | Template type. Available values: |
| Name | String | Audio-visual quality rebirth template name. |
| Comment | String | Audio and video quality rebirth template description. |
| RebuildVideoInfo | RebuildVideoInfo | Audio-visual quality revival video control info. |
| RebuildAudioInfo | RebuildAudioInfo | Audio-visual quality revival audio control info. |
| TargetVideoInfo | RebuildMediaTargetVideoStream | Output video control information. |
| TargetAudioInfo | RebuildMediaTargetAudioStream | Output audio control information. |
| Container | String | Muxing format. Available values: mp4, hls. mp4 is selected by default. |
| RemoveVideo | Integer | Indicates whether to remove video data. Available values:0: reservedDefault value: 0. |
| RemoveAudio | Integer | Indicates whether to remove audio data. Available values:0: reservedDefault value: 0. |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Template last modified time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
Audio-visual quality revival video control information.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeEnhanceMediaTemplates, DescribeRebuildMediaTemplates, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| RepairInfo | RepairInfo | No | Image quality restoration control parameters. |
| VideoFrameInterpolationInfo | VideoFrameInterpolationInfo | No | Intelligent frame interpolation control parameters. |
| SuperResolutionInfo | SuperResolutionInfo | No | Image super-resolution control parameters. |
| HDRInfo | HDRInfo | No | High dynamic range type control parameter. |
| VideoDenoiseInfo | VideoDenoiseInfo | No | Video noise reduction control parameters. |
| ColorInfo | ColorEnhanceInfo | No | Color enhancement control parameters. |
| SharpInfo | SharpEnhanceInfo | No | Detail enhancement control parameters. |
| FaceInfo | FaceEnhanceInfo | No | Face enhancement control parameters. |
| LowLightInfo | LowLightEnhanceInfo | No | Low-light control parameters. |
| ScratchRepairInfo | ScratchRepairInfo | No | Scratch removal control parameter. |
| ArtifactRepairInfo | ArtifactRepairInfo | No | Artifact removal control parameter. |
Adaptive bitrate stream result type of a bitrate reduction task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Input | AdaptiveDynamicStreamingTaskInput | Input of a video to adaptive streaming task. |
| Output | AdaptiveDynamicStreamingInfoItem | Output of a video to adaptive streaming task. |
Bitrate reduction task result
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| TranscodeTask | ReduceMediaBitrateTranscodeResult | Query result of the video transcoding task in the bitrate reduction task. Valid when the task type is Transcode. |
| AdaptiveDynamicStreamingTask | ReduceMediaBitrateAdaptiveDynamicStreamingResult | Query result of the video to adaptive streaming task in a bitrate reduction task. Valid when the task type is AdaptiveDynamicStreaming. |
Bitrate reduction task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Video processing task ID. |
| Status | String | Task stream status. Valid values: |
| FileId | String | Media file ID. |
| FileName | String | Media file name. |
| FileUrl | String | Media file address. |
| MetaData | MediaMetaData | Metadata of the original video. |
| MediaProcessResultSet | Array of ReduceMediaBitrateMediaProcessTaskResult | Bitrate reduction task execution status and results. |
| TasksPriority | Integer | Priority of the task flow, with a value range of [-10, 10]. |
| TasksNotifyMode | String | Task flow status change notification mode. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
Transcoding result type of a bitrate reduction task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Input | TranscodeTaskInput | Input of the transcoding task. |
| Output | MediaTranscodeItem | Transcoding task output. |
| Progress | Integer | Transcoding progress, with a value range of [0-100]. |
| BeginProcessTime | String | Transcoding task start time in ISO datetime format. |
| FinishTime | String | Transcoding task completion time in ISO datetime format. |
Referer blocklist/allowlist configuration, disabled by default
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Referrer blocklist configuration switch. Value:on: Enable;off: Cache. |
| RefererRules | Array of RefererRule | No | referer blocklist/allowlist rule configuration |
Referer anti-leech configuration
Used by actions: DescribeVodDomains, ModifyVodDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Status | String | Yes | Referer hotlink protection setting status. Available values: |
| AuthType | String | No | Referer verification type. Available values: When Status is Enabled, AuthType must be assigned a value. |
| Referers | Array of String | No | List of Referer fields used for verification. Supports up to 400 Referer fields. When Status is Enabled, Referers cannot be an empty array. The format of Referer follows the reference domain format. |
| BlankRefererAllowed | String | No | Whether to allow access to this domain name with a null Referer. Available values: When Status is Enabled, BlankRefererAllowed must be assigned a value. |
Referer blocklist/allowlist rule configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleType | String | Yes | Rule type: |
| RulePaths | Array of String | Yes | Matching content under the corresponding type of RuleType: |
| RefererType | String | Yes | referer configuration type. Valid values: |
| Referers | Array of String | Yes | referer list. |
| AllowEmpty | Boolean | Yes | Whether to allow empty referer: When the anti-hotlinking type is allowlist, true indicates that empty referer is allowed, and false indicates that it is not allowed; If the anti-hotlinking type is a blocklist, true indicates that empty referers are denied, and false indicates that empty referers are not denied. |
Input of the intelligent watermark removal task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
Output of the intelligent watermark removal task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| FileType | String | File type, such as mp4 and mp3. |
| FileUrl | String | Media file playback address. |
| MediaName | String | Filename. It can contain up to 64 characters. |
| MetaData | MediaMetaData | Meta information, including size, duration, video stream information, and audio stream information. |
Intelligent watermark removal task information. This field has a value only when TaskType is RemoveWatermark.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCodeExt | String | Error code. An empty string indicates success, and additional values indicate failure. For values, see video processing error code list. |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| Input | RemoveWaterMarkTaskInput | Input for the intelligent watermark removal task. |
| Output | RemoveWaterMarkTaskOutput | Output of the intelligent watermark removal task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Image quality restoration control parameters.
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Image quality restoration control switch. Available values: |
| Type | String | No | Image quality restoration type. It is valid only when the image quality restoration control switch is ON. Available values: Default value: weak. |
Custom request header configuration, disabled by default
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Custom request header configuration switch. Valid values:on: Enable;off: Cache. |
| HeaderRules | Array of HttpHeaderPathRule | No | Custom request header rule configuration. |
Substream name information of the player
Used by actions: CreateSuperPlayerConfig, DescribeSuperPlayerConfigs, ModifySuperPlayerConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| MinEdgeLength | Integer | Yes | Video short side length. Measurement unit: pixel. |
| Name | String | Yes | Display name. |
Tag key value. For reference, see Tag (https://www.tencentcloud.com/document/product/651?from_cn_redirect=1).
Used by actions: CreateSubAppId, DescribeSubAppIds.
| Name | Type | Required | Description |
|---|---|---|---|
| TagKey | String | Yes | Tag key. |
| TagValue | String | Yes | Tag value. |
Custom response header configuration, disabled by default.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Custom response header configuration switch. Valid values:on: Enable;off: Cache. |
| HeaderRules | Array of HttpHeaderPathRule | No | Custom response header rule. |
Retrieve video task information
Used by actions: PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | File ID. |
| OriginalStorageClass | String | Original storage type of the file. |
| TargetStorageClass | String | Target storage type of the file. For temporary retrieval, the target storage class is the same as the original storage class. |
| RestoreTier | String | Retrieval mode. Valid values: |
| RestoreDay | Integer | Temporary retrieval replica validity period in days. For permanent retrieval, the value is 0. |
Audio/video moderation clip.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Start time offset of a suspected segment, in seconds. |
| EndTimeOffset | Float | End time offset of a suspected segment, in seconds. |
| Confidence | Float | Score of offensive information involved in suspected clips. |
| Suggestion | String | Result suggestions for identifying violations in suspected clips. Value range: |
| Label | String | Most likely rule violation tag of the suspected segment. Value range: |
| SubLabel | String | Rule-violating subtag. |
| Form | String | Suspected segment violation type. Value range: |
| AreaCoordSet | Array of Integer | Valid when Form is Image or OCR. Indicates the pixel-level coordinates of the area where the suspect, icon, or text appears, [x1, y1, x2, y2], which are the coordinates of the top-left corner and the bottom-right corner. |
| Text | String | Valid when Form is OCR or ASR. It indicates the recognized OCR or ASR text content. |
| KeywordSet | Array of String | Valid when Form is OCR or ASR. It indicates the list of violation keywords hit by suspicious fragments. |
| Url | String | Suspected image URL (images are not retained permanently and will be deleted after reaching Images will be deleted after the PicUrlExpireTime time point). |
| PicUrlExpireTime | String | Expiration time of the suspected image URL in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
Information of an audio/video moderation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Message | String | Error message. |
| Input | ReviewAudioVideoTaskInput | Input of an audio/video moderation task. |
| Output | ReviewAudioVideoTaskOutput | Output of the audio/video moderation task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, used to pass through user request information. The audio/video moderation completed callback will return the value of this field. Maximum length: 1000 characters. |
Input of the audio/video moderation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| Definition | Integer | Audio/Video moderation template ID. |
| ReviewContents | Array of String | Content for review. Available values: |
Output of the audio/video moderation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Suggestion | String | Result suggestion for audio/video content moderation. Value range: |
| Label | String | Valid when Suggestion is review or block. Indicates the most likely rule violation tag of the audio and video. Value range: |
| Form | String | Valid when Suggestion is review or block. It indicates the most likely prohibited forms of audio and video. Value range: |
| SegmentSet | Array of ReviewAudioVideoSegmentItem | List of video clips suspected of containing violation information. Note: This list can only display up to the first 10 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of video clip list file involved in suspicion of violation information. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file will not be retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the list of video clips suspected of involving violation information, in ISO date format. |
| CoverReviewResult | ReviewImageResult | Cover review result. |
Image moderation result.
Used by actions: DescribeTaskDetail, PullEvents, ReviewImage.
| Name | Type | Description |
|---|---|---|
| Suggestion | String | Result suggestion for image moderation. Value range: |
| Label | String | Tag of the most likely rule violation. Valid when Suggestion is review or block. Value range: |
| Form | String | Valid when Suggestion is review or block. It indicates the most likely prohibited forms. Value range: |
| SegmentSet | Array of ReviewImageSegmentItem | List of video clips suspected of containing violation information. Note: This list can only display up to the first 10 elements. To obtain the complete result, get it from the file corresponding to SegmentSetFileUrl. |
| SegmentSetFileUrl | String | URL of video clip list file involved in suspicion of violation information. The file content is in JSON format, and its data structure is consistent with the SegmentSet fields. (The file will not be retained permanently. It will be deleted after reaching the SegmentSetFileUrlExpireTime time point.) |
| SegmentSetFileUrlExpireTime | String | Expiration time of the URL of the list of video clips suspected of involving violation information, in ISO date format. |
Image moderation clip.
Used by actions: ReviewImage.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Score of offensive information involved in suspected clips. |
| Suggestion | String | Result suggestions for identifying violations in suspected clips. Value range: |
| Label | String | Tag of the most likely rule violation for the suspected segment. Value range: |
| SubLabel | String | Rule-violating subtag. |
| Form | String | Suspected segment violation type. Value range: |
| AreaCoordSet | Array of Integer | Coordinates of the area where the suspected object, icon, or text appears (pixel-level), [x1, y1, x2, y2], which are the coordinates of the top-left corner and bottom-right corner. |
| Text | String | Valid when Form is OCR. It indicates the recognized OCR text content. |
| KeywordSet | Array of String | Valid when Form is OCR. It indicates the list of violation keywords hit by suspicious fragments. |
Moderation information.
Used by actions: DescribeMediaInfos, SearchMedia.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Content review template ID. |
| Suggestion | String | Review result suggestion. Valid values: |
| TypeSet | Array of String | Moderation type. Valid when Suggestion is review or block. Format: Form.Label.Form refers to prohibited forms. Value range: Label indicates prohibited tags. Value range: |
| ReviewTime | String | Moderation time in ISO date format. |
Moderation template details
Used by actions: DescribeReviewTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique tag of the moderation template. |
| Name | String | Template Name |
| Comment | String | Template description information. |
| Type | String | Template type. Available values: |
| Labels | Array of String | List of violation labels to return. |
| CreateTime | String | Template creation time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| UpdateTime | String | Template last modified time, use ISO date format. |
Playback information of the carousel program
Used by actions: DescribeCurrentPlaylist.
| Name | Type | Description |
|---|---|---|
| ItemId | String | Playlist item ID, assigned by the system. |
| FileId | String | Media file identifier. |
| StartPlayTime | String | Playback start time in ISO 8601 format. For details, see ISO date format description. |
| Duration | Float | Playback duration in seconds. |
| Progress | Float | Playback progress, in seconds. |
Carousel task information
Used by actions: DescribeRoundPlays.
| Name | Type | Description |
|---|---|---|
| RoundPlayId | String | Carousel playlist identifier. |
| StartTime | String | Playback start time in ISO 8601 format. For details, see ISO date format description. |
| RoundPlaylist | Array of RoundPlayListItemInfo | Carousel list. |
| Name | String | Carousel playbill name. Length limit: 64 characters. |
| Desc | String | Carousel playlist description. Length limit: 256 characters. |
| Status | String | Playback status. Available values: Default value: Enabled. |
| PlayBackMode | String | Playback mode. Optional values: Default value: Loop. |
| Url | String | Carousel playback address. |
| CreateTime | String | Creation time in ISO 8601 format. For details, see ISO date format description. |
| UpdateTime | String | Update time, formatted according to the ISO 8601 standard. For details, see ISO date format description. |
| ExpiredTime | String | Expiration time in ISO 8601 format. For details, see ISO date format description. Playback of the playlist stops after expiry. "9999-12-31T23:59:59+08:00" means it never expires. |
Program information for carousel playback
Used by actions: CreateRoundPlay, DescribeRoundPlays, HandleCurrentPlaylist, ModifyRoundPlay.
| Name | Type | Required | Description |
|---|---|---|---|
| FileId | String | Yes | Media file identifier. |
| AudioVideoType | String | Yes | Played audio and video type. Available values: The format of Type must be HLS format. |
| ItemId | String | No | Play program ID, assigned by the system. |
| Definition | Integer | No | Specify the transcoding template for playback. This parameter is required when AudioVideoType is Transcode. |
Path cache configuration.
By default, the cache expiration time for all files is 30 days.
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleType | String | Yes | Rule type: |
| RulePaths | Array of String | Yes | Matching content under the corresponding type of RuleType: |
| CacheConfig | RuleCacheConfig | Yes | Cache configuration. |
Path cache configuration (select one of the three cache modes)
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Cache | CacheConfigCache | No | Cache configuration. |
| NoCache | CacheConfigNoCache | No | No cache configuration. |
| FollowOrigin | CacheConfigFollowOrigin | No | Follow the origin site configuration. |
DRM key provider information for SDMC.
Used by actions: DescribeDrmKeyProviderInfo, SetDrmKeyProviderInfo.
| Name | Type | Required | Description |
|---|---|---|---|
| Uid | String | Yes | User ID assigned by SDMC, which contains up to 128 characters. |
| SecretId | String | Yes | User secret ID assigned by Huaxida, which contains up to 128 characters. |
| SecretKey | String | Yes | User key content assigned by Huaxida. Maximum length: 128 characters. |
| FairPlayCertificateUrl | String | Yes | FairPlay certificate address assigned by SDMC. This address uses the HTTPS protocol and has a maximum length of 1024 characters. |
Encryption information of a third-party DRM manufacturer.
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ResourceId | String | Yes | Resource tagging. The field content is user-customized. It supports 1-128 characters, including numbers, letters, underscores (_), and hyphens (-). This field corresponds to the cid field in the Speke request. Note: Different DRM manufacturers have different restrictions on this field (for example, SDMC does not support underscores in this field). For specific rules, please confirm with the DRM manufacturer. |
| KeyServerUrl | String | Yes | DRM manufacturer access address. This field content is obtained from the DRM manufacturer. Note: Different DRM manufacturers have different limits on the number of substreams. For example, PallyCon cannot exceed 5 substreams, and DRMtoday supports stream encryption for a maximum of 9 substreams. |
| Vector | String | Yes | Encryption initialization vector (32-byte hexadecimal string). This field content is user-customized. |
| EncryptionMethod | String | No | Encryption method. Available values: |
| EncryptionPreset | String | No | Substream encryption rule. Default: preset 0 |
| KeyAcquireMode | String | No | DRM manufacturer request method. Enumeration values:
Default value: POST |
Task input parameter type for sampling screenshot taking of a video
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Sampled screenshot template ID. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Multiple image or text watermarks up to a maximum of 10 are supported. |
Description of the sampled screenshot template
Used by actions: DescribeSampleSnapshotTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the sampling screenshot template. |
| Type | String | Template type. Valid values: |
| Name | String | Sample screenshot template name. |
| Comment | String | Template description information. |
| Width | Integer | Maximum value of the screenshot width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. |
| Height | Integer | Maximum value of the screenshot height (or short side). Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | Resolution adaptation. Available values: Default value: open. |
| Format | String | Image format. |
| SampleType | String | Sampling screenshot type. |
| SampleInterval | Integer | Sampling interval. |
| CreateTime | String | Template creation time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| UpdateTime | String | Template last modified time, use ISO date format. |
| FillType | String | Filling method. When the width and height parameters in the screenshot configuration are inconsistent with the aspect ratio of the original video, the processing method for the screenshot is "padding". Optional filling methods: Default value: black. |
Configuration of the output media file for a scenario-based AIGC image generation task.
Used by actions: CreateSceneAigcImageTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode Enumeration values:
Default value: Temporary |
| MediaName | String | No | Output filename, up to 64 characters. By default, the system specifies the generated filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category via the Create Category API to obtain the category ID. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| AspectRatio | String | No | Specify the aspect ratio of the generated image. Input format: W:H.
|
| EncodeConfig | ImageSceneAigcEncodeConfig | No | Output image encoding format parameters. |
| ImageWidth | Integer | No | Output image width. Only valid for AI image expansion scenarios. |
| ImageHeight | Integer | No | Output image height. Only valid in AI image expansion scenarios. |
| Resolution | String | No | Output resolution. Only valid for the |
Scenario-based AIGC image generation task info
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned for a source error. If 0 is returned, use the ErrCode of each specific task. |
| Message | String | Error message. |
| Progress | Integer | Task progress, with a value range of [0-100]. |
| Input | SceneAigcImageTaskInput | Input information of the AIGC image generation task. |
| Output | SceneAigcImageTaskOutput | Output information of an AIGC image generation task. |
| SessionId | String | An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Scenario-based AIGC image generation task info
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| SceneInfo | AigcImageSceneInfo | Scenario-based image generation parameter configuration. |
| FileInfos | Array of SceneAigcImageTaskInputFileInfo | List of input images. |
| OutputConfig | SceneAigcImageOutputConfig | Output media file configuration for scenario-based image generation tasks. |
Input file info for the scenario-based AIGC image generation task
Used by actions: CreateSceneAigcImageTask, DescribeTaskDetail, PullEvents.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID of the image file, which is the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification (https://www.tencentcloud.com/document/product/266/7830?from_cn_redirect=1) or the VOD console (https://console.tencentcloud.com/vod/media). This parameter is valid when Type is File. Description: 1. An image less than 7 MB is recommended. 2. Image format. Valid values: jpeg, jpg, png, and webp. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Description: 1. An image less than 7 MB is recommended. 2. Image format. Valid values: jpeg, jpg, png, and webp. |
Output of a scenario-based AIGC image generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of SceneAigcImageTaskOutputFileInfo | Output file information of the AIGC image generation task. |
Information of the output file of a scenario-based AIGC image generation task.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| StorageMode | String | Storage mode. Valid values: |
| MediaName | String | Output filename, up to 64 characters. By default, the system assigns the generated filename. Valid when StorageMode is Permanent. |
| ClassId | Integer | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. Valid when StorageMode is Permanent. |
| ExpireTime | String | Expiry date of the output file. The file will be deleted after this time. By default, it never expires. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| FileType | String | File type, for example, mp4, flv. |
| FileUrl | String | Media file playback address. |
| FileId | String | Media file ID. Valid when StorageMode is Permanent. |
| MetaData | MediaMetaData | Meta information of the output video. Valid when StorageMode is Permanent. |
Output media file configuration for scenario-based AIGC video tasks.
Used by actions: CreateSceneAigcVideoTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| StorageMode | String | No | Storage mode. Valid values: Default value: Temporary |
| MediaName | String | No | Output filename. It can contain up to 64 characters. By default, the system specifies the filename. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the Create Category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. The default is permanent with no expiration. The format follows the ISO 8601 standard. For details, see ISO date format description. |
| AspectRatio | String | No | Aspect ratio of the generated video. Input format: W:H. Only valid for product image scenarios. Options: 16:9, 9:16. |
| Duration | Float | No | Duration of the generated video. Available values: 4, 6, 8 seconds. |
Information of the scenario-based AIGC video task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. A non-zero error code is returned for a source error. If 0 is returned, use the ErrCode of each specific task. |
| Message | String | Error message. |
| Progress | Integer | Task progress, with a value range of [0-100]. |
| Input | SceneAigcVideoTaskInput | Input information of an AIGC video task. |
| Output | SceneAigcVideoTaskOutput | Output information of an AIGC video task. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
Information of scenario-based AIGC video tasks.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| SceneInfo | AigcVideoSceneInfo | Scenario-based image generation parameter configuration. |
| FileInfos | Array of SceneAigcVideoTaskInputFileInfo | List of input images. |
| OutputConfig | SceneAigcVideoOutputConfig | Output media file configuration for scenario-based image generation tasks. |
Input file information of the scenario-based AIGC image task.
Used by actions: CreateSceneAigcVideoTask, DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Input video file type. Valid values: |
| FileId | String | No | Media file ID of the image file, which is the globally unique identifier of the file in VOD, assigned by the VOD backend after successful upload. You can obtain this field in the video upload completion event notification (https://www.tencentcloud.com/document/product/266/7830?from_cn_redirect=1) or the VOD console (https://console.tencentcloud.com/vod/media). This parameter is valid when Type is File. Description: 1. An image less than 7 MB is recommended. 2. Image format. Valid values: jpeg, jpg, png, and webp. |
| Url | String | No | Accessible file URL. This parameter is valid when Type is Url. Description: 1. An image less than 7 MB is recommended. 2. Image format. Valid values: jpeg, jpg, png, and webp. |
Output of scenario-based AIGC video generation tasks.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| FileInfos | Array of SceneAigcImageTaskOutputFileInfo | Output file information for AIGC video task. |
Scratch removal control information
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Scratch control switch. Available values: |
| Intensity | Float | No | Scratch removal strength. Valid only when the scratch control switch is ON. Value range: 0.0–1.0. Default: 0.0. |
| Type | String | No | Scratch removal type. Valid only when the scratch control switch is ON. Available values: Default value: normal. |
Video splitting task recognition control parameters.
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video splitting recognition task switch. Available values: |
Control parameter of the video splitting recognition task
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Video splitting recognition task switch. Value range: |
Semantic search result.
Used by actions: SearchMediaBySemantics.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file unique identifier ID. |
| Title | String | Title generated by Intelligent Media Assets for the current clip |
| Score | Float | Score of the video in this retrieval. A higher score indicates greater similarity to the retrieval value. Value ranges from 0 to 1. |
| StartTimeOffset | Float | Start time of the video clip, unit: seconds |
| EndTimeOffset | Float | End time of the video segment, unit: seconds |
Detail enhancement control
Used by actions: CreateEnhanceMediaTemplate, CreateProcessImageAsyncTemplate, CreateRebuildMediaTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyProcessImageAsyncTemplate, ModifyRebuildMediaTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Detail enhancement control switch. Valid values: |
| Intensity | Float | No | Detail enhancement intensity. Valid only when the detail enhancement control switch is ON. Value range: 0.0–1.0. Default: 0.0. |
Screenshot output information (2017 version)
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| ErrCode | Integer | Error code. |
| TimeOffset | Integer | Screenshot time, in ms. |
| Url | String | Screenshot output file address. |
Video screenshot at specified time task information. This structure is only used for tasks initiated by the 2017 SnapshotByTimeOffset API (https://www.tencentcloud.com/document/product/266/8102?from_cn_redirect=1).
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Screenshot job ID. |
| FileId | String | Screenshot file ID. |
| Definition | Integer | Screenshot specification. See SnapshotByTimeOffset parameter template. |
| SnapshotInfoSet | Array of SnapshotByTimeOffset2017 | Screenshot result info. |
Task input parameter type for screenshot taking at specified time points for a video.
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Time point screenshot template ID. |
| ExtTimeOffsetSet | Array of String | No | List of screenshot time points. Time points support two formats: s and %. |
| TimeOffsetSet | Array of Float | No | List of screenshot time points, in ms. This parameter is not recommended. We recommend that you use the ExtTimeOffsetSet parameter. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Up to 10 image or text watermarks are supported. |
Specified time point screenshot template details.
Used by actions: DescribeSnapshotByTimeOffsetTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the screenshot template at the specified time point. |
| Type | String | Template type. Valid values: |
| Name | String | Screenshot template name at specified time point. |
| Comment | String | Template description information. |
| Width | Integer | Maximum value of the screenshot width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. |
| Height | Integer | Maximum value of the screenshot height (or short side). Value range: 0 and [128, 4096]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | Resolution adaptation. Available values: Default value: open. |
| Format | String | Image format. |
| CreateTime | String | Template creation time in ISO date format (https://www.tencentcloud.com/document/product/266/11732?from_cn_redirect=1#I). |
| UpdateTime | String | Template last modified time, use ISO date format. |
| FillType | String | Filling method. When the width and height parameters in the screenshot configuration are inconsistent with the aspect ratio of the original video, the processing method for the screenshot is "padding". Optional filling methods: Default value: black. |
Sorting basis
Used by actions: DescribeLLMComprehendTemplates, DescribeProcedureTemplates, DescribeTasks, SearchMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Field | String | Yes | Sorting field. |
| Order | String | Yes | Sorting method. Available values: Asc (ascending), Desc (descending). |
Statistical data for the task of the specified specification.
Used by actions: DescribeMediaProcessUsageData.
| Name | Type | Description |
|---|---|---|
| Specification | String | Task specification. |
| Data | Array of TaskStatDataItem | Statistical data. |
Output of the video splitting result file.
Used by actions: DescribeTaskDetail, PullEvents, SplitMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| MediaName | String | No | Output filename, up to 64 characters. By default, the system assigns a generated filename. |
| Type | String | No | Output file format. Available values: mp4, hls. mp4 is selected by default. |
| ClassId | Integer | No | Category ID, used to categorize and manage media. You can create a category and obtain the category ID through the create category API. |
| ExpireTime | String | No | Expiry date of the output file. The file will be deleted after this time. It never expires by default. The format is based on the ISO 8601 standard. For details, see ISO date format description. |
Video splitting task information. This field has a value only when TaskType is SplitMedia.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task stream status. Valid values: |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| ErrCode | Integer | Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.) |
| Message | String | Error message. |
| FileInfoSet | Array of SplitMediaTaskSegmentInfo | Detailed information list of video splitting tasks. |
| SessionContext | String | Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| Progress | Integer | Video splitting task progress, value ranges from 0 to 100. |
Video splitting task configuration information.
Used by actions: SplitMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| StartTimeOffset | Float | No | Start offset time of video splitting, in seconds. |
| EndTimeOffset | Float | No | End time offset of video splitting, in seconds. |
| ProcedureName | String | No | Task flow name. Fill in when you want to automatically execute a task flow on the generated new video. |
| OutputConfig | SplitMediaOutputConfig | No | Video splitting output information. |
Input information of the video splitting task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Video ID. |
| StartTimeOffset | Float | Start time offset of video splitting, in seconds. |
| EndTimeOffset | Float | End time offset of video splitting, in seconds. |
| ProcedureName | String | Task flow name. Fill in if you want to execute a task flow on the generated new video. |
| OutputConfig | SplitMediaOutputConfig | Output information of video splitting. |
Video splitting task information.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Input | SplitMediaTaskInput | Input information of the video splitting task. |
| Output | TaskOutputMediaInfo | Output information of the video splitting task. |
| ProcedureTaskId | String | Task ID of the task type Procedure. If a task flow template (ProcedureName) is specified in the video split task information list when initiating a video splitting task (https://www.tencentcloud.com/document/api/266/51098?from_cn_redirect=1), initiate the task when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, and AiRecognitionTask. |
| ReviewAudioVideoTaskId | String | Task ID of the ReviewAudioVideo type. If a task flow template (ProcedureName) is specified in the video split task information list when initiating a video splitting task (https://www.tencentcloud.com/document/api/266/51098?from_cn_redirect=1), the task is triggered when ReviewAudioVideoTask is specified in the task flow template. |
Statistical data
Used by actions: DescribeCDNStatDetails, DescribeCDNUsageData, DescribeClientUploadAccelerationUsageData, DescribeReviewDetails, DescribeStorageDetails.
| Name | Type | Description |
|---|---|---|
| Time | String | Start time of the time interval where the data resides, using ISO date format. For example, when the time granularity is day, 2018-12-01T00:00:00+08:00 means the interval from December 1, 2018 (inclusive) to December 2, 2018 (exclusive). |
| Value | Integer | Data size. |
Texture information on the texture track.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | String | Yes | Media material source of the texture segment, which can be: Note: When using the download URL of another media file as the material source, and access control (such as anti-hotlinking) is enabled, the URL needs to carry access control parameters (such as a hotlink protection signature). |
| Duration | Float | Yes | Duration of the sticker, in seconds. |
| StartTime | Float | No | Start time of the sticker on the track, in seconds. |
| CoordinateOrigin | String | No | Origin position. Valid values: Default: Center. |
| XPos | String | No | Horizontal position of the texture origin relative to the canvas origin, supporting two formats: % and px. Default value: 0px. |
| YPos | String | No | Vertical position of the texture origin from the canvas origin. Supports two formats: % and px. Default value: 0px. |
| Width | String | No | Width of a sticker, supporting two formats: % and px.Width of a sticker is a percentage of the canvas width. For example, 10% means that Width is 10% of the canvas width. |
| Height | String | No | Height of a sticker, supporting two formats: % and px.Height of a sticker is a percentage of the canvas height. For example, 10% means that Height is 10% of the canvas height. |
| ImageOperations | Array of ImageTransform | No | Operation performed on the texture, such as image rotation. |
Storage region information
Used by actions: DescribeStorageRegions.
| Name | Type | Description |
|---|---|---|
| Region | String | Storage region. |
| Description | String | Store region description information. |
| Status | String | Status. Whether it is enabled. Valid values: |
| IsDefault | Boolean | Whether it is the default storage region. true: yes; false: no. |
| Area | String | Storage area. Valid values: |
Partition stats of VOD storage usage
Used by actions: DescribeStorageData.
| Name | Type | Description |
|---|---|---|
| Area | String | Billing region of VOD storage. Possible values: |
| TotalStorage | Integer | Current total storage capacity, in bytes. |
| InfrequentStorage | Integer | Current infrequent access storage capacity, in bytes. |
| StandardStorage | Integer | Current standard storage capacity, in bytes. |
| ArchiveStorage | Integer | Current archive storage capacity, in bytes. |
| DeepArchiveStorage | Integer | Current deep archive storage capacity, in bytes. |
Sub-application information.
Used by actions: DescribeSubAppIds.
| Name | Type | Description |
|---|---|---|
| SubAppId | Integer | Subapplication ID. |
| SubAppIdName | String | Subapplication name. |
| Description | String | Sub-application description. |
| CreateTime | String | Subapplication creation time in ISO date format. |
| Status | String | Subapplication status. Valid values: |
| Name | String | Subapplication name (this field is not recommended; use the new subapplication name field SubAppIdName instead). |
| Mode | String | Application mode. Valid values: - fileid: FileID mode only - - fileid+path: FileID & Path mode Leave empty to select FileID-only mode by default. |
| StorageRegions | Array of String | Storage region where the sub-application is enabled. |
| Tags | Array of ResourceTag | tag bound to the sub-application. |
Subtitle format list operations.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type. Value range: |
| Formats | Array of String | Yes | Subtitle format list. Value range: |
Subtitle suppression input
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | Yes | Subtitle ID. |
| StreamIndex | Integer | No | Specifies the subtitle track index to be suppressed into the video. The value starts from 0, where 0 indicates usage of the first subtitle track in the source video. This parameter is valid only when Id is SUBTITLE_ID_PLACE_HOLDER. StreamIndex must be consistent with the subtitle track index in the source file. For example, if the subtitle track in the source file is stream#0:3, StreamIndex should be 3. Otherwise, task processing failed. |
| FontType | String | No | Font type. Enumeration values:
Default value: hei.ttf Heiti |
| FontSize | String | No | Font size. If not specified, the font size of the subtitle file applies. Pixel and percentage formats are supported:
|
| FontColor | String | No | Text color, format: 0xRRGGBB. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | No | Text opacity. Value ranges from 0 to 1.
Default value: 1 |
| YPos | String | No | Subtitle Y-coordinate position. Specify this parameter to ignore the built-in coordinates in the subtitle file. Supports pixel and percentage formats:
|
| BoardY | String | No | Y-coordinate position of the subtitle background base plate. Supports pixel and percentage formats:
|
| BoardWidth | String | No | Width of the base plate, a positive integer.
|
| BoardHeight | String | No | Height of the base plate, a positive integer.
|
| BoardColor | String | No | Base plate color. Format: 0xRRGGBB. Default value: 0x000000 (black). |
| BoardAlpha | Float | No | Subtitle background transparency. Value range: [0, 1].
Default value: 0.8. |
| Alignment | String | No | Alignment mode. Enumeration values:
Default value: bottom |
| OutlineWidth | String | No | Stroke width. Floating-point number.
By default if left blank, it is 0.3% of the source video height. |
| OutlineColor | String | No | Border color. Format: 0xRRGGBB. Default value: 0x000000 (black). |
| OutlineAlpha | Float | No | Stroke transparency. The value should be a positive floating-point number in the range of (0, 1].
Default value: 1 |
| ShadowWidth | String | No | Shadow width. Floating-point number.
|
| ShadowColor | String | No | Shadow color. Format: 0xRRGGBB. Default value: 0x000000 (black) if shadow is set. |
| ShadowAlpha | Float | No | Shadow transparency. The value should be a positive floating-point number in the range of (0, 1].
Default value: 1, which means completely opaque, with shadow configured. |
| LineSpacing | String | No | Line spacing. Positive integer.
Default value: 0 |
Image super-resolution control parameters.
Used by actions: CreateEnhanceMediaTemplate, CreateProcessImageAsyncTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyProcessImageAsyncTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Super resolution control switch. Optional values: |
| Type | String | No | Super resolution type. It is valid only when the super resolution control switch is ON. Available values: Default value: lq. |
| Size | Integer | No | Super resolution multiple. Available value: 2. Default value: 2. |
Input parameters of the SVG watermark template.
Used by actions: CreateWatermarkTemplate, DescribeWatermarkTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | String | No | Width of a watermark, supporting six formats: px, %, W%, H%, S%, and L%. When Height is not 0px, it means the width of the watermark is proportionally scaled based on the original SVG image. When both Width and Height are set to 0px, it means the width of the watermark is the width of the original SVG image. Width of a watermark is a percentage of a video's width. For example, 10W% means that Width is 10% of a video's width.Width of a watermark is a percentage of a video's height. For example, 10H% means that Width is 10% of a video's height.Width of a watermark is a percentage of a video's short side. For example, 10S% means that Width is 10% of a video's short side.Width of a watermark is a percentage of the long side of the video. For example, 10L% means that Width is 10% of the long side of the video.Default value: 10W%. |
| Height | String | No | Height of a watermark, supporting six formats: px, W%, H%, S%, and L%. When Width is not 0px, it means the height of the watermark is proportionally scaled based on the original SVG image. When both Width and Height are set to 0px, it means the height of the watermark is the height of the original SVG image. Height of a watermark is a percentage of a video's width. For example, 10W% means that Height is 10% of a video's width.Height of a watermark is a percentage of a video's height. For example, 10H% means that Height is 10% of a video's height.Height of a watermark is a percentage of the video's short side. For example, 10S% means that Height is 10% of the video's short side.Height of a watermark is a percentage of the long side of the video. For example, 10L% means that Height is 10% of the long side of the video.Default value: 0px. |
SVG watermark template input parameters.
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | String | No | Width of a watermark, supporting six formats: px, %, W%, H%, S%, and L%. When Height is not 0px, it means the width of the watermark is proportionally scaled based on the original SVG image. When both Width and Height are set to 0px, it means the width of the watermark is the width of the original SVG image. Width of a watermark is a percentage of a video's width. For example, 10W% means that Width is 10% of a video's width.Width of a watermark is a percentage of a video's height. For example, 10H% means that Width is 10% of a video's height.Width of a watermark is a percentage of a video's short side. For example, 10S% means that Width is 10% of a video's short side.Width of a watermark is a percentage of the long side of the video. For example, 10L% means that Width is 10% of the long side of the video.Default value: 10W%. |
| Height | String | No | Height of a watermark, supporting six formats: px, %, W%, H%, S%, and L%. When Width is not 0px, it means the height of the watermark is proportionally scaled based on the original SVG image. When both Width and Height are 0px, it means the height of the watermark is the height of the original SVG image. Height of a watermark is a percentage of a video's width. For example, 10W% means that Height is 10% of a video's width.Height of a watermark is a percentage of a video's height. For example, 10H% means that Height is 10% of a video's height.Height of a watermark is a percentage of the video's short side. For example, 10S% means that Height is 10% of the video's short side.Height of a watermark is a percentage of the long side of a video. For example, 10L% means that Height is 10% of the long side of a video.Default value: 0px. |
Parameter configuration for top speed Codec.
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Top speed codec type. Available values: |
| MaxVideoBitrate | Integer | No | Maximum video bitrate. Valid when Type is specified as top speed Codec. If not specified or set to 0, VOD automatically sets the bitrate cap. |
Top Speed Codec parameter configuration.
Used by actions: CreateProcedureTemplate, ModifyTranscodeTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Top speed Codec type. Available values: |
| MaxVideoBitrate | Integer | No | Maximum video bitrate. If not specified, no modification is made. |
Intelligent Tag Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent tag task switch. Available values: |
Control parameters of intelligent tag tasks
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent tag task switch. Available values: |
Information of the output media file of a video processing task
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| FileId | String | Media file ID. |
| MediaBasicInfo | MediaBasicInfo | Basic information of the media file generated after pull conversion. |
Task summary information.
Used by actions: DescribeTasks.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: WAITING (Waiting), PROCESSING (Processing), FINISH (Completed), ABORTED (Terminated). |
| FileId | String | Video ID. |
| TaskType | String | Task type. Value: Task types compatible with the 2017 version: |
| CreateTime | String | Task creation time in ISO datetime format. |
| BeginProcessTime | String | Task execution start time in ISO datetime format. If the task has not started, this field is empty. |
| FinishTime | String | Task end time in ISO date format. If the task is not completed yet, this field is empty. |
| SessionId | String | Identification code for deduplication, if there has been a request with the same identifier within the past seven days. |
| SessionContext | String | Source context, used to pass through user request information. |
Statistical data of video processing tasks.
Used by actions: DescribeMediaProcessUsageData.
| Name | Type | Description |
|---|---|---|
| TaskType | String | Task type. |
| Summary | Array of TaskStatDataItem | Statistical data overview of the number of tasks. Amount unit: seconds. |
| Details | Array of SpecificationDataItem | Details of task statistics data for varying specifications. Transcoding specification: Watermark removal and audio and video quality revival specifications: Real-time transcoding specification: Video screenshot specification: |
Statistical data of the task, including the number of tasks and usage.
Used by actions: DescribeAigcUsageData, DescribeMediaProcessUsageData.
| Name | Type | Description |
|---|---|---|
| Time | String | Start time of the time interval where the data resides, using ISO date format. For example, when the time granularity is day, 2018-12-01T00:00:00+08:00 means the interval from December 1, 2018 (inclusive) to December 2, 2018 (exclusive). |
| Count | Integer | Number of tasks. |
| Usage | Integer | Task usage. |
Temporary credentials
Used by actions: ApplyUpload.
| Name | Type | Description |
|---|---|---|
| SecretId | String | Temporary security credential Id. |
| SecretKey | String | Temporary security credential Key. |
| Token | String | Token value. |
| ExpiredTime | Integer | The time when the certificate is invalid. Return a Unix timestamp accurate to the second. |
Task control parameters for authentication that involve unsafe information
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | TerrorismImgReviewTemplateInfo | No | Task control parameter for image recognition involving unsafe information. |
| OcrReviewInfo | TerrorismOcrReviewTemplateInfo | No | Task control parameter for text identification involving unsafe information. |
Task control parameters for authentication involving unsafe information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | TerrorismImgReviewTemplateInfoForUpdate | No | Task control parameter for image recognition involving unsafe information. |
| OcrReviewInfo | TerrorismOcrReviewTemplateInfoForUpdate | No | Task control parameter for text recognition involving unsafe information. |
Task control parameter for image recognition involving unsafe content
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for image recognition involving unsafe information. Available values: |
| LabelSet | Array of String | No | Image recognition involves filter tags for unsafe information. If the review result contains the selected tag, the result will be returned. If the filter tag is empty, all auditing results will be returned. Optional values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 90 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. If not specified, it defaults to 80 points. Value range: 0–100. |
Task control parameters for image recognition involving unsafe information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for image recognition involving unsafe information. Available values: |
| LabelSet | Array of String | No | Image recognition involves filter tags for unsafe information. If the review result contains the selected tag, the result will be returned. If the filter tag is empty, all auditing results will be returned. Available values are: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. Value range: 0–100. |
Task control parameters for text recognition involving unsafe information
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for text recognition involving unsafe information. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
Task control parameter for text recognition involving unsafe information
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for text recognition involving unsafe information. Available values: |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. Default value: 100. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is required. If not specified, the default is 75. Value range: 0–100. |
Input of the speech synthesis task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| VoiceId | String | Voice ID. |
| Text | String | Text to convert to speech. |
| LanguageBoost | String | Text to speech language. |
| ExtParam | String | Extended parameters in the format of a JSON string. |
Output of the speech synthesis task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| AudioUrl | String | URL of the synthetic audio result |
| VoiceId | String | Used voice ID. |
| ExtInfo | String | Extended information. |
| FileId | String | FileId of the synthetic audio result |
Output parameter settings for asynchronous dubbing.
Used by actions: TextToSpeechAsync.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Output type of the synthesis result. Enumeration values:
|
Speech synthesis task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and other values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see video processing error codes. |
| Input | TextToSpeechAsyncInput | Text to speech task input information. |
| Output | TextToSpeechAsyncOutput | Text to speech task output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
| Progress | Integer | Pull the upload progress, with a value range of [0-100]. |
Synchronous text to speech output parameter settings
Used by actions: TextToSpeechSync.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Output type of the synthesis result. Enumeration values:
|
Text watermarking template
Used by actions: CreateWatermarkTemplate, DescribeWatermarkTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | Yes | Font type. Currently, two are supported: |
| FontSize | String | Yes | Font size. Format: Npx, where N is a numerical value. |
| FontColor | String | Yes | Font color. Format: 0xRRGGBB. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | Yes | Text opacity, value ranges from 0 to 1. Default value: 1. |
Text watermarking template
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | No | Font type. Currently two are supported: |
| FontSize | String | No | Font size. Format: Npx, where N is a numerical value. |
| FontColor | String | No | Text color. Format: 0xRRGGBB. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | No | Text opacity, value ranges from 0 to 1. |
Third-party Drm encryption information.
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| DrmTypes | Array of String | Yes | Encryption type:
|
| SPEKEDrm | SPEKEDrm | No | Third-party DRM vendor information. |
Universal data type for description of a time period.
Used by actions: DescribeRoundPlays, DescribeTasks, SearchMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| After | String | No | |
| Before | String | No |
Watermark parameters for source tracing
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Traceability watermark task switch. Required. Available values: |
Playback information of video transcoding (2017)
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| Url | String | Playback address. |
| Definition | Integer | Transcoding specification ID. See transcoding parameter template. |
| Bitrate | Integer | Sum of the mean video stream bitrate and mean audio stream bitrate. Unit: bps. |
| Height | Integer | Maximum height of the video stream. Measurement unit: px. |
| Width | Integer | Maximum video stream width in px. |
Video transcoding task information. This structure is only used for tasks initiated via the 2017 video transcoding API.
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Transcoding task ID. |
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| FileId | String | Transcoded file ID. |
| FileName | String | Name of the transcoded file. |
| Duration | Integer | Video duration, in seconds. |
| CoverUrl | String | Address of a cover. |
| PlayInfoSet | Array of TranscodePlayInfo2017 | Playback information generated after video transcoding. |
Transcode task input parameter type
Used by actions: CreateProcedureTemplate, DescribeTaskDetail, ProcessMedia, PullEvents, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video transcoding template ID. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Up to 10 image or text watermarks are supported. |
| TraceWatermark | TraceWatermarkInput | No | Traceable watermark. |
| CopyRightWatermark | CopyRightWatermarkInput | No | Copyright watermark. |
| BlindWatermark | BlindWatermarkInput | No | Digital watermark. |
| MosaicSet | Array of MosaicInput | No | Mosaic list. Up to 10 images are supported. |
| HeadTailSet | Array of HeadTailTaskInput | No | Opening and ending content list. Up to 10 opening and ending contents are supported. |
| StartTimeOffset | Float | No | Start time offset of the transcoded video, in seconds. |
| EndTimeOffset | Float | No | End time offset of the transcoded video, in seconds. |
| OverrideParameter | OverrideTranscodeParameter | No | Custom video transcoding parameters. |
| SubtitleInfoSet | Array of SubtitleInfoInput | No | Subtitle suppression information list. Up to 2 are supported. |
Transcode template detail
Used by actions: DescribeTranscodeTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | String | Unique identifier of the transcoding template. |
| Container | String | Container format. Valid values: mp4, flv, hls, mp3, flac, ogg. |
| Name | String | Transcoding template name. |
| Comment | String | Template description information. |
| Type | String | Template type. Valid values: |
| RemoveVideo | Integer | Indicates whether to remove video data. Valid values: |
| RemoveAudio | Integer | Indicates whether to remove audio data. Valid values: |
| VideoTemplate | VideoTemplateInfo | Video stream configuration parameters. This field is valid only when RemoveVideo is 0. |
| AudioTemplate | AudioTemplateInfo | Audio stream configuration parameters. This field is valid only when RemoveAudio is 0. |
| TEHDConfig | TEHDConfig | Top Speed Codec transcoding parameters. |
| EnhanceConfig | EnhanceConfig | Audio/video enhancement configurations. |
| ContainerType | String | Container format filter criteria. Available values: |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Last template modification time, in ISO date format. |
| SegmentType | String | Segment type. It is valid only when Container is hls. |
| StdExtInfo | String | Extended parameter. |
Transition operation
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Transition type. Valid values:
|
TRTC simultaneous recording information.
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Description |
|---|---|---|
| SdkAppId | Integer | TRTC application ID. |
| RoomId | String | TRTC room ID. |
| TaskId | String | Recording task ID. |
| UserIds | Array of String | User ID list of the recording participants. |
Signature-based Key anti-leech information
Used by actions: DescribeVodDomains, ModifyVodDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Status | String | Yes | Key hotlink protection setting status. Available values: |
| EncryptedKey | String | No | Key used for generating signature in Key hotlink protection. The length of the EncryptedKey string is 8–40 bytes. It cannot contain invisible characters. |
UserAgent blocklist and allowlist configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | UserAgent allowlist/blocklist configuration switch. Valid values:on: Enable;off: Cache. |
| FilterRules | Array of UserAgentFilterRule | No | List of effective UserAgent blocklist/allowlist rules. |
UserAgent blocklist and allowlist rule configuration
Used by actions: CreateCDNDomain, ModifyCDNDomainConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| FilterType | String | Yes | UA allowlist/blocklist type: |
| UserAgents | Array of String | Yes | UserAgent list. |
| RuleType | String | Yes | Rule type: |
| RulePaths | Array of String | Yes | Matching content under the corresponding type of RuleType: |
Control parameters of the user-defined voice moderation task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | User-defined speech audit task switch. Available values: |
| LabelSet | Array of String | No | User-customized voice filter tags. The auditing results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. To use the tag filtering feature, add the corresponding tag when adding custom voice keyword material. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for suspected violations. If the intelligent review score reaches or exceeds this value, the content is deemed as suspected violation. Default value: 100. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is considered necessary. If not specified, the default is 75 points. Value range: 0–100. |
Control parameters of a custom voice moderation task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | User-defined speech audit task switch. Available values: |
| LabelSet | Array of String | No | User-customized voice filter tags. The review results including the selected tags are returned. If the filter tag is empty, all review results will be returned. To use the tag filtering feature, add the corresponding tag when adding custom voice keyword material. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is required. Value range: 0–100. |
Control parameters of the user-defined audio/video moderation task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| FaceReviewInfo | UserDefineFaceReviewTemplateInfo | No | Control parameter for video moderation of user-defined characters. |
| AsrReviewInfo | UserDefineAsrTextReviewTemplateInfo | No | User-customized control parameters for voice audio and video moderation. |
| OcrReviewInfo | UserDefineOcrTextReviewTemplateInfo | No | User custom text audio/video moderation control parameter. |
User-customized audio/video moderation task control parameters.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FaceReviewInfo | UserDefineFaceReviewTemplateInfoForUpdate | No | Control parameter for user-defined character audio/video moderation. |
| AsrReviewInfo | UserDefineAsrTextReviewTemplateInfoForUpdate | No | User-customized voice audio and video review control parameter. |
| OcrReviewInfo | UserDefineOcrTextReviewTemplateInfoForUpdate | No | User-customized control parameters for text, audio, and video moderation. |
Control parameters of a user-defined character audio/video moderation task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for the user-defined character audio/video moderation task. Available values: |
| LabelSet | Array of String | No | User-defined character filter tags. The audio/video moderation results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. To use the tag filtering feature, add the corresponding character tag when adding a custom facial library. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 97 points. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for violations that require manual review. If the review score reaches this threshold, manual review is required. Default value: 95. Value range: 0–100. |
User-defined character control parameters for audio/video moderation tasks.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch for user-defined character audio/video moderation tasks. Available values: |
| LabelSet | Array of String | No | User-defined character filter tags. The audio/video moderation results including the selected tags are returned. If the filter tag is empty, all audio/video moderation results will be returned. To use the tag filtering feature, add the corresponding character tag when adding a custom facial library. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the video moderation score reaches or exceeds this threshold, it is considered a suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the video moderation score reaches or exceeds this value, manual review is considered necessary. Value range: 0–100. |
User-defined custom text audio/video moderation task control parameters.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch for custom text, audio, and video moderation tasks. Available values: |
| LabelSet | Array of String | No | User-customized text filter tags. The audio/video moderation results including the selected tags are returned. If the filter tag is empty, all audio/video moderation results will be returned. To use the tag filtering feature, add the corresponding tag when adding custom text keyword material. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches or exceeds this threshold, it is considered a suspected violation. If not specified, it defaults to 100 points. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is deemed necessary. If not specified, it defaults to 75 points. Value range: 0–100. |
User-customized control parameters for text and audio/video moderation tasks.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch for custom text audio/video moderation tasks. Available values: |
| LabelSet | Array of String | No | User-customized text filter tags. The audio/video moderation results including the selected tags are returned. If the filter tag is empty, all audio/video moderation results will be returned. To use the tag filtering feature, add the corresponding tag when adding custom text keyword material. The number of tags can be up to 10, and each tag can contain up to 16 characters. |
| BlockConfidence | Integer | No | Threshold score for determining suspected violations. When the review score reaches this threshold or above, it is considered a suspected violation. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for determining whether manual review is required for violations. When the review score reaches or exceeds this threshold, manual review is required. Value range: 0–100. |
JIT transcoding video template configuration.
Used by actions: CreateJustInTimeTranscodeTemplate, DescribeJustInTimeTranscodeTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 1920]. Default value: 0. |
| Height | Integer | No | Maximum value of the video stream height (or short side). Value range: 0 and [128, 1920]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: Default value: open. |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 10000]. Unit: kbps. When the value is 0, VOD sets the bitrate automatically. |
Instant transcoding template update configuration.
Used by actions: ModifyJustInTimeTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 1920]. Default value: 0. |
| Height | Integer | No | Maximum value of the video stream height (or short side). Value range: 0 and [128, 1920]. Unit: px. Default value: 0. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: Default value: open. |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 10000]. Unit: kbps. When the value is 0, VOD automatically sets the bitrate. |
Video noise reduction control parameters
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, CreateTranscodeTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, ModifyTranscodeTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Video noise reduction control switch. Available values: |
| Type | String | No | Video noise reduction type. Valid only when the video noise reduction control switch is ON. Available values: Default value: weak. |
Input file for the video dubbing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| InputUrl | String | Input video Url |
| InputFileId | String | FileId of the input video |
| SrcLanguage | String | Video source language. The default value is zh. |
| DstLanguage | String | Target language of the video. Default: en |
| Model | String | Dubbing model |
Output of the video dubbing task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| ResultUrl | String | Dubbing result Url |
| FileId | String | Dubbing result FileId |
Timbre design task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success, and additional values indicate failure: |
| Message | String | Error message. |
| ErrCodeExt | String | Error code. An empty string indicates success, and other values indicate failure. For values, see Video Processing Error Codes. |
| Input | VideoDubbingAsyncInput | Video dubbing task input information. |
| Output | VideoDubbingAsyncOutput | Video dubbing task output information. |
| SessionId | String | Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed. |
| SessionContext | String | Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters. |
| Progress | Integer | Pull upload progress. Value range: [0-100]. |
Video enhancement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| EnhanceScenarioType | String | No | Enhancement scenario configuration. Valid values: |
| SuperResolution | SuperResolutionInfo | No | Super-resolution configuration. If the source resolution is higher than the target resolution, the video will not be processed. Note that it cannot be enabled simultaneously with large model enhancement. |
| Hdr | HDRInfo | No | HDR configuration. |
| Denoise | VideoDenoiseInfo | No | Video noise reduction configuration. Note that it cannot be enabled simultaneously with large model enhancement. |
| ImageQualityEnhance | ImageQualityEnhanceInfo | No | Comprehensive enhancement configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. |
| ColorEnhance | ColorEnhanceInfo | No | Color enhancement configuration. |
| LowLightEnhance | LowLightEnhanceInfo | No | Low-light enhancement configuration. |
| ScratchRepair | ScratchRepairInfo | No | Scratch configuration. |
| ArtifactRepair | ArtifactRepairInfo | No | Artifacts removal configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. |
| DiffusionEnhance | DiffusionEnhanceInfo | No | LLM enhancement configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. It cannot be enabled simultaneously with super resolution or noise reduction. |
| FrameRateWithDen | FrameRateWithDenInfo | No | Frame interpolation frame rate configuration. Fractions are supported. Note that you can only specify either this parameter or FrameRate. The capacity will not take effect when the source frame rate is equal to or greater than the target frame rate. |
Intelligent frame interpolation control parameters
Used by actions: CreateEnhanceMediaTemplate, CreateRebuildMediaTemplate, DescribeTaskDetail, ModifyEnhanceMediaTemplate, ModifyRebuildMediaTemplate, PullEvents, RebuildMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent frame interpolation control switch. Valid values: |
| Fps | Integer | No | Intelligent frame interpolation frame rate. Value range: (0, 100]. Valid only when the intelligent frame interpolation control switch is ON. Default: match the source file frame rate. |
Video stream configuration parameters
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Video stream encoding format. Available values: |
| Fps | Integer | Yes | Video frame rate. Value range: [0, 100]. Unit: Hz. |
| Bitrate | Integer | Yes | Bitrate of video stream. Value range: 0 and [128, 100000]. Unit: kbps. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: |
| Width | Integer | No | The maximum value of the video stream width (or long side). Valid values: 0 and [128, 8192]. Unit: px. |
| Height | Integer | No | The maximum value of the video stream height (or short side). Valid values: 0 and [128, 8192]. Unit: px. |
| FillType | String | No | Filling method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the processing method for transcoding is "fill". Optional filling modes: |
| Vcrf | Integer | No | Control factor for constant video bitrate. Value range: [1, 51]. Note: |
| Gop | Integer | No | Interval between I-frames, in frames. Value range: 0 and [1, 100000]. |
| GopUnit | String | No | Gop value unit. Enumeration values:
Default value: frame |
| PreserveHDRSwitch | String | No | Whether the transcoding output remains HDR when the raw video is HDR (High Dynamic Range). Value range: |
| CodecTag | String | No | Encoding tag. It is valid only when the video stream encoding format is H.265. Available values: |
| Mode | String | No | Bitrate control mode. Enumeration values:
Default value: VBR |
| Bframes | Integer | No | Number of B-frames between reference frames. The default is auto. Value range: [0, 16] |
| HlsTime | Integer | No | Average shard duration. 0 or empty means auto, and an appropriate shard duration will be automatically selected based on features such as the video GOP. Value range: [0, 10] Unit: second Supports only transcoding templates. Adaptive bitrate templates are not currently supported. |
| VideoProfile | String | No | A predefined group of encoding tools or features allowed in the video encoding standard, suitable for different scenarios. Enumeration values:
Default value: default This configuration item is valid only when Codec is libx264. |
Video stream configuration parameters
Used by actions: CreateProcedureTemplate, ModifyTranscodeTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Video stream encoding format. Available values: |
| Fps | Integer | No | Video frame rate. Value range: [0, 100]. Unit: Hz. |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 100000]. Unit: kbps. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: |
| Width | Integer | No | The maximum value of the video stream width (or long side). Valid values: 0 and [128, 8192]. Unit: px. |
| Height | Integer | No | Maximum height (or short side) of the video stream. Value range: 0 and [128, 8192]. Unit: px. |
| FillType | String | No | Filling method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the processing method for transcoding is "fill". Optional filling modes: |
| Vcrf | Integer | No | Control factor for constant video bitrate. Value range: [1, 51]. 0 indicates that it is disabled. Note: |
| Gop | Integer | No | Interval between I-frames, in frames. Value range: 0 and [1, 100000]. |
| PreserveHDRSwitch | String | No | When the original video is HDR (High Dynamic Range), whether the transcoding output remains HDR. Value range: |
| CodecTag | String | No | Encoding tag. Valid only when the video stream encoding format is H.265. Available values: |
| GopUnit | String | No | Gop value unit. Enumeration values:
Default value: frame |
| Mode | String | No | Bitrate control mode. Enumeration values:
Default value: VBR |
| Bframes | Integer | No | Maximum number of consecutive B-frames. The default is auto, and -1 means change to automatic. Value range: [-1, 16] |
| HlsTime | Integer | No | Average shard duration. 0 or left empty means auto, which will automatically choose an appropriate shard duration based on video features such as GOP. Value range: [0, 10] Unit: seconds Supports only transcoding templates, not adaptive bitrate stream templates. |
| VideoProfile | String | No | A predefined combination of encoding tools or features allowed in a video encoding standard, suitable for different scenarios. Enumeration values:
default value: default This configuration item is valid only when Codec is libx264. |
Video clip information of the video track.
Used by actions: ComposeMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | String | Yes | Media material source of the video clip, which can be: Note: When using the download URL of another media file as the material source, and access control (such as anti-hotlinking) is enabled, the URL needs to carry access control parameters (such as a hotlink protection signature). |
| SourceMediaStartTime | Float | No | Start time of the video clip in the material file, in seconds. Default value: 0. |
| Duration | Float | No | Video segment duration in seconds. The default value is the length of the video material itself, which means the entire material is captured. If the source file is an image, Duration must be greater than 0. |
| TargetDuration | Float | No | Target duration of the video clip, in seconds. |
| CoordinateOrigin | String | No | Video origin position. Valid values: Default value: Center. |
| XPos | String | No | Horizontal position of the origin point of a video clip relative to the origin of the canvas. Supports two formats: % and px. Default value: 0px. |
| YPos | String | No | Vertical position of the origin point of a video clip relative to the origin of the canvas. Supports % and px.YPos of a video clip is at a specified percentage of the canvas height. For example, 10% means that YPos is at 10% of the canvas height.Default value: 0px. |
| Width | String | No | Width of a video clip, supporting two formats: % and px.Width of a video clip is a percentage of the canvas width. For example, 10% means that Width is 10% of the canvas width. |
| Height | String | No | Height of a video clip, supporting two formats: % and px.Height of a video clip is a percentage of the canvas height. For example, 10% means that Height is 10% of the canvas height. |
| AudioOperations | Array of AudioTransform | No | Perform operations on audio, such as muting. |
| ImageOperations | Array of ImageTransform | No | Operation performed on the image, such as image rotation. |
Control parameters for audio (mute, bass, pop) detection.
Used by actions: CreateQualityInspectTemplate, DescribeQualityInspectTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Audio (mute, bass, pop) detection switch. Available values: |
Control parameters for audio (mute, bass, pop) detection.
Used by actions: ModifyQualityInspectTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Audio (mute, bass, pop) detection switch. Available values: |
Voice information.
Used by actions: DescribeVoices, UpdateVoice.
| Name | Type | Required | Description |
|---|---|---|---|
| VoiceId | String | No | Voice ID. |
| Name | String | No | Voice name. |
| Description | String | No | Voice description. |
| Category | String | No | Voice type. Enumeration values:
|
| Gender | String | No | Gender. Enumeration values:
|
| Age | String | No | Age. Enumeration values:
|
| Languages | Array of String | No | List of supported languages. For example: en. |
| AudioUrl | String | No | Audition audio URL. |
| Labels | Array of String | No | List of tags. For example: gentle. |
| Scenes | Array of String | No | Recommended scenarios. For example: education. |
Voice attribute.
Used by actions: DescribeTaskDetail, DesignVoiceAsync.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | No | Voice name. |
| Description | String | No | Voice description. |
| Gender | String | No | Gender. Enumeration values:
|
| Age | String | No | Age. Enumeration values:
|
| Languages | Array of String | No | Language. Supported languages: |
| Labels | Array of String | No | Tag. |
| Scenes | Array of String | No | Scenario. |
Fields of the updated voice.
Used by actions: UpdateVoice.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | No | Voice name. |
| Description | String | No | Voice description. |
| Gender | String | No | Gender. Enumeration values:
|
| Age | String | No | Age. Enumeration values:
|
| Languages | Array of String | No | Language. |
| Labels | Array of String | No | Tag. |
| Scenes | Array of String | No | Scenario. |
| AudioUrl | String | No | Audition audio. |
Watermark template configuration for JIT transcoding.
Used by actions: DescribeJustInTimeTranscodeTemplates.
| Name | Type | Description |
|---|---|---|
| Switch | String | Whether to enable watermark. Valid values: |
| Url | String | Watermark Url. |
| Width | String | Width of a watermark.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width. |
| Height | String | Height of the watermark.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height. |
| XPos | String | Horizontal position of the watermark origin relative to the origin of coordinates of the video image. A string ending with % means the watermark XPos is a specified percentage of the video width. For example, 10% means XPos is 10% of the video width. |
| YPos | String | Vertical position of the watermark origin relative to the origin of coordinates of the video image. When the string ends with %, the watermark YPos is the specified percentage of the video height. For example, 10% means YPos is 10% of the video height. |
Watermark template configuration for JIT transcoding.
Used by actions: CreateJustInTimeTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to enable watermark. Valid values: |
| ImageContent | String | No | Base64-encoded string of the watermark image. Supports jpeg and png formats. |
| Width | String | No | Width of a watermark.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width. |
| Height | String | No | Height of the watermark.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height. |
| XPos | String | No | Horizontal position of the watermark origin relative to the origin of coordinates of the video image. A string ending with % means the watermark XPos is a specified percentage of the video width. For example, 10% means XPos is 10% of the video width. |
| YPos | String | No | Vertical position of the watermark origin relative to the origin of coordinates of the video image. When the string ends with %, it means the watermark YPos is a specified percentage of the video height. For example, 10% means YPos is 10% of the video height. |
Update the watermark template configuration for JIT transcoding.
Used by actions: ModifyJustInTimeTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable watermark. Valid values: |
| ImageContent | String | No | Base64-encoded string of the watermark image. Supports jpeg and png image formats. |
| Width | String | No | Width of a watermark.Width of a watermark is a percentage of a video's width. For example, 10% means that Width is 10% of a video's width. |
| Height | String | No | Height of the watermark.Height of a watermark is a percentage of a video's height. For example, 10% means that Height is 10% of a video's height. |
| XPos | String | No | Horizontal position of the watermark origin relative to the origin of coordinates of the video image. A string ending with % means the watermark XPos is a specified percentage of the video width. For example, 10% means XPos is 10% of the video width. |
| YPos | String | No | Vertical position of the watermark origin relative to the origin of coordinates of the video image. When the string ends with %, the watermark YPos is the specified percentage of the video height. For example, 10% means YPos is 10% of the video height. |
Watermark parameter type in a video processing task.
Used by actions: CreateProcedureTemplate, ProcessMedia, ResetProcedureTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Watermark template ID. |
| TextContent | String | No | Text content, up to 100 characters. This field is required only when the watermark type is text. Text watermarks do not support watermarking screenshots. |
| SvgContent | String | No | SVG content. Length not exceeding 2,000,000 characters. Fill in only when the watermark type is SVG watermark. SVG watermark does not support watermarking screenshots. |
| StartTimeOffset | Float | No | Start time offset of a watermark, in seconds. If not set or set to 0, a watermark starts appearing when a video starts. |
| EndTimeOffset | Float | No | End time offset of a watermark, in seconds. |
Watermark template details.
Used by actions: DescribeWatermarkTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Watermark template unique identifier. |
| Type | String | Watermark type. Valid values: |
| Name | String | Watermark template name. |
| Comment | String | Template description information. |
| XPos | String | Horizontal position of the watermark image origin point relative to the video origin point.Left of a watermark is a position at a specified percentage of a video's width. For example, 10% means that Left is 10% of a video's width. |
| YPos | String | Vertical position of the watermark image origin point relative to the video image origin point.Top of a watermark is a position at a specified percentage of a video's height. For example, 10% means that Top is 10% of a video's height. |
| ImageTemplate | ImageWatermarkTemplate | Image watermark template. This field is valid only when Type is image. |
| TextTemplate | TextWatermarkTemplateInput | Text watermarking template. This field is valid only when Type is text. |
| SvgTemplate | SvgWatermarkInput | SVG watermark template. This field is valid when Type is svg. |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Template last modified time, use ISO date format. |
| CoordinateOrigin | String | Origin position. Valid values: |
Panoramic recording information.
Used by actions: DescribeMediaInfos, DescribeTaskDetail, PullEvents, SearchMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| RecordUrl | String | No | Panoramic recording URL. |
| RecordTaskId | String | No | Panoramic recording task ID. |
WeChat Mini Program publishing task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: WAITING PROCESSING: Processing; FINISH: completed. |
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| FileId | String | Publish the video file ID. |
| SourceDefinition | Integer | Transcoding template ID of the published video. 0 represents the original video. |
| PublishResult | String | WeChat Mini Program Video Publishing status. Parameter Value: |
WeChat Mini Program publishing task type
Used by actions: DescribeProcedureTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceDefinition | Integer | Yes | Transcoding template ID of the published video. 0 represents the original video. |
WeChat publishing task information
Used by actions: DescribeTaskDetail, PullEvents.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: WAITING: waiting. PROCESSING: Processing; FINISH: completed. |
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| FileId | String | Video file ID to publish. |
| Definition | Integer | Template ID for publishing on WeChat. |
| SourceDefinition | Integer | Transcoding template ID of the published video. 0 represents the original video. |
| WechatStatus | String | WeChat publishing status. Valid values: |
| WechatVid | String | WeChat Vid. |
| WechatUrl | String | WeChat address. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan