AI-based intelligent analysis template details
Used by actions: DescribeAIAnalysisTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of intelligent analysis template. |
| Name | String | Intelligent analysis template name. |
| Comment | String | Intelligent analysis template description. |
| ClassificationConfigure | ClassificationConfigureInfo | Control parameter of intelligent categorization task. |
| TagConfigure | TagConfigureInfo | Control parameter of intelligent tagging task. |
| CoverConfigure | CoverConfigureInfo | Control parameter of intelligent cover generating task. |
| FrameTagConfigure | FrameTagConfigureInfo | Control parameter of intelligent frame-specific tagging task. |
| CreateTime | String | Creation time of template in ISO date format. |
| UpdateTime | String | Last modified time of template in ISO date format. |
| Type | String | The template type. Valid values: * Preset * Custom Note: This field may return null, indicating that no valid value can be obtained. |
Details of a video content recognition template
Used by actions: DescribeAIRecognitionTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of a video content recognition template. |
| Name | String | Name of a video content recognition template. |
| Comment | String | Description of a video content recognition template. |
| FaceConfigure | FaceConfigureInfo | Face recognition control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| OcrFullTextConfigure | OcrFullTextConfigureInfo | Full text recognition control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| OcrWordsConfigure | OcrWordsConfigureInfo | Text keyword recognition control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| AsrFullTextConfigure | AsrFullTextConfigureInfo | Full speech recognition control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| AsrWordsConfigure | AsrWordsConfigureInfo | Speech keyword recognition control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| TranslateConfigure | TranslateConfigureInfo | Voice translation control parameters. Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| Type | String | The template type. Valid values: * Preset * Custom Note: This field may return null, indicating that no valid value can be obtained. |
Orchestrate atomic tasks
Used by actions: CreateSchedule, DescribeSchedules, ModifySchedule.
| Name | Type | Required | Description |
|---|---|---|---|
| ActivityType | String | Yes | Atomic task type. |
| ReardriveIndex | Array of Integer | No | Rear drive node index array |
| ActivityPara | ActivityPara | No |
Orchestrate atomic tasks
Used by actions: CreateSchedule, ModifySchedule.
| Name | Type | Required | Description |
|---|---|---|---|
| TranscodeTask | TranscodeTaskInput | No | |
| AnimatedGraphicTask | AnimatedGraphicTaskInput | No | |
| SnapshotByTimeOffsetTask | SnapshotByTimeOffsetTaskInput | No | |
| SampleSnapshotTask | SampleSnapshotTaskInput | No | |
| ImageSpriteTask | ImageSpriteTaskInput | No | |
| AdaptiveDynamicStreamingTask | AdaptiveDynamicStreamingTaskInput | No | |
| AiContentReviewTask | AiContentReviewTaskInput | No | |
| AiAnalysisTask | AiAnalysisTaskInput | No | |
| AiRecognitionTask | AiRecognitionTaskInput | No | |
| QualityControlTask | AiQualityControlTaskInput | No | |
| ExecRulesTask | ExecRulesTask | No | |
| SmartSubtitlesTask | SmartSubtitlesTaskInput | No | |
| SmartEraseTask | SmartEraseTaskInput | No |
Orchestration subtask output
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TranscodeTask | MediaProcessTaskTranscodeResult | |
| AnimatedGraphicTask | MediaProcessTaskAnimatedGraphicResult | |
| SnapshotByTimeOffsetTask | MediaProcessTaskSnapshotByTimeOffsetResult | |
| SampleSnapshotTask | MediaProcessTaskSampleSnapshotResult | |
| ImageSpriteTask | MediaProcessTaskImageSpriteResult | |
| AdaptiveDynamicStreamingTask | MediaProcessTaskAdaptiveDynamicStreamingResult | |
| RecognitionTask | ScheduleRecognitionTaskResult | |
| ReviewTask | ScheduleReviewTaskResult | |
| AnalysisTask | ScheduleAnalysisTaskResult | |
| QualityControlTask | ScheduleQualityControlTaskResult | |
| ExecRuleTask | ScheduleExecRuleTaskResult | |
| SmartSubtitlesTask | ScheduleSmartSubtitleTaskResult | |
| SmartEraseTask | SmartEraseTaskResult |
Orchestration task output
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ActivityType | String | Atomic task type. <Li>SmartSubtitles: smart subtitle |
| ActivityResItem | ActivityResItem | Atomic task output. |
Adaptive Bitrate Streaming information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Adaptive bitrate streaming specification. |
| Package | String | Packaging format, which may be two kinds: HLS and MPEG-DASH. |
| Path | String | Playback path. |
| Storage | TaskOutputStorage | Storage location of the adaptive bitrate stream file. |
Input parameter type of adaptive bitrate streaming
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| 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. |
| BlindWatermark | BlindWatermarkInput | No | Digital watermark parameter. |
| OutputStorage | TaskOutputStorage | No | Target storage for files after adaptive bitrate streaming. If left blank, it inherits the upper-level OutputStorage value. |
| OutputObjectPath | String | No | Output path for the manifest file after adaptive bitrate streaming, which can be a relative or absolute path. |
| SubStreamObjectName | String | No | Output path for substream files after adaptive bitrate streaming, which can only be a relative path. If this is not specified, the default relative path is |
| SegmentObjectName | String | No | Output path for segment files after adaptive bitrate streaming (HLS only), which can only be a relative path. If this is not specified, the default relative path is |
| AddOnSubtitles | Array of AddOnSubtitle | No | External subtitle feature. Specifies the subtitle file to be inserted. |
| DrmInfo | DrmInfo | No | Drm information. |
| DefinitionType | String | No | Adaptive bitrate streaming template type. Valid values: |
| SubtitleTemplate | SubtitleTemplate | No | Hard subtitle (burned-in subtitle) feature. Specifies the subtitle source, font size, location, and other subtitle parameters. |
| StdExtInfo | String | No | Extended transcoding parameter field. |
| KeyPTSList | Array of Integer | No | Set the frame at the specified pts time as a key frame and segment it. Unit: milliseconds (relative deviation <=1ms is allowed). When both gop and segment duration are specified simultaneously, they function together. Note that RawPts must be enabled, keep the frame rate following the source, and ensure the passed-in pts time corresponds to a frame in the source. |
| AddOnAudios | Array of AddOnAudio | No | External audio feature. Specifies the audio files to be inserted. |
| StdExtStreamInfos | Array of AdaptiveStreamTemplate | No | When not empty, directly replace the StreamInfos field of the template. The field format is the same as the StreamInfos when creating an adaptive template. |
Details of an adaptive bitrate streaming template
Used by actions: DescribeAdaptiveDynamicStreamingTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of an adaptive bitrate streaming template. |
| Type | String | Template type. Valid values: |
| Name | String | Name of an adaptive bitrate streaming template. |
| Comment | String | Description of an adaptive bitrate streaming template. |
| Format | String | Adaptive bitrate streaming format. Valid values: |
| StreamInfos | Array of AdaptiveStreamTemplate | Parameter information of input streams for transcoding to adaptive bitrate streaming. Up to 10 streams can be input. |
| DisableHigherVideoBitrate | Integer | Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: |
| DisableHigherVideoResolution | Integer | Whether to prohibit transcoding from low resolution to high resolution. Valid values: |
| CreateTime | String | Creation time of template in ISO date format. |
| UpdateTime | String | Last modified time of template in ISO date format. |
| PureAudio | Integer | Whether it is an audio-only template. 0: video template. 1: audio-only template.Note: This field may return null, indicating that no valid values can be obtained. |
| SegmentType | String | HLS segment type. Valid values: Default value: ts-segment. Note: The HLS segment format for adaptive bitrate streaming is based on this field.Note: This field may return null, indicating that no valid values can be obtained. |
Adaptive bitrate streaming parameter template
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateWorkflow, DescribeAdaptiveDynamicStreamingTemplates, ModifyAdaptiveDynamicStreamingTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Audio | AudioTemplateInfo | Yes | Audio parameter information. |
| Video | VideoTemplateInfo | No | Video parameter information. |
| RemoveAudio | Integer | No | Whether to remove audio stream. Valid values: |
| RemoveVideo | Integer | No | Whether to remove video stream. Valid values: |
| AudioList | Array of AudioTemplateInfo | No | Audio parameter information list. Note: This parameter is used when self-adaptive transcoding uses audio track merging for multiple audio tracks. The maximum length of the parameter array is 64. |
External audio.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| InputInfo | MediaInputInfo | Yes | Audio file input information. Note: (1) Supported audio stream encoding formats: AAC, AC3, EAC3, FLAC, Opus, and MP3. (2) If the segment type set in the adaptive bitrate streaming template is TS, the audio stream encoding format cannot be FLAC. |
| AudioName | String | No | Audio track name, such as Chinese or English. Note: Only Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), periods (.), and brackets are supported. The length cannot exceed 64 characters. |
| AudioLanguage | String | No | Audio track language, such as chi or eng. This follows the ISO 639-2 standard. |
| DefaultTrack | Boolean | No | Default audio track. When set to true, the current audio is designated as the default audio track. A maximum of 1 default audio track can be specified. Default value: false. |
The information of the subtitles to add.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Insertion method. Valid values: |
| Subtitle | MediaInputInfo | No | Subtitle file. |
| SubtitleName | String | No | Subtitle name. |
| SubtitleLanguage | String | No | Subtitle language, such as eng. |
| OutputFormat | String | No | Subtitle output format. Valid values: {"WebVTT","TTML"}. |
| DefaultTrack | Boolean | No | Default subtitle track. When set to true, the current subtitle is designated as the default subtitle track. A maximum of 1 default subtitle track can be specified. |
Super-resolution configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: standard. |
| Mode | String | No | Image output mode. The default value is percent. |
| Percent | Float | No | Super-resolution multiplication rate, can be a decimal. Note: Used when Mode equals percent. |
| Width | Integer | No | Image width must not exceed 4096. Note: When Mode equals aspect or fixed, preferentially use this configuration. |
| Height | Integer | No | Target image height must not exceed 4096. Note: When Mode equals aspect or fixed, preferentially use this configuration. |
| LongSide | Integer | No | The long side length of the target image must not exceed 4096. Note: This configuration is used when Mode equals aspect or fixed and the Width and Height fields are unconfigured. |
| ShortSide | Integer | No | The short side length of the target image must not exceed 4096. Note: This configuration is used when Mode equals aspect or fixed and the Width and Height fields are unconfigured. |
Intelligent analysis result
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| ClassificationTask | AiAnalysisTaskClassificationResult | |
| CoverTask | AiAnalysisTaskCoverResult | |
| TagTask | AiAnalysisTaskTagResult | |
| FrameTagTask | AiAnalysisTaskFrameTagResult | |
| HighlightTask | AiAnalysisTaskHighlightResult | |
| DeLogoTask | AiAnalysisTaskDelLogoResult | |
| SegmentTask | AiAnalysisTaskSegmentResult | |
| HeadTailTask | AiAnalysisTaskHeadTailResult | |
| DescriptionTask | AiAnalysisTaskDescriptionResult | |
| HorizontalToVerticalTask | AiAnalysisTaskHorizontalToVerticalResult | |
| DubbingTask | AiAnalysisTaskDubbingResult | |
| VideoRemakeTask | AiAnalysisTaskVideoRemakeResult | |
| VideoComprehensionTask | AiAnalysisTaskVideoComprehensionResult | |
| CutoutTask | AiAnalysisTaskCutoutResult | |
| ReelTask | AiAnalysisTaskReelResult |
Intelligent classification task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video classification template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent classification results info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ClassificationSet | Array of MediaAiAnalysisClassificationItem | Video intelligent classification list. |
Intelligent classification task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 |
Intelligent classification task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video cover template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent cover result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| CoverSet | Array of MediaAiAnalysisCoverItem | Intelligent cover list. |
| OutputStorage | TaskOutputStorage | Intelligent cover storage location. |
Intelligent cover result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 |
Input type of the intelligent video matting task.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | ID of the intelligent video matting template. |
| ExtendedParameter | String | No | Extended parameter. |
Video matting result information.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Path | String | File path for the intelligent video matting. |
| OutputStorage | TaskOutputStorage | Storage location for the intelligent video matting. |
Data structure of the video intelligence matting result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| Message | String | Error message |
| Input | AiAnalysisTaskCutoutInput | Input of the video matting task. |
| Output | AiAnalysisTaskCutoutOutput | |
| Progress | Integer | Task progress |
| BeginProcessTime | String | Starting time of task execution, in ISO date and time format. |
| FinishTime | String | Task completion time, in ISO date and time format. |
Intelligent removal task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video erasing template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent removal result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Path | String | Path of a file after removal. |
| OutputStorage | TaskOutputStorage | Storage location of a file after removal. |
| OriginSubtitlePath | String | Path of subtitle file extracted from video. |
| TranslateSubtitlePath | String | Path of a subtitle translation file extracted from a video. |
| SubtitlePos | SubtitlePosition | |
| VoiceClonedVideo | String | |
| VoiceClonedMarkFile | String | |
| ErasedVideoPath | String | Result path of a video for removal only |
| DubbingEditInfoUrl | String | Voice cloning editing information Editing information for secondary modifications of voice cloning |
| FileId | String | FileId of a file after removal. |
| OriginSubtitleFileId | String | FileId of the subtitle file extracted from video. |
| TranslateSubtitleFileId | String | FileId of a subtitle translation file extracted from a video. |
Intelligent removal result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskDelLogoInput | Intelligent removal task input. |
| Output | AiAnalysisTaskDelLogoOutput |
Intelligent classification task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video description template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent description result information.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| DescriptionSet | Array of MediaAiAnalysisDescriptionItem | Intelligent video description list. |
Intelligent description result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskDescriptionInput | Intelligent description task input. |
| Output | AiAnalysisTaskDescriptionOutput |
Input type of the intelligent dubbing task.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the video localization template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent translation result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| VideoPath | String | Dubbed video path. |
| SpeakerPath | String | Tag file path |
| VoiceId | String | Voice type id |
| OutputStorage | TaskOutputStorage | Storage location of the dubbed video. |
| ExtraOutput | String | Additional results, currently including subtitle file result URLs |
| VideoFileId | String | FileId of the dubbed video. |
| SpeakerFileId | String | FileId of the tag file. |
Intelligent translation result type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskDubbingInput | Intelligent dubbing task input. |
| Output | AiAnalysisTaskDubbingOutput |
Intelligent frame tagging task input type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video frame-by-frame tagging template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent frame tagging result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of MediaAiAnalysisFrameTagSegmentItem | Video frame tagging list. |
Intelligent frame tagging result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 tagging task input. |
| Output | AiAnalysisTaskFrameTagOutput |
Opening and closing segments recognition task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intro and outro recognition template. |
| ExtendedParameter | String | Extended parameter. |
Opening and closing segments recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| HeadTimeOffset | Float | |
| TailTimeOffset | Float |
Opening and closing segments recognition result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskHeadTailInput | Opening and closing segments recognition task input. |
| Output | AiAnalysisTaskHeadTailOutput |
Intelligent highlight task input type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video highlight template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent highlight result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| HighlightSet | Array of MediaAiAnalysisHighlightItem | Intelligent video highlight list. |
| OutputStorage | TaskOutputStorage |
Result type of the intelligent highlight
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskHighlightInput | Input of the intelligent highlight task. |
| Output | AiAnalysisTaskHighlightOutput |
Intelligent landscape-to-portrait task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | |
| ExtendedParameter | String | Extended parameter. |
Intelligent landscape-to-portrait result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Path | String | |
| OutputStorage | TaskOutputStorage | |
| Confidence | Float |
Intelligent landscape-to-portrait result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | |
| ErrCode | Integer | |
| Message | String | |
| Input | AiAnalysisTaskHorizontalToVerticalInput | |
| Output | AiAnalysisTaskHorizontalToVerticalOutput |
AI video intelligent analysis input parameter types
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, DescribeWorkflows, ModifySchedule, ParseNotification, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video content analysis template ID. |
| ExtendedParameter | String | No | Additional parameters, whose value is a serialized json string. Note: This parameter is used to meet customization requirements. See the following: Smart Erase Tutorial Video Splitting (Long Videos to Short Videos) Tutorial Intelligent Highlights Tutorial Horizontal-to-Video Transformation |
Input type of the intelligent video editing task.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video editing template. |
| ExtendedParameter | String | Extended parameter. |
AI narration and video re-creation result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| VideoPath | String | Path of the commentated video. |
| VideoPaths | Array of String | Path list of the commentated video. Note: 1. When returning a file, VideoPath returns a file path, and VideoPaths is likewise populated with an element of the same path.2. When multiple files are returned, VideoPath returns an empty string, and VideoPaths returns a file path list. |
| ScriptPath | String | Script file path |
| OutputStorage | TaskOutputStorage | Storage location of the commentated video. |
AI narration and video re-creation result type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskReelInput | AI narration and video re-creation task input. |
| Output | AiAnalysisTaskReelOutput | |
| ErrCodeExt | String | |
| Progress | Integer | |
| BeginProcessTime | String | |
| FinishTime | String |
Splitting task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the video clipping task template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent splitting result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of SegmentRecognitionItem | Intelligent splitting sub-segment list. |
| Abstract | String |
Splitting result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiAnalysisTaskSegmentInput | Splitting task input. |
| Output | AiAnalysisTaskSegmentOutput |
Intelligent tag task input type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video tagging template. |
| ExtendedParameter | String | Extended parameter. |
Intelligent tag result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TagSet | Array of MediaAiAnalysisTagItem | Video intelligent tag list. |
Intelligent tag result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Intelligent tag task input. |
| Output | AiAnalysisTaskTagOutput |
Input file for the video (audio) recognition task.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the video (audio) understanding template. |
| ExtendedParameter | String | Extended parameter. |
Information about the video (audio) recognition output content result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| VideoComprehensionAnalysisResult | String | Details of the video (audio) recognition output content. |
| VideoComprehensionExtInfo | String | Video (Audio) understanding extended information |
| VideoComprehensionResultList | Array of VideoComprehensionResultItem | Video shot understanding result |
Video (audio) recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values: PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: successful; other values: failed. |
| Message | String | Error message |
| Input | AiAnalysisTaskVideoComprehensionInput | Input file for video (audio) recognition. |
| Output | AiAnalysisTaskVideoComprehensionOutput | |
| ErrCodeExt | String | Error code. A null string indicates that the task is successful, while other values indicate that the task has failed. For valid values, see the list of MPS error codes. |
| Progress | Integer | Task progress |
| BeginProcessTime | String | Starting time of task execution, in ISO date and time format. |
| FinishTime | String | Completion time of task execution, in ISO date and time format. |
Video deduplication task input type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | ID of the intelligent video deduplication template. |
| ExtendedParameter | String | Extended parameter. |
Video deduplication result info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Path | String | File path for intelligent video deduplication |
| OutputStorage | TaskOutputStorage | Storage location of intelligent video deduplication |
Data structure of the video deduplication result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: successful; other values: failed. |
| Message | String | Error message |
| Input | AiAnalysisTaskVideoRemakeInput | Task input for deduplication |
| Output | AiAnalysisTaskVideoRemakeOutput |
Content moderation result
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| SampleRate | Float | Sampling frequency, i.e., the number of frames captured per second for video review. |
| Duration | Float | Video duration for review, in seconds. |
| PornTask | AiReviewTaskPornResult | |
| TerrorismTask | AiReviewTaskTerrorismResult | |
| PoliticalTask | AiReviewTaskPoliticalResult | |
| PornAsrTask | AiReviewTaskPornAsrResult | |
| PornOcrTask | AiReviewTaskPornOcrResult | |
| PoliticalAsrTask | AiReviewTaskPoliticalAsrResult | |
| PoliticalOcrTask | AiReviewTaskPoliticalOcrResult | |
| TerrorismOcrTask | AiReviewTaskTerrorismOcrResult | |
| ProhibitedAsrTask | AiReviewTaskProhibitedAsrResult | |
| ProhibitedOcrTask | AiReviewTaskProhibitedOcrResult |
Task type of intelligent content audit
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, DescribeWorkflows, ModifySchedule, ParseNotification, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video content audit template ID. |
Intelligent image masking configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch, available values: ON: Enable; OFF: Disable. Default value: ON. |
| Type | String | No | Target type: "foreground" (default) / "pattern" |
| PatternConfig | PatternConfig | No | Pattern matting configuration. This parameter is valid only when Type is pattern. |
| Model | String | No | Cutout model selection, optional. Enumeration value:
|
AI‑generated comic input
Used by actions: CreateAiDramaTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Script | String | Yes | AI comic playbook. Parameter format: None Input parameter limitation: None |
| Style | String | Yes | AI comic style Enumeration values:
Default value: chinese_ink_wash Enumeration values:
Default value: chinese_ink_wash |
| Ratio | String | Yes | Aspect ratio Enumeration values:
Default value: 16:9 |
| Resolution | String | Yes | Output video resolution Enumeration values:
Default value: 720p |
Intelligent image expansion configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch, available values: ON: Enable; OFF: Disable. Default value: ON. |
| AspectRatio | String | No | Target ratio, for example "16:9" |
| Width | Integer | No | Target width (pixel) Value ranges from 0 to 2048. |
| Height | Integer | No | Target height (pixel) Value ranges from 0 to 2048. |
Video fission input
Used by actions: CreateAiFissionTask.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageUrls | Array of String | Yes | Video fission reference image url |
| Text | String | No | Video fission product information reference copywriting |
Segment information.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Summary | String | |
| Title | String | Segment title. |
| Keywords | Array of String | Segment keyword. |
| StartTimeOffset | Float | |
| EndTimeOffset | Float |
Intelligent image set configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | No | Image output mode. Enumeration values:
Default value: auto. |
| Definition | Integer | No | Ecommerce platform visual template ID. If you need a personalized visual template, submit a ticket. |
| Recipe | Array of RecipeItem | No | Sub-image configuration. |
| Language | String | No | Sub-image text language. Enumeration values:
Default value: zh-CN. If you need more languages, submit a ticket. |
| PanelRatio | String | No | Sub-image aspect ratio. Enumeration values:
Default value: 1:1. |
| PanelResolution | String | No | Sub-image resolution. Enumeration values:
Default value: 1K. |
| CustomVariables | Array of CustomVariable | No | User-defined variable. |
| Model | String | No | Model name. Enumeration value:
|
Input parameter type for media quality inspection.
Used by actions: CreateSchedule, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessLiveStream, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | |
| ChannelExtPara | String | No |
Intelligent recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| FaceTask | AiRecognitionTaskFaceResult | |
| AsrWordsTask | AiRecognitionTaskAsrWordsResult | |
| AsrFullTextTask | AiRecognitionTaskAsrFullTextResult | |
| OcrWordsTask | AiRecognitionTaskOcrWordsResult | |
| OcrFullTextTask | AiRecognitionTaskOcrFullTextResult | |
| TransTextTask | AiRecognitionTaskTransTextResult | |
| ObjectTask | AiRecognitionTaskObjectResult |
Full speech recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | |
| Progress | Integer |
Input for full speech recognition.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Full speech identification template ID. |
Full speech recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskAsrFullTextSegmentItem | Full speech recognition segment list. |
| SubtitlePath | String | Subtitle file path. |
Segment undergone full speech recognition.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| StartTimeOffset | Float | Start time offset of the recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of the recognized segment, in seconds. |
| Text | String | Recognized text. |
| Wordlist | Array of WordResult | Word timestamp information. |
Speech keyword recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 for the speech keyword recognition task. |
| Output | AiRecognitionTaskAsrWordsResultOutput |
Speech keyword recognition input.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Speech keyword recognition template ID. |
Speech keyword recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Word | String | Speech keyword. |
| SegmentSet | Array of AiRecognitionTaskAsrWordsSegmentItem | List of segments for the time when speech keywords occur. |
Speech keyword recognition output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskAsrWordsResultItem | Speech keyword recognition result set. |
ASR segment.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 |
Face recognition input.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Face Recognition template ID. |
Face Recognition result
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Id | String | Unique identification ID of the figure. |
| Type | String | Figure library type, indicates which figure library the recognized figure comes from. |
| Name | String | Figure name. |
| SegmentSet | Array of AiRecognitionTaskFaceSegmentItem | Result set of segments that contain people. |
| Gender | String | Gender |
| Birthday | String | Date of birth of a person. |
| Profession | String | Occupation or position. |
| SchoolOfGraduation | String | Graduation institution of the person. |
| Abstract | String | Figure description. |
| PlaceOfBirth | String | Birthplace or place of origin of a person. |
| PersonType | String | Person type: |
| Remark | String | Sensitivity labeling: |
| Url | String | Screenshot link |
Intelligent Face Recognition output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskFaceResultItem | Intelligent face recognition result set. |
Face Recognition result fragment
Used by actions: DescribeTaskDetail, ParseNotification.
| 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. |
Input parameter type of video content recognition
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, DescribeWorkflows, ModifySchedule, ParseNotification, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Intelligent video recognition template ID. |
| UserExtPara | String | No | User extension field, which does not need to be filled in for general scenarios. |
Object recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, and FAIL. |
| ErrCode | Integer | Error code. 0: Task successful. Other values: Task failed. |
| Message | String | Error message. |
| Input | AiRecognitionTaskObjectResultInput | Object recognition task input. |
| Output | AiRecognitionTaskObjectResultOutput |
Object recognition task input type.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Object recognition template ID. |
Single object recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Name | String | Name of a recognized object. |
| SegmentSet | Array of AiRecognitionTaskObjectSeqmentItem | List of segments that contain the object. |
Intelligent object recognition output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskObjectResultItem | Intelligent object recognition result set. |
Object recognition result segment.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 |
Full text recognition user-submitted input.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Full text recognition template ID. |
Full text recognition output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskOcrFullTextSegmentItem | Full text recognition result set. |
Full text recognition recording clip.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 fragment.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| AreaCoordSet | Array of Integer | Area coordinates of the recognition result. The array contains 4 elements [x1,y1,x2,y2], representing the horizontal and vertical coordinates of the top-left corner and bottom-right corner. |
| Text | String | Recognized text. |
Text keyword recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 |
Text keyword recognition input.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Text keyword recognition template ID. |
Text keyword recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of AiRecognitionTaskOcrWordsResultItem | Text keyword recognition result set. |
Text recognition segment.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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. |
Translation result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AiRecognitionTaskTransTextResultInput | Translation task input information. |
| Output | AiRecognitionTaskTransTextResultOutput | |
| Progress | Integer |
Translate the input.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Translation template ID. |
Translation result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of AiRecognitionTaskTransTextSegmentItem | Translate segments. |
| SubtitlePath | String | Subtitle file path. |
Translated segment.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| StartTimeOffset | Float | Start time offset of the recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of the recognized segment, in seconds. |
| Text | String | Recognized text. |
| Trans | String | Translated text. |
| Wordlist | Array of WordResult | Word timestamp information. |
LLM repair
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch Enumeration values:
Default value: OFF |
| Type | String | No | Strength type Enumeration values:
Default value: normal |
Content review Asr text sensitivity task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
Asr text contains sensitive information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Asr text sensitivity scoring, with a score ranging from 0 to -100. |
| Suggestion | String | Asr text sensitive result recommendation, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | Video segment list with Asr text suspected of sensitivity. |
Content review Ocr text sensitivity task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
Ocr text sensitive information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Ocr text sensitivity score, ranging from 0 to 100. |
| Suggestion | String | Ocr text sensitive result recommendation, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | Video segment list with suspect Ocr text sensitivity. |
Content review sensitive task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
Sensitive information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Video sensitive content score, ranging from 0 to 100. |
| Suggestion | String | Result Suggestions for sensitive content, value ranges from...to... |
| Label | String | Video sensitive content result tag. The mapping between the LabelSet parameter in the content moderation template's visual sensitive content task control parameter (https://www.tencentcloud.com/document/api/862/37615?from_cn_redirect=1#AiReviewPoliticalTaskOutput) and the parameter value range of this parameter: violation_photo: Other (i.e., politician/entertainment/sport/entrepreneur/scholar/celebrity/military): |
| SegmentSet | Array of MediaContentReviewPoliticalSegmentItem | List of video segments suspected of containing sensitive content. |
Content review Asr text porn detection task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Pornography detection template ID. |
Asr text pornographic information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Asr text porn score, ranging from 0 to 100. |
| Suggestion | String | Asr text pornographic result suggestion, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | Video segment list with suspect Asr text pornographic information. |
Content review Ocr text porn detection task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID for porn detection. |
Ocr text pornographic information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Ocr text involves pornographic content scoring, with a score ranging from 0 to 100. |
| Suggestion | String | Result Suggestions for Ocr text pornographic content, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | Video segment list with suspect Ocr text pornographic information. |
Content review porn detection task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes |
Pornographic result info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Video porn detection score, ranging from 0 to 100. |
| Suggestion | String | Pornographic result recommendation, value ranges from...to... |
| Label | String | Video pornographic result tag, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewSegmentItem | List of video segments suspected of containing pornographic content. |
Content review Asr text prohibited information recognition task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Prohibited information recognition template ID. |
Asr text contains prohibited information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Asr text involves prohibited content scoring, with a score ranging from 0 to 100. |
| Suggestion | String | Asr text prohibited result suggestion, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewAsrTextSegmentItem | Video segment list with Asr text suspected of prohibition violations. |
Content review Ocr text prohibited information recognition task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Prohibited information recognition template ID. |
Ocr (Optical Character Recognition) text contains prohibited information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Ocr text involves prohibited content scoring, with a score ranging from 0 to 100. |
| Suggestion | String | Ocr text prohibited content result suggestion, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | Video segment list with Ocr text suspected of prohibition violations. |
Content review Asr text sensitivity task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Asr text sensitivity task input. |
| Output | AiReviewPoliticalAsrTaskOutput |
Content review Ocr text sensitive task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status, including 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Ocr text sensitivity task input. |
| Output | AiReviewPoliticalOcrTaskOutput |
Content review sensitive task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review sensitive task input. |
| Output | AiReviewPoliticalTaskOutput |
Content review Asr text porn detection task result kind
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Asr text pornography detection task input. |
| Output | AiReviewPornAsrTaskOutput |
Content review Ocr text pornography detection task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Ocr text pornography detection task input. |
| Output | AiReviewPornOcrTaskOutput |
Content review porn detection task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review porn task input. |
| Output | AiReviewPornTaskOutput |
Content review Asr text prohibited content detection task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Asr text prohibited task input. |
| Output | AiReviewProhibitedAsrTaskOutput |
Content review Ocr text prohibited content detection task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Ocr text prohibited task input. |
| Output | AiReviewProhibitedOcrTaskOutput |
Content review Ocr text sensitive task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review Ocr text sensitivity task input. |
| Output | AiReviewTerrorismOcrTaskOutput |
Content review sensitive task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | Content review sensitive task input. |
| Output | AiReviewTerrorismTaskOutput |
Content review Ocr text sensitivity task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
Ocr text sensitive information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Ocr text sensitive content score, ranging from 0 to III. |
| Suggestion | String | Ocr text sensitive result suggestion, value ranges from...to... |
| SegmentSet | Array of MediaContentReviewOcrTextSegmentItem | List of video segments suspected of containing sensitive content in Ocr text. |
Content review sensitive task input parameter type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Template ID. |
Sensitive information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Video sensitive content score, ranging from 0 to 100. |
| Suggestion | String | Result Suggestions for sensitive content, value ranges from...to... |
| Label | String | Video sensitive content detection result tag, permissible range: |
| SegmentSet | Array of MediaContentReviewSegmentItem | List of video segments suspected of containing sensitive content. |
AI-based sample management - face information.
Used by actions: CreatePersonSample, DescribePersonSamples, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| FaceId | String | Face image ID. |
| Url | String | Face image address. |
AI-based sample management - face data operation.
Used by actions: ModifyPersonSample.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type. Valid values: add, delete, reset. The reset operation will clear the existing face data of a figure and add FaceContents as the specified face data. |
| FaceIds | Array of String | No | Face ID set. This field is required when Type is delete. |
| FaceContents | Array of String | No | String set generated by Base64-encoding the face image.Type is add or reset;Note: The image must be a relatively clear full-face photo of a figure in at least 200 * 200 px. |
AI-based sample management - face information failing to be processed.
Used by actions: CreatePersonSample, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| Index | Integer | Corresponds to incorrect image subscripts in the FaceContents input parameter, starting from 0. |
| ErrCode | Integer | Error code. Valid values: |
| Message | String | Error description. |
AI-based sample management - figure information.
Used by actions: CreatePersonSample, DescribePersonSamples, ModifyPersonSample.
| Name | Type | Description |
|---|---|---|
| PersonId | String | Figure ID. |
| Name | String | Name of a figure. |
| Description | String | Figure description. |
| FaceInfoSet | Array of AiSampleFaceInfo | Face information. |
| TagSet | Array of String | Figure tag. |
| UsageSet | Array of String | Use case. |
| CreateTime | String | Creation time in ISO date format. |
| UpdateTime | String | Last modified time in ISO date format. |
AI-based sample management - tag operation.
Used by actions: ModifyPersonSample, ModifyWordSample.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Operation type. Valid values: add, delete, reset. |
| Tags | Array of String | Yes | Tag. Length limit: 128 characters. |
AI-based 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 use case. |
| CreateTime | String | Creation time in ISO date format. |
| UpdateTime | String | Last modified time in ISO date format. |
AI-based sample management - keyword input information.
Used by actions: CreateWordSamples.
| Name | Type | Required | Description |
|---|---|---|---|
| Keyword | String | Yes | Keyword. Length limit: 20 characters. |
| Tags | Array of String | No | Keyword tag |
Intelligent shot deconstruction configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch, available values: ON: Enable; OFF: Disable. Default value: ON. |
| ProcessIndex | Integer | No | Specify the serial number of the storyboard to extract. Counting begins from 0. If not specified, return all storyboards. |
Extended parameters for AIGC audio generation.
Used by actions: CreateAigcAudioTask.
| Name | Type | Required | Description |
|---|---|---|---|
| ResourceId | String | No | Resource ID. Specify this based on your needs. |
Output audio information of the AIGC audio generation task.
Used by actions: DescribeAigcAudioTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | No | Audio URL. |
| Duration | Integer | No | Audio duration. |
Output video information of the AIGC audio generation task.
Used by actions: DescribeAigcAudioTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | No | Video URL. |
| Duration | Integer | No | Video duration. |
Reference audio information.
Used by actions: CreateAigcAudioTask.
| Name | Type | Required | Description |
|---|---|---|---|
| AudioUrl | String | No | Reference audio URL, which must be accessible from the public network. |
Reference video asset for AIGC video generation.
Used by actions: CreateAigcAudioTask.
| Name | Type | Required | Description |
|---|---|---|---|
| VideoUrl | String | No | Reference video URL, which must be accessible from the public network. |
Extended parameters used for AIGC image generation.
Used by actions: CreateAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| AspectRatio | String | No | Aspect ratio of the generated video. Supported aspect ratios for different models:
Note: For more information about the aspect ratios of specific models, see the model website. |
| Resolution | String | No | Output resolution of the image. Models that support this parameter: |
| LogoAdd | Integer | No | Indicates whether to add a logo watermark. No watermark is added by default. 1 - A watermark is added. 0 - No watermark is added. Value range: [0, 1]. Default value: 0. |
| OutputFormat | String | No | Specifies the output format of the image. JPEG and PNG formats are supported. |
Image information for AIGC generation.
Used by actions: CreateAigcImageTask.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageUrl | String | No | Image URL for video generation. The URL must be accessible from the public network and must be accessible to crawlers. |
| ReferenceType | String | No | Reference Type. Note: 1. When the model uses Vidu's q2 multi-reference image generation, it can also be used to specify the subject ID. 2. If the GV model is used, this serves as the reference method. Valid values are asset and style. |
Information required for uploading AIGC result files to COS. The MPS_QcsRole role needs to be created and authorized.
Used by actions: CreateAigcAudioTask, CreateAigcImageTask, CreateAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| CosBucketName | String | No | Name of the COS bucket to store to. This value is required if you need to store the results in COS. Example value: bucket. |
| CosBucketRegion | String | No | Region of the COS bucket to store to. This is required if you need to upload the results to COS. Example value: ap-guangzhou. |
| CosBucketPath | String | No | Store to the bucket path of cos. Option. Example value: my_file. |
Aigc task details
Used by actions: DescribeAigcTaskList.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| TaskType | String | Task type Enumeration value:
|
| TaskStatus | String | Task status Enumeration values:
|
| CreateTime | String | Task creation time |
| ScheduledTime | String | Task start scheduling time |
| FinishedTime | String | Task end time |
| Urls | Array of String | Task result Url. |
| TaskResultCode | Integer | Task execution error code |
| TaskResultMsg | String | Task execution error message |
| Resolution | String | Output video resolution |
| Ratio | String | Aspect ratio of the output video |
| RequestBody | String | Task request package |
Extended parameters used for AIGC video generation.
Used by actions: CreateAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Resolution | String | No | Resolution of the generated video. The resolution is related to the selected model and set video duration. Supported resolution options for different models:
Note: In addition to the resolution supported by the model, 2K and 4K resolutions are also available. |
| AspectRatio | String | No | Aspect ratio of the generated video. Support for this parameter by different models:
Note: For more information about the supported aspect ratios of specific models, see the model website. |
| LogoAdd | Integer | No | Indicates whether to add a logo watermark.
|
| EnableAudio | Boolean | No | Indicates whether to generate audio for the video. Valid values: true or false. Models that support this parameter:
|
| OffPeak | Boolean | No | Indicates whether to use the off-peak scheduling mode. Only Vidu supports this parameter. |
| EnableBgm | Boolean | No | Indicates whether to add background music to the generated video. Default value: false. Valid values: true or false. |
Used by actions: CreateAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| AudioUrl | String | No |
Reference image information for AIGC video generation.
Used by actions: CreateAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageUrl | String | No | Image URL for video generation. The URL must be accessible from the public network and must be accessible to crawlers. |
| ReferenceType | String | No | Reference Type. Note: 1. If the GV model is used, this serves as the reference method. Valid values are asset and style. |
Reference video asset for AIGC video generation.
Used by actions: CreateAigcVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| VideoUrl | String | No | Reference video url. Must be external network accessible. This can be used as a feature reference video or a video for editing. The default type is video for editing. You can choose to keep the original sound of the video. The ReferType parameter specifies the reference video type: feature indicates feature reference video, and base indicates video for editing. If the reference video is a video for editing, the first and last frames cannot be defined. |
| ReferType | String | No | The ReferType parameter specifies the reference video type: feature indicates feature reference video, and base indicates video for editing. |
| KeepOriginalSound | String | No | The KeepOriginalSound parameter specifies whether to keep the original sound of the video. Valid values: yes (keep the original sound); no (remove the original sound). This parameter also applies to feature reference videos (feature). |
Type of an animated image generating task.
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Video-to-GIF conversion template ID. |
| StartTimeOffset | Float | Yes | Start time of the GIF in the video, in seconds. |
| EndTimeOffset | Float | Yes | End time of the GIF in the video, in seconds. |
| OutputStorage | TaskOutputStorage | No | Target storage for the file after animated image conversion. If left blank, it inherits the upper-level OutputStorage value. |
| OutputObjectPath | String | No | Output path of the file after GIF conversion, which can be a relative or absolute path. {inputName}_animatedGraphic_{definition}.{format}. |
| ExtInfo | String | No | Extended parameter. |
Details of an animated image generating template.
Used by actions: DescribeAnimatedGraphicsTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of an animated image generating template. |
| Type | String | Template type. Valid values: |
| Name | String | Name of an animated image generating template. |
| Comment | String | Description of an animated image generating template. |
| Width | Integer | Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| Height | Integer | Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| ResolutionAdaptive | String | Resolution adaption. Valid values:Width represents the long side of a video, while Height the short side;Width represents the width of a video, while Height the height.Default value: open. |
| Format | String | Animated image format. |
| Fps | Integer | Frame rate. |
| Quality | Float | Image quality. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
Artifact removal (smoothing) configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: weak. |
Speech Full-text Recognition Task Control Parameter
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Voice full-text recognition task switch, available values: |
| SubtitleFormat | String | No | Generated subtitle file format. Leaving it as an empty string or not filling it in means no subtitle file will be generated. Available values: |
| SourceLanguage | String | No | Video source language. |
Task control parameter for speech full-text recognition
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Voice full-text recognition task switch, available values: |
| SubtitleFormat | String | No | Generated subtitle file format. Leaving it as an empty string means no subtitle file will be generated. Available values: |
| SourceLanguage | String | No | Video source language. |
Smart subtitle hotword parameter.
Used by actions: BatchProcessMedia, CreateSmartSubtitleTemplate, DescribeSmartSubtitleTemplates, ModifySmartSubtitleTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | |
| LibraryId | String | No |
Returned result set of hotword lexicon query.
Used by actions: DescribeAsrHotwordsList.
| Name | Type | Description |
|---|---|---|
| HotwordsId | String | |
| Status | Integer | |
| Name | String | |
| WordCount | Integer | |
| FileName | String | |
| CreateTime | String | |
| UpdateTime | String | |
| Type | Integer |
Information on a single hotword.
Used by actions: DescribeAsrHotwords.
| Name | Type | Description |
|---|---|---|
| Id | Integer | Serial number of the hot word |
| Text | String | Hotword text |
| Weight | Integer | Hotword weight. The value can be 11 or 100 or be in the range of 1 to -10. |
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 | Keyword-based filtering tag, specify the tag of the keyword to return. If left blank or empty, all results are returned. The number of tags is up to 10, and each tag can have 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-based filtering tag. Specify the tag of the keyword that needs to be returned. If it is not filled or is empty, all results are returned. The number of tags is up to 10, and each tag can have up to 16 characters. |
The audio improvement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values:ONOFF Default value: ON. |
| Types | Array of String | No | Type. Multiple selections allowed. Valid values: Default value: declick. |
The noise reduction configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values:ONOFF Default value: ON. |
The audio enhancement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Denoise | AudioDenoiseConfig | No | Audio noise reduction configuration. |
| Separate | AudioSeparateConfig | No | Audio separation configuration. |
| VolumeBalance | VolumeBalanceConfig | No | Volume equalization configuration. |
| Beautify | AudioBeautifyConfig | No | Audio beautification configuration. |
The audio separation configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values:ONOFF Default value: ON. |
| Type | String | No | Scenario type. Valid values: Default value: normal. |
| Track | String | No | Output audio track. Available values: Default value: vocal. |
Audio stream configuration parameter
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, CreateWorkflow, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Audio stream encoding format. |
| Bitrate | Integer | Yes | Audio stream bitrate, in kbps. Value range: 0 and [26, 256]. |
| SampleRate | Integer | Yes | Audio stream sampling rate. Different sampling rate options are provided for different encoding standards. Enter 0 to use the source audio sampling rate. |
| AudioChannel | Integer | No | Audio channel mode. Valid values: Default value: 2. |
| TrackChannelInfo | AudioTrackChannelInfo | No | Audio track merging information. |
| AudioLanguage | String | No | Audio track language, such as chi or eng. Note: (1) This follows the ISO 639-2 standard. (2) This applies only to adaptive bitrate streaming templates. (3) The value "source" means that the source language is used. |
| AudioName | String | No | Audio track name, such as Chinese or English. Note: (1) Only Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), periods (.), and brackets are supported. The length cannot exceed 64 characters. (2) This applies only to adaptive bitrate streaming templates. (3) The value "source" means that the source name is used. |
| DefaultTrack | Boolean | No | Default audio track. When set to true, the current audio track is designated as the default audio track. A maximum of 1 default audio track can be specified. Default value: false. |
Audio stream configuration parameter
Used by actions: CreateWorkflow, ModifyTranscodeTemplate, ProcessMedia, ResetWorkflow.
| 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 the audio bitrate remains consistent with that of the original audio. |
| SampleRate | Integer | No | Audio stream sampling rate. Different sampling rate options are provided for different encoding standards. Enter 0 to use the source audio sampling rate. |
| AudioChannel | Integer | No | Audio channel mode. Valid values: Default value: 2. |
| StreamSelects | Array of Integer | No | Specifies the retained audio tracks for output. All source tracks are retained by default. |
Audio track information.
Used by actions: CreateTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ChannelsRemix | Integer | No | Whether audio mixing is enabled. Value range: 0: Disable audio mixing 1: Enable audio mixing Default value: 0 |
| SelectType | String | No | Merge audio track input type, available values: track: Indicates usage of the audio track id. track_channel: Indicates usage of audio track id and sound channel id. Default: track. Note: If the original video is multichannel, recommend using track_channel. |
| InputTrackInfo | Array of TrackInfo | No | Audio track info |
An AWS S3 file upload trigger.
Used by actions: CreateSchedule, CreateWorkflow, ModifySchedule, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| S3Bucket | String | Yes | The AWS S3 bucket bound to the scheme. |
| S3Region | String | Yes | The region of the AWS S3 bucket. |
| Dir | String | No | The bucket directory bound. It must be an absolute path that starts and ends with /, such as /movie/201907/. If you do not specify this, the root directory will be bound. |
| Formats | Array of String | No | The file formats that will trigger the scheme, such as ["mp4", "flv", "mov"]. If you do not specify this, the upload of files in any format will trigger the scheme. |
| S3SecretId | String | No | Secret key ID of the bound AWS S3 bucket. |
| S3SecretKey | String | No | Secret Key of the bound AWS S3 bucket. |
| AwsSQS | AwsSQS | No | SQS event queue bound to the AWS S3 bucket. Note: The queue and bucket need to be in the same region. |
The information of an AWS SQS queue.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, DescribeBatchTaskDetail, DescribeTaskDetail, EditMedia, ExtractBlindWatermark, ModifySchedule, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| SQSRegion | String | Yes | SQS queue area. |
| SQSQueueName | String | Yes | SQS queue name. |
| S3SecretId | String | No | Secret id for read-write SQS. |
| S3SecretKey | String | No | Read-write SQS secret key. |
Smart subtitle task result.
Used by actions: DescribeBatchTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Input | SmartSubtitleTaskResultInput | |
| Outputs | Array of SmartSubtitleTaskBatchOutput |
Results of subtasks for a batch task.
Used by actions: DescribeBatchTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| InputInfos | Array of MediaInputInfo | |
| Metadatas | Array of MediaMetaData | |
| SmartSubtitlesTaskResult | BatchSmartSubtitlesResult |
Digital watermark parameter type in the MPS task.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| 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. |
| Strength | String | Digital watermark strength. default: default, balance between hd video quality and resilience. stronger: clear image quality, strong resilience. strongest: normal video quality, strongest resilience. |
Intelligent Classification Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent classification task switch. |
Control parameter of intelligent categorization task
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of intelligent categorization task. Valid values: |
Hit product clone AIGC video parameters
Used by actions: CloneViral.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | Integer | No | Video duration Range: [4, 15] |
| AspectRatio | String | No | Aspect ratio. Options: 16:9/4:3/1:1/3:4/9:16/21:9/adaptive |
| Resolution | String | No | Resolution. Supports 720p (default)/1080p/2k/4k |
| ModelTier | String | No | Model tier. flagship (default), standard |
Content/style parameters of hit product clone
Used by actions: CloneViral.
| Name | Type | Required | Description |
|---|---|---|---|
| UserPrompt | String | No | Custom prompt describing requirements for video generation |
| Language | String | No | Target language for video generation. Default: not specified. Supported values: zh / en / ja / ko / es / pt / instrumental (pure music without voiceover) |
| Market | String | No | Target market. Default: not specified. Supported values: north_america / europe / china / japan / korea / sea / brazil |
| FissionLevel | String | No | Fission level. Values: exact/low/medium/high. Default: exact (1:1 clone) |
Model appearance of hit product clone
Used by actions: CloneViral.
| Name | Type | Required | Description |
|---|---|---|---|
| Gender | String | No | Model gender. Values: male/female/any |
| Age | String | No | Age segment. Values: teenager/youth/middle_aged/senior |
| Ethnicity | String | No | Appearance feature. Values: caucasian/asian/latino/african/middle_eastern |
| BodyType | String | No | Body type. Values: slim / standard / athletic / chubby |
Product information of hit product clone
Used by actions: CloneViral.
| Name | Type | Required | Description |
|---|---|---|---|
| Images | Array of String | Yes | Product image |
| Name | String | No | Product name |
| Description | String | No | Product description |
Color enhancement configuration.
Used by actions: CreateProcessImageTemplate, CreateTranscodeTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ModifyTranscodeTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: weak. |
The audio element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | ComposeSourceMedia | Yes | The media information of the element. |
| TrackTime | ComposeTrackTime | No | The time of the element in the timeline. If this is not specified, the element will follow the previous element. |
| AudioOperations | Array of ComposeAudioOperation | No | The operations performed, such as muting. |
The audio operations of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The operation type. Valid values:Volume: Volume adjustment. |
| Volume | Float | No | The volume level. This parameter is valid if Type is Volume. Value range: 0–5. 0, the video will be muted. 1, the original volume will be kept. |
The audio stream information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | The codec of the audio stream. Valid values:AAC: AAC (default), which is used for the MP4 container. MP3: MP3 codec, which is used for the MP3 container. |
| SampleRate | Integer | No | The sample rate (Hz) of the audio stream. |
| AudioChannel | Integer | No | The number of sound channels. Valid values: u200c 1: Mono. 2: Dual (default). |
| Bitrate | Integer | No | Reference bitrate, in kbps. Value range: 26-10000. If set, the encoder will try to encode at this bitrate. If not set, the service will automatically adopt a suitable bitrate based on audio parameters. |
The canvas information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Color | String | No | The RGB value of the background color. The format is #RRGGBB, such as #F0F0F0. Default value: #000000 (black). |
| Width | Integer | No | The canvas width (px), which is the width of the output video. Value range: 0–3840. The default value is 0, which means that the canvas is as wide as the first video. |
| Height | Integer | No | The canvas height (px), which is the height of the output video. Value range: 0–3840. The default value is 0, which means that the canvas is as high as the first video. |
The placeholder element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | String | Yes | The element duration.s, which means seconds. For example, 3.5s indicates 3.5 seconds. |
The image element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | ComposeSourceMedia | Yes | The media information of the element. |
| TrackTime | ComposeTrackTime | No | The time of the element in the timeline. If this is not specified, the element will follow the previous element. |
| XPos | String | No | The horizontal distance of the element's center from the canvas origin. Two formats are supported:10% means that the distance is 10% of the canvas width. u200c 100px means that the distance is 100 pixels. Default value: 50%. |
| YPos | String | No | The vertical distance of the element's center from the canvas origin. Two formats are supported: u200c 10% means that the distance is 10% of the canvas height. u200c 100px means that the distance is 100 pixels. Default value: 50%. |
| Width | String | No | The width of the video segment. Two formats are supported: u200c 10% means that the video width is 10% of the canvas width. u200c 100px means that the video width is 100 pixels. If one or both parameters are empty or set to 0:Width and Height are empty, the original width and height of the element will be kept. Width is empty and Height is not, the width will be auto scaled. Width is not empty and Height is, the height will be auto scaled. |
| Height | String | No | The height of the element. Two formats are supported: u200c 10% means that the height is 10% of the canvas height. u200c 100px means that the height is 100 pixels. If one or both parameters are empty or set to 0:Width and Height are empty, the original width and height of the video will be kept. Width is empty and Height is not, the width will be auto scaled. Width is not empty and Height is, the height will be auto scaled. |
| ImageOperations | Array of ComposeImageOperation | No | The image operations, such as image rotation. |
The image operations of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The type. Valid values: u200c Rotate: Image rotation. Flip: Image flipping. |
| RotateAngle | Float | No | This is valid if Type is Rotate. The angle of rotation around the image center. Value range: 0–360. |
| FlipType | String | No | This is valid if Type is Flip. How to flip the image. Valid values:xa0u200c Horizental: Flip horizontally. Vertical: Flip vertically. |
The information of a video editing/compositing task.
The figure below outlines the relationships among tracks, elements, and the timeline.

Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| TargetInfo | ComposeTargetInfo | No | The information of the output video. |
| Canvas | ComposeCanvas | No | The canvas information of the output video. |
| Styles | Array of ComposeStyles | No | The global styles. This parameter is used together with Tracks to specify styles, such as the subtitle style. |
| Tracks | Array of ComposeMediaTrack | No | The information of media tracks (consisting of video, audio, image, and text elements) used to composite the video. About tracks and the timeline:
|
The element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The element type. Valid values:Video Audio Image Transition Subtitle Empty |
| Video | ComposeVideoItem | No | The information of the video element, which is valid if Type is Video. |
| Audio | ComposeAudioItem | No | The information of the audio element, which is valid if Type is Audio. |
| Image | ComposeImageItem | No | The information of the image element, which is valid if Type is Image. |
| Transition | ComposeTransitionItem | No | The information of the transition element, which is valid if Type is Transition. |
| Subtitle | ComposeSubtitleItem | No | The information of the subtitle element, which is valid if Type is Subtitle. |
| Empty | ComposeEmptyItem | No | The information of the empty element, which is valid if Type is Empty. An empty element is used as a placeholder in the timeline. |
The track information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Track type. Valid values:
|
| Items | Array of ComposeMediaItem | Yes | The elements of a track. |
The material source of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| FileId | String | Yes | The material ID, which can be found in FileInfos. |
| StartTime | String | No | The start time of the material. The following two formats are supported.s, it specifies the time in seconds. For example, 3.5s indicates the time when 3.5 seconds of the material elapses.u200c %, it specifies the time as a percentage of the material's duration. For example, 10% indicates the time when 10% of the material's duration elapses. Default value: 0s. |
| EndTime | String | No | The end time of the material. This parameter and StartTime determine which time segment of the material is used. The following two formats are supported:s, it specifies the time in seconds. For example, 3.5s indicates the time when 3.5 seconds of the material elapses.u200c %, it specifies the time as a percentage of the material's duration. For example, 10% indicates the time when 10% of the material's duration elapses. If the track duration is set, the default value is StartTime plus the track duration. If not, the default value is StartTime plus 1 second.Note: EndTime must be at least 0.02 seconds later than StartTime. |
The style information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | Yes | The style ID, which identifies an element style. Note: The style ID can be up to 32 characters long and can contain letters, digits, and special characters -_ |
| Type | String | Yes | The type. Valid values:Subtitle: The subtitle style. |
| Subtitle | ComposeSubtitleStyle | No | The subtitle style details. This parameter is valid if Type is Subtitle. |
The subtitle element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| StyleId | String | Yes | The subtitle style ID, which corresponds to the Id field of ComposeStyles. |
| Text | String | Yes | Subtitle text. note: long text may exceed the frame. recommend using \n for line breaks. |
| TrackTime | ComposeTrackTime | No | The time of the element in the timeline. If this is not specified, the element will follow the previous element. |
The subtitle style of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Height | String | No | The subtitle height. Two formats are supported: u200c 10% means that the height is 10% of the canvas height. u200c 100px means that the height is 100 pixels. The default value is the value of FontSize. |
| MarginBottom | String | No | The bottom margin. Two formats are supported: u200c 10% means that the margin is 10% of the canvas height. u200c 100px means that the margin is 100 pixels. Default value: 0px. |
| FontType | String | No | The font type. Valid values:SimHei(default): Chinese font Heiti. <Li> SimSun: Chinese font Songti. |
| FontSize | String | No | The font size. Two formats are supported: u200c 10% means that the size is 10% of the canvas height. u200c 100px means that the size is 100 pixels. Default value: 2%. |
| FontBold | Integer | No | Whether to bold the text (some fonts may not support bold). Valid values:0 (default): No. 1: Yes. |
| FontItalic | Integer | No | Whether to italicize the text (some fonts may not support italics). Valid values:0 (default): No. 1: Yes. |
| FontColor | String | No | The font color (#RRGGBBAA). Default value: 0x000000FF (black). Note: AA in the color notation defines the opacity of the color. It's optional. |
| FontAlign | String | No | The text alignment. Valid values:Center(default) Left Right |
| FontAlignMargin | String | No | The margin for left/right align.FontAlign is Left, this parameter specifies the left margin of the subtitles. FontAlign is Right, this parameter specifies the right margin of the subtitles. Two formats are supported: u200c 10% means that the margin is 10% of the canvas width. u200c 100px means that the margin is 100 pixels. |
| BorderWidth | String | No | The subtitle border width. Two formats are supported: u200c 10% means that the width is 10% of the canvas height. u200c 100px means that the width is 100 pixels. The default value is 0, which means the subtitles will have no borders. |
| BorderColor | String | No | The border color, whose format is the same as that for FontColor. This parameter is valid if BorderWidth is not 0. |
| BottomColor | String | No | The text background color, whose format is the same as that for FontColor. The default value is an empty string, which means the subtitles will not have a background color. |
The output video information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Container | String | No | The container. Valid values:mp4 (default), for video files. mp3, for audio files. |
| RemoveVideo | Integer | No | Whether to remove video data. Valid values:0 (default): No. 1: Yes. |
| RemoveAudio | Integer | No | Whether to remove audio data. Valid values:0 (default): No. 1: Yes. |
| VideoStream | ComposeVideoStream | No | The information of the output video stream. |
| AudioStream | ComposeAudioStream | No | The information of the output audio stream. |
The time information of an element on the output video track of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Start | String | No | The time when the element starts on the track.s, which means seconds. For example, 3.5s indicates the time when 3.5 seconds of the video elapses.Note: If this parameter is not specified, the start time will be the end time of the previous element. Therefore, you can also use the placeholder parameter ComposeEmptyItem to configure the start time. |
| Duration | String | No | The element duration.s, which means seconds. For example, 3.5s means 3.5 seconds.The default value is the material duration, which is determined by EndTime and StartTime of ComposeSourceMedia. If ComposeSourceMedia is not specified, the duration will be 1 second. |
The transition element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | String | No | The element duration. s, which means seconds. For example, 3s indicates 3 seconds. Default value: 1s.Note s must be an integer. Non-integers will be rounded down to the nearest integer. u200c |
| Transitions | Array of ComposeTransitionOperation | No | The transition effects. The default transition effect is fade. Note: You can add at most one image transition and one audio transition. |
The transition information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The transition type. The image transition, which connects two video segments. ImageFadeInFadeOut u200c BowTieHorizontal u200c BowTieVertical u200c ButterflyWaveScrawler Cannabisleaf Circle CircleCrop u200c Circleopen Crosswarp Cube DoomScreenTransition Doorway Dreamy DreamyZoom FilmBurn GlitchMemories Heart InvertedPageCurl Luma Mosaic Pinwheel PolarFunction PolkaDotsCurtain Radial RotateScaleFade Squeeze Swap Swirl UndulatingBurnOutSwirl Windowblinds WipeDown WipeLeft WipeRight WipeUp ZoomInCircles The audio transition, which connects two audio segments. AudioFadeInFadeOut |
The video element information of a video editing/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceMedia | ComposeSourceMedia | Yes | The media information of the element. |
| TrackTime | ComposeTrackTime | No | The time of the element in the timeline. If this is not specified, the element will follow the previous element. |
| XPos | String | No | The horizontal distance of the element's center from the canvas origin. Two formats are supported:10% means that the distance is 10% of the canvas width. u200c 100px means that the distance is 100 pixels. Default value: 50%. |
| YPos | String | No | The vertical distance of the element's center from the canvas origin. Two formats are supported: u200c 10% means that the distance is 10% of the canvas height. u200c 100px means that the distance is 100 pixels. Default value: 50%. |
| Width | String | No | The width of the video segment. Two formats are supported: u200c 10% means that the video width is 10% of the canvas width. u200c 100px means that the video width is 100 pixels. If one or both parameters are empty or set to 0:Width and Height are empty, the original width and height of the element will be kept. Width is empty and Height is not, the width will be auto scaled. Width is not empty and Height is, the height will be auto scaled. |
| Height | String | No | The height of the element. Two formats are supported: u200c 10% means that the height is 10% of the canvas height. u200c 100px means that the height is 100 pixels. If one or both parameters are empty or set to 0:Width and Height are empty, the original width and height of the element will be kept. Width is empty and Height is not, the width will be auto scaled. Width is not empty and Height is, the height will be auto scaled. |
| ImageOperations | Array of ComposeImageOperation | No | The image operations, such as image rotation. |
| AudioOperations | Array of ComposeAudioOperation | No | The audio operations, such as muting. |
The video stream information of a video edit/compositing task.
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | The codec. Valid values:H.264 (default) |
| Fps | Integer | No | The video frame rate (Hz). Value range: 0–60. The default value is 0, which means that the frame rate will be the same as that of the first video. |
| Bitrate | Integer | No | Reference bitrate, in kbps. Value range: 50-35000. If set, the encoder will try to encode at this bitrate. If not set, the service will automatically adopt a suitable bitrate based on the complexity of an image. |
Container format diagnostic result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Category | String | |
| Type | String | |
| SeverityLevel | String | |
| DateTimeSet | Array of String | |
| TimestampSet | Array of Float |
Details of a content audit template
Used by actions: DescribeContentReviewTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of a content audit template. |
| Name | String | Name of a content audit template. Length limit: 64 characters. |
| Comment | String | Description of a content audit template. Length limit: 256 characters. |
| PornConfigure | PornConfigureInfo | Porn information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| TerrorismConfigure | TerrorismConfigureInfo | The parameters for detecting sensitive information. Note: This field may return null, indicating that no valid values can be obtained. |
| PoliticalConfigure | PoliticalConfigureInfo | The parameters for detecting sensitive information. Note: This field may return null, indicating that no valid values can be obtained. |
| ProhibitedConfigure | ProhibitedConfigureInfo | Control parameter of prohibited information detection. Prohibited information includes: Note: this field may return null, indicating that no valid values can be obtained. |
| UserDefineConfigure | UserDefineConfigureInfo | Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| Type | String | The template type. Valid values: * Preset * Custom Note: This field may return null, indicating that no valid values can be obtained. |
Input rule bound to COS.
Used by actions: CreateSchedule, CreateWorkflow, ModifySchedule, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Bucket | String | Yes | Name of the COS bucket bound to a workflow, such as TopRankVideo-125xxx88. |
| Region | String | Yes | Region of the COS bucket bound to a workflow, such as ap-chongiqng. |
| Dir | String | No | Input path directory bound to a workflow, such as /movie/201907/. If this parameter is left empty, the / root directory will be used. |
| Formats | Array of String | No | All supported formats are as follows: - Video file extension. The following 15 options are supported: .mp4, .avi, .mov, .wmv, .flv, .mkv, .mpg, .mpeg, .rm, .rmvb, .asf, .3gp, .webm, .ts, and .m4v.- Audio file extension. The following 7 options are supported: .mp3, .wav, .aac, .flac, .ogg, .m4a, and .amr.- Subtitle file extension. The following 2 options are supported: .vtt and .srt.- *: any file format is supported.- Unspecified or input an empty list: the system supports the following preset file formats: video ( .mp4, .ts, .flv, .wmv, .asf, .rm, .rmvb, .mpg, .mpeg, .3gp, .mov, .webm, .mkv, .avi, and .m4v); audio (.mp3, .m4a, .flac, .ogg, .wav, .amr, and .aac); subtitle (.vtt and .srt).Note: 1. If the input format list includes *, it indicates that any file format is supported.2. File extensions can be provided with or without ., such as .mp4 or mp4, both are supported.3. Custom file extensions should consist of digits, letters, and characters, and have a length between 1 and 64 characters. |
The information of the COS object to process.
Used by actions: BatchProcessMedia, CreateSubtitleEmbedTemplate, DescribeImageTaskDetail, DescribeMediaMetaData, DescribeSubtitleEmbedTemplates, DetectVideoSubtitleArea, DetectVideoWatermark, ExtractBlindWatermark, ModifySubtitleEmbedTemplate, ProcessImage, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Bucket | String | Yes | The COS bucket of the object to process, such as TopRankVideo-125xxx88. |
| Region | String | Yes | The region of the COS bucket, such as ap-chongqing. |
| Object | String | Yes | The path of the object to process, such as /movie/201907/WildAnimal.mov. |
The information of the output COS object after media processing.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, EditMedia, ModifySchedule, ProcessImage, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Bucket | String | No | The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited. |
| Region | String | No | The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited. |
Intelligent Cover Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent Cover Task Switch. Valid values: |
Control parameter of intelligent cover generating task
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of intelligent cover generating task. Valid values: |
Product fission model info
Used by actions: CreateAiFissionTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Gender | String | No | Gender Enumeration value:
|
| Age | String | No | Age range. Enumeration values:
|
| Appearance | String | No | Appearance Enumeration value:
|
| BodyType | String | No | Body shape Enumeration value:
|
Custom description variable.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | User-defined variable type. Parameter format: PascalCase format. This cannot be UserPrompt. The default platform template is not adapted for custom content. Submit a ticket if needed. |
| Description | String | No | Custom variable description. |
Diagnosis result item.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Category | String | |
| Type | String | |
| Timestamp | Float | |
| Description | String | |
| DateTime | String | |
| SeverityLevel | String |
LLM enhancement.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: ON: enabled. OFF: disabled. Default value: OFF. |
| Type | String | No | Strength type, available values: weak normal strong Default value: normal. |
Used by actions: CreateDocToVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| CosBucketRegion | String | No | |
| CosBucketName | String | No | |
| CosBucketPath | String | No |
Used by actions: CreateDocToVideoTask.
| Name | Type | Required | Description |
|---|---|---|---|
| FileUrl | Array of String | Yes | |
| Prompt | String | Yes | |
| ModelName | String | Yes | |
| ModelVersion | String | Yes | |
| Ratio | String | No | |
| Language | String | No | |
| ReferenceDuration | Integer | No | |
| EnableTTS | Boolean | No | |
| VoiceId | String | No |
The DRM encryption details.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Encryption type. - simpleaes Can only be used for HLS. format support: ts and mp4. Only can be used in slice mode. cannot be used in singlefile mode. - fairplay: Can only be used for HLS. the segment format can only be mp4. Supports slice mode or singlefile mode. - widevine: Can be used for HLS and DASH. the slice format can only be mp4. Output HLS: specifies the slicing or singlefile mode can be used. OutputOutput DASH]: can only be in singlefile mode. - playready: Can be used for HLS and DASH. the slice format can only be mp4. Output HLS: specifies the slicing or singlefile mode can be used. Output DASH: can only be in singlefile mode. - widevine+fairplay,playready+fairplay,widevine+playready+fairplay: Can only be used for HLS. valid values: mp4. Supports slice mode or single file mode. - widevine+playready: Applicable to HLS and MPEG-DASH. the format can only be mp4. HLS format can use slice mode or single file mode. Specifies that only singlefile mode can be used for MPEG-DASH. |
| SimpleAesDrm | SimpleAesDrm | No | SimpleAes encrypted information. |
| SpekeDrm | SpekeDrm | No | Information about FairPlay, WideVine, and PlayReady encryption. |
Edit on-demand video file information
Used by actions: DescribeTaskDetail, EditMedia, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| InputInfo | MediaInputInfo | Yes | Input video information. |
| StartTimeOffset | Float | No | [Edit] task takes effect, video editing start time offset, measurement unit: second. |
| EndTimeOffset | Float | No | [Edit] task takes effect, video editing end time offset, measurement unit: second. |
| Id | String | No |
Configuration for output files of video editing
Used by actions: EditMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Container | String | No | The container. Valid values: mp4 (default), hls, mov, flv, avi.Note: This field may return null, indicating that no valid values can be obtained. |
| Type | String | No | Editing mode. Optional values: normal (default): Precise editing fast: Fast editing, with faster processing speed but lower precision to some extent Note: fast only supports individual files, and the default output transcoding format of normal is h264. Note: This field may return null, indicating that no valid value can be obtained. |
Edit video task info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| Status | String | Task status. Valid values: |
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
| Input | EditMediaTaskInput | Input for video editing tasks. |
| Output | EditMediaTaskOutput |
Input for the video editing task.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| FileInfoSet | Array of EditMediaFileInfo | Input video file information. |
Output of the video editing task
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| OutputStorage | TaskOutputStorage | Target storage for the edited file. |
| Path | String | Path of the edited video file. |
| MetaData | MediaMetaData |
Embedding API input:
Type Data type; currently only supports textData Data content; currently only supports text strings
Used by actions: EmbeddingData.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Data type Enumeration values:
|
| Data | String | Yes | Data content. When Type is text, it is a text string. |
Embedding result
Used by actions: EmbeddingData.
| Name | Type | Description |
|---|---|---|
| Result | Array of Float | Vector |
Audio/Video enhancement configuration.
Used by actions: CreateTranscodeTemplate, CreateWorkflow, DescribeTranscodeTemplates, ModifyTranscodeTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| VideoEnhance | VideoEnhanceConfig | No | Video enhancement configuration. |
| AudioEnhance | AudioEnhanceConfig | No | Audio enhancement configuration. |
Smart erasing, coordinate configuration for the removal area.
The region is determined by the coordinates of the upper left corner and the bottom-right corner.
The coordinate origin is the top-left corner of the image. Coordinate points can be specified using pixel values or a percentage unit.
For the auto erase area:
When unit: %, coordinate range is [0,1].
When the unit is px, the X range is [0, video image width], and the Y range is [0, video image height].
For the designated erase area:
When unit: %, 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: CreateSmartEraseTemplate, CreateSmartSubtitleTemplate, DetectVideoSubtitleArea, ModifySmartEraseTemplate, ModifySmartSubtitleTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| LeftTopX | Float | Yes | X-axis coordinate of the upper left corner of the region. For example, when Unit is set to 1, which means using the percentage unit, 0.05 indicates that 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 upper left corner. For example, when Unit is set to 1, which means using the percentage unit, 0.1 indicates that the vertical distance from the top-left corner of the region to the top-left corner of the entire frame is 10% of the frame height. |
| RightBottomX | Float | Yes | X-axis coordinate of the bottom-right corner of the region. For example, when Unit is set to 1, which means using the percentage unit, 0.75 indicates that the horizontal distance from the bottom-right corner of the region to the top-left corner of the entire frame is 75% of the frame width. |
| RightBottomY | Float | Yes | Y-axis coordinate of the bottom-right corner of the region. For example, when Unit is set to 1, which means using the percentage unit, 0.9 indicates that the vertical distance from the bottom-right corner of the region to the top-left corner of the entire frame is 90% of the frame height. |
| Unit | Integer | Yes | Coordinate unit -Percentage - 2 pixel values |
Intelligent erasure, specify the region configuration.
Directly perform removal in the designated region within a specified period.
When both BeginMs and EndMs are set to 0, directly erase the designated region in the entire video.
Used by actions: CreateSmartEraseTemplate, ModifySmartEraseTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| BeginMs | Integer | Yes | Start time, unit: ms |
| EndMs | Integer | Yes | End time, unit: ms |
| Areas | Array of EraseArea | Yes | Erase domain list during the period |
Conditional judgment output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| RearDriveIndex | Array of Integer | Indexes of nodes that needs to be executed based on the conditional judgment for quality inspection. |
Task judgment conditions.
Used by actions: CreateSchedule, DescribeTaskDetail, ModifySchedule, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of Rules | No |
Extract video digital watermark task information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Media processing task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | Error code. 0 indicates success. Other values indicate failure. |
| Message | String | Error message. |
| InputInfo | MediaInputInfo | Target file info of Media Processing Service. |
| Type | String | Digital watermark type. Valid 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 return it. |
| Result | String | Watermark content fetched. Field will not be returned if no digital watermark is detected. |
| ExtractBlindWatermarkConfig | ExtractBlindWatermarkTaskConfig | Extract digital watermark configuration. |
Extracts the digital watermark task configuration for video transcoding.
Used by actions: DescribeTaskDetail, ExtractBlindWatermark, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| SegmentDuration | Integer | Yes | Valid when the digital watermark 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. |
Face Recognition task control parameter
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Face Recognition task switch. Valid values: |
| Score | Float | No | Face recognition filter score. Returns recognition result when the recognition result reaches or exceeds this score. Default is 95. Value ranges from 0 to 100. |
| DefaultLibraryLabelSet | Array of String | No | Default character filter tag. Specify the tag of the default character to be returned. If left blank or empty, all default character results will be returned. Tag value range: |
| UserDefineLibraryLabelSet | Array of String | No | User-defined character filter tag. Specify the tag of the user-defined character to be returned. If left blank or empty, all customized figure results will be returned. The number of tags is up to 100, and each tag can have up to 16 characters. |
| FaceLibrary | String | No | Figure library selection. Available values: Default value: All, using the default figure library and user-defined character library. |
Face Recognition Task Control Parameter
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Face Recognition task switch. Valid values: |
| Score | Float | No | Face recognition filter score. Returns the recognition result when the recognition result reaches this score or higher. Value ranges from 0 to 100. |
| DefaultLibraryLabelSet | Array of String | No | Default character filter tag. Specify the tag of the default character to be returned. If left blank or empty, all default character results will be returned. Tag value range: |
| UserDefineLibraryLabelSet | Array of String | No | User-defined character filter tag. Specify the tag of the user-defined character to return. If left blank or empty, all custom character results are returned. The number of tags is up to 100, and each tag can have up to 16 characters. |
| FaceLibrary | String | No | Figure library selection. Available values: |
Face enhancement configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Intensity | Float | No | Intensity, value ranges from 0.0 to 1.0. Default: 0.0. |
Product fission task info
Used by actions: CreateAiFissionTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | Integer | No | Video output duration Range: [1, 15] Unit: seconds Default value: 15 |
| ModelTier | String | No | Model gearbox Enumeration value:
|
| Ratio | String | No | Video image ratio Enumeration values:
|
| Resolution | String | No | Output resolution Enumeration values:
|
| Market | String | No | Target market Enumeration values:
Impacts the default model ethnicity and localized style. When CustomModel is not specified, the ethnicity is automatically determined by the market. |
| Language | String | No | Voiceover/subtitle language Enumeration value:
|
| VideoType | String | No | Video type Enumeration value:
|
| SplitCount | Integer | No | Fission count Value ranges from 0 to 1 Unit: unit |
| CustomModel | CustomModel | No | Customize an on-camera model |
Frame interpolation configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Fps | Integer | No | Frame rate. Value ranges from 0 to 100. Measurement unit: Hz. Default value: 0. Note: For transcode, this parameter overrides the internal Fps in VideoTemplate. |
New frame interpolation configuration, which supports fractional frame rates.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: Default value: ON. |
| FpsNum | Integer | No | Frame rate numerator. Value range: non-negative number, less than 120 when divided by the denominator, in Hz. Default value is 0. Note: For transcoding, this parameter overrides the Fps in the VideoTemplate. |
| FpsDen | Integer | No | Frame rate denominator. Value range: numbers equal to or greater than 1. The default value is 1. Note: For transcoding, this parameter will override the FpsDenominator in the VideoTemplate. |
Intelligent Frame Tagging Task Control Parameter
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent frame tagging task switch. Valid values: |
Control parameter of intelligent frame-specific tagging task
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of intelligent frame-specific tagging task. Valid values: |
HLS configuration parameters
Used by actions: CreateLiveRecordTemplate, DescribeLiveRecordTemplates, ModifyLiveRecordTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ItemDuration | Integer | No | Duration of TS file, unit: second, value ranges from 5 to 30 seconds. Leave it blank and it defaults to 30 seconds. |
| Interval | Integer | No | Recording period, unit: second, value ranges from 10 minutes to 12 hr. Leave it blank defaults to 10 minutes (3600 seconds). |
| ContinueTimeout | Integer | No | Continuation waiting time, unit: second. Value range: 60 seconds to 1800 seconds. Leave blank defaults to 0 (recording continuation disabled). |
HDR configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default Value: HDR10. Note: The video encoding method should be h264 or h265. Note: The video encoding bit depth is 10. |
Opening and closing credits parameters
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| HeadSet | Array of MediaInputInfo | No | Opening scene list. |
| TailSet | Array of MediaInputInfo | No | Ending list. |
Intelligent highlight collection segments.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence degree. |
| StartTimeOffset | Float | Segment start time offset. |
| EndTimeOffset | Float | End time offset of the recording clip. |
| SegmentTags | Array of String | |
| BeginTime | String | The start time of a live streaming segment, in the ISO date format. |
| EndTime | String | The end time of a live streaming segment, in the ISO date format. |
| Title | String | Highlight title. |
| Summary | String | Highlight overview. |
Information on the box selection area in an image.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Type of the box selection area in the image. Valid values: Default value: logo. |
| AreaCoordSet | Array of Integer | No | Coordinates (pixel-level) of the box selection area in the image, in the format of [x1, y1, x2, y2]. It indicates the coordinates of the top left corner and the bottom right corner. Note: The maximum value of this field is 4096. For example, [101, 85, 111, —]. |
| BoundingBox | Array of Float | No | Coordinates of the box selection area in the image, in the format of [x1, y1, x2, y2]. It indicates the coordinates of the top left corner and the bottom right corner. This parameter is valid only when AreaCoordSet is not specified. When it indicates the pixel, the maximum value of this field is 4096. - [0.1, 0.1, 0.3, 0.3]: indicates the ratio (values are less than 1). - [50, 50, 350, 280]: indicates the pixel (values are greater than or equal to 1). |
| BoundingBoxUnitType | Integer | No | BoundingBox field unit. When the value is set to 0, select the unit automatically according to the field rule. When it is set to 1, the unit is ratio. When it is set to 2, the unit is pixel. |
Image denoising configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration enabling status. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: weak. |
Image encoding format parameters
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| 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: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| SuperResolution | SuperResolutionConfig | No | Super-resolution configuration. |
| AdvancedSuperResolutionConfig | AdvancedSuperResolutionConfig | No | Advanced super-resolution configuration. |
| Denoise | ImageDenoiseConfig | No | Denoising configuration. |
| ImageQualityEnhance | ImageQualityEnhanceConfig | No | Comprehensive enhancement configuration. |
| ColorEnhance | ColorEnhanceConfig | No | Color enhancement configuration. |
| SharpEnhance | SharpEnhanceConfig | No | Detail enhancement configuration. |
| FaceEnhance | FaceEnhanceConfig | No | Face enhancement configuration. |
| LowLightEnhance | LowLightEnhanceConfig | No | Low-light enhancement configuration. |
Image erasing parameter.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageEraseLogo | ImageEraseLogoConfig | No | Icon erasing configuration. |
Icon erasing configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Capability configuration switch. Valid values: Default value: ON. |
| ImageAreaBoxes | Array of ImageAreaBoxInfo | No | Multiple box selection areas that need to be erased, with a maximum of 16 areas available. Note: This field may return null, indicating that no valid values can be obtained. |
Image processing result information.
Used by actions: DescribeImageTaskDetail.
| Name | Type | Description |
|---|---|---|
| Path | String | |
| OutputStorage | TaskOutputStorage | |
| Content | String | Processing result of the image-to-text task. |
| FileId | String | VOD Standard Edition FileId |
Result type of the image processing task.
Used by actions: DescribeImageTaskDetail.
| Name | Type | Description |
|---|---|---|
| Status | String | |
| ErrMsg | 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| Message | String | |
| Output | ImageProcessTaskOutput | |
| Progress | Integer |
Overall enhancement configuration.
Used by actions: CreateProcessImageTemplate, CreateTranscodeTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ModifyTranscodeTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: weak. |
Input parameter type of an image sprite generating task
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Sprite screenshot template ID. |
| OutputStorage | TaskOutputStorage | No | Target storage for the file after the sprite screenshot is taken. If this is not specified, it inherits the value from the upper-level OutputStorage. |
| OutputObjectPath | String | No | Output path of the sprite screenshot image file after the sprite screenshot is taken, which can be a relative or absolute path. {inputName}_imageSprite_{definition}_{number}.{format}. |
| WebVttObjectName | String | No | Output path of the Web VTT file after the sprite screenshot is taken, which can only be a relative path. If this is not specified, the default relative path is |
| ObjectNumberFormat | NumberFormat | No | Rule of the |
| ExtInfo | String | No | Extended parameter. |
Details of an image sprite generating template
Used by actions: DescribeImageSpriteTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of an image sprite generating template. |
| Type | String | Template type. Valid values: |
| Name | String | Name of an image sprite generating template. |
| Width | Integer | Subimage width of an image sprite. |
| Height | Integer | Subimage height of an image sprite. |
| ResolutionAdaptive | String | Resolution adaption. Valid values:Width represents the long side of a video, while Height the short side;Width represents the width of a video, while Height the height.Default value: open. |
| SampleType | String | Sampling type. |
| SampleInterval | Integer | Sampling interval. |
| RowCount | Integer | Subimage row count of an image sprite. |
| ColumnCount | Integer | Subimage column count of an image sprite. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| FillType | String | Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: Default value: black. |
| Comment | String | Template description. |
| Format | String | The image format. |
Used by actions: DescribeImageTasks.
| Name | Type | Required | Description |
|---|---|---|---|
| TaskId | String | No | |
| Status | String | No | |
| Input | String | No | |
| CreateTime | String | No | |
| BeginProcessTime | String | No | |
| FinishTime | String | No | |
| SubTaskHasFailed | Boolean | No |
Image task input parameters
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, DescribeProcessImageTemplates, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| EncodeConfig | ImageEncodeConfig | No | Image encoding configuration. |
| EnhanceConfig | ImageEnhanceConfig | No | Image enhancement configuration. |
| EraseConfig | ImageEraseConfig | No | Image erasing configuration. |
| AiPosterSuiteConfig | AiPosterSuiteConfig | No | AI image set configuration. |
| AiCutoutConfig | AiCutoutConfig | No | Ai image cutout configuration |
| AiExpansionConfig | AiExpansionConfig | No | Ai Image Expansion Configuration |
| AiStoryboardConfig | AiStoryboardConfig | No | Ai storyboard deconstruction configuration |
| UnderstandImageConfig | UnderstandImageConfig | No | Image understanding configuration. |
Input parameter of an image watermarking template
Used by actions: CreateWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageContent | String | Yes | String generated by Base64-encoding a watermark image. JPEG and PNG images are supported. |
| 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.Width of a watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096].When width and height are not specified or set to 0, the default value is 10%. |
| Height | String | No | Watermark height. % and px formats are supported:Height of the watermark will be the specified percentage of the video height. For example, 10% means that Height is 10% of the video height;Height of the watermark will be in pixels. For example, 100px means that Height is 100 pixels. Value range: 0 or [8, 4096].Default value: 0px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image. |
| RepeatType | String | No | Repeat type of an animated watermark. Valid values: |
Input parameter of an image watermarking template
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageContent | String | No | String generated by Base64-encoding a watermark image. JPEG and PNG images are supported. |
| Width | String | No | Watermark width. % and px formats are supported:Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width;Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. |
| 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.Height of a watermark will be in pixels. For example, 100px means that Height is 100 pixels. Value range: 0 or [8, 4096]. |
| RepeatType | String | No | Repeat type of an animated watermark. Valid values: |
Image watermarking template
Used by actions: DescribeWatermarkTemplates.
| Name | Type | Description |
|---|---|---|
| ImageUrl | String | Watermark image address. |
| Width | String | Watermark width. % and px formats are supported:Width of the watermark will be the specified percentage of the video width; for example, 10% means that Width is 10% of the video width;Width of the watermark will be in px; for example, 100px means that Width is 100 px. |
| Height | String | Watermark height. % and px formats are supported:Height of the watermark will be the specified percentage of the video height. For example, 10% means that Height is 10% of the video height;Height of the watermark will be in pixels. For example, 100px means that Height is 100 pixels.0px means that Height will be proportionally scaled according to the video width. |
| RepeatType | String | Repeat type of an animated watermark. Valid values: |
Issue detected by the LLM.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 (ms). |
| EndTimeMs | Integer | Issue end time (ms). |
| ExtraData | String | Additional data (JSON format), such as severity and other supplementary information. |
LLM detection result report.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| ResultCount | Integer | Number of detection results. |
| ResultSet | Array of LLMDetectionResultItem | Detection item result list. |
Aggregation results of each LLM detection item.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 LLMDetectionIssue | List of issues detected. This is empty if no issue is detected. |
The output of a live scheme subtask.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| LiveRecordTask | LiveScheduleLiveRecordTaskResult | The output of a live recording task. Note: This field may return null, indicating that no valid values can be obtained. |
| LiveQualityControlTask | ScheduleQualityControlTaskResult | Media quality inspection task output. Note: This field may return null, indicating that no valid values can be obtained. |
The output of a live scheme subtask.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| ActivityType | String | Atomic task type. |
| LiveActivityResItem | LiveActivityResItem | The task output. Note: This field may return null, indicating that no valid values can be obtained. |
Information about the live streaming summary result.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Paragraphs | Array of LiveAiParagraphInfo |
Segment information.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Summary | String | Segment summary. |
| Title | String | Segment title. |
| Keywords | Array of String | Segment keyword. |
| StartTimeOffset | Float | Starting time point of the segment, in seconds. |
| EndTimeOffset | Float | End time point of the segment, in seconds. |
| BeginTime | String | The start time of a live streaming segment, in the ISO date format. |
| EndTime | String | The end time of a live streaming segment, in the ISO date format. |
Live streaming Recording output file information
Used by actions: DescribeTaskDetail, ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Url | String | |
| Size | Integer | |
| Duration | Integer | |
| StartTime | String | |
| EndTime | String |
The live recording result.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| OutputStorage | TaskOutputStorage | The storage of the recording file. Note: This field may return null, indicating that no valid values can be obtained. |
| FileList | Array of LiveRecordFile | The recording segments. Note: This field may return null, indicating that no valid values can be obtained. |
The input parameters of a live recording task.
Used by actions: DescribeTaskDetail.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | The live recording template ID. |
| OutputStorage | TaskOutputStorage | No | The storage of the recording file. If this parameter is left empty, the OutputStorage value of the parent folder will be inherited.Note: This field may return null, indicating that no valid values can be obtained. |
| OutputObjectPath | String | No | The output path of the recording file. Note: This field may return null, indicating that no valid values can be obtained. |
Live recording template description
Used by actions: DescribeLiveRecordTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the recording template. |
| HLSConfigure | HLSConfigureInfo | HLS configuration parameters |
| MP4Configure | MP4ConfigureInfo | MP4 configuration parameter. |
| Name | String | Recording template name. |
| Comment | String | Template description information. |
| Type | String | Template type. Valid values: |
| CreateTime | String | Template creation time in ISO datetime format. |
| UpdateTime | String | Last modification time of the template in ISO datetime format. |
| RecordType | String | Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection. |
The result of a live scheme's live recording task.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| Status | String | The task status. Valid values: PROCESSING, SUCCESS, FAIL. |
| ErrCodeExt | String | The error code. An empty string indicates the task is successful; any other value indicates the task has failed. For details, see Error Codes. Note: This field may return null, indicating that no valid values can be obtained. |
| ErrCode | Integer | The error code. 0 indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use ErrCodeExt instead.Note: This field may return null, indicating that no valid values can be obtained. |
| Message | String | The error message. Note: This field may return null, indicating that no valid values can be obtained. |
| Input | LiveRecordTaskInput | The input of a live recording task. Note: This field may return null, indicating that no valid values can be obtained. |
| Output | LiveRecordResult | The output of a live recording task. Note: This field may return null, indicating that no valid values can be obtained. |
| BeginProcessTime | String | The time when the task was started, in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
| FinishTime | String | The time when the task was completed, in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
The information of a live scheme subtask.
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Live orchestration task ID. |
| Status | String | Task stream status. Valid values: |
| ErrCode | Integer | An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned. |
| Message | String | The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task. |
| Url | String | Live stream URL. |
| LiveActivityResultSet | Array of LiveActivityResult | The task output. Note: This field may return null, indicating that no valid values can be obtained. |
Live stream smart subtitle result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Text | String | Recognized text. |
| StartPTSTime | Float | Start PTS time of a translated recording clip, in seconds. |
| EndPTSTime | Float | End PTS time of a translated recording clip, in seconds. |
| Trans | String | Translated text. |
| StartTime | String | |
| EndTime | String | |
| SteadyState | Boolean | |
| UserId | String |
Live stream smart subtitle input struct
Used by actions: ProcessLiveStream.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | Smart subtitle template ID. |
| UserExtPara | String | No | User extension field, which does not need to be filled in for general scenarios. |
Live stream analysis result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of LiveStreamAiAnalysisResultItem |
Live streaming AI analysis result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Result type. Valid values: |
| SegmentResultSet | Array of SegmentRecognitionItem | |
| HighlightResultSet | Array of MediaAiAnalysisHighlightItem | |
| DescriptionResult | LiveAiAnalysisDescriptionItem | Summary result. It is valid when Type is Description. |
Live stream media quality inspection result.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| QualityControlResultSet | Array of QualityControlResult | |
| DiagnoseResultSet | Array of DiagnoseResult |
Live streaming AI recognition result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of LiveStreamAiRecognitionResultItem | Content recognition result list. |
Live stream AI recognition result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Result type. Valid values: |
| FaceRecognitionResultSet | Array of LiveStreamFaceRecognitionResult | Face recognition result, which is valid when Type is FaceRecognition is valid at that time. |
| AsrWordsRecognitionResultSet | Array of LiveStreamAsrWordsRecognitionResult | Speech keyword recognition result. When Type is AsrWordsRecognition. |
| OcrWordsRecognitionResultSet | Array of LiveStreamOcrWordsRecognitionResult | Text keyword recognition result. When Type is OcrWordsRecognition. |
| AsrFullTextRecognitionResultSet | Array of LiveStreamAsrFullTextRecognitionResult | Full speech recognition result. When Type is AsrFullTextRecognition. |
| OcrFullTextRecognitionResultSet | Array of LiveStreamOcrFullTextRecognitionResult | Full text recognition result, when Type is OcrFullTextRecognition. |
| TransTextRecognitionResultSet | Array of LiveStreamTransTextRecognitionResult | Translation result. Valid when Type is TransTextRecognition. |
| ObjectRecognitionResultSet | Array of LiveStreamObjectRecognitionResult | Object recognition result, which is valid when Type is ObjectRecognition. |
| TagRecognitionResultSet | Array of LiveStreamTagRecognitionResult |
Live stream AI content review image sensitive result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| StartPtsTime | Float | Start PTS time of a suspected segment, in seconds. |
| EndPtsTime | Float | End PTS time of a suspected segment, in seconds. |
| Confidence | Float | Sensitive score of the suspected segment. |
| Suggestion | String | Result suggestion for suspected segment porn detection, permissible range: |
| Label | String | Video sensitive result tag, value ranges from...to... |
| Name | String | Sensitive person, violative icon name. |
| AreaCoordSet | Array of Integer | Area coordinates (pixel-level) where sensitive persons or violation icons appear. Format: [x1, y1, x2, y2], which indicates the coordinates of the top-left corner and the bottom-right corner. |
| Url | String | Suspected image URL (Images are not retained permanently upon arrival) The image will be deleted after the PicUrlExpireTime time point. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Live stream AI content review image pornographic result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| StartPtsTime | Float | Start PTS time of a suspected segment, in seconds. |
| EndPtsTime | Float | End PTS time of a suspected segment, in seconds. |
| Confidence | Float | Suspected segment porn score. |
| Suggestion | String | Pornographic result suggestion for suspected segment, value ranges from...to... |
| Label | String | Pornographic result tag for video, value ranges from...to... |
| Url | String | Suspected image URL (Images are not retained permanently upon arrival) The image will be deleted after the PicUrlExpireTime time point. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Live stream AI content review image sensitive result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| StartPtsTime | Float | Start PTS time of a suspected segment, in seconds. |
| EndPtsTime | Float | End PTS time of a suspected segment, in seconds. |
| Confidence | Float | Suspected segment sensitivity score. |
| Suggestion | String | Suspected segment sensitive result suggestion, permissible range: |
| Label | String | Video sensitive content result tag, value ranges from...to... |
| Url | String | Suspected image URL (Images are not retained permanently upon arrival) The image will be deleted after the PicUrlExpireTime time point. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Live stream AI review result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| ResultSet | Array of LiveStreamAiReviewResultItem | Content moderation result list. |
Live stream AI review result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Review result type. Valid values: |
| ImagePornResultSet | Array of LiveStreamAiReviewImagePornResult | Image porn detection result, valid when Type is ImagePorn. |
| ImageTerrorismResultSet | Array of LiveStreamAiReviewImageTerrorismResult | Result of image terrorism detection, valid when Type is ImageTerrorism. |
| ImagePoliticalResultSet | Array of LiveStreamAiReviewImagePoliticalResult | The result of image sensitivity, valid when Type is ImagePolitical. |
| VoicePornResultSet | Array of LiveStreamAiReviewVoicePornResult | Result of sound rule violation, valid when Type is VoicePorn. |
Live stream AI content review sound pornographic result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| StartPtsTime | Float | Start PTS time of a suspected segment, in seconds. |
| EndPtsTime | Float | End PTS time of a suspected segment, in seconds. |
| Confidence | Float | Suspected segment porn score. |
| Suggestion | String | Pornographic result suggestion for suspected segment, value ranges from...to... |
| Label | String | Video porn detection result tag, value ranges from...to... |
Live stream smart subtitle result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| SmartSubtitleResult | Array of LiveSmartSubtitleResult | Live stream smart subtitle task result list. |
Live stream recognition Asr full text recognition
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Text | String | Recognized text. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| StartTime | String | |
| EndTime | String | |
| SteadyState | Boolean | |
| UserId | String |
Live streaming AI Asr word recognition result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Word | String | Speech keyword. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
Live streaming AI face recognition result.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Id | String | Unique identification ID of a figure. |
| Name | String | Figure name. |
| Type | String | Figure library type, which indicates which figure library the recognized figure comes from. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time 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. |
Live streaming AI object recognition result.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Name | String | Name of a recognized object. |
| StartPtsOffset | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsOffset | Float | End PTS time 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. |
| Url | String |
Live stream recognition Ocr full text recognition
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Text | String | Speech and text. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time 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. |
Live streaming AI Ocr word recognition result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Word | String | Text keyword. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
| AreaCoords | 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. |
Live stream processing error information
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| ErrCode | Integer | Error code. |
| Message | String | Error message. |
Information of a live stream processing task
Used by actions: DescribeTaskDetail.
| Name | Type | Description |
|---|---|---|
| TaskId | String | The media processing task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | Error code. 0: success; other values: failure. |
| Message | String | Error message. |
| Url | String | Live stream URL. |
Live stream recording result.
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| RecordOver | Integer | |
| FileResults | Array of LiveRecordFile |
Live streaming AI timestamp recognition result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Id | String | Timestamp events. |
| StartPtsTime | Float | Start PTS time of a recognized segment, in seconds. |
| EndPtsTime | Float | End PTS time of a recognized segment, in seconds. |
| Confidence | Float | Confidence of a recognized segment. Value range: 0-100. |
Event notification configuration for task processing.
Used by actions: ProcessLiveStream.
| Name | Type | Required | Description |
|---|---|---|---|
| NotifyType | String | No | Notification type: TDMQ-CMQ: Message Queue "URL": When a URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl. The callback protocol is http+json. The content of the packet body is the same as the output parameters of the ParseLiveStreamProcessNotification API. <Font color="red"> Note: if it is unspecified or left blank, no callback will be sent. To send a callback, fill in the corresponding type value. |
| NotifyUrl | String | No | HTTP callback URL. This is required if NotifyType is URL. |
| CmqModel | String | No | Queue and Topic models are provided. |
| CmqRegion | String | No | Region when NotifyType is set to TDMQ-CMQ. For example, sh or bj. |
| QueueName | String | No | This field is valid when the model is Queue. It indicates the name of the TDMQ for CMQ queue for receiving event notifications. |
| TopicName | String | No | This field is valid when the model is Topic. It indicates the name of the TDMQ for CMQ topic for receiving event notifications. |
| NotifyKey | String | No |
Live stream real-time translation result
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Text | String | Recognized text. |
| StartPtsTime | Float | Start PTS time of a translated fragment, in seconds. |
| EndPtsTime | Float | End PTS time of a translated segment, in seconds. |
| Confidence | Float | Confidence of a translated segment. Value range: 0-100. |
| Trans | String | Translated text. |
| StartTime | String | |
| EndTime | String | |
| SteadyState | Boolean | |
| UserId | String |
Low-light enhancement configuration.
Used by actions: CreateProcessImageTemplate, CreateTranscodeTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ModifyTranscodeTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type. Valid values: Default value: normal. |
MP4 configuration parameter.
Used by actions: CreateLiveRecordTemplate, DescribeLiveRecordTemplates, ModifyLiveRecordTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Interval | Integer | No | Recording duration, in seconds. The interval can range from 10 minutes to 720 minutes. It is 60 minutes (3,600 seconds) by default. |
Intelligent classification result
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Classification | String | Category name for intelligent classification. |
| Confidence | Float | Reliability of intelligent classification, with a value range from 0 to 100. |
Intelligent cover information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| CoverPath | String | Intelligent cover storage path. |
| Confidence | Float | Reliability of the intelligent cover, with a value range from 0 to -100. |
Intelligent description information.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Description | String | Intelligent description. |
| Confidence | Float | Confidence of the intelligent description, with a value range from 0 to 100. |
| Title | String | Intelligent description title. |
| Keywords | Array of String | Intelligent description keywords. |
| Paragraphs | Array of AiParagraphInfo | |
| MindMapUrl | String | |
| MindMapPath | String | Path of the mind map of a summary task. |
| SubtitlePath | String | Subtitle file path of the video. |
| OutputStorage | TaskOutputStorage | Storage location of the summary file. |
Intelligent frame tagging result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Tag | String | Tag name by frame. |
| CategorySet | Array of String | Classification list by frame tag name. CategorySet.N indicates the (N+1)th level classification. For example, when the Tag is "tower", CategorySet contains two elements: CategorySet.0 is "scenario" and CategorySet.1 is "building", which means the frame Tag is "tower", the first-level category is "scenario", and the second-level category is "building". |
| Confidence | Float | Reliability of frame tagging, with a value range from 0 to -100. |
Frame tagging segments
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| StartTimeOffset | Float | Offset time starting from frame tagging. |
| EndTimeOffset | Float | Offset time for frame tagging completion. |
| TagSet | Array of MediaAiAnalysisFrameTagItem | Tag list within the time segment. |
Intelligent highlight info
Used by actions: DescribeTaskDetail, ParseLiveStreamProcessNotification, ParseNotification.
| Name | Type | Description |
|---|---|---|
| HighlightPath | String | Intelligent highlight address. |
| CovImgPath | String | Intelligent highlight cover address. |
| Confidence | Float | Reliability of the intelligent highlights, with a value range from 0 to 100. |
| Duration | Float | Intelligent highlight duration. |
| SegmentSet | Array of HighlightSegmentItem | Intelligent highlight sub-clip list. |
| HighlightUrl | String | |
| CovImgUrl | String |
Intelligent tag result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Tag | String | Tag name. |
| Confidence | Float | Reliability of the tag, with a value range from 0 to -100. |
| SpecialInfo | String | Varies based on different types. |
Video motion graphic result information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Storage | TaskOutputStorage | Storage location of the animated image file. |
| Path | String | File path of the animated image. |
| Definition | Integer | Rotating image template ID. Please refer to the Rotating Image 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, measurement unit: px. |
| Bitrate | Integer | Animated image bitrate. Measurement unit: 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 the GIF in the video, in seconds. |
Information of the audio stream in a VOD file
Used by actions: DescribeBatchTaskDetail, DescribeMediaMetaData, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Bitrate | Integer | Bitrate of an audio stream in bps. Note: This field may return null, indicating that no valid values can be obtained. |
| SamplingRate | Integer | Sample rate of an audio stream in Hz. Note: This field may return null, indicating that no valid values can be obtained. |
| Codec | String | Audio stream codec, such as aac. Note: This field may return null, indicating that no valid values can be obtained. |
| Channel | Integer | Number of audio channels, for example 2. |
| Codecs | String | Audio Codecs. |
| Loudness | Float | Audio loudness. |
Content review Asr text audit suspected segment
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 | Review result suggestion for suspected segment, value ranges from...to... |
| KeywordSet | Array of String | Suspicious keyword list. |
Content review Ocr text audit suspected segment
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 Suggestions for suspected segment review, value ranges from...to... |
| KeywordSet | Array of String | Suspicious keyword list. |
| AreaCoordSet | Array of Integer | Area coordinates of suspected text occurrence (pixel-level), [x1, y1, x2, y2], i.e., coordinates of the top-left corner and bottom-right corner. |
| Url | String | Suspected image URL (Images are not retained permanently, reaching The image will be deleted after the PicUrlExpireTime time point. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Content review suspected segment
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 | Suspected segment sensitivity score. |
| Suggestion | String | Suspected segment sensitive result suggestion, value ranges from...to... |
| Name | String | Sensitive person, violative icon name. |
| Label | String | Suspected segment sensitive result Tag. The mapping between the LabelSet parameter in the content moderation template visual sensitive task control parameter and the parameter value range of this parameter: violation_photo: politician: entertainment: sport: entrepreneur: scholar: celebrity: military: |
| Url | String | Suspected image URL (Images are not retained permanently upon arrival) The image will be deleted after the PicUrlExpireTime time point. |
| AreaCoordSet | Array of Integer | Area coordinates of sensitive person and violation icon occurrence (pixel-level), [x1, y1, x2, y2], i.e., coordinates of the top-left corner and coordinate of the bottom-right corner. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Content review suspected pornographic/sensitive segment
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 | Suspected segment porn score. |
| Label | String | Tag of the pornographic result for the suspected segment. |
| Suggestion | String | Pornographic result suggestion for suspected segment, value ranges from...to... |
| Url | String | Suspected image URL (Images are not retained permanently upon arrival) The image will be deleted after the PicUrlExpireTime time point. |
| PicUrlExpireTime | String | Expiration time of the suspected image URL, using the ISO date format (https://www.tencentcloud.com/document/product/862/37710?from_cn_redirect=1#52). |
Sprite image information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Sprite sheet specification, please refer to the Sprite Sheet Parameter Template. |
| Height | Integer | Height of small images in sprite sheet. |
| Width | Integer | Width of small images in sprite sheet. |
| TotalCount | Integer | Number of small images in each sprite sheet. |
| ImagePathSet | Array of String | Path of each sprite sheet. |
| WebVttPath | String | |
| Storage | TaskOutputStorage | Storage location of the sprite sheet file. |
The information of the object to process.
Used by actions: BatchProcessMedia, CreateWorkflow, DescribeBatchTaskDetail, DescribeImageTaskDetail, DescribeMediaMetaData, DescribeTaskDetail, DetectVideoSubtitleArea, DetectVideoWatermark, EditMedia, ExtractBlindWatermark, ParseNotification, ProcessImage, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Type of input source object. valid values:. <Li>COS: specifies the cos origin. <Li>URL: the url source. <Li>AWS-S3: aws source. currently only supports transcoding tasks. <Li>VOD: video-on-demand pro edition (VOD Pro). |
| CosInputInfo | CosInputInfo | No | The information of the COS object to process. This parameter is valid and required when Type is COS. |
| UrlInputInfo | UrlInputInfo | No | Valid when Type is URL. This item is required and indicates the media processing URL object information. |
| S3InputInfo | S3InputInfo | No | Valid when Type is AWS-S3. This item is required and represents the AWS S3 object information for media processing. |
| VODInputInfo | VODInputInfo | No | Valid at that time when Type is VOD. This item is required and represents the Media Processing Service (MPS) video-on-demand (VOD) pro edition object information. |
Metadata of a VOD media file
Used by actions: DescribeBatchTaskDetail, DescribeMediaMetaData, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Size | Integer | Size of an uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). Note: This field may return null, indicating that no valid values can be obtained. |
| Container | String | Container, such as m4a and mp4. Note: This field may return null, indicating that no valid values can be obtained. |
| Bitrate | Integer | Sum of the average bitrate of a video stream and that of an audio stream in bps. Note: This field may return null, indicating that no valid values can be obtained. |
| Height | Integer | Maximum value of the height of a video stream in px. Note: This field may return null, indicating that no valid values can be obtained. |
| Width | Integer | Maximum value of the width of a video stream in px. Note: This field may return null, indicating that no valid values can be obtained. |
| Duration | Float | Video duration in seconds. Note: This field may return null, indicating that no valid values can be obtained. |
| Rotate | Integer | Selected angle during video recording in degrees. Note: This field may return null, indicating that no valid values can be obtained. |
| VideoStreamSet | Array of MediaVideoStreamItem | Video stream information. Note: This field may return null, indicating that no valid values can be obtained. |
| AudioStreamSet | Array of MediaAudioStreamItem | Audio stream information. Note: This field may return null, indicating that no valid values can be obtained. |
| VideoDuration | Float | Video duration in seconds. Note: This field may return null, indicating that no valid values can be obtained. |
| AudioDuration | Float | Audio duration in seconds. Note: This field may return null, indicating that no valid values can be obtained. |
Result type for the video to adaptive streaming task
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AdaptiveDynamicStreamingTaskInput | Input for the video to adaptive streaming task. |
| Output | AdaptiveDynamicStreamingInfoItem | |
| BeginProcessTime | String | |
| FinishTime | String |
Result type of the rotating image task
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 animated image task. |
| Output | MediaAnimatedGraphicsItem | |
| BeginProcessTime | String | |
| FinishTime | String |
Result type of image sprite
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 videos. |
| Output | MediaImageSpriteItem | |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
The type of media processing task.
Used by actions: CreateWorkflow, DescribeWorkflows, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| TranscodeTaskSet | Array of TranscodeTaskInput | No | List of transcoding tasks. |
| AnimatedGraphicTaskSet | Array of AnimatedGraphicTaskInput | No | List of animated image screenshot tasks. |
| SnapshotByTimeOffsetTaskSet | Array of SnapshotByTimeOffsetTaskInput | No | List of time point screenshot tasks. |
| SampleSnapshotTaskSet | Array of SampleSnapshotTaskInput | No | List of sampled screenshot tasks. |
| ImageSpriteTaskSet | Array of ImageSpriteTaskInput | No | List of image sprite screenshot tasks. |
| AdaptiveDynamicStreamingTaskSet | Array of AdaptiveDynamicStreamingTaskInput | No | List of adaptive bitrate streaming tasks. |
Task query result type
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: |
| TranscodeTask | MediaProcessTaskTranscodeResult | |
| AnimatedGraphicTask | MediaProcessTaskAnimatedGraphicResult | |
| SnapshotByTimeOffsetTask | MediaProcessTaskSnapshotByTimeOffsetResult | |
| SampleSnapshotTask | MediaProcessTaskSampleSnapshotResult | |
| ImageSpriteTask | MediaProcessTaskImageSpriteResult | |
| AdaptiveDynamicStreamingTask | MediaProcessTaskAdaptiveDynamicStreamingResult |
Result type of the sampling screenshot task for a video
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 for the sampling screenshot task on a video. |
| Output | MediaSampleSnapshotItem | |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
Task result type for screenshot taking at specified time points
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 for screenshot taking at specified time points. |
| Output | MediaSnapshotByTimeOffsetItem | |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
Transcoding task result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 the transcoding task. |
| Output | MediaTranscodeItem | |
| Progress | Integer | Transcoding progress, with a value range of [0-100]. |
Sampling screenshot information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Sampled screenshot specification ID. Please refer to the sampling screenshot parameter template (https://www.tencentcloud.com/document/product/266/33480?from_cn_redirect=1#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). |
| SampleType | String | Sampling method, Valid value: |
| Interval | Integer | Sampling interval |
| Storage | TaskOutputStorage | Storage location of a file after screenshot. |
| ImagePathSet | Array of String | List of generated screenshot paths. |
| WaterMarkDefinition | Array of Integer | If a screenshot is watermarked, the watermark template ID list. |
Screenshot information at the specified time point for on-demand files
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Specification for SnapshotByTimeOffset, please refer to the SnapshotByTimeOffset parameter template. |
| PicInfoSet | Array of MediaSnapshotByTimePicInfoItem | A screenshot information set of the same specification, each element represents a screenshot. |
| Storage | TaskOutputStorage | Storage location of the SnapshotByTimeOffset file. |
Screenshot information at the specified time point
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TimeOffset | Float | The screenshot corresponds to the time offset in the video file, expressed in seconds. |
| Path | String | Path of the screenshot. |
| WaterMarkDefinition | Array of Integer | If a screenshot is watermarked, list of template IDs used for watermarking. |
Transcoding info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| OutputStorage | TaskOutputStorage | Target storage of the transcoded file. |
| Path | String | Video file path after transcoding. |
| Definition | Integer | Transcoding specification ID. Please refer to the transcoding parameter template (https://www.tencentcloud.com/document/product/862/37042?from_cn_redirect=1). |
| Bitrate | Integer | Sum of the average video stream bitrate and the average audio stream bit rate. Measurement unit: bps. |
| Height | Integer | Maximum value of video stream height, measurement unit: px. |
| Width | Integer | Maximum value of the video stream width in px. |
| Size | Integer | Total size of media files (when the video is HLS, the size is the sum of m3u8 and ts file sizes), measurement unit: byte. |
| Duration | Float | Video duration, in seconds. |
| Container | String | Container type, such as m4a and mp4. |
| Md5 | String | md5 value of the video. |
| AudioStreamSet | Array of MediaAudioStreamItem | Audio stream information. |
| VideoStreamSet | Array of MediaVideoStreamItem | Video stream information. |
| CallBackExtInfo | String |
Information of the video stream in a VOD file
Used by actions: DescribeBatchTaskDetail, DescribeMediaMetaData, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Bitrate | Integer | Bitrate of a video stream in bps. Note: This field may return null, indicating that no valid values can be obtained. |
| Height | Integer | Height of a video stream in px. Note: This field may return null, indicating that no valid values can be obtained. |
| Width | Integer | Width of a video stream in px. Note: This field may return null, indicating that no valid values can be obtained. |
| Codec | String | Video stream codec, such as h264. Note: This field may return null, indicating that no valid values can be obtained. |
| Fps | Integer | Frame rate in Hz. Note: This field may return null, indicating that no valid values can be obtained. |
| ColorPrimaries | String | Colorspace. |
| ColorSpace | String | Colorspace. |
| ColorTransfer | String | Colorspace. |
| HdrType | String | HDR type. |
| Codecs | String | Video Codecs. |
| FpsNumerator | Integer | Numerator of the frame rate |
| FpsDenominator | Integer | Denominator of the frame rate |
The mosaic effect parameters to use in a media processing task.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| CoordinateOrigin | String | No | Origin position, which currently can only be: Default value: TopLeft. |
| XPos | String | No | The horizontal position of the origin of the blur relative to the origin of coordinates of the video. % and px formats are supported:XPos of the blur will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width;XPos of the blur will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px. |
| YPos | String | No | Vertical position of the origin of blur relative to the origin of coordinates of video. % and px formats are supported:YPos of the blur will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height;YPos of the blur will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px. |
| Width | String | No | Blur width. % and px formats are supported:Width of the blur will be the specified percentage of the video width; for example, 10% means that Width is 10% of the video width;Width of the blur will be in px; for example, 100px means that Width is 100 px.Default value: 10%. |
| Height | String | No | Blur height. % and px formats are supported:Height of the blur will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height;Height of the blur will be in px; for example, 100px means that Height is 100 px.Default value: 10%. |
| StartTimeOffset | Float | No | Start time offset of blur in seconds. If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame. |
| EndTimeOffset | Float | No | End time offset of blur in seconds. |
Rule of the {number} variable in the output file name.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| InitialValue | Integer | No | Start value of the {number} variable. Default value: 0. |
| Increment | Integer | No | Increment of the {number} variable. Default value: 1. |
| MinLength | Integer | No | Minimum length of the {number} variable. A placeholder will be used if the variable length is below the minimum requirement. Default value: 1. |
| PlaceHolder | String | No | Placeholder used when the {number} variable length is below the minimum requirement. Default value: 0. |
Task control parameter for full text recognition
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for full text recognition, available values: |
Full Text Recognition Task Control Parameter
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for full text recognition, available values: |
Text keyword recognition control parameters.
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Task switch for text keyword recognition, available values: |
| LabelSet | Array of String | No | Keyword-based filtering tag, specify the tag of the keyword to return. If left blank or empty, all results are returned. The number of tags is up to 10, and each tag can have up to 16 characters. |
Text keyword recognition control parameters.
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Task switch for text keyword recognition, available values: |
| LabelSet | Array of String | No | Keyword-based filtering tag, specify the tag of the keyword that needs to be returned. If left blank or empty, all results are returned. The number of tags is up to 10, and each tag can have up to 16 characters. |
Custom parameters for smart erasing.
Used by actions: ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| EraseType | String | No | Removal Type
|
| EraseSubtitleConfig | UpdateSmartEraseSubtitleConfig | No | Subtitle erasing configuration; |
| EraseWatermarkConfig | UpdateSmartEraseWatermarkConfig | No | Watermark erasing configuration. |
| ErasePrivacyConfig | UpdateSmartErasePrivacyConfig | No | Privacy protection configuration. |
| SubtitleEmbedId | Integer | No | id of the subtitle removal suppression template. |
Custom specification parameters for video processing, which are used to override corresponding parameters in templates.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Container | String | No | Container format. Valid values: mp4, flv, hls, mp3, flac, ogg, and m4a; mp3, flac, ogg, and m4a are formats of audio files. |
| RemoveVideo | Integer | No | Whether to remove video data. Valid values: |
| RemoveAudio | Integer | No | Whether to remove audio data. Valid values: |
| VideoTemplate | VideoTemplateInfoForUpdate | No | Video stream configuration parameter. |
| AudioTemplate | AudioTemplateInfoForUpdate | No | Audio stream configuration parameter. |
| TEHDConfig | TEHDConfigForUpdate | No | Top Speed Codec transcoding parameter. |
| SubtitleTemplate | SubtitleTemplate | No | Subtitle stream configuration parameter. |
| AddonAudioStream | Array of MediaInputInfo | No | Specifies the external audio track parameter. |
| StdExtInfo | String | No | Extension field for transcoding. |
| AddOnSubtitles | Array of AddOnSubtitle | No | Subtitle file to be inserted. |
Stamp extraction configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| TransparencyThreshold | Integer | No | Transparency threshold Value ranges from 0 to 255. Default value: 30 |
| OpaqueThreshold | Integer | No | Opaque threshold must be greater than TransparencyThreshold. Value ranges from 0 to 255. Default value: 127. |
| EdgeSamplingStep | Integer | No | Edge sampling steps, default 5. Value ranges from 1 to 10. |
| EdgeExpansionStep | Integer | No | Edge expansion steps. Default: 5 |
| EdgeBlendingIntensity | Float | No | Edge fusion strength, default 0.5 Value ranges from 0 to 1.0 |
The parameters for detecting sensitive information based on ASR.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to detect sensitive information based on ASR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
The parameters for detecting sensitive information based on ASR.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to detect sensitive information based on ASR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
The parameters for detecting sensitive information.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PoliticalImgReviewTemplateInfo | No | The parameters for detecting sensitive information in images. |
| AsrReviewInfo | PoliticalAsrReviewTemplateInfo | No | The parameters for detecting sensitive information based on ASR. |
| OcrReviewInfo | PoliticalOcrReviewTemplateInfo | No | The parameters for detecting sensitive information based on OCR. |
The parameters for detecting sensitive information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PoliticalImgReviewTemplateInfoForUpdate | No | The parameters for detecting sensitive information in images. |
| AsrReviewInfo | PoliticalAsrReviewTemplateInfoForUpdate | No | The parameters for detecting sensitive information based on ASR. |
| OcrReviewInfo | PoliticalOcrReviewTemplateInfoForUpdate | No | The parameters for detecting sensitive information based on OCR. |
The parameters for detecting sensitive information in images.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to detect sensitive information in images. Valid values: |
| LabelSet | Array of String | No | The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 97 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 95 will be used by default. Value range: 0-100. |
The parameters for detecting sensitive information in images.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to detect sensitive information in images. Valid values: |
| LabelSet | Array of String | No | The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
The parameters for detecting sensitive information based on OCR.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to detect sensitive information based on OCR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
The parameters for detecting sensitive information based on OCR.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to detect sensitive information based on OCR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Control parameter of a porn information detection in speech task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a porn information detection in speech task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
Control parameter of a porn information detection in speech task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a porn information detection in speech task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Control parameter of a porn information detection task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PornImgReviewTemplateInfo | No | Control parameter of porn information detection in image. Note: This field may return null, indicating that no valid values can be obtained. |
| AsrReviewInfo | PornAsrReviewTemplateInfo | No | Control parameter of porn information detection in speech. Note: This field may return null, indicating that no valid values can be obtained. |
| OcrReviewInfo | PornOcrReviewTemplateInfo | No | Control parameter of porn information detection in text. Note: This field may return null, indicating that no valid values can be obtained. |
Control parameter of a porn information detection task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | PornImgReviewTemplateInfoForUpdate | No | Control parameter of porn information detection in image. |
| AsrReviewInfo | PornAsrReviewTemplateInfoForUpdate | No | Control parameter of porn information detection in speech. |
| OcrReviewInfo | PornOcrReviewTemplateInfoForUpdate | No | Control parameter of porn information detection in text. |
Control parameter of a porn information detection in image task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a porn information detection in image task. Valid values: |
| LabelSet | Array of String | No | Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 0 will be used by default. Value range: 0-100. |
Control parameter of a porn information detection in image task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a porn information detection in image task. Valid values: |
| LabelSet | Array of String | No | Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Control parameter of a porn information detection in text task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a porn information detection in text task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
Control parameter of a porn information detection in text task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a porn information detection in text task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Image processing template.
Used by actions: DescribeProcessImageTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the image processing template. |
| Name | String | Image processing template name. |
| Comment | String | Description information of the image processing template. |
| Type | String | Template type. |
| ProcessImageConfig | ImageTaskInput | Image processing template configuration parameter. |
| CreateTime | String | Template creation time. |
| UpdateTime | String | Last modification time of the template. |
Control parameter of prohibited information detection in speech task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of prohibited information detection in speech task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
Control parameter of prohibited information detection in speech task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of prohibited information detection in speech task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
Control parameter of prohibited information detection task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| AsrReviewInfo | ProhibitedAsrReviewTemplateInfo | No | Control parameter of prohibited information detection in speech. |
| OcrReviewInfo | ProhibitedOcrReviewTemplateInfo | No | Control parameter of prohibited information detection in text. |
Control parameter of prohibited information detection task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| AsrReviewInfo | ProhibitedAsrReviewTemplateInfoForUpdate | No | Control parameter of prohibited information detection in speech. |
| OcrReviewInfo | ProhibitedOcrReviewTemplateInfoForUpdate | No | Control parameter of prohibited information detection in text. |
Control parameter of prohibited information detection in text task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of prohibited information detection in text task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
Control parameter of prohibited information detection in text task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of prohibited information detection in text task. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
Episode project information.
Used by actions: QueryProject.
| Name | Type | Required | Description |
|---|---|---|---|
| ProjectId | String | No | Project ID. |
| ProjectName | String | No | Project name. |
| Description | String | No | Project description. |
| TermBase | Array of TermBase | No | Project term base. |
| Speakers | Array of Speakers | No | List of characters. |
| CreatedAt | Integer | No | Creation time (Unix timestamp). |
| UpdatedAt | Integer | No | Update time (Unix timestamp). |
Translation result of pure subtitle files.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Task status (the three valid values are as follows): - PROCESSING - SUCCESS - FAIL |
| ErrCodeExt | String | Error code. A null string indicates that the task is successful, while other values indicate that the task has failed. For valid values, see the list of Media Processing Service (MPS) 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 | SmartSubtitleTaskResultInput | Translation task input information. |
| Output | PureSubtitleTransResultOutput | |
| Progress | Integer | Task progress. |
Detailed output result of translation.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| OutputStorage | TaskOutputStorage | |
| SubtitleResults | Array of SubtitleTransResultItem | Result set of multilingual translation. |
Media quality inspection result output.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| NoAudio | Boolean | A value of true indicates that the video has no audio track. |
| NoVideo | Boolean | A value of true indicates that the video has no video track. |
| QualityEvaluationScore | Integer | No-reference quality score of the video, on a scale of 0 to 100. |
| QualityEvaluationMeanOpinionScore | Float | No-reference quality score of the video (MOS). |
| AestheticEvaluationScore | Integer | Video aesthetic score. Value range: [0, 100]. |
| QualityControlResultSet | Array of QualityControlResult | Exception items detected in content quality inspection. |
| ContainerDiagnoseResultSet | Array of ContainerDiagnoseResultItem | Exception items detected in format diagnosis. |
| LLMDetectionReport | LLMDetectionReport | LLM AIGC quality detection result. |
Quality inspection result item
Used by actions: ParseLiveStreamProcessNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Integer | |
| StartTimeOffset | Float | Start time of occurrence, in seconds. |
| EndTimeOffset | Float | End timestamp of the occurrence, in seconds. |
| AreaCoordSet | Array of Integer |
Quality inspection item configurations.
Used by actions: CreateQualityControlTemplate, DescribeQualityControlTemplates, ModifyQualityControlTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Quality inspection item name. Valid values: |
| Switch | String | No | |
| Sampling | String | No | |
| IntervalTime | Integer | No | |
| Duration | Integer | No | |
| Threshold | String | No |
Quality inspection exception item.
Used by actions: DescribeTaskDetail, ParseLiveStreamProcessNotification, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Exception type. Valid values: Jitter: jitter. Blur: blurry. LowLighting: low light. HighLighting: overexposure. CrashScreen: screen glitch. BlackWhiteEdge: Black and white edges SolidColorScreen: solid color screen. Noise: noise. Mosaic: Mosaic QRCode: QR code. AppletCode: Mini program code. BarCode: barcode. LowVoice: bass. HighVoice: high voice detection. NoVoice: mute. LowEvaluation: The video no-reference score (MOS) is below the threshold. AudioEvaluation: The audio no-reference scoring (MOS) is below the threshold. AudioNoise: Audio noise. |
| QualityControlItems | Array of QualityControlItem | Quality inspection result item. |
Detection policy for media quality inspection.
Used by actions: CreateQualityControlTemplate, DescribeQualityControlTemplates, ModifyQualityControlTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| StrategyType | String | No | Policy type. Value: - TimeSpotCheck |
| TimeSpotCheck | TimeSpotCheck | No | Spot check policy based on time. |
Media quality inspection template details.
Used by actions: DescribeQualityControlTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of a media quality inspection template. |
| Name | String | Media quality inspection template name. Note: This field may return null, indicating that no valid values can be obtained. |
| Comment | String | Template description. Note: This field may return null, indicating that no valid values can be obtained. |
| Type | String | Template type. Valid values: Note: This field may return null, indicating that no valid values can be obtained. |
| QualityControlItemSet | Array of QualityControlItemConfig | Media quality inspection configuration parameters. Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Creation time of a template in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
| UpdateTime | String | Last modified time of a template in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
| Strategy | QualityControlStrategy | Spot check policy for media quality inspection. |
Query the list filter criteria for AIGC tasks
Used by actions: DescribeAigcTaskList.
| Name | Type | Required | Description |
|---|---|---|---|
| TaskId | String | No | Task ID. |
| TaskType | String | No | Task type |
| TaskStatus | String | No | Task status. |
| Resolution | String | No | Resolution |
| Ratio | String | No | Aspect ratio. |
Input parameter of image watermark template
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageContent | MediaInputInfo | Yes | Input content of watermark image. JPEG and PNG images are supported. |
| Width | String | No | Watermark width. % and px formats are supported:Width of the watermark will be the specified percentage of the video width; for example, 10% means that Width is 10% of the video width;Width of the watermark will be in px; for example, 100px means that Width is 100 px.Default value: 10%. |
| Height | String | No | Watermark height. % and px formats are supported:Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height;Height of the watermark will be in px; for example, 100px means that Height is 100 px.Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image. |
| RepeatType | String | No | Repeat type of an animated watermark. Valid values:once: no longer appears after watermark playback ends.repeat_last_frame: stays on the last frame after watermark playback ends.repeat (default): repeats the playback until the video ends. |
Custom parameters for smart erasing.
Used by actions: ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| EraseType | String | Yes | Removal Type
|
| EraseSubtitleConfig | SmartEraseSubtitleConfig | No | |
| EraseWatermarkConfig | SmartEraseWatermarkConfig | No | |
| ErasePrivacyConfig | SmartErasePrivacyConfig | No | |
| 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: BatchProcessMedia, DescribeBatchTaskDetail, ParseNotification, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleType | Integer | Yes | Smart subtitle language type. |
| VideoSrcLanguage | String | Yes | Smart subtitling video source language |
| SubtitleFormat | String | No | |
| TranslateSwitch | String | No | |
| TranslateDstLanguage | String | No | |
| AsrHotWordsConfigure | AsrHotWordsConfigure | No | |
| 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 | SelectingSubtitleAreasConfig | No | |
| 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: |
Specifications for custom transcoding
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Container | String | Yes | Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. |
| RemoveVideo | Integer | No | Whether to remove video data. Valid values: Default value: 0. |
| RemoveAudio | Integer | No | Whether to remove audio data. Valid values: Default value: 0. |
| VideoTemplate | VideoTemplateInfo | No | Video stream configuration parameter. This field is required when RemoveVideo is 0. |
| AudioTemplate | AudioTemplateInfo | No | Audio stream configuration parameter. This field is required when RemoveAudio is 0. |
| TEHDConfig | TEHDConfig | No | TESHD transcoding parameter. |
| StdExtInfo | String | No | Additional parameter, which is a serialized JSON string. |
| EnhanceConfig | EnhanceConfig | No | Audio/Video enhancement configuration |
| SubtitleTemplate | SubtitleTemplate | No | Subtitle parameter |
Custom watermark specifications.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Watermark type. Valid values: |
| CoordinateOrigin | String | No | Origin position. valid values:. <Li>TopLeft: indicates that the coordinate origin is at the top left corner of the video image and the watermark origin is at the top left corner of the image or text.. <Li>TopRight: indicates that the coordinate origin is at the top right corner of the video image and the watermark origin is at the top right corner of the image or text.. <Li>BottomLeft: indicates that the coordinate origin is at the bottom-left corner of the video image and the watermark origin is at the bottom-left corner of the image or text.. Default value: TopLeft. |
| XPos | String | No | The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width;XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px. |
| YPos | String | No | The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height;YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px. |
| ImageTemplate | RawImageWatermarkInput | No | Image watermark template. This field is required when Type is image and is invalid when Type is text. |
Image set information.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Theme | String | No | Sub-image type. Enumeration values:
|
| Num | Integer | No | Number of corresponding sub-images. Value range: 1 to 4. Unit: image. Each type can have up to 4 sub-images. The total number of sub-images must be within the range of 4 to 12. |
Result of the sentence recognition.
Used by actions: RecognizeAudio.
| Name | Type | Description |
|---|---|---|
| Start | Float | Start time in the audio, in seconds. |
| End | Float | End time in the audio, in seconds. |
| Text | String | Audio recognition result. |
| WordsInfo | Array of WordResult | Word timestamp result. |
Rule condition configuration.
Used by actions: CreateSchedule, ModifySchedule.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | No | Key of the quality inspection item condition. |
| Value | String | No | Value corresponding to the condition. |
Task judgment conditions.
Used by actions: CreateSchedule, ModifySchedule.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | |
| Conditions | Array of RuleConditionItem | No | |
| Linker | String | No | Logical operator for the list of conditions. Valid values: - &&: logical AND - ||: logical OR |
| RearDriveIndexs | Array of Integer | No |
The AWS S3 storage information of a source file.
Used by actions: BatchProcessMedia, DescribeImageTaskDetail, DescribeMediaMetaData, DetectVideoSubtitleArea, DetectVideoWatermark, ExtractBlindWatermark, ProcessImage, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| S3Bucket | String | Yes | S3 bucket. |
| S3Region | String | Yes | Region of the S3 bucket. Currently supports: us-east-1 eu-west-3 |
| S3Object | String | Yes | Resource path of the media in the S3 bucket. |
| S3SecretId | String | No | AWS private network access media resource secret key id. |
| S3SecretKey | String | No | AWS private network access media content key. |
The AWS S3 storage information of an output file.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, EditMedia, ModifySchedule, ProcessImage, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| S3Bucket | String | Yes | S3 bucket. |
| S3Region | String | Yes | Region of the S3 bucket. |
| S3SecretId | String | No | Secret key id for uploading media content to the AWS private network. |
| S3SecretKey | String | No | Upload the secret key for media content on the AWS private network. |
Input parameter type of a sampled screenshot task.
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | Sampled screenshot template ID. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Up to 10 image or text watermarks are supported. |
| OutputStorage | TaskOutputStorage | No | Target storage for the file after the sampled screenshot is taken. If this is not specified, it inherits the value from the upper-level OutputStorage. |
| OutputObjectPath | String | No | Output path of the image file after the sampled screenshot is taken, which can be a relative or absolute path. {inputName}_sampleSnapshot_{definition}_{number}.{format}. |
| ObjectNumberFormat | NumberFormat | No | Rule of the |
| ExtInfo | String | No | Extended parameter. |
Details of a sampled screenshot template
Used by actions: DescribeSampleSnapshotTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of a sampled screenshot template. |
| Type | String | Template type. Valid values: |
| Name | String | Name of a sampled screenshot template. |
| Comment | String | Template description. |
| Width | Integer | Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| Height | Integer | Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| ResolutionAdaptive | String | Resolution adaption. Valid values:Width represents the long side of a video, while Height the short side;Width represents the width of a video, while Height the height.Default value: open. |
| Format | String | Image format. |
| SampleType | String | Sampled screenshot type. |
| SampleInterval | Integer | Sampling interval. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| FillType | String | Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: Default value: black. |
Orchestrate the task result type of video analysis
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AiAnalysisTaskInput | Analyze the input of the task. |
| Output | Array of AiAnalysisResult | Analysis task output. |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
Media quality inspection task result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| Message | String | Error message. |
| Input | ExecRulesTask | Input of the conditional judgment task. |
| Output | ExecRuleTaskData |
Media quality inspection task result type.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AiQualityControlTaskInput | Media quality inspection task input. |
| Output | QualityControlData | |
| Progress | Integer | Task execution progress. |
Orchestrate the result type of a video recognition task
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AiRecognitionTaskInput | Recognition task input. |
| Output | Array of AiRecognitionResult | Recognition task output. |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
Orchestrate the moderation job result type
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | AiContentReviewTaskInput | Review task input. |
| Output | Array of AiContentReviewResult | |
| BeginProcessTime | String | |
| FinishTime | String |
Result of the smart subtitle scheduling task.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | SmartSubtitlesTaskInput | Recognition task input. |
| Output | Array of SmartSubtitlesResult | Recognition task output. |
| BeginProcessTime | String | Task execution start time in ISO date and time format. |
| FinishTime | String | Task execution completion time in ISO date and time format. |
Orchestration task info
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Orchestration task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned. |
| Message | String | The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task. |
| InputInfo | MediaInputInfo | |
| MetaData | MediaMetaData | |
| ActivityResultSet | Array of ActivityResult |
The details of a scheme.
Used by actions: DescribeSchedules.
| Name | Type | Description |
|---|---|---|
| ScheduleId | Integer | The scheme ID. |
| ScheduleName | String | The scheme name. Note: This field may return null, indicating that no valid values can be obtained. |
| Type | String | The scheme type. Valid values:PresetCustom Note: This field may return null, indicating that no valid values can be obtained. |
| Status | String | The scheme status. Valid values:EnabledDisabledNote: This field may return null, indicating that no valid values can be obtained. |
| Trigger | WorkflowTrigger | The trigger of the scheme. Note: This field may return null, indicating that no valid values can be obtained. |
| Activities | Array of Activity | The subtasks of the scheme. Note: This field may return null, indicating that no valid values can be obtained. |
| OutputStorage | TaskOutputStorage | The bucket to save the output file. Note: This field may return null, indicating that no valid values can be obtained. |
| OutputDir | String | The directory to save the output file. Note: This field may return null, indicating that no valid values can be obtained. |
| TaskNotifyConfig | TaskNotifyConfig | The notification configuration. Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | The creation time in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
| UpdateTime | String | The last updated time in ISO date format. Note: This field may return null, indicating that no valid values can be obtained. |
| ResourceId | String | Resource ID. For those without an associated resource ID, fill in with an account's primary resource ID. Note: This field may return null, indicating that no valid values can be obtained. |
Banding removal configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Intensity | Float | No | Intensity, value ranges from 0.0 to 1.0. Default value: 0.0. |
Security group information.
Used by actions: DescribeStreamLinkSecurityGroup.
| Name | Type | Description |
|---|---|---|
| Id | String | Security group ID. |
| Name | String | Security group name. |
| Whitelist | Array of String | Allowlist list. |
| OccupiedInputs | Array of String | List of bound input streams. Note: This field may return null, indicating that no valid value can be obtained. |
| Region | String | Security group address. |
| OccupiedOutputs | Array of String | List of bound output streams. Note: This field may return null, indicating that no valid value can be obtained. |
Intelligent video splitting recording clip.
Used by actions: DescribeTaskDetail, ParseLiveStreamProcessNotification, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence degree. |
| StartTimeOffset | Float | Start time offset of a recording clip. |
| EndTimeOffset | Float | End time offset of the recording clip. |
| SegmentUrl | String | Split segment URL. |
| CovImgUrl | String | Segment cover. |
| Title | String | Segment title. |
| Summary | String | Segment summary. |
| Keywords | Array of String | Segmentation keywords. |
| BeginTime | String | The start time of a live streaming segment, in the ISO date format. |
| EndTime | String | The end time of a live streaming segment, in the ISO date format. |
| PersonId | String | Specify the figure ID. |
Information on special segment configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch for segment duration at startup. Optional values: on: Turn on off: Turn off the switch Default value: off |
| FragmentTime | Integer | No | Segment duration at startup. Unit: second |
| FragmentEndNum | Integer | No | Number of effective segments, indicating the first FragmentEndNum segments with FragmentTime. Value range: >=1 |
Area configurations for the subtitle OCR extraction box.
Used by actions: BatchProcessMedia, CreateSmartSubtitleTemplate, DescribeSmartSubtitleTemplates, ModifySmartSubtitleTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| AutoAreas | Array of EraseArea | 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. |
Detail enhancement configuration.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Intensity | Float | No | Strength, value ranges from 0.0 to 1.0. Default: 0.0. |
The AES-128 encryption details.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Uri | String | Yes | Request decryption key uri address. |
| Key | String | Yes | Encryption key (32-byte hexadecimal string). |
| Vector | String | No | Encryption initialization vector (32-byte hexadecimal string). |
Privacy protection configuration for the smart erasing template.
Used by actions: CreateSmartEraseTemplate, DescribeSmartEraseTemplates, ModifySmartEraseTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| PrivacyModel | String | Yes | Privacy protection removal method. - Blur: blur detection - mosaic |
| PrivacyTargets | Array of String | Yes | Privacy protection target. (When API Explorer is used, no need to specify an array. Just add the corresponding items and fill in the value.) -Human face - plate: license plate. |
Subtitle removal configuration for the smart erasing template.
Used by actions: CreateSmartEraseTemplate, DescribeSmartEraseTemplates, ModifySmartEraseTemplate, ProcessMedia.
| 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 is zh_en. This parameter is valid only when OcrSwitch is "ON".
|
| SubtitleFormat | String | No | Subtitle file format. Default value is vtt. This parameter is valid only when OcrSwitch takes value "ON".
|
| TransSwitch | String | No | Whether to enable subtitle translation. The default value is OFF. This parameter is valid only when OcrSwitch is set to "ON".
|
| TransDstLang | String | No | The target language for subtitle translation defaults to en. This parameter is valid only when TransSwitch is set to "ON". |
| AutoAreas | Array of EraseArea | No | Automatically erase custom regions. |
| CustomAreas | Array of EraseTimeArea | 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: CreateSchedule, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | Smart erasing template id. |
| RawParameter | RawSmartEraseParameter | No | |
| OverrideParameter | OverrideEraseParameter | No | Custom parameters for smart erasing. When the value of Definition is not 0, this parameter is valid. When certain erasing parameters in this structure are specified, the specified parameters will be used to overwrite those in the smart erasing template. This parameter is used in highly customized scenarios. It is recommended to use only Definition to specify smart erasing parameters. |
| OutputStorage | TaskOutputStorage | No | |
| OutputObjectPath | String | No | Output path of the file, which can be a relative or absolute path. To define the output path, the path must end with .{format}. For variable names, please refer to the Filename Variable Explanation (https://www.tencentcloud.com/document/product/862/37039?from_cn_redirect=1).Relative path example: Absolute path example: Note: Currently does not support the BatchProcessMedia API. |
Intelligent erasure task result
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| Message | String | Error message. |
| Input | SmartEraseTaskInput | |
| Output | AiAnalysisTaskDelLogoOutput | |
| Progress | Integer | Task progress. |
| BeginProcessTime | String | Starting time of task execution, in ISO date and time format. |
| FinishTime | String | Task completion time, in ISO date and time format. |
Smart erasing template details.
Used by actions: DescribeSmartEraseTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the smart erasing template. |
| Name | String | Smart erasing template name. |
| Comment | String | Smart erasing template description information. |
| Type | String | Template type. Valid values: * Preset: system preset template. * Custom: user-defined template. |
| EraseType | String | Erasing type. -subtitle: subtitle removal. -watermark: watermark removal. -privacy: privacy protection. |
| EraseSubtitleConfig | SmartEraseSubtitleConfig | Subtitle erasing configuration. Note: This field may return null, indicating that no valid values can be obtained. |
| EraseWatermarkConfig | SmartEraseWatermarkConfig | Watermark erasing configuration. Note: This field may return null, indicating that no valid values can be obtained. |
| ErasePrivacyConfig | SmartErasePrivacyConfig | Privacy protection configuration. Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Template creation time in ISO datetime format. |
| UpdateTime | String | Last modification time of the template in ISO datetime format. |
| AliasName | String | Alias of the preset smart erasing template. |
Watermark removal configuration for the smart erasing template.
Used by actions: CreateSmartEraseTemplate, DescribeSmartEraseTemplates, ModifySmartEraseTemplate, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| WatermarkEraseMethod | String | Yes | Watermark removal method. Automatic erasing: Video watermarks are automatically recognized using an AI model and are erased to generate a new video. It applies to dynamic watermarks. When using automatic erasing, if AutoAreas is not specified, the full-screen video image area will be erased automatically. If AutoAreas is specified, the specified area will be erased automatically. Specified area erasure: For static watermarks with a relatively fixed position, we recommend you directly specify the area to erase. When you choose specified area erasure, import at least a specified region. -. auto: automatic removal - custom: specified area erasing. |
| WatermarkModel | String | Yes | Watermark removal model. Basic Edition: Provides average effects and high cost performance. Suitable for animations or videos with clean backgrounds. Advanced edition: Better effectiveness, suitable for reality style videos such as short drama. -. - advanced: Advanced Edition. |
| AutoAreas | Array of EraseArea | No | Custom area for automatic erasing. For the specified area, AI models are used to automatically detect and erase the target objects. Note: When the erasing method is set to custom, this parameter is invalid. When a template is modified, input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
| CustomAreas | Array of EraseTimeArea | No | Specify the custom region for erasing. For the specified area, erase the target objects directly without detection and recognition within a selected time period. Note: When a template is modified, input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
Full speech recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | SmartSubtitleTaskResultInput | |
| Output | SmartSubtitleTaskAsrFullTextResultOutput | |
| Progress | Integer |
Full speech recognition result.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of SmartSubtitleTaskAsrFullTextSegmentItem | |
| Path | String | Subtitle file path |
| SubtitlePath | String | Subtitle file URL. |
| SubtitleInfo | SubtitleResult | Subtitle recognition result info. |
| OutputStorage | TaskOutputStorage | Storage location of the subtitle file. |
Segment undergone full speech recognition.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| StartTimeOffset | Float | Start time offset of the recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of the recognized segment, in seconds. |
| Text | String | Recognized text. |
| Wordlist | Array of WordResult | |
| SpeakerId | String | Speaker ID (if speaker recognition is enabled). |
Output information for smart subtitle tasks.
Used by actions: DescribeBatchTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Progress | Integer | Task progress. |
| Status | String | Task status. Valid values are PROCESSING, SUCCESS, WAITING, and FAIL. |
| 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 MPS error codes. |
| Message | String | Error message. |
| TransTextTask | SmartSubtitleTaskTransTextResultOutput | |
| AsrFullTextTask | SmartSubtitleTaskAsrFullTextResultOutput |
Full-text recognition result for smart subtitle tasks.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | SmartSubtitleTaskResultInput | |
| Output | SmartSubtitleTaskTextResultOutput | |
| Progress | Integer |
Smart subtitle recognition segment.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| StartTimeOffset | Float | Start time offset of the recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of the recognized segment, in seconds. |
| Text | String | Recognized text. |
| Trans | String | Translated text. |
| SpeakerId | String | Speaker ID. |
Smart subtitle translation input.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Smart subtitle template ID. |
| RawParameter | RawSmartSubtitleParameter | |
| UserExtPara | String | Extended parameter. |
Smart subtitle recognition result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of SmartSubtitleTaskFullTextSegmentItem | |
| RecognizeSubtitleResult | Array of SubtitleResult | |
| TransSubtitleResult | Array of SubtitleResult | |
| OutputStorage | TaskOutputStorage |
Translation result.
Used by actions: DescribeTaskDetail, ParseNotification.
| 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 [Error Codes] (https://www.tencentcloud.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81). |
| 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 | SmartSubtitleTaskResultInput | |
| Output | SmartSubtitleTaskTransTextResultOutput | |
| Progress | Integer |
Translation result.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| SegmentSet | Array of SmartSubtitleTaskTransTextSegmentItem | |
| SubtitlePath | String | Subtitle file URL. |
| OutputStorage | TaskOutputStorage | Smart subtitling result storage information. |
| Path | String | Subtitle file path |
| SubtitleResults | Array of SubtitleTransResultItem | Returned translation result during multilingual translation. |
Translated segment.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Confidence | Float | Confidence of the recognized segment. Value range: 0–100. |
| StartTimeOffset | Float | Start time offset of the recognized segment, in seconds. |
| EndTimeOffset | Float | End time offset of the recognized segment, in seconds. |
| Text | String | Recognized text. |
| Trans | String | Translated text. |
| Wordlist | Array of WordResult | |
| SpeakerId | String | Speaker ID (if speaker recognition is enabled). |
Smart subtitle template details.
Used by actions: DescribeSmartSubtitleTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the smart subtitle template. |
| Name | String | Smart subtitle template name. Note: This field may return null, indicating that no valid values can be obtained. |
| Comment | String | Smart subtitle template description. Note: This field may return null, indicating that no valid values can be obtained. |
| Type | String | Template type. Valid values:
Note: This field may return null, indicating that no valid values can be obtained. |
| AsrHotWordsConfigure | AsrHotWordsConfigure | ASR hotword lexicon parameters. Note: This field may return null, indicating that no valid values can be obtained. |
| AsrHotWordsLibraryName | String | Name of the hotword lexicon associated with the template. Note: This field may return null, indicating that no valid values can be obtained. |
| VideoSrcLanguage | String | Video source language list for smart subtitle:
|
| SubtitleFormat | String | Smart subtitle file format.
Note: This field may return null, indicating that no valid values can be obtained. |
| SubtitleType | Integer | Smart subtitle language type. |
| TranslateSwitch | String | Subtitle translation switch. Note: This field may return null, indicating that no valid values can be obtained. |
| TranslateDstLanguage | String | Target language for subtitle translation. Note: Use Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Template creation time, in ISO date format. |
| UpdateTime | String | Last template modification time, in ISO date format. |
| AliasName | String | Preset template alias for smart subtitle. Note: This field may return null, indicating that no valid values can be obtained. |
| ProcessType | Integer | Subtitle processing type:
|
| SelectingSubtitleAreasConfig | SelectingSubtitleAreasConfig | Area configurations for the subtitle OCR extraction box. Note: This field may return null, indicating that no valid values can be obtained. |
| SubtitleEmbedId | Integer | Subtitle burn-in template ID. |
| SpeakerMode | Integer | Speaker identification mode. Valid values: |
| SpeakerLabel | Integer | Indicates whether to output the identified speaker to the subtitle file. Valid values: |
Smart subtitle task result.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Type | String | Task type. Valid values: - AsrFullTextRecognition: full speech recognition - TransTextRecognition: speech translation - PureSubtitleTrans: pure subtitle translation. - OcrFullTextRecognition: text-based subtitle extraction. |
| AsrFullTextTask | SmartSubtitleTaskAsrFullTextResult | |
| TransTextTask | SmartSubtitleTaskTransTextResult | |
| PureSubtitleTransTask | PureSubtitleTransResult | |
| OcrFullTextTask | SmartSubtitleTaskFullTextResult |
Smart subtitle input struct.
Used by actions: BatchProcessMedia, CreateSchedule, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | No | Smart subtitle template ID. |
| UserExtPara | String | No | User extension field, which does not need to be filled in for general scenarios. |
| RawParameter | RawSmartSubtitleParameter | No | |
| OutputStorage | TaskOutputStorage | No | |
| OutputObjectPath | String | No | Output path of the generated subtitle file, which can be a relative or absolute path. To define the output path, the path must end with .{format}. For variable names, please refer to the Filename Variable Explanation (https://www.tencentcloud.com/document/product/862/37039?from_cn_redirect=1).Relative path example: - File name_{variable name}.{format} -File name.{format} Absolute path example: -/Custom path/Filename_{variable name}.{format} If this field is left unspecified, the default value is the relative path in the following format: {inputName}_smartsubtitle_{definition}.{format}. |
Input parameter type of a time point screenshot task
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| 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 seconds. 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. |
| OutputStorage | TaskOutputStorage | No | Target storage for the file after time point screenshot taking. If not specified, it inherits the upper-level OutputStorage value. |
| OutputObjectPath | String | No | Output path of the image file after the time point screenshot is taken, which can be a relative or absolute path. {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}. |
| ObjectNumberFormat | NumberFormat | No | Rule of the |
| ExtInfo | String | No | Extended parameter. |
Details of a time point screenshot template.
Used by actions: DescribeSnapshotByTimeOffsetTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of a time point screenshot template. |
| Type | String | Template type. Valid values: |
| Name | String | Name of a time point screenshot template. |
| Comment | String | Template description. |
| Width | Integer | Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| Height | Integer | Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].Width and Height are 0, the resolution will be the same as that of the source video;Width is 0, but Height is not 0, Width will be proportionally scaled;Width is not 0, but Height is 0, Height will be proportionally scaled;Width and Height are not 0, the custom resolution will be used.Default value: 0. |
| ResolutionAdaptive | String | Resolution adaption. Valid values:Width represents the long side of a video, while Height the short side;Width represents the width of a video, while Height the height.Default value: open. |
| Format | String | Image format. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| FillType | String | Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: Default value: black. |
List of characters.
Used by actions: CreateProject, QueryProject, UpdateProject.
| Name | Type | Required | Description |
|---|---|---|---|
| SpeakerId | String | Yes | Unique character ID. |
| VoiceId | String | Yes | Bound voice ID. |
| Gender | String | No | Gender: male/female. Default: male. |
| AgeGroup | String | No | Age segment: child/teenager/youth/middle_aged/senior. Default: youth. |
| Description | String | No | Character description. |
| NameTerms | Array of TermBase | No | Glossary of character names. |
Statistical data for the task of the specified specification.
Used by actions: DescribeUsageData.
| Name | Type | Description |
|---|---|---|
| Specification | String | Task specification. |
| Data | Array of TaskStatDataItem | Statistical data. |
FairPlay, WideVine, PlayReady, and other DRM encryption technologies.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| ResourceId | String | Yes | Resource ID. The field content is user-defined. It supports 1 to 128 characters consisting of digits, letters, underscores (_), and hyphens (-). This field corresponds to the cid field in the Speke request. Note: Different DRM vendors have different restrictions on this field (for example, SDMC Technology Co., Ltd. does not support this field containing underscores). For specific rules, check with the vendors. |
| KeyServerUrl | String | Yes | DRM manufacturer access address. the field content is obtained from the drm manufacturer. Note: different DRM manufacturers have different limitations on the number of substreams. for example, PallyCon limits the number of substreams to no more than 5, and DRMtoday only supports encryption of up to 9 substreams. |
| Vector | String | Yes | Initialization vector for encryption (32-byte hexadecimal string). the field content is user-customized. |
| EncryptionMethod | String | No | Encryption method. Valid values: cbcs: supported by PlayReady, Widevine, FairPlay, Widevine+FairPlay, Widevine+PlayReady, PlayReady+FairPlay, and Widevine+PlayReady+FairPlay. cenc: supported by PlayReady, Widevine, and Widevine+PlayReady. If it is left unspecified: Use cbcs for FairPlay by default. Use cenc for PlayReady and Widevine by default. Use cbcs for Widevine+FairPlay, PlayReady+FairPlay, and Widevine+PlayReady+FairPlay by default. Use cenc for Widevine+PlayReady by default. |
| EncryptionPreset | String | No | Substream encryption rule. Default value: preset0. preset 0: use the same key to encrypt all substreams preset1: use different keys for each substream |
Data structure that indicates the subtitle area coordinates for the automatic hard subtitle area detection. The confidence is also included.
Used by actions: DetectVideoSubtitleArea.
| Name | Type | Description |
|---|---|---|
| Area | EraseArea | Detected subtitle area. |
| Confidence | Float | Confidence of the detected area. Value range: [0, 100]. |
Subtitle suppression module background settings
Used by actions: CreateSubtitleEmbedTemplate, DescribeSubtitleEmbedTemplates, ModifySubtitleEmbedTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleBoardConfigSwitch | Integer | No | Subtitle suppression module background configuration switch, 0 for off, 1 for on, default 0 |
| BoardX | Integer | No | Subtitle background base plate x-axis coordinate position; Supports pixel and percentage format: - Pixel: Npx. Value range of N: [-4096,4096]. - Percentage: N%, N range: [-100,100]. For example, 10% means the X-coordinate of the subtitle background base plate is 10% of the source video width. Default value: 0px. Note: The origin point of the coordinate axis is located at the bottom of the central axis of the source video, and the benchmark 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-axis coordinate position of the subtitle background base plate; supports pixel and percentage format. -. -Percentage: N%, N range: [0,100]; for example, 10% means the y-coordinate of the subtitle background base plate = 10% * video height. If this parameter is not specified, the subtitle background is disabled. Note: The origin of the coordinate axes is at the bottom of the central axis of the source video, and the benchmark of the subtitle background base plate is at the bottom of its central axis. See the following diagram: ![]() |
| BoardYUnit | Integer | No | BoardY unit, 0 pixel, 1 percentage, default is 0, pixel |
| BoardWidth | Integer | No | Background width. The value should be a positive integer. - Value range for pixels: [0,4096]. - Value range for percentages: [0, 100]. If background 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 | Background height. The value should be a positive integer. - Value range for pixels: [0,4096]. - Value range for percentages: [0, 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 | Board color. Format: 0xRRGGBB. Default value: 0x000000 (black). |
| BoardAlpha | Float | No | Subtitle background transparency. Value range: [0, 1]. Default value: 0.8. |
Subtitle suppression module settings
Used by actions: CreateSubtitleEmbedTemplate, DescribeSubtitleEmbedTemplates, ModifySubtitleEmbedTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | No | Font type, supports: Note: |
| FontPath | String | No | Custom font file url address, either this or CosInputInfo |
| CosInputInfo | CosInputInfo | No | Custom font file cos bucket 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 | SubtitleBoardConfig | No | Background configuration |
| SubtitleLayoutConfig | SubtitleLayoutConfig | No | Column configuration |
| SubtitleOutlineConfig | SubtitleOutlineConfig | No | Text stroke configuration |
| SubtitleShadowConfig | SubtitleShadowConfig | 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 suppression template details
Used by actions: DescribeSubtitleEmbedTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique identifier of the subtitle suppression template |
| Name | String | |
| Comment | String | |
| Type | String | |
| DeleteTag | Integer | Deletion mark. 0 Not deleted. 1 Deleted. |
| CreateTime | String | Template creation time in ISO datetime format. |
| UpdateTime | String | Last modification time of the template in ISO datetime format. |
| SubtitleEmbedConfig | SubtitleEmbedConfig | Subtitle suppression module settings |
| AliasName | String |
Subtitle suppression module column configuration
Used by actions: CreateSubtitleEmbedTemplate, DescribeSubtitleEmbedTemplates, ModifySubtitleEmbedTemplate.
| 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. - Value range for pixels: [0, 1000]. - Value range for percentages: [0, 100]. If left blank, the default is 0. |
| LineSpacingUnit | Integer | No | LineSpacing measurement 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 line count. bottom: The bottom position of the subtitle is fixed, while the top position changes according to the line count. If this is not specified, bottom alignment is used by default. |
Subtitle suppression module text stroke configuration
Used by actions: CreateSubtitleEmbedTemplate, DescribeSubtitleEmbedTemplates, ModifySubtitleEmbedTemplate.
| 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. |
Subtitle position information.
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| CenterY | Integer | Y-coordinate value when the subtitle is centered. |
Smart subtitle task result.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Required | Description |
|---|---|---|---|
| Language | String | No | Language of the subtitle file |
| Status | String | No | Whether the processing is successful. |
| Path | String | No | Subtitle file path |
| SubtitleEmbedPath | String | No | Subtitle suppression video path. |
| SubtitleFileId | String | No | FileId of the subtitle file. |
Subtitle suppression module text shadow configuration
Used by actions: CreateSubtitleEmbedTemplate, DescribeSubtitleEmbedTemplates, ModifySubtitleEmbedTemplate.
| 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 base 16 RGB. Black by default if left blank (when shadow is set). |
| ShadowAlpha | Float | No | Shadow transparency. A positive floating-point number in the range of (0, 1]. By default if left blank, the value is 1, which means completely opaque (with shadow configured). |
The subtitle settings.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Path | String | No | Subtitle file URL to be suppressed in the video. |
| StreamIndex | Integer | No | Specifies the subtitle track for embedding subtitles into the video. The Streamindex value starts from 0, where 0 indicates usage of the first subtitle track in the source video. If Path is specified, use Path preferentially. Specify at least one of Path or Streamindex. -Note: 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 may fail. |
| SubtitleFileInput | MediaInputInfo | No | Input information on the subtitle file to be embedded in the video. Currently, only subtitle files stored in COS are supported. |
| FontFileInput | MediaInputInfo | No | Input information of the font file of the burned-in subtitle. URL and COS are supported. If both are specified, the URL information is used. If FontFileInput is specified, FontFileInput takes precedence over FontType. |
| FontType | String | No | Font type. Valid values: Default value: hei.ttf. Note: |
| FontSize | String | No | Font size. If not specified, the font size of the subtitle file applies. Pixel and percentage formats are supported. -. - Percentage: N%. Value range of N: (0,100]. For example, 10% means the subtitle font size is 10% of the source video height. The default size is 5% of the source video height if this parameter is not specified or the font size is not configured in the subtitle file. |
| FontColor | String | No | Font 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-axis coordinate position. Specify this parameter to ignore the built-in coordinates of the subtitle file. Support pixel and percentage format. -. -Percentage: N%, N range: [0,100]; for example, 10% means subtitle y-coordinate = 10% * source video height. By default, the position is 4% of the source video height. Note: The origin of the coordinate axes is at the bottom of the central axis of the source video, and the subtitle reference position is at the bottom of the central axis of the subtitles, see the following diagram. ![]() |
| BoardY | String | No | y-axis coordinate position of the subtitle background base plate; Support pixel and percentage format: -. -Percentage: N%, N range: [0,100]; for example, 10% means the y-coordinate of the subtitle background base plate = 10% * video height. If this parameter is not specified, the subtitle background is disabled. 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 background base plate is at the bottom of its central axis. Refer to the figure below. ![]() |
| BoardWidth | Integer | No | Background width. The value should be a positive integer. - Value range for pixels: [0,4096]. - Value range for percentages: [0, 100]. If background is enabled and this parameter is not specified, the default width is 90% of the source video width. |
| BoardHeight | Integer | No | Background height. The value should be a positive integer. - Value range for pixels: [0,4096]. - Value range for percentages: [0, 100]. If background is enabled and this parameter is not specified, the default height is 15% of the source video height. |
| BoardColor | String | No | Board color. Format: 0xRRGGBB. Default value: 0x000000 (black). |
| BoardAlpha | Float | No | Subtitle background transparency. Value range: [0, 1]. Default value: 0.8. |
| OutlineWidth | Float | No | Stroke width. The value should be a floating-point number. - Value range for pixels: [0, 1000]. - Value range for percentages: [0, 100]. If this is not specified, the default width is 0.3% of the source video height. |
| OutlineColor | String | No | Stroke color. The value should be a 6-digit hexadecimal RGB value. If this is not specified, the default color is black. |
| 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. |
| ShadowWidth | Float | No | Shadow width. The value should be a floating-point number. - Value range for pixels: [0, 1000]. - Value range for percentages: [0, 100]. If this is not specified, no shadow is applied by default. |
| ShadowColor | String | No | Shadow color. The value should be a 6-digit hexadecimal RGB value. If this is not specified, the default color is black (with shadow configured). |
| 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). |
| LineSpacing | Integer | No | Line spacing. The value should be a positive integer. - Value range for pixels: [0, 1000]. - Value range for percentages: [0, 100]. If this is not specified, the default value is 0. |
| 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. |
| BoardWidthUnit | Integer | No | Default value is 0. If this is set to 1, the value of BoardWidth is a percentage based on the video width. |
| BoardHeightUnit | Integer | No | Default value is 0. If this is set to 1, the value of BoardHeight is a percentage based on the video height. |
| OutlineWidthUnit | Integer | No | Default value is 0. If this is set to 1, the value of OutlineWidth is a percentage based on the video height. |
| ShadowWidthUnit | Integer | No | Default value is 0. If this is set to 1, the value of ShadowWidth is a percentage based on the video height. |
| LineSpacingUnit | Integer | No | Default value is 0. If this is set to 1, the value of LineSpacing is a percentage based on the video height. |
Subtitle translation output result.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| Status | String | Translation flag:
|
| TransSrc | String | Source language (such as "en") |
| TransDst | String | Target language (such as "zh") |
| Path | String | Subtitle file URL |
| SubtitleEmbedPath | String | Subtitle translation suppression video path. |
| SubtitleFileId | String | FileId of the subtitle file. |
Super resolution configuration.
Used by actions: CreateProcessImageTemplate, CreateTranscodeTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ModifyTranscodeTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: lq. |
| Size | Integer | No | Super-resolution multiple, optional value: Default value: 2. |
Input parameter of an SVG watermarking template
Used by actions: CreateWatermarkTemplate, DescribeWatermarkTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | String | No | Watermark width, which supports six formats of px, %, W%, H%, S%, and L%:Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is enteredand Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image;W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width;H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height;S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video;L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video;W%.Default value: 10W%. |
| Height | String | No | Watermark height, which supports six formats of px, %, W%, H%, S%, and L%:Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is enteredand Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image;W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width;H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height;S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video;L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video;H%.Default value: 0 px. |
Input parameter of an SVG watermarking template
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Width | String | No | Watermark width, which supports six formats of px, %, W%, H%, S%, and L%:Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is enteredand Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image;W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width;H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height;S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video;L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video;W%.Default value: 10W%. |
| Height | String | No | Watermark Height, which supports six formats of px, %, W%, H%, S%, and L%:Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is enteredand Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark size will be the size of the source SVG image;W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width;H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height;S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video;L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video;W%.Default value: 0px. |
Output parameter setting for synchronous dubbing.
Used by actions: CloneVoice, SyncDubbing, TextToSpeech.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Output type of the synthesis result. Enumeration values:
|
TESHD parameter configuration.
Used by actions: CreateTranscodeTemplate, CreateWorkflow, DescribeTranscodeTemplates, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | TESHD type. Valid values: If this parameter is left empty, TESHD will not be enabled. |
| MaxVideoBitrate | Integer | No | Maximum bitrate, which is valid when Type is TESHD.If this parameter is left empty or 0 is entered, there will be no upper limit for bitrate. |
TESHD parameter configuration.
Used by actions: CreateWorkflow, ModifyTranscodeTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Top Speed Codec type. Available values: Leave it blank to keep it unchanged. |
| MaxVideoBitrate | Integer | No | Upper limit of video bitrate. Leave blank to keep unchanged. |
Intelligent Tag Task Control Parameters
Used by actions: CreateAIAnalysisTemplate, DescribeAIAnalysisTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent tag task switch, available values: |
Control parameter of intelligent tagging task
Used by actions: ModifyAIAnalysisTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of intelligent tagging task. Valid values: |
Event notification configuration of a task.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, DescribeBatchTaskDetail, DescribeSchedules, DescribeTaskDetail, DescribeWorkflows, EditMedia, ExtractBlindWatermark, ModifySchedule, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| NotifyType | String | No | Notification type. Valid values: |
| NotifyMode | String | No | Workflow notification mode. Valid values are Finish and Change. If this is not specified, the default value is Finish. |
| NotifyUrl | String | No | HTTP callback URL. This is required if NotifyType is URL. |
| CmqModel | String | No | CMQ or TDMQ for CMQ model. Valid values are Queue and Topic. |
| CmqRegion | String | No | CMQ or TDMQ for CMQ region, such as sh or bj. |
| TopicName | String | No | This field takes effect if the model is Topic. It indicates the topic name of the CMQ or TDMQ for CMQ for receiving event notifications. |
| QueueName | String | No | This field takes effect if the model is Queue. It indicates the queue name of the CMQ or TDMQ for CMQ for receiving event notifications. |
| AwsSQS | AwsSQS | No | AWS SQS callback. This is required if NotifyType is AWS-SQS. |
| NotifyKey | String | No | Key used to generate the callback signature. |
The information of the media processing output object.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, DescribeBatchTaskDetail, DescribeImageTaskDetail, DescribeSchedules, DescribeTaskDetail, DescribeWorkflows, EditMedia, ModifySchedule, ParseNotification, ProcessImage, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Specifies the type of storage location for the media processing service output object. valid values:. <Li>COS: cos storage.. <Li>AWS-S3: aws storage, suitable for aws tasks only and requires the same region.. <Li>VOD: video-on-demand (vod) pro edition. |
| CosOutputStorage | CosOutputStorage | No | Valid when Type is COS. This item is required and indicates the Media Processing Service COS output location. |
| S3OutputStorage | S3OutputStorage | No | Valid when Type is AWS-S3. This item is required and indicates the AWS S3 output location for media processing. |
| VODOutputStorage | VODOutputStorage | No | Valid at that time when Type is VOD. This item is required and represents the Media Processing Service (MPS) video-on-demand (VOD) pro edition output location. |
Task overview information
Used by actions: DescribeTasks.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| TaskType | String | Task type. Valid values: |
| CreateTime | String | Creation time of a task in ISO date format. |
| BeginProcessTime | String | Start time of task execution in ISO date format. If the task has not been started yet, this field will be 0000-00-00T00:00:00Z. |
| FinishTime | String | End time of a task in ISO date format. If the task has not been completed yet, this field will be 0000-00-00T00:00:00Z. |
| SubTaskTypes | Array of String | The subtask type. |
Statistical data of the task.
Used by actions: DescribeUsageData.
| Name | Type | Description |
|---|---|---|
| TaskType | String | Task type. |
| Summary | Array of TaskStatDataItem | Statistics overview of the number of tasks. |
| Details | Array of SpecificationDataItem | Task statistics data for varying specifications. 1. Transcoding specification: Standard: standard transcoding TESHD-10: TSC transcoding for videos. TESHD-20: TSC transcoding for audio. TESHD-30: TSC transcoding for audio and video. TESHD-30-SDK: duration-based billing of TSC transcoding SDK for audios/videos. TESHD-30-SDKCores: Top Speed Codec (TSC) transcoding SDK for audio and video is billed based on core count. Edit: video editing Specifically, valid values for CODEC: H264: H. 264 encoding. H265: H.265 encoding. AV1: AV1 encoding. MV-HEVC: MV-HEVC encoding. Specifically, valid values for SPECIFICATION: SD: standard definition. HD: high definition. FHD: full HD. 2K:2K 4K:4K For example, TESHD-10.H265.HD means H.265 encoding type high-definition TSC transcoding. 2. Enhancement specification: video enhancement format: {TYPE}.{CODEC}.{SPECIFICATION}.{FPS}, where CODEC and SPECIFICATION follow the transcoding specifications, and FPS is valid only for atomic types; audio enhancement format: {TYPE}. Valid values for enhancement TYPE: Sdr2hdr:SDR2HDR SuperResolution: Super-resolution InsertFrame: frame interpolation. ComprehensiveEnhancement: comprehensive enhancement. NoiseReduction: video noise ColorEnhancement: Color enhancement RemoveScratches: scratch removal Deburr: artifacts removal. DetailEnhancement: detail enhancement. LightEnhancement: low-light enhancement. FaceEnhancement: face enhancement Valid value for audio atomic enhancement type. AudioNoiseReduction VolumeBalance AudioBeautify AudioSeparation 3. Screenshot specification: 4. Image processing specification: {TYPE}.{CODEC}.{SPECIFICATION}. 5. Intelligent analysis specification: 6. Intelligent recognition specification: 7. There are no segmentation specifications for content moderation and conversion to GIF. |
Statistical data of the task, including the number of tasks and usage.
Used by actions: DescribeUsageData.
| 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 indicates the interval from December 1, 2018 (inclusive) to December III, 2018 (exclusive). |
| Count | Integer | Number of tasks. |
| Usage | Integer | Task usage. |
Term base.
Used by actions: CreateProject, QueryProject, UpdateProject.
| Name | Type | Required | Description |
|---|---|---|---|
| Src | String | Yes | Source language of the term. |
| Dst | String | Yes | Target language of the term. |
| SrcLanguage | String | No | Source language of the term. Valid values: "ab": "Abkhaz", "ace": "Acehnese", "ach": "Acholi", "af": "Afrikaans", "ak": "Akan", "am": "Amharic", "ar": "Arabic", "as": "Assamese", "ay": "Aymara", "az": "Azerbaijani", "ba": "Bashkir", "ban": "Balinese", "bbc": "Batak Toba", "bem": "Bemba", "bew": "Betawi", "bg": "Bulgarian", "bho": "Bhojpuri", "bik": "Bikol", "bm": "Bambara", "bn": "Bengali", "br": "Breton", "bs": "Bosnian", "btx": "Batak Karo", "bts": "Batak Simalungun", "bua": "Buryat", "ca": "Catalan", "ceb": "Cebuano", "cgg": "Kiga", "chm": "Meadow Mari", "ckb": "Kurdish (Sorani)", "cnh": "Hakha Chin", "co": "Corsican", "crh": "Crimean Tatar", "crs": "Seychellois Creole", "cs": "Czech", "cv": "Chuvash", "cy": "Welsh", "da": "Danish", "de": "German", "din": "Dinka", "doi": "Dogri", "dov": "Dombe", "dv": "Dhivehi", "dz": "Dzongkha", "ee": "Ewe", "el": "Greek", "en": "English", "eo": "Esperanto", "es": "Spanish", "et": "Estonian", "eu": "Basque", "fa": "Persian", "ff": "Fula", "fi": "Finnish", "fil": "Filipino (Tagalog)", "fj": "Fijian", "fr": "French", "fr-CA": "French (Canada)", "fr-FR": "French (France)", "fy": "Frisian", "ga": "Irish", "gaa": "Ga", "gd": "Scottish Gaelic", "gl": "Galician", "gn": "Guarani", "gom": "Konkani", "gu": "Gujarati", "gv": "Manx", "ha": "Hausa", "haw": "Hawaiian", "he": "Hebrew", "hi": "Hindi", "hil": "Hiligaynon", "hmn": "Hmong", "hr": "Croatian", "hrx": "Hunsrik", "ht": "Haitian Creole", "hu": "Hungarian", "hy": "Armenian", "id": "Indonesian", "ig": "Igbo", "ilo": "Ilocano", "is": "Icelandic", "it": "Italian", "iw": "Hebrew", "ja": "Japanese", "jv": "Javanese", "jw": "Javanese", "ka": "Georgian", "kk": "Kazakh", "km": "Khmer", "kn": "Kannada", "ko": "Korean", "kri": "Krio", "ku": "Kurdish (Kurmanji)", "ktu": "Kituba", "ky": "Kyrgyz", "la": "Latin", "lb": "Luxembourgish", "lg": "Ganda (Luganda)", "li": "Limburgish", "lij": "Ligurian", "lmo": "Lombard", "ln": "Lingala", "lo": "Lao", "lt": "Lithuanian", "ltg": "Latgalian", "luo": "Luo", "lus": "Mizo", "lv": "Latvian", "mai": "Maithili", "mak": "Makassar", "mg": "Malagasy", "mi": "Maori", "min": "Minangkabau", "mk": "Macedonian", "ml": "Malayalam", "mn": "Mongolian", "mr": "Marathi", "ms": "Malay", "mt": "Maltese", "my": "Burmese", "ne": "Nepali", "new": "Newari", "nl": "Dutch", "no": "Norwegian", "nr": "Southern Ndebele", "nso": "Northern Sotho (Sepedi)", "nus": "Nuer", "ny": "Chichewa (Nyanja)", "oc": "Occitan", "om": "Oromo", "or": "Odia (Oriya)", "pa": "Punjabi", "pag": "Pangasinan", "pam": "Kapampangan", "pap": "Papiamento", "pl": "Polish", "ps": "Pashto", "pt": "Portuguese", "pt-BR": "Portuguese (Brazil)", "pt-PT": "Portuguese (Portugal)", "qu": "Quechua", "ro": "Romanian", "rom": "Romani", "rn": "Rundi", "ru": "Russian", "rw": "Kinyarwanda", "sa": "Sanskrit", "scn": "Sicilian", "sd": "Sindhi", "sg": "Sango", "shn": "Shan", "si": "Sinhala", "sk": "Slovak", "sl": "Slovenian", "sm": "Samoan", "sn": "Shona", "so": "Somali", "sq": "Albanian", "sr": "Serbian", "ss": "Swati", "st": "Sotho", "su": "Sundanese", "sv": "Swedish", "sw": "Swahili", "szl": "Silesian", "ta": "Tamil", "te": "Telugu", "tet": "Tetum", "tg": "Tajik", "th": "Thai", "ti": "Tigrinya", "tk": "Turkmen", "tl": "Filipino (Tagalog)", "tn": "Tswana", "tr": "Turkish", "ts": "Tsonga", "tt": "Tatar", "ug": "Uyghur", "uk": "Ukrainian", "ur": "Urdu", "uz": "Uzbek", "vi": "Vietnamese", "xh": "Xhosa", "yi": "Yiddish", "yo": "Yoruba", "yua": "Yucatec Maya ", "yue": "Cantonese", "zh": "Simplified Chinese", "zh-TW": "Traditional Chinese", "zu": "Zulu" |
| DstLanguage | String | No | Target language of the term. Valid values:"ab": "Abkhaz", "ace": "Acehnese", "ach": "Acholi", "af": "Afrikaans", "ak": "Akan", "am": "Amharic", "ar": "Arabic", "as": "Assamese", "ay": "Aymara", "az": "Azerbaijani", "ba": "Bashkir", "ban": "Balinese", "bbc": "Batak Toba", "bem": "Bemba", "bew": "Betawi", "bg": "Bulgarian", "bho": "Bhojpuri", "bik": "Bikol", "bm": "Bambara", "bn": "Bengali", "br": "Breton", "bs": "Bosnian", "btx": "Batak Karo", "bts": "Batak Simalungun", "bua": "Buryat", "ca": "Catalan", "ceb": "Cebuano", "cgg": "Kiga", "chm": "Meadow Mari", "ckb": "Kurdish (Sorani)", "cnh": "Hakha Chin", "co": "Corsican", "crh": "Crimean Tatar", "crs": "Seychellois Creole", "cs": "Czech", "cv": "Chuvash", "cy": "Welsh", "da": "Danish", "de": "German", "din": "Dinka", "doi": "Dogri", "dov": "Dombe", "dv": "Dhivehi", "dz": "Dzongkha", "ee": "Ewe", "el": "Greek", "en": "English", "eo": "Esperanto", "es": "Spanish", "et": "Estonian", "eu": "Basque", "fa": "Persian", "ff": "Fula", "fi": "Finnish", "fil": "Filipino (Tagalog)", "fj": "Fijian", "fr": "French", "fr-CA": "French (Canada)", "fr-FR": "French (France)", "fy": "Frisian", "ga": "Irish", "gaa": "Ga", "gd": "Scottish Gaelic", "gl": "Galician", "gn": "Guarani", "gom": "Konkani", "gu": "Gujarati", "gv": "Manx", "ha": "Hausa", "haw": "Hawaiian", "he": "Hebrew", "hi": "Hindi", "hil": "Hiligaynon", "hmn": "Hmong", "hr": "Croatian", "hrx": "Hunsrik", "ht": "Haitian Creole", "hu": "Hungarian", "hy": "Armenian", "id": "Indonesian", "ig": "Igbo", "ilo": "Ilocano", "is": "Icelandic", "it": "Italian", "iw": "Hebrew", "ja": "Japanese", "jv": "Javanese", "jw": "Javanese", "ka": "Georgian", "kk": "Kazakh", "km": "Khmer", "kn": "Kannada", "ko": "Korean", "kri": "Krio", "ku": "Kurdish (Kurmanji)", "ktu": "Kituba", "ky": "Kyrgyz", "la": "Latin", "lb": "Luxembourgish", "lg": "Ganda (Luganda)", "li": "Limburgish", "lij": "Ligurian", "lmo": "Lombard", "ln": "Lingala", "lo": "Lao", "lt": "Lithuanian", "ltg": "Latgalian", "luo": "Luo", "lus": "Mizo", "lv": "Latvian", "mai": "Maithili", "mak": "Makassar", "mg": "Malagasy", "mi": "Maori", "min": "Minangkabau", "mk": "Macedonian", "ml": "Malayalam", "mn": "Mongolian", "mr": "Marathi", "ms": "Malay", "mt": "Maltese", "my": "Burmese", "ne": "Nepali", "new": "Newari", "nl": "Dutch", "no": "Norwegian", "nr": "Southern Ndebele", "nso": "Northern Sotho (Sepedi)", "nus": "Nuer", "ny": "Chichewa (Nyanja)", "oc": "Occitan", "om": "Oromo", "or": "Odia (Oriya)", "pa": "Punjabi", "pag": "Pangasinan", "pam": "Kapampangan", "pap": "Papiamento", "pl": "Polish", "ps": "Pashto", "pt": "Portuguese", "pt-BR": "Portuguese (Brazil)", "pt-PT": "Portuguese (Portugal)", "qu": "Quechua", "ro": "Romanian", "rom": "Romani", "rn": "Rundi", "ru": "Russian", "rw": "Kinyarwanda", "sa": "Sanskrit", "scn": "Sicilian", "sd": "Sindhi", "sg": "Sango", "shn": "Shan", "si": "Sinhala", "sk": "Slovak", "sl": "Slovenian", "sm": "Samoan", "sn": "Shona", "so": "Somali", "sq": "Albanian", "sr": "Serbian", "ss": "Swati", "st": "Sotho", "su": "Sundanese", "sv": "Swedish", "sw": "Swahili", "szl": "Silesian", "ta": "Tamil", "te": "Telugu", "tet": "Tetum", "tg": "Tajik", "th": "Thai", "ti": "Tigrinya", "tk": "Turkmen", "tl": "Filipino (Tagalog)", "tn": "Tswana", "tr": "Turkish", "ts": "Tsonga", "tt": "Tatar", "ug": "Uyghur", "uk": "Ukrainian", "ur": "Urdu", "uz": "Uzbek", "vi": "Vietnamese", "xh": "Xhosa", "yi": "Yiddish", "yo": "Yoruba", "yua": "Yucatec Maya ", "yue": "Cantonese", "zh": "Simplified Chinese", "zh-TW": "Traditional Chinese", "zu": "Zulu" |
The parameters for detecting sensitive information.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | TerrorismImgReviewTemplateInfo | No | The parameters for detecting sensitive information in images. |
| OcrReviewInfo | TerrorismOcrReviewTemplateInfo | No | The parameters for detecting sensitive information based on OCR. |
The parameters for detecting sensitive information.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ImgReviewInfo | TerrorismImgReviewTemplateInfoForUpdate | No | The parameters for detecting sensitive information in images. |
| OcrReviewInfo | TerrorismOcrReviewTemplateInfoForUpdate | No | The parameters for detecting sensitive information based on OCR. |
The parameters for detecting sensitive information in images.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to detect sensitive information in images. Valid values: |
| LabelSet | Array of String | No | Sensitive content filter tags. 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 violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 80 will be used by default. Value range: 0-100. |
The parameters for detecting sensitive information in images.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to detect sensitive information in images. Valid values: |
| LabelSet | Array of String | No | Sensitive content filter tags. 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 violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
The parameters for detecting sensitive information based on OCR.
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to detect sensitive information based on OCR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
The parameters for detecting sensitive information based on OCR.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to detect sensitive information based on OCR. Valid values: |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. |
Text watermarking template
Used by actions: CreateWatermarkTemplate, DescribeWatermarkTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | Yes | Font type. Currently, two types are supported: |
| FontSize | String | Yes | Font size, in the format of Npx. N is a numerical value with a value range of [0, 1] or [8, 4096]. |
| FontColor | String | Yes | Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | Yes | Text transparency. Value range: (0, 1] Default value: 1. |
| TextContent | String | No | Text content, up to 100 characters. Note: This field may return null, indicating that no valid values can be obtained. |
Text watermarking template
Used by actions: ModifyWatermarkTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FontType | String | No | Font type. Currently, two types are supported: |
| FontSize | String | No | Font size, in the format of Npx. N is a numerical value with a value range of [0, 1] or [8, 4096]. |
| FontColor | String | No | Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). |
| FontAlpha | Float | No | Text transparency. Value range: (0, 1] |
| TextContent | String | No | Text content, up to 100 characters. |
Detection policy for media quality inspection.
Used by actions: CreateQualityControlTemplate, ModifyQualityControlTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CheckDuration | Integer | No | Duration of each loop detection, in seconds. Value range: - Minimum value: 10. - Maximum value: 86400. |
| CheckInterval | Integer | No | Detection interval, in seconds. It indicates the duration after a detection is completed and before the next detection is conducted. Value range: - Minimum value: 10. - Maximum value: 3600. |
| SkipDuration | Integer | No | Skipped opening duration, in seconds. Value range: - Minimum value: 1. - Maximum value: 1800. |
| CirclesNumber | Integer | No | Number of loops. Value range: - Minimum value: 0. - Maximum value: 1000. If the value is 0 or not specified, it indicates that loops are executed until the video ends. |
token usage
Used by actions: EmbeddingData.
| Name | Type | Description |
|---|---|---|
| InputTokens | Integer | Input token count |
| OutputTokens | Integer | Output token count |
| TotalTokens | Integer | Total token count, generally input + output |
Audio track info.
Used by actions: CreateTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| TrackNum | String | No | Audio track and number of sound channels. Description: When SelectType is track, this value is an integer, for example: 1. When SelectType is track_channel, this value is of decimal type, for example: 1.0; Default value: 1.0. Note: The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track, supporting input of 0 and positive integers. The decimal part supports up to 2 decimal places and is only allowed from 0 to 63. However, if the Codec is aac, eac3, or ac3, the decimal part only supports 0 to 15. For example, for an audio track with stream index 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track. |
| ChannelVolume | Array of Float | No | Sound channel volume, description: When AudioChannel is set to 1, the array length is 1, for example: [6]. When AudioChannel is set to 2, the array length is 2, for example: [0,6]; When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16, for example: [-60,0,0,6]. The value array ranges from -60 to 6. Among them, -60 means mute, 0 means keep the original volume, and 6 means double the original volume. The default value is -60. Note: Supports 3 decimal places. |
Input parameter type of a transcoding task
Used by actions: CreateSchedule, CreateWorkflow, DescribeTaskDetail, ModifySchedule, ParseNotification, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | ID of a video transcoding template. |
| RawParameter | RawTranscodeParameter | No | Custom video transcoding parameter. valid when Definition is set to 0. This parameter is used in high customization scenarios. it is recommended that you preferentially use Definition to specify transcoding parameters. |
| OverrideParameter | OverrideTranscodeParameter | No | Custom video transcoding parameter. It takes effect when Definition is not set to 0. When you fill in some transcoding parameters in this structure, the filled parameters will be used to override the parameters in the transcoding template. This parameter is used in high customization scenarios. It is recommended that you use only Definition to specify transcoding parameters. |
| WatermarkSet | Array of WatermarkInput | No | Watermark list. Multiple image or text watermarks up to a maximum of 10 are supported. |
| BlindWatermark | BlindWatermarkInput | No | Digital watermark parameters. |
| MosaicSet | Array of MosaicInput | No | List of blurs. Up to 10 ones can be supported. |
| StartTimeOffset | Float | No | Start time offset of a transcoded video, in seconds. |
| EndTimeOffset | Float | No | End time offset of a transcoded video, in seconds. |
| OutputStorage | TaskOutputStorage | No | Target storage for the transcoded file. If left blank, it inherits the upper-level OutputStorage value. |
| OutputObjectPath | String | No | Output path of the main file after transcoding, which can be a relative or absolute path. If you need to define an output path, the path must end with .{format}. For variable names, refer to Filename Variable.Relative path example:Absolute path example: If left empty, a relative path is used by default: {inputName}_transcode_{definition}.{format}. |
| SegmentObjectName | String | No | Path to an output file part (the path to ts during transcoding to HLS), which can only be a relative path. If this parameter is left empty, the following relative path will be used by default: {inputName}_transcode_{definition}_{number}.{format}. |
| ObjectNumberFormat | NumberFormat | No | Rule of the {number} variable in the output path after transcoding. |
| HeadTailParameter | HeadTailParameter | No | Video opening/closing credits parameter. |
Details of a transcoding template
Used by actions: DescribeTranscodeTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | String | Unique ID of a transcoding template. |
| Container | String | Container format. Valid values: mp4, flv, hls, mp3, flac, ogg. |
| Name | String | Name of a transcoding template. Note: This field may return null, indicating that no valid values can be obtained. |
| Comment | String | Template description. Note: This field may return null, indicating that no valid values can be obtained. |
| Type | String | Template type. Valid values: |
| RemoveVideo | Integer | Whether to remove video data. Valid values: |
| RemoveAudio | Integer | Whether to remove audio data. Valid values: |
| VideoTemplate | VideoTemplateInfo | Video stream configuration parameter. This field is valid only when RemoveVideo is 0.Note: This field may return null, indicating that no valid values can be obtained. |
| AudioTemplate | AudioTemplateInfo | Audio stream configuration parameter. This field is valid only when RemoveAudio is 0.Note: This field may return null, indicating that no valid values can be obtained. |
| TEHDConfig | TEHDConfig | TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. Note: This field may return null, indicating that no valid values can be obtained. |
| ContainerType | String | Container format filter. Valid values: |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| EnhanceConfig | EnhanceConfig | Audio/Video enhancement configuration. Note: This field may return null, indicating that no valid values can be obtained. |
| AliasName | String | Transcoding template alias. Note: This field may return null, indicating that no valid value can be obtained. |
Speech Translation Task Control Parameter
Used by actions: CreateAIRecognitionTemplate, DescribeAIRecognitionTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Voice translation task switch, available values: |
| SourceLanguage | String | No | Video source language. |
| DestinationLanguage | String | No | Target language. |
| SubtitleFormat | String | No |
Task control parameter for voice translation
Used by actions: ModifyAIRecognitionTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Voice translation task switch, available values: |
| SourceLanguage | String | No | Video source language. |
| DestinationLanguage | String | No | Target language. |
| SubtitleFormat | String | No | Generated subtitle file format. Leaving it as an empty string means no subtitle file will be generated. Available values: |
Image understanding task.
Used by actions: CreateProcessImageTemplate, DescribeImageTaskDetail, ModifyProcessImageTemplate, ProcessImage.
| Name | Type | Required | Description |
|---|---|---|---|
| Model | String | Yes | Image understanding model Enumeration value:
|
| Prompt | String | Yes | Image understanding directive |
Privacy protection configuration for the smart erasing template.
Used by actions: ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| PrivacyModel | String | No | Privacy protection removal method. - Blur: blur detection - mosaic |
| PrivacyTargets | Array of String | No | Privacy protection target. (When API Explorer is used, no need to specify an array. Add the corresponding items and fill in the value.) - face: human face - plate: license plate. |
Subtitle removal configuration for the smart erasing template.
Used by actions: ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| SubtitleEraseMethod | String | No | Subtitle erasing 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 AutoAreas is not specified, the default area (lower middle part of the image) will be erased automatically. If AutoAreas is specified, the specified area will be erased automatically. Specified area erasing: If the subtitle position is relatively fixed, you are recommended to specify the erasing area directly to minimize missed erasing. When you choose specified area erasing, specify at least one area for CustomAreas. -auto erasing - custom: specified area erasing. |
| SubtitleModel | String | No | Subtitle erasing model. Standard edition (recommended): For standard subtitle styles, it is usually recommended to select this version for better traceless effects in the details. 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 edition. - area: area edition. |
| OcrSwitch | String | No | Whether to enable OCR subtitle extraction. The default value is OFF. OCR subtitle extraction is supported only when SubtitleEraseMethod is set to auto. Once enabled, it identifies the text region that appears longest and most stably within the automated erasing area as the subtitle area. The text in the subtitle area is extracted and erased. -ON -OFF: disabled. |
| SubtitleLang | String | No | Subtitle language, used for guiding OCR recognition, default value zh_en; this parameter is valid only when OcrSwitch is "ON". - zh_en: Chinese and English - multi: others The following are other languages supported for recognition: Chinese, English, Japanese, Korean, Spanish, French, German, Portuguese, Vietnamese, Malay, Russian, Italian, Dutch, Swedish, Finnish, Danish, Norwegian, Hungarian, Thai, Hindi, Arabic, Indian Bengali, Indian Gujarati, Indian Kannada, Indian Malayalam, Indian Tamil, Indian Telugu, Slovenian, Polish, Catalonia, Bosnia, Czech, Estonian, Croatian, Punjabi, Marathi, Azerbaijan, Indonesian, Luxembourg, Lithuanian, Latvian, Malta, Slovak, Turkish, Kazakh, Greek, Irish, Belarus, Khmer, Tagalog, Pashto, Persian, Tajikistan |
| SubtitleFormat | String | No | Subtitle file format, default value vtt; this parameter is valid only when OcrSwitch is "ON". - srt: SRT format - vtt: WebVTT format. |
| TransSwitch | String | No | Whether to enable subtitle translation, default value is OFF. This parameter is valid only when OcrSwitch is "ON". -ON -OFF: disabled. |
| TransDstLang | String | No | Subtitle target language, default value en; this parameter is valid only when TransSwitch is "ON". Supported languages: zh: Simplified Chinese en: English ja: Japanese ko: Korean fr: French es: Spanish it: Italian de: German tr: Turkish ru: Russian pt: Portuguese vi: Vietnamese id: Indonesian ms: Malay th: Thai ar: Arabic hi: Hindi |
| AutoAreas | Array of EraseArea | No | Custom area for automatic erasing. For the specified area, AI models are used to automatically detect and erase the target objects. Note: When the erasing method is set to custom, this parameter is invalid. When a template is modified, input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
| CustomAreas | Array of EraseTimeArea | No | Specify the custom region for erasing. For the specified area, erase the target objects directly without detection and recognition within a selected time period. Note: When a template is modified, input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
Watermark removal configuration for the smart erasing template.
Used by actions: ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| WatermarkEraseMethod | String | No | Watermark removal method. Automatic erasing: Video watermarks are automatically recognized using an AI model and are erased to generate a new video. It applies to dynamic watermarks. When using automatic erasing, if AutoAreas is not specified, the full-screen video image area will be erased automatically. If AutoAreas is specified, the specified area will be erased automatically. Specified area erasure: For static watermarks with a relatively fixed position, we recommend you directly specify the area for erasure. When you choose specified area erasure, import at least a specified region. - auto: automatic erasing - custom: specified area erasing. |
| WatermarkModel | String | No | Watermark removal model. Basic Edition: Provides average effects and high cost performance. Suitable for animations or videos with clean backgrounds. Advanced edition: Better effectiveness, suitable for reality style videos such as mini-drama. -. - advanced: Advanced Edition. |
| AutoAreas | Array of EraseArea | No | Automatic removal of custom region. For the specified area, AI models are used to automatically detect and erase the target objects. Note: When the erasing method is set to custom, this parameter is invalid. Input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
| CustomAreas | Array of EraseTimeArea | No | Specify a custom region for erasing. For the specified area, erase the target objects directly without detection and recognition within a selected time period. Note: Input [] for the erasing area; if this parameter is unspecified, the template area information will remain unchanged. |
The URL of the object to process.
Used by actions: BatchProcessMedia, DescribeImageTaskDetail, DescribeMediaMetaData, DetectVideoSubtitleArea, DetectVideoWatermark, ExtractBlindWatermark, ProcessImage, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | Yes | URL of a video. |
Control parameter of a custom speech audit task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a custom speech audit task. Valid values: |
| LabelSet | Array of String | No | Custom speech filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom speech keywords. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
Control parameter of a custom speech audit task
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a custom speech audit task. Valid values: |
| LabelSet | Array of String | No | Custom speech filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom speech keywords. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Control parameter of a custom audit task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| FaceReviewInfo | UserDefineFaceReviewTemplateInfo | No | Control parameter of custom figure audit. Note: This field may return null, indicating that no valid values can be obtained. |
| AsrReviewInfo | UserDefineAsrTextReviewTemplateInfo | No | Control parameter of custom speech audit. Note: This field may return null, indicating that no valid values can be obtained. |
| OcrReviewInfo | UserDefineOcrTextReviewTemplateInfo | No | Control parameter of custom text audit. Note: This field may return null, indicating that no valid values can be obtained. |
Control parameter of a custom audit task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FaceReviewInfo | UserDefineFaceReviewTemplateInfoForUpdate | Yes | Control parameter of custom figure audit. |
| AsrReviewInfo | UserDefineAsrTextReviewTemplateInfoForUpdate | Yes | Control parameter of custom speech audit. |
| OcrReviewInfo | UserDefineOcrTextReviewTemplateInfoForUpdate | Yes | Control parameter of custom text audit. |
Control parameter of a custom figure audit task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a custom figure audit task. Valid values: |
| LabelSet | Array of String | No | Custom figure filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for the custom figure library. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 97 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 95 will be used by default. Value range: 0-100. |
Control parameter of a custom figure audit task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a custom figure audit task. Valid values: |
| LabelSet | Array of String | No | Custom figure filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for the custom figure library. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Control parameter of a custom text audit task
Used by actions: CreateContentReviewTemplate, DescribeContentReviewTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch of a custom text audit task. Valid values: |
| LabelSet | Array of String | No | Custom text filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom text keywords. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. |
Control parameter of a custom text audit task.
Used by actions: ModifyContentReviewTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch of a custom text audit task. Valid values: |
| LabelSet | Array of String | No | Custom text filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom text keywords. There can be up to 10 tags, each with a length limit of 16 characters. |
| BlockConfidence | Integer | No | Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. |
| ReviewConfidence | Integer | No | Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. |
Media processing VOD object information.
Used by actions: BatchProcessMedia, DescribeImageTaskDetail, DescribeMediaMetaData, DetectVideoSubtitleArea, DetectVideoWatermark, ExtractBlindWatermark, ProcessImage, ProcessMedia.
| Name | Type | Required | Description |
|---|---|---|---|
| Bucket | String | No | Bucket ID where the media processing object file resides |
| Region | String | No | Region of the Bucket where the media processing object file resides |
| Object | String | No | Input path of the media processing object file |
| SubAppId | Integer | No | VOD application ID. |
| VodBasic | Integer | No | Whether to use VOD Standard Edition. Enumeration values:
Default value: 0 |
| FileId | String | No | VOD Standard Edition FileId |
Media processing VOD output object information.
Used by actions: BatchProcessMedia, CreateSchedule, CreateWorkflow, EditMedia, ModifySchedule, ProcessImage, ProcessLiveStream, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Bucket | String | No | Target Bucket ID for the output file generated by media processing |
| Region | String | No | Region of the target Bucket for the output file generated by media processing |
| SubAppId | Integer | No | VOD application ID |
| VodBasic | Integer | No | Whether to use VOD Standard Edition. Enumeration values:
|
Video shot recognition result
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| StartTime | Float | Segment start time (unit: seconds) |
| EndTime | Float | Segment end time (unit: seconds) |
| Title | String | Storyboard clip title |
| Description | String | Segment information description |
| Keywords | Array of String | Storyboard clip keywords |
Image noise removal configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values: Default value: ON. |
| Type | String | No | Type, available values: Default value: weak. |
aigc cos information. Stores user‑provided cos information for saving results
Used by actions: CreateAiDramaTask, CreateAiFissionTask.
| Name | Type | Required | Description |
|---|---|---|---|
| CosBucketRegion | String | No | cos bucket region |
| CosBucketName | String | No | cos bucket name |
| CosBucketPath | String | No | cos bucket path |
Video enhancement configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| FrameRate | FrameRateConfig | No | Frame rate configuration (old) for the frame interpolation. New users are recommended to use FrameRateWithDen for configuring the frame rate of frame interpolation, which supports fractions and provides better results. Note that FrameRate and FrameRateWithDen are mutually exclusive; configuring both simultaneously may cause task failures. The configuration does not take effect if the source frame rate is greater than or equal to the target frame rate. |
| SuperResolution | SuperResolutionConfig | No | Super-resolution configuration. The video is not processed when the source resolution is higher than the target resolution. Note that it cannot be enabled simultaneously with LLM enhancement. |
| Hdr | HdrConfig | No | HDR configuration. |
| Denoise | VideoDenoiseConfig | No | Video noise reduction configuration. Note that it cannot be enabled simultaneously with LLM enhancement. |
| ImageQualityEnhance | ImageQualityEnhanceConfig | No | Comprehensive enhancement configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. |
| ColorEnhance | ColorEnhanceConfig | No | Color enhancement configuration. |
| LowLightEnhance | LowLightEnhanceConfig | No | Low-light enhancement configuration. |
| ScratchRepair | ScratchRepairConfig | No | Scratches removal configuration. |
| ArtifactRepair | ArtifactRepairConfig | No | Artifacts removal configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. |
| EnhanceSceneType | String | No | Enhanced scenario configuration, available values: |
| DiffusionEnhance | DiffusionEnhanceConfig | No | LLM enhancement configuration. Note that only one of the three items, LLM enhancement, comprehensive enhancement, and artifacts removal, can be configured. It cannot intersect with super-resolution and noise reduction. |
| FrameRateWithDen | FrameRateWithDenConfig | No | The new frame interpolation frame rate configuration supports fractions. Note that you must choose between this and FrameRate. The capacity will not take effect when the source frame rate is equal to or greater than the target frame rate. |
| AiRestoration | AiRestorationConfig | No | Large model repair configuration. Note that you can configure at most one of large model, comprehensive enhancement, and artifacts removal. It cannot intersect with super-resolution and noise reduction. |
aigc cos information. Stores user‑provided cos information for saving results
Used by actions: CreateVideoRedrawTask.
| Name | Type | Required | Description |
|---|---|---|---|
| CosBucketRegion | String | No | cos bucket region |
| CosBucketName | String | No | cos bucket name |
| CosBucketPath | String | No | cos bucket path |
Input source for video redrawing
Used by actions: CreateVideoRedrawTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | Yes | Input the video URL to be redrawn |
AIGC redrawing and replacement task parameters
Used by actions: CreateVideoRedrawTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Style | String | No | Convert the video style, such as anime, cyberpunk, and ink wash |
Video stream configuration parameter
Used by actions: CreateAdaptiveDynamicStreamingTemplate, CreateTranscodeTemplate, CreateWorkflow, DescribeTranscodeTemplates, ModifyAdaptiveDynamicStreamingTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Encoding format of video streams. Valid values: Note: The av1 codec currently only supports mp4, webm, and mkv. Note: The H.266 codec currently only supports mp4, hls, ts, and mov. Note: The VP8 and VP9 codecs currently only support webm and mkv. Note: The MPEG2 and dnxhd codecs currently only support mxf. Note: The MV-HEVC codec currently only supports mp4, hls, and mov. Among them, the HLS format only supports the MP4 segmented format and requires the input source to be a panoramic video (with multiple views). |
| Fps | Integer | Yes | Video frame rate. Value range: When FpsDenominator is empty, the range is [0, 120], in Hz. When FpsDenominator is not empty, the Fps/FpsDenominator range is [0, 120]. If the value is 0, the frame rate will be the same as that of the source video. |
| Bitrate | Integer | Yes | Bitrate of a video stream, in kbps. Value range: 0 and [128, 100000].If the value is 0, the bitrate of the video will be the same as that of the source video. |
| ResolutionAdaptive | String | No | Resolution adaption. Valid values:Width indicates the long side of a video, while Height indicates the short side.Width indicates the width of a video, while Height indicates the height.Default value: open. Note: When resolution adaption is enabled, Width cannot be smaller than Height. |
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096]. Default value: 0. Note: If Codec is set to MV-HEVC, the maximum value can be 7680. |
| Height | Integer | No | Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096]. Default value: 0. Note: If Codec is set to MV-HEVC, the maximum value can be 7680. |
| Gop | Integer | No | Interval between I-frames (keyframes), which can be customized in frames or seconds. GOP value range: 0 and [1, 100000]. If this parameter is 0 or left blank, the system will automatically set the GOP length. |
| GopUnit | String | No | Gop value unit, value range: frame: indicates frame second: indicates second Default value: frame |
| FillType | String | No | Padding method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the transcoding processing method is "padding". Optional filling method: Default value: black. |
| Vcrf | Integer | No | Control factor for constant video bitrate. Value range: [0, 51]. If this parameter is not specified, it means "auto". If there are no special requirements, it is advisable not to specify this parameter. When the Mode parameter is set to VBR, if the Vcrf value is configured concurrently, MPS will process video in VBR mode, with consideration of both Vcrf and Bitrate parameter settings to balance video quality, bitrate, transcoding efficiency, and file size. When the Mode parameter is set to CRF, the Bitrate setting will become invalid, and encoding is performed based on the Vcrf value. When the Mode parameter is set to ABR or CBR, the Vcrf value does not need to be configured. |
| HlsTime | Integer | No | Average shard duration. Range: (0-10], unit: second Leave it blank to auto, which automatically chooses the appropriate segment duration based on the video's GOP and other features. |
| SegmentType | Integer | No | hls fragment type, value range: Default value: 0 Note: This field is used for ordinary/TSC transcoding settings and does not take effect for adaptive bitrate streams. If you need to configure the sharding type for an adaptive bitrate stream, you can use the outer field. |
| FpsDenominator | Integer | No | Denominator of the frame rate Note: The value must be greater than 0. |
| Stereo3dType | String | No | 3D video splicing mode, only mv-hevc, 3D video takes effect, available values: Billing is based on the segmented resolution dimension for reporting usage and cost. Default value: side_by_side |
| VideoProfile | String | No | Profile, suitable for different scenarios. baseline: It only supports I/P-frames and non-interlaced scenarios, and is suitable for scenarios such as video calls and mobile videos. Mainstream Profile, providing I-frames, P-frames, and B-frames, and supporting both interlaced and non-interlaced modes. It is primarily used in mainstream audio and video consumption products such as video players and streaming media transmission devices. high: The highest encoding level, adding 8X8 prediction to the Main Profile and supporting custom quantification. Widely used in Blu-ray storage and HDTV scenarios. default: automatic filling along with the original video. This configuration appears only when the encoding standard is set to H264. baseline/main/high is supported. Default value: default |
| VideoLevel | String | No | Encoder level. Default value: auto ("") If the encoding standard is set to H264, the following options are supported: "", 1, 1.1, 1.2, 1.3, 2, -2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2, 5, and 5.1. If the encoding standard is set to H265, the following options are supported: "", 1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6, 6.1, 6.2, and 8.5. |
| Bframes | Integer | No | Number of B-frames between reference frames. The default is auto, and a range of 0 - 16 is supported. Note: Leave it blank to indicate usage of auto. |
| Mode | String | No | Bitrate control mode. Optional values: VBR (Variable Bit Rate): Dynamic bitrate (VBR) adjusts the output bitrate based on the complexity of the video image to ensure higher image quality. It is suitable for storage scenarios and applications with high image quality requirements. ABR (Average Bit Rate): Average bitrate. It aims to keep the average bitrate of the output video stable while allowing short-term bitrate fluctuation. This is suitable for scenarios where overall bitrate needs to be minimized while maintaining a certain image quality. CBR (Constant Bit Rate): Constant bitrate. In video encoding, it maintains a constant output bitrate regardless of image complexity changes. It is suitable for scenarios with strict network bandwidth requirements, such as live streaming. VCRF (Constant Rate Factor): Constant quality factor. It controls video quality by setting a Quality Factor, enabling constant quality encoding of videos. Bitrate adjustment is based on content complexity. This method is suitable for scenarios where maintaining a certain quality is desired. VBR is selected by default. |
| Sar | String | No | Display aspect ratio. Optional values: [1:1, 2:1, default] Default value: default |
| NoScenecut | Integer | No | Adaptive I-frame decision. Once enabled, Media Processing Service automatically identifies transition points between different scenarios in the video (usually visually distinct frames, such as switching from one shot to another) and adaptively inserts keyframes (I-frames) at these points to improve random accessibility and encoding efficiency. Optional values: 0: Disable adaptive I-frame decision. 1: Enable the adaptive I-frame decision Default value: 0 |
| BitDepth | Integer | No | Bit: 8/10 is supported. Default value: 8 |
| RawPts | Integer | No | Preserve original timestamp. Optional values: 0: Disabled 1: Enabled Default value: Disabled |
| Compress | Integer | No | Proportional compression bitrate. When enabled, the output video's bitrate is adjusted according to the specified ratio. After the compression ratio is entered, the system automatically calculates the target output bitrate based on the video source bitrate. Compression ratio range: 0-100. Leaving this value blank means it is not enabled by default. |
| SegmentSpecificInfo | SegmentSpecificInfo | No | Segment Duration at Startup |
| ScenarioBased | Integer | No | Whether to enable scenario-based settings for the template 0: disable 1: enable Default value: 0 Note: SceneType and CompressType field values are effective only when this field value is 1. |
| SceneType | String | No | Video scenario. Optional values: normal: General transcoding scenario: General transcoding and compression scenario. pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality video and audio content is retained. materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression. ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics. e-commerce_video: Fashion show/e-commerce: During compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region. educational_video: Education: Compression emphasizes clarity and readability of text and images to help students better understand content and ensure clear conveyance of teaching content. Default value: normal Note: To use this value, ScenarioBased must be 1, otherwise it does not take effect. |
| CompressType | String | No | Transcoding policy. Optional values: ultra_compress: Ultimate compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, greatly saving bandwidth and storage costs. standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy. high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy. low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of the compressed file may be relatively large. Only audio and video TSC transcoding fees are charged for this policy. Default value: standard_compress. Note: To watch videos on TV, the ultra_compress policy is not recommended. The billing standard for the ultra_compress policy is Top Speed Codec (TSC) transcoding + audio/video enhancement - artifacts removal. Note: To use this value, ScenarioBased must be 1, otherwise it does not take effect. |
Video stream configuration parameter
Used by actions: CreateWorkflow, ModifyTranscodeTemplate, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | No | Encoding format for video streams. Optional values: Note: The av1 encoding container currently only supports mp4, webm, and mkv. Note: H.266 encoding containers only support mp4, hls, ts, and mov. Note: VP8 and VP9 encoding containers currently only support webm and mkv. Note: MPEG2 and dnxhd encoding containers currently only support mxf. Note: The MV-HEVC codec currently only supports mp4, hls, and mov. Among them, the HLS format only supports the MP4 segmented format and requires the input source to be a panoramic video (with multiple views). |
| Fps | Integer | No | Video frame rate. Value range: When FpsDenominator is empty, the range is [0, 120], in Hz. When FpsDenominator is not empty, the Fps/FpsDenominator range is [0, 120]. If the value is 0, the frame rate will be the same as that of the source video. |
| Bitrate | Integer | No | Bitrate of video stream, value ranges from 0 to [128, 100000], measurement unit: kbps. If the value is 0, the bitrate of the video will be the same as that of the source video. |
| ResolutionAdaptive | String | No | Resolution adaptation, available values: Note: In self-adaptation mode, Width cannot be less than Height. |
| Width | Integer | No | Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096]. Note: If Codec is set to MV-HEVC, the maximum value can be 7680. |
| Height | Integer | No | Maximum value of video stream height (or short side). Value ranges from 0 to [128, 4096]. Measurement unit: px. Note: If Codec is set to MV-HEVC, the maximum value can be 7680. |
| Gop | Integer | No | Interval between I-frames, customizable by frame or second. GOP length value ranges from 0 to [1, 100000]. When set to 0, the system will automatically set the gop length. |
| GopUnit | String | No | Gop value unit, value range: frame: indicates frame second: indicates second Default value: frame |
| FillType | String | No | Filling method, when 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 mode: Default value: black. |
| Vcrf | Integer | No | Control factor for constant video bitrate. Value range: [0, 51]. If this parameter is not specified, it means "auto". If there are no special requirements, it is advisable not to specify this parameter. When the Mode parameter is set to VBR, if the Vcrf value is configured at the same time, MPS processes video in VBR mode with consideration of both Vcrf and Bitrate parameter settings to balance video quality, bitrate, transcoding efficiency, and file size. When the Mode parameter is set to CRF, the Bitrate setting will become invalid, and encoding is performed based on the Vcrf value. When the Mode parameter is set to ABR or CBR, the Vcrf value requires no configuration. Note: When you need to set it to auto, fill in 100. |
| ContentAdaptStream | Integer | No | Adaptive coding. Available values: Default value: 0. When this parameter is enabled, multiple streams with different resolutions and bitrates will be self-adaptively generated. Among them, the width and height in VideoTemplate are the maximum resolution among the multiple streams, the bitrate in VideoTemplate is the highest bitrate among the multiple streams, and the vcrf in VideoTemplate is the highest quality among the multiple streams. When resolution, bitrate, and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, contact your Tencent Cloud business. |
| HlsTime | Integer | No | Average shard duration. Value range: (0-10], unit: second Default value: 10 Note: It is used only in the HLS format. |
| SegmentType | Integer | No | hls fragment type, available values: Default value: 0 Note: This field is used for ordinary/TSC transcoding settings and does not take effect for adaptive bitrate streams. If needed, you can use the outer field to configure the shard type for adaptive bitrate streams. |
| FpsDenominator | Integer | No | Denominator of the frame rate Note: The value must be greater than 0. |
| Stereo3dType | String | No | 3D video splicing mode, only mv-hevc, takes effect for 3D video, available values: Billing is based on the segmented resolution dimension to report usage amount and cost. Default value: side_by_side |
| VideoProfile | String | No | Profile, suitable for different scenarios. baseline: It only supports I/P-frames and non-interlaced scenarios, and is suitable for scenarios such as video calls and mobile videos. Mainstream Profile, providing I-frames, P-frames, and B-frames, and supporting both interlaced and non-interlaced modes. It is primarily used in mainstream audio and video consumption products such as video players and streaming media transmission devices. high: The highest encoding level, adding 8X8 prediction to the Main Profile and supporting custom quantification. Widely used in Blu-ray storage and HDTV scenarios. default: automatic filling along with the original video This configuration appears only when the encoding standard is set to H264. Default: default |
| VideoLevel | String | No | Encoder level. Default value: auto ("") If the encoding standard is set to H264, the following options are supported: "", 1, 1.1, -1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2, 5, and 5.1. If the encoding standard is set to H265, the following options are supported: "", 1, 2, 2.1, 3, 3.1, 4, 4.1, -5, 5.1, 5.2, 6, 6.1, 6.2, and 8.5. |
| Bframes | Integer | No | Maximum number of consecutive B-frames. The default is auto, and 0 - 16 and -1 are supported. Note: -1 indicates auto. |
| Mode | String | No | Bitrate control mode. Optional values: VBR (Variable Bit Rate): Dynamic bitrate adjusts the output bitrate based on the complexity of the video image to ensure higher image quality. It is suitable for storage scenarios and applications with high image quality requirements. ABR (Average Bit Rate): Average bitrate. It aims to keep the average bitrate of the output video stable as much as possible, but allows short-term bitrate fluctuation. It is suitable for scenarios where you need to minimize overall bitrate while maintaining a certain image quality. CBR (Constant Bit Rate): Constant bit rate. In video encoding, it maintains a constant output bitrate regardless of image complexity changes. It is suitable for scenarios with strict network bandwidth requirements, such as live streaming. VCRF (Constant Rate Factor): Constant quality factor. It controls video quality by setting a quality factor to achieve constant quality encoding of videos. Bitrate adjustment based on content complexity. Suitable for scenarios where maintaining a certain quality is desired. VBR is selected by default. |
| Sar | String | No | Display aspect ratio. Optional values: [1:1, 2:1, default] Default value: default |
| NoScenecut | Integer | No | Adaptive I-frame decision. When enabled, Media Processing Service automatically identifies transition points between different scenarios in the video (usually visually distinct frames, such as those of switching from one shot to another) and adaptively inserts keyframes (I-frames) at these points to improve the video's random accessibility and encoding efficiency. Optional values: 0: Disable adaptive I-frame decision 1: Enable the adaptive I-frame decision Default value: 0 |
| BitDepth | Integer | No | Bit: 8/10 is supported. Default value: - |
| RawPts | Integer | No | Preserve original timestamp. Optional values: 0: Disabled 1: Enabled Default value: Disabled |
| Compress | Integer | No | Proportional compression bitrate. When enabled, the output video's bitrate is adjusted according to the specified ratio. After the compression ratio is entered, the system automatically calculates the target output bitrate based on the video source bitrate. Compression ratio range: 0-100, optional values: [0-100] and -1. Note: -1 indicates auto. |
| SegmentSpecificInfo | SegmentSpecificInfo | No | Segment Duration at Startup |
| ScenarioBased | Integer | No | Whether to enable scenario-based settings for the template 0: disable 1: enable Default value: 0 Note: SceneType and CompressType field values are effective only when this field value is 1. |
| SceneType | String | No | Video scenario. Optional values: normal: General transcoding scenario: General transcoding and compression scenario. pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained. materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression. ugc: UGC content: Suitable for a wide range of UGC/short video scenarios, with optimized encoding bitrate for short video characteristics, image quality improvement, and enhanced business QOS/QOE metrics. e-commerce_video: Fashion show/e-commerce: During compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region. educational_video: Education: Compression emphasizes clarity and readability of text and images to help students better understand content and ensure clear conveyance of teaching content. Default value: normal. Note: To use this value, ScenarioBased must be 1, otherwise it does not take effect. |
| CompressType | String | No | Transcoding policy. Optional values: ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs. standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for the policy. high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy. low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of the compressed file may be relatively large. Only audio and video Top Speed Codec transcoding fees are charged for this policy. Default value: standard_compress. Note: To watch videos on TV, the ultra_compress policy is not recommended. The billing standard for the ultra_compress policy is TSC transcoding + audio/video enhancement - artifacts removal. Note: To use this value, ScenarioBased must be 1, otherwise it does not take effect. |
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 value:
|
| 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. |
| Engine | String | No |
Voice attribute.
Used by actions: CloneVoice, DesignVoiceAsync, SyncDubbing.
| 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. |
The volume equalization configuration.
Used by actions: CreateTranscodeTemplate, ModifyTranscodeTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the feature. Valid values:ONOFF Default value: ON. |
| Type | String | No | Type, available values: Default value: loudNorm. |
The watermark parameters to use in a media processing task.
Used by actions: CreateWorkflow, ProcessMedia, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Definition | Integer | Yes | ID of a watermarking template. |
| RawParameter | RawWatermarkParameter | No | Custom watermark parameter, which is valid if Definition is 0.This parameter is used in highly customized scenarios. We recommend you use Definition to specify the watermark parameter preferably.Custom watermark parameter is not available for screenshot. |
| TextContent | String | No | Text content of up to 100 characters. This field is required only when the watermark type is text. Text watermark is not available for screenshot. |
| SvgContent | String | No | SVG content of up to 2,000,000 characters. This field is required only when the watermark type is SVG.SVG watermark is not available for screenshot. |
| 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. Note: It is only used for video scenarios. Screenshots are not supported. |
| EndTimeOffset | Float | No | End time offset of a watermark, in seconds. Note: It is only used for video scenarios. Screenshots are not supported. |
Details of a watermarking template
Used by actions: DescribeWatermarkTemplates.
| Name | Type | Description |
|---|---|---|
| Definition | Integer | Unique ID of a watermarking template. |
| Type | String | Watermark type. Valid values: |
| Name | String | Name of a watermarking template. |
| Comment | String | Template description. |
| XPos | String | Horizontal position of the origin of the watermark image relative to the origin of the video.Left edge of the watermark will be at the position of the specified percentage of the video width; for example, 10% means that the Left edge is at 10% of the video width;Left edge of the watermark will be at the position of the specified px of the video width; for example, 100px means that the Left edge is at the position of 100 px. |
| YPos | String | Vertical position of the origin of the watermark image relative to the origin of the video.Top edge of the watermark will beat the position of the specified percentage of the video height; for example, 10% means that the Top edge is at 10% of the video height;Top edge of the watermark will be at the position of the specified px of the video height; for example, 100px means that the Top edge is at the position of 100 px. |
| ImageTemplate | ImageWatermarkTemplate | Image watermarking template. This field is valid only when Type is image.Note: This field may return null, indicating that no valid values can be obtained. |
| TextTemplate | TextWatermarkTemplateInput | Text watermarking template. This field is valid only when Type is text.Note: This field may return null, indicating that no valid values can be obtained. |
| SvgTemplate | SvgWatermarkInput | SVG watermarking template. This field is valid when Type is svg.Note: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Creation time of a template in ISO date format. |
| UpdateTime | String | Last modified time of a template in ISO date format. |
| CoordinateOrigin | String | Origin position. Valid values: |
Word information.
Used by actions: DescribeBatchTaskDetail, DescribeTaskDetail, ParseNotification, RecognizeAudio.
| Name | Type | Description |
|---|---|---|
| Word | String | Word text. |
| Start | Float | Word start timestamp, in seconds. |
| End | Float | Word end timestamp, in seconds. |
| Trans | String | Text after translation. |
Workflow information details.
Used by actions: DescribeWorkflows.
| Name | Type | Description |
|---|---|---|
| WorkflowId | Integer | Workflow ID. |
| WorkflowName | String | Workflow name. |
| Status | String | Workflow status. Valid values: |
| Trigger | WorkflowTrigger | Input rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. |
| OutputStorage | TaskOutputStorage | The location to save the media processing output file. Note: This field may return null, indicating that no valid value can be obtained. |
| MediaProcessTask | MediaProcessTaskInput | The media processing parameters to use. Note: This field may return null, indicating that no valid value can be obtained. |
| AiContentReviewTask | AiContentReviewTaskInput | Type parameter of a video content audit task. Note: This field may return null, indicating that no valid values can be obtained. |
| AiAnalysisTask | AiAnalysisTaskInput | Video content analysis task parameter. |
| AiRecognitionTask | AiRecognitionTaskInput | Type parameter of a video content recognition task. Note: This field may return null, indicating that no valid values can be obtained. |
| TaskNotifyConfig | TaskNotifyConfig | Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. Note: This field may return null, indicating that no valid values can be obtained. |
| TaskPriority | Integer | Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. |
| OutputDir | String | The directory to save the media processing output file, such as /movie/201907/. |
| CreateTime | String | Creation time of a workflow in ISO date format. |
| UpdateTime | String | Last modified time of a workflow in ISO date format. |
Media Processing Service task information
Used by actions: DescribeTaskDetail, ParseNotification.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Media processing task ID. |
| Status | String | Task flow status. Valid values: |
| ErrCode | Integer | An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned. |
| Message | String | The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task. |
| InputInfo | MediaInputInfo | |
| MetaData | MediaMetaData | |
| MediaProcessResultSet | Array of MediaProcessTaskResult | Execution status and results of a Media Processing Service task. |
| AiContentReviewResultSet | Array of AiContentReviewResult | Execution status and results of a video content review task. |
| AiAnalysisResultSet | Array of AiAnalysisResult | Execution status and results of a video content analysis task. |
| AiRecognitionResultSet | Array of AiRecognitionResult | Task execution status and results of the video content recognition task. |
| AiQualityControlTaskResult | ScheduleQualityControlTaskResult | |
| SmartSubtitlesTaskResult | Array of SmartSubtitlesResult | |
| SmartEraseTaskResult | SmartEraseTaskResult |
Input rule. If an uploaded video hits the rule, the workflow will be triggered.
Used by actions: CreateSchedule, CreateWorkflow, DescribeSchedules, DescribeWorkflows, ModifySchedule, ResetWorkflow.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | The trigger type. Valid values:CosFileUpload: Tencent Cloud COS trigger.AwsS3FileUpload: AWS S3 trigger. Currently, this type is only supported for transcoding tasks and schemes (not supported for workflows). |
| CosFileUploadTrigger | CosFileUploadTrigger | No | Required and valid when Type is CosFileUpload. This is a COS trigger rule. |
| AwsS3FileUploadTrigger | AwsS3FileUploadTrigger | No | Required and valid when Type is AwsS3FileUpload. This is the AWS S3 trigger rule. Note: Currently, the keys for AWS S3, the corresponding trigger queue SQS, and the callback queue SQS should be the same. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback