tencent cloud

Feedback

Creating Workflow

Last updated: 2022-07-27 14:23:03

    Feature Description

    This API (Create Workflow) is used to create a workflow.

    Request

    Sample request

    POST /workflow HTTP/1.1
    Host: <BucketName-APPID>.ci.<Region>.myqcloud.com
    Date: <GMT Date>
    Authorization: <Auth String>
    Content-Length: <length>
    Content-Type: application/xml
    <body>
    
    Note:

    • Authorization: Auth String (for more information, see Request Signature).
    • When this feature is used by a sub-account, relevant permissions must be granted. For more information, see Authorization Granularity.

    Request headers

    This API only uses common request headers. For more information, see Common Request Headers.

    Request body

    This request requires the following request body:

    Request body 1: Audio/Video transcoding, TESHD, frame capturing, conversion to animated image, voice/sound separation, video montage, audio/video splicing, intelligent thumbnail, video enhancement, SDR-to-HDR, custom function, super resolution, audio/video remuxing, and image processing

    <Request>
     <MediaWorkflow>
         <Name>demo</Name>
         <State>Active</State>
         <Topology>
             <Dependencies>
                 <Start>Snapshot_1581665960536,Transcode_1581665960537,Animation_1581665960538,Concat_1581665960539,SmartCover_1581665960539,VoiceSeparate_1581665960551,VideoMontage_1581665960551,SDRtoHDR_1581665960553,VideoProcess_1581665960554,SCF_1581665960566,SuperResolution_1581665960583,Segment_1581665960667,PicProcess_1581665960668</Start>
                 <Snapshot_1581665960536>End</Snapshot_1581665960536>
                 <Transcode_1581665960537>End</Transcode_1581665960537>
                 <Animation_1581665960538>End</Animation_1581665960538>
                 <Concat_1581665960539>End</Concat_1581665960539>
                 <SmartCover_1581665960539>End</SmartCover_1581665960539>
                 <VoiceSeparate_1581665960551>End</VoiceSeparate_1581665960551>
                 <VideoMontage_1581665960551>End</VideoMontage_1581665960551>
                 <SDRtoHDR_1581665960553>End</SDRtoHDR_1581665960553>
                 <VideoProcess_1581665960554>End</VideoProcess_1581665960554>
                 <SCF_1581665960566>End</SCF_1581665960566>
                 <SuperResolution_1581665960583>End</SuperResolution_1581665960583>
                 <Segment_1581665960667>End</Segment_1581665960667>
                 <PicProcess_1581665960668>End</PicProcess_1581665960668>
             </Dependencies>
             <Nodes>
                 <Start>
                     <Type>Start</Type>
                     <Input>
                         <QueueId></QueueId>
                         <PicProcessQueueId></PicProcessQueueId>
                         <ObjectPrefix></ObjectPrefix>
                         <NotifyConfig>
                             <Url>http://www.callback.com</Url>
                             <Event>TaskFinish,WorkflowFinish</Event>
                             <Type>Url</Type>
                             <ResultFormat></ResultFormat>
                         </NotifyConfig>
                         <ExtFilter>
                             <State>on</State>
                             <Audio>true</Audio>
                             <Image>true</Image>
                             <Custom>true</Custom>
                             <CustomExts>mp4/mp3</CustomExts>
                             <AllFile>true</AllFile>
                         </ExtFilter>
                     </Input>
                 </Start>
                 <SmartCover_1581665960539>
                     <Type>SmartCover</Type>
                     <Operation>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/cover-${Number}.jpg</Object>
                         </Output>
                         <SmartCover>
                             <Format>png</Format>
                             <Width>128</Width>
                             <Height>128</Height>
                             <Count>3</Count>
                             <DeleteDuplicates>false</DeleteDuplicates>
                         </SmartCover> 
                     </Operation>
                 </SmartCover_1581665960539>
                 <Snapshot_1581665960536>
                     <Type>Snapshot</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
                             <SpriteObject>abc/${RunId}/snapshot-${number}.jpg</SpriteObject>
                         </Output>
                     </Operation>
                 </Snapshot_1581665960536>
                 <Transcode_1581665960537>
                     <Type>Transcode</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/trans.mp4</Object>
                         </Output>
                     </Operation>
                 </Transcode_1581665960537>
                 <Animation_1581665960538>
                     <Type>Animation</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/bcd.gif</Object>
                         </Output>
                     </Operation>
                 </Animation_1581665960538>
                 <Concat_1581665960539>
                     <Type>Concat</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/abc.${ext}</Object>
                         </Output>
                     </Operation>
                 </Concat_1581665960539>
                 <VoiceSeparate_1581665960551>
                     <Type>VoiceSeparate</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163b164</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <AuObject>bcd/${RunId}/audio.mp3</AuObject>
                             <Object>bcd/${RunId}/background.mp3</Object>
                         </Output>
                     </Operation>
                 </VoiceSeparate_1581665960551>
                 <VideoMontage_1581665960551>
                     <Type>VideoMontage</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba73l9</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/montage.mp4</Object>
                         </Output>
                     </Operation>
                 </VideoMontage_1581665960551>
                 <SDRtoHDR_1581665960553>
                     <Type>SDRtoHDR</Type>
                     <Operation>
                         <SDRtoHDR>
                             <HdrMode>HLG</HdrMode>
                         </SDRtoHDR>
                         <TranscodeTemplateId></TranscodeTemplateId>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/SDRtoHDR.mp4</Object>
                         </Output>
                     </Operation>
                 </SDRtoHDR_1581665960553>
                 <VideoProcess_1581665960554>
                     <Type>VideoProcess</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55356fshb18</TemplateId>
                         <TranscodeTemplateId></TranscodeTemplateId>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/videoProcess.mp4</Object>
                         </Output>
                     </Operation>
                 </VideoProcess_1581665960554>
                 <SCF_1581665960566>
                     <Type>SCF</Type>
                     <Operation>
                         <SCF>
                             <Region>ap-chengdu</Region>
                             <FunctionName>test</FunctionName>
                             <Namespace>testspace</Namespace>
                         </SCF>
                     </Operation>
                 </SCF_1581665960566>
                 <SuperResolution_1581665960583>
                     <Type>SuperResolution</Type>
                     <Operation>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>${RunId}/SuperResolution.mkv</Object>
                         </Output>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <TranscodeTemplateId>t160606b9752148c4absdfaf2f55163b1f</TranscodeTemplateId>
                     </Operation>
                 </SuperResolution_1581665960583>
                 <Segment_1581665960667>
                     <Type>Segment</Type>
                     <Operation>
                         <Segment>
                             <Format>mp4</Format>
                             <Duration>5</Duration>
                         </Segment>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>test-trans${Number}</Object>
                         </Output>
                     </Operation>
                 </Segment_1581665960667>
                 <PicProcess_1581665960668>
                     <Type>PicProcess</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/trans.jpg</Object>
                         </Output>
                     </Operation>
                 </PicProcess_1581665960668>
             </Nodes>
         </Topology>
     </MediaWorkflow>
    </Request>
    

    Request body 2: Adaptive bitrate streaming

    <Request>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <Topology>
              <Dependencies>
                  <Start>StreamPackConfig_1581665960532</Start>
                  <StreamPackConfig_1581665960532>VideoStream_1581665960536,VideoStream_1581665960537</StreamPackConfig_1581665960532>
                  <VideoStream_1581665960536>StreamPack_1581665960538</VideoStream_1581665960536>
                  <VideoStream_1581665960537>StreamPack_1581665960538</VideoStream_1581665960537>
                  <StreamPack_1581665960538>End</StreamPack_1581665960538>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat></ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>on</State>
                              <Audio>true</Audio>
                              <Custom>true</Custom>
                              <CustomExts>mp4/mp3</CustomExts>
                              <AllFile>true</AllFile>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <StreamPackConfig_1581665960532>
                      <Type>StreamPackConfig</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                          </Output>
                          <StreamPackConfig>
                              <PackType>HLS</PackType>
                              <IgnoreFailedStream>true</IgnoreFailedStream>
                          </StreamPackConfig>
                      </Operation>
                  </StreamPackConfig_1581665960532>
                  <VideoStream_1581665960536>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_1/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream_1581665960536>
                  <VideoStream_1581665960537>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_2/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream_1581665960537>
                  <StreamPack_1581665960538>
                      <Type>StreamPack</Type>
                      <Operation>
                          <StreamPackInfo>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream_1581665960536</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                          </StreamPackInfo>
                      </Operation>
                  </StreamPack_1581665960538>
              </Nodes>
          </Topology>
      </MediaWorkflow>
    </Request>
    

    Request body 3: Text to speech

    <Request>
      <MediaWorkflow>
          <Name>ttsdemo</Name>
          <State>Active</State>
          <Topology>
              <Dependencies>
                  <Start>Tts_1581665960532</Start>
                  <Tts_1581665960532>End</Tts_1581665960532>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat></ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>On</State>
                              <Custom>true</Custom>
                              <CustomExts>txt</CustomExts>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <Tts_1581665960532>
                      <Type>Tts</Type>
                      <Operation>
                          <TemplateId>t146fh106bgfdg2148c4ab18fgh55163ba7bq</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                          </Output>
                      </Operation>
                  </Tts_1581665960532>
              </Nodes>
          </Topology>
      </MediaWorkflow>
    </Request>
    

    The nodes are as described below:

    Node Name (Keyword) Parent Node Description Type Required
    Request None Request container Container Yes

    Request has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required
    MediaWorkflow Request Workflow node. Container Yes

    MediaWorkflow has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Name Request.MediaWorkflow Workflow name. String Yes The value can contain up to 128 letters, digits, hyphens, and underscores.
    State Request.MediaWorkflow Workflow status. String No Paused/Active
    Topology Request.MediaWorkflow Topology information. Container Yes None

    Topology has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Dependencies Request.MediaWorkflow.
    Topology
    Node dependencies. Container Yes None
    Nodes Request.MediaWorkflow.
    Topology
    Node list. Container Yes None

    Nodes has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Start Request.MediaWorkflow.
    Topology.Nodes
    Start node. Container Yes There is only one start node.
    Animation_*** Request.MediaWorkflow.
    Topology.Nodes
    Animated image type node Container No The node name must be prefixed with "Animation". There can be multiple animated image nodes.
    Snapshot_*** Request.MediaWorkflow.
    Topology.Nodes
    Screenshot type node Container No The node name must be prefixed with "Snapshot". There can be multiple screenshot nodes.
    SmartCover_*** Request.MediaWorkflow.
    Topology.Nodes
    Intelligent thumbnail node Container No The node name must be prefixed with "SmartCover". There can be multiple intelligent thumbnail nodes.
    Transcode_*** Request.MediaWorkflow.
    Topology.Nodes
    Transcoding node Container No The node name must be prefixed with "Transcode". There can be multiple transcoding nodes.
    Concat_*** Request.MediaWorkflow.
    Topology.Nodes
    Audio/Video splicing node Container No The node name must be prefixed with "Concat". There can be multiple audio/video splicing nodes.
    VoiceSeparate_*** Request.MediaWorkflow.
    Topology.Nodes
    Voice/Sound separation node Container No The node name must be prefixed with "VoiceSeparate". There can be multiple voice/sound separation nodes.
    VideoMontage_*** Request.MediaWorkflow.
    Topology.Nodes
    Video montage node Container No The node name must be prefixed with "VideoMontage". There can be multiple video montage nodes.
    StreamPackConfig_*** Request.MediaWorkflow.
    Topology.Nodes
    Adaptive bitrate streaming node Container No The node name must be prefixed with "StreamPackConfig". There can be only one adaptive bitrate streaming node. This node must follow a start node and be followed by a video substream node. There can be multiple video substream nodes.
    VideoStream_*** Request.MediaWorkflow.
    Topology.Nodes
    Video substream node Container No The node name must be prefixed with "VideoStream". There can be multiple video substream nodes. This node must follow a StreamPackConfig node and be followed by a StreamPack node.
    StreamPack_*** Request.MediaWorkflow.
    Topology.Nodes
    Adaptive bitrate streaming packaging node Container No The node name must be prefixed with "StreamPack". There can be only one adaptive bitrate streaming packaging node. This node must follow a video substream node and be followed by an end node.
    SDRtoHDR_*** Request.MediaWorkflow.
    Topology.Nodes
    SDR-to-HDR node Container No The node name must be prefixed with "SDRtoHDR". There can be multiple SDR-to-HDR nodes.
    VideoProcess_*** Request.MediaWorkflow.
    Topology.Nodes
    Video processing node Container No The node name must be prefixed with "VideoProcess". There can be multiple video processing nodes.
    SCF_*** Request.MediaWorkflow.
    Topology.Nodes
    SCF function node Container No The node name must be prefixed with "SCF". There can be multiple SCF function nodes.
    SuperResolution_*** Request.MediaWorkflow.
    Topology.Nodes
    Super resolution node Container No The node name must be prefixed with "SuperResolution". There can be multiple super resolution nodes.
    Segment_*** Request.MediaWorkflow.
    Topology.Nodes
    Audio/Video remuxing node Container No The node name must be prefixed with Segment. There can be multiple audio/video remuxing nodes.
    PicProcess_*** Request.MediaWorkflow.
    Topology.Nodes
    Image processing node Container No The node name must be prefixed with "PicProcess". There can be multiple image processing nodes.

    Start has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.Start
    Node type String Yes Start
    Input Request.MediaWorkflow.
    Topology.Nodes.Start
    Input information Container Yes None

    Input has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    ObjectPrefix Request.MediaWorkflow.
    Topology.Nodes.Start.Input
    Object prefix. String Yes None
    QueueId Request.MediaWorkflow.
    Topology.Nodes.Start.Input
    Queue ID String Yes None
    PicProcessQueueId Request.MediaWorkflow.
    Topology.Nodes.Start.Input
    Image processing queue ID String No This parameter is required when there is an image processing node.
    NotifyConfig Request.MediaWorkflow.
    Topology.Nodes.Start.Input
    Callback information. If none is specified, the queue callback information is used. Container No None
    ExtFilter Request.MediaWorkflow.
    Topology.Nodes.Start.Input
    Filename extension filter. Container No None

    Start.Input.NotifyConfig has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Default Value Constraints
    Url Request.MediaWorkflow.Topology.
    Nodes.Start.Input.NotifyConfig
    Callback address String Yes None The callback address cannot be a private network address.
    Type Request.MediaWorkflow.Topology.
    Nodes.Start.Input.NotifyConfig
    Callback type String Yes None Url: URL callback
    Event Request.MediaWorkflow.Topology.
    Nodes.Start.Input.NotifyConfig
    Callback information String Yes None 1. TaskFinish: Job completed
    2. WorkflowFinish: Workflow completed
    3. You can configure multiple events separated with commas.
    ResultFormat Request.MediaWorkflow.Topology.
    Nodes.Start.Input.NotifyConfig
    Callback format String No XML 1. XML
    2. JSON

    Start.Input.ExtFilter has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Default Value Constraints
    State Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Switch. String No Off On/Off
    Video Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Require a video extension. String No false false/true
    Audio Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Require an audio extension. String No false false/true
    Image Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Require an image extension. String No false false/true
    ContentType Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Require a content type. String No false false/true
    Custom Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Require a custom extension. String No false false/true
    CustomExts Request.MediaWorkflow.Topology.
    Nodes.Start.Input.ExtFilter
    Custom extension. String No None 1. Separate filename extensions with slashes (/). Up to ten extensions are supported.
    2. If Custom is true, this parameter is required.
    AllFile Request.MediaWorkflow.Topology.Nodes.Start.Input.ExtFilter All files String No false false/true

    Animation\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.Animation_***
    Node type String Yes Animation
    Operation Request.MediaWorkflow.
    Topology.Nodes.Animation_***
    Operation rule Container Yes None

    Animation\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.Animation_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.Animation_***.Operation
    Output address Container Yes None

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.Animation_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.Animation_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.Animation_***.Operation.Output
    Result filename String Yes 1. bcd/${RunId}/bcd.gif
    2. bcd/${RunId}/bcd.webp

    Snapshot\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.Snapshot_******
    Node type String Yes Snapshot
    Operation Request.MediaWorkflow.Topology.
    Nodes.Snapshot_******
    Operation rule Container Yes None

    Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation
    Output address Container Yes None

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation.Output
    Result filename String No
  • abc/${RunId}/snapshot-${number}.${Ext}
  • bcd/${RunId}/snapshot-${number}.jpg
  • SpriteObject Request.MediaWorkflow.Topology.
    Nodes.Snapshot_***.Operation.Output
    Image sprite name String No
  • abc/${RunId}/snapshot-${number}.jpg
  • bcd/${RunId}/snapshot-${number}.jpg
  • SmartCover_*** has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.SmartCover_***
    Node type String Yes SmartCover
    Operation Request.MediaWorkflow.
    Topology.Nodes.SmartCover_***
    Operation rule Container Yes None

    SmartCover_***.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Output Request.MediaWorkflow.Topology.
    Nodes.SmartCover_***.Operation
    Output address Container Yes None
    SmartCover Request.MediaWorkflow.Topology.
    Nodes.SmartCover_***.Operation
    Thumbnail configuration Container No None

    SmartCover_***.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.SmartCover_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.SmartCover_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.SmartCover_***.Operation.Output
    Result filename String Yes The parameters ${Number} and ${RunId} must be included.

    SmartCover_***.SmartCover has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Default Value Constraints
    Format Request.Operation.SmartCover Thumbnail image type. String Yes None png, jpg, webp
    Width Request.Operation.SmartCover Thumbnail image width String Yes None 1. Value range: [128, 4096]
    2. Unit: px
    Height Request.Operation.SmartCover Thumbnail image height String Yes None 1. Value range: [128, 4096]
    2. Unit: px
    Count Request.Operation.SmartCover Number of thumbnails. String No 3 Value range: [1, 10]
    DeleteDuplicates Request.Operation.SmartCover Whether to deduplicate thumbnails. String No false true/false

    Transcode_*** has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.Transcode_***
    Node type String Yes Transcode
    Operation Request.MediaWorkflow.
    Topology.Nodes.Transcode_***
    Operation rule Container Yes None

    Transcode_***.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.Transcode_***.Operation
    Transcoding template ID String Yes None
    WatermarkTemplateId Request.MediaWorkflow.Topology.
    Nodes.Transcode_***.Operation
    Watermark template ID String No Up to three watermark template IDs are supported.
    RemoveWatermark Request.MediaWorkflow.Topology.
    Nodes.Transcode_***.Operation
    Watermark removal parameter Container No None
    DigitalWatermark Request.MediaWorkflow.Topology.
    Nodes.Transcode_***.Operation
    Digital watermark parameter Container No None
    Output Request.MediaWorkflow.Topology.
    Nodes.Transcode_***.Operation
    Output address Container Yes None

    Transcode\_\*\*\*.RemoveWatermark has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Dx Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.RemoveWatermark
    X-axis offset of the top-left corner origin. string Yes 1. Value range: [0, 4096]
    2. Unit: px
    Dy Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.RemoveWatermark
    Y-axis offset of the top-left corner origin. string Yes 1. Value range: [0, 4096]
    2. Unit: px
    Width Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.RemoveWatermark
    Watermark width string Yes 1. Value range: (0, 4096]
    2. Unit: px
    Height Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.RemoveWatermark
    Watermark height string Yes 1. Value range: (0, 4096]
    2. Unit: px

    Transcode\_\*\*\*.DigitalWatermark has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Message Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.DigitalWatermark
    The watermark information embedded by the digital watermark String Yes It can contain up to 64 letters, digits, underscores (_), hyphens (-), and asterisks (*)
    Type Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.DigitalWatermark
    Digital watermark type String Yes It currently can be set to Text only.
    Version Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.DigitalWatermark
    Digital watermark version String Yes It currently can be set to V1 only.
    IgnoreError Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.DigitalWatermark
    Whether to ignore the watermarking failure and continue the job. String Yes Valid values: true, false

    Transcode\_\*\*\*.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.Nodes.
    Transcode_***.Operation.Output
    Result filename String Yes None

    Concat\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.Concat_***
    Node type String Yes Concat
    Operation Request.MediaWorkflow.Topology.
    Nodes.Concat_***
    Operation rule Container Yes None

    Concat\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.Concat_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.Concat_***.Operation
    Output address Container Yes None

    VoiceSeparate\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***
    Node type String Yes VoiceSeparate
    Operation Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***
    Operation rule Container Yes None

    VoiceSeparate\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation
    Output address Container Yes None

    VoiceSeparate\_\*\*\*.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation.Output
    Background sound result filename String Yes None
    AuObject Request.MediaWorkflow.Topology.
    Nodes.VoiceSeparate_***.Operation.Output
    Voice result filename String Yes None

    VideoMontage\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***
    Node type String Yes VideoMontage
    Operation Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***
    Operation rule Container Yes None

    VideoMontage\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation
    Output address Container Yes None

    VideoMontage\_\*\*\*.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Result filename String Yes None

    StreamPackConfig\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***
    Node type String Yes StreamPackConfig
    Operation Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***
    Operation rule Container Yes None

    StreamPackConfig\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Output Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation
    Output address Container Yes None
    StreamPackConfig Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation
    Packaging configuration Container Yes None

    StreamPackConfig\_\*\*\*.Operation.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation.Output
    Result filename String Yes None

    StreamPackConfig\_\*\*\*.Operation.StreamPackConfig has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    PackType Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation.StreamPackConfig
    Packaging type. Default value: HLS. string No HLS/DASH
    IgnoreFailedStream Request.MediaWorkflow.Topology.
    Nodes.StreamPackConfig_***.Operation.StreamPackConfig
    Whether to ignore the substream failed to be transcoded and continue packaging. Default value: true. string No true/false

    VideoStream\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***
    Node type String Yes VideoStream
    Operation Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***
    Operation rule Container Yes None

    VideoStream\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***.Operation
    Output address Container Yes None
    WatermarkTemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***.Operation
    Watermark template ID String Yes Up to three watermark template IDs are supported.
    RemoveWatermark Request.MediaWorkflow.Topology.
    Nodes.VideoStream_***.Operation
    Watermark removal parameter Container No None

    VideoStream\_\*\*\*.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.VideoMontage_***.Operation.Output
    Result filename String Yes None

    VideoStream\_\*\*\*.RemoveWatermark has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Dx Request.MediaWorkflow.Topology.Nodes.
    VideoStream_***.Operation.RemoveWatermark
    X-axis offset of the top-left corner origin. string Yes 1. Value range: [0, 4096]
    2. Unit: px
    Dy Request.MediaWorkflow.Topology.Nodes.
    VideoStream_***.Operation.RemoveWatermark
    Y-axis offset of the top-left corner origin. string Yes 1. Value range: [0, 4096]
    2. Unit: px
    Width Request.MediaWorkflow.Topology.Nodes.
    VideoStream_***.Operation.RemoveWatermark
    Width string Yes 1. Value range: (0, 4096]
    2. Unit: px
    Height Request.MediaWorkflow.Topology.Nodes.
    VideoStream_***.Operation.RemoveWatermark
    Height string Yes 1. Value range: (0, 4096]
    2. Unit: px

    StreamPack\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.StreamPack_***
    Node type String Yes StreamPack
    Operation Request.MediaWorkflow.
    Topology.Nodes.StreamPack_***
    Operation rule Container Yes None

    StreamPack\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    StreamPackInfo Request.MediaWorkflow.Topology.
    Nodes.StreamPack_***.Operation
    Packaging rule Container No None

    StreamPack\_\*\*\*.Operation.StreamPackInfo has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    VideoStreamConfig Request.MediaWorkflow.Topology.
    Nodes.StreamPack_***.Operation.StreamPackInfo
    Video substream configuration Container No None

    StreamPack\_\*\*\*.Operation.StreamPackInfo.VideoStreamConfig has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    VideoStreamName Request.MediaWorkflow.Topology.Nodes.
    StreamPack_***.Operation.StreamPackInfo.VideoStreamConfig
    Video substream name Container Yes It must be consistent with the existing video node.
    BandWidth Request.MediaWorkflow.Topology.Nodes.
    StreamPack_***.Operation.StreamPackInfo.VideoStreamConfig
    Video substream bandwidth limit. Unit: b/s. Value range: [0, 2000000000], where 0 indicates no limit. Container No The value must be equal to or greater than 0. The default value is 0.

    SDRtoHDR\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***
    Node type Container Yes SDRtoHDR
    Operation Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***
    Operation rule Container Yes None

    SDRtoHDR\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    SDRtoHDR Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation
    SDR-to-HDR configuration Container Yes None
    TranscodeTemplateId Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation
    Transcoding template ID String Yes None
    WatermarkTemplateId Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation
    Watermark template ID String No Up to three watermark template IDs are supported.
    Output Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation
    Output address Container Yes None

    SDRtoHDR\_\*\*\*.SDRtoHDR has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    HdrMode Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation.SDRtoHDR
    HDR mode String Yes 1. HLG
    2. HDR10

    SDRtoHDR\_\*\*\*.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.SDRtoHDR_***.Operation.Output
    Result filename String Yes None

    VideoProcess\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***
    Node type String Yes VideoProcess
    Operation Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***
    Operation rule Container Yes None

    VideoProcess\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation
    Template ID String Yes None
    TranscodeTemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation
    Transcoding template ID String Yes None
    WatermarkTemplateId Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation
    Watermark template ID String No Up to three watermark template IDs are supported.
    DigitalWatermark Request.MediaWorkflow.Topology..
    Nodes.VideoProcess_***.Operation
    Digital watermark parameter Container No None
    Output Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation
    Output address Container Yes None

    VideoProcess\_\*\*\*.Operation.Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.Output
    Result filename String Yes None

    VideoProcess\_\*\*\*.Operation..DigitalWatermark has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Message Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.
    DigitalWatermark
    The watermark information embedded by the digital watermark String Yes It can contain up to 64 letters, digits, underscores (_), hyphens (-), and asterisks (*)
    Type Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.
    DigitalWatermark
    Digital watermark type String Yes It currently can be set to Text only.
    Version Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.
    DigitalWatermark
    Digital watermark version String Yes It currently can be set to V1 only.
    IgnoreError Request.MediaWorkflow.Topology.
    Nodes.VideoProcess_***.Operation.
    DigitalWatermark
    Whether to ignore the watermarking failure and continue the job. String Yes Valid values: true, false

    SCF\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.SCF_***
    Node type String Yes SCF
    Operation Request.MediaWorkflow.Topology.
    Nodes.SCF_***
    Operation rule Container Yes None

    SCF\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    SCF Request.MediaWorkflow.Topology.
    Nodes.SCF_***.Operation
    SCF function information Container Yes None

    SCF\_\*\*\*.Operation.SCF has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.SCF_***.Operation.SCF
    Function region String Yes None
    FunctionName Request.MediaWorkflow.Topology.
    Nodes.SCF_***.Operation.SCF
    Function name String Yes None
    Namespace Request.MediaWorkflow.Topology.
    Nodes.SCF_***.Operation.SCF
    Namespace String No None
    Alias Request.MediaWorkflow.Topology.
    Nodes.SCF_***.Operation.SCF
    Function alias String No None

    SuperResolution\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.SuperResolution_***
    Node type String Yes SuperResolution
    Operation Request.MediaWorkflow.
    Topology.Nodes.SuperResolution_***
    Operation rule Container Yes None

    SuperResolution\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation
    Template ID String Yes None
    TranscodeTemplateId Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation
    Transcoding template ID String Yes None
    WatermarkTemplateId Request.MediaWorkflow.Topology.Nodes.
    SuperResolution***.Operation
    Watermark template ID String No Up to three watermark template IDs are supported.
    DigitalWatermark Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation
    Digital watermark parameter Container No None
    Output Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation
    Output address Container Yes None

    SuperResolution\_\*\*\*\*.DigitalWatermark has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Message Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation.DigitalWatermark
    The watermark information embedded by the digital watermark String Yes It can contain up to 64 letters, digits, underscores (_), hyphens (-), and asterisks (*)
    Type Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation.DigitalWatermark
    Digital watermark type String Yes It currently can be set to Text only.
    Version Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation.DigitalWatermark
    Digital watermark version String Yes It currently can be set to V1 only.
    IgnoreError Request.MediaWorkflow.Topology.Nodes.
    SuperResolution_***.Operation.DigitalWatermark
    Whether to ignore the watermarking failure and continue the job. String Yes Valid values: true, false

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.SuperResolution_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.SuperResolution_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.SuperResolution_***.Operation.Output
    Result filename String Yes None

    Segment\_\*\*\* has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.
    Topology.Nodes.Segment_***
    Node type String Yes Segment
    Operation Request.MediaWorkflow.
    Topology.Nodes.Segment_***
    Operation rule Container Yes None

    Segment\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Segment Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation
    Audio/Video remuxing parameter. Container Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation
    Output address Container Yes None

    Segment has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Format Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation.Segment
    Container format. String Yes aac, mp3, flac, mp4, ts, mkv, avi
    Duration Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation.Segment
    Remuxing duration in seconds String No The value must be an integer equal to or greater than 5.

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation.Output
    Bucket region. String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.Segment_***.Operation.Output
    Result filename String Yes The ${Number} parameter must be included and used as the output sequence number of each audio/video segment after custom remuxing.

    PicProcess\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.PicProcess_******
    Node type String Yes PicProcess
    Operation Request.MediaWorkflow.Topology.
    Nodes.PicProcess_******
    Operation rule Container Yes None

    Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.PicProcess_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.PicProcess_***.Operation
    Output address Container Yes None

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.PicProcess_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.PicProcess_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.PicProcess_***.Operation.Output
    Result filename String No 1. The ${InputName} parameter must be included.
    2. For example: ${InputName}-process.jpg

    Tts\_\*\*\*.Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Type Request.MediaWorkflow.Topology.
    Nodes.Tts_******
    Node type String Yes Tts
    Operation Request.MediaWorkflow.Topology.
    Nodes.Tts_******
    Operation rule Container Yes None

    Operation has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    TemplateId Request.MediaWorkflow.Topology.
    Nodes.Tts_***.Operation
    Template ID String Yes None
    Output Request.MediaWorkflow.Topology.
    Nodes.Tts_***.Operation
    Output address Container Yes None

    Output has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type Required Constraints
    Region Request.MediaWorkflow.Topology.
    Nodes.Tts_***.Operation.Output
    Bucket region String Yes None
    Bucket Request.MediaWorkflow.Topology.
    Nodes.Tts_***.Operation.Output
    Bucket name String Yes None
    Object Request.MediaWorkflow.Topology.
    Nodes.Tts_***.Operation.Output
    Result filename String Yes None

    Response

    Response headers

    This API only returns common response headers. For more information, see Common Response Headers.

    Response body

    The response body returns application/xml data. The following contains all the nodes:

    Response body 1: Audio/Video transcoding, TESHD, frame capturing, conversion to animated image, voice/sound separation, video montage, audio/video splicing, intelligent thumbnail, video enhancement, SDR-to-HDR, custom function, super resolution, audio/video remuxing, and image processing

    <Response>
     <MediaWorkflow>
         <Name>demo</Name>
         <State>Active</State>
         <WorkflowId></WorkflowId>
         <Topology>
             <Dependencies>
                 <Start>Snapshot_1581665960536,Transcode_1581665960537,Animation_1581665960538,Concat_1581665960539,SmartCover_1581665960539,VoiceSeparate_1581665960551,VideoMontage_1581665960551,SDRtoHDR_1581665960553,VideoProcess_1581665960554,SCF_1581665960566,SuperResolution_1581665960583,Segment_1581665960667,PicProcess_1581665960668</Start>
                 <Snapshot_1581665960536>End</Snapshot_1581665960536>
                 <Transcode_1581665960537>End</Transcode_1581665960537>
                 <Animation_1581665960538>End</Animation_1581665960538>
                 <Concat_1581665960539>End</Concat_1581665960539>
                 <SmartCover_1581665960539>End</SmartCover_1581665960539>
                 <VoiceSeparate_1581665960551>End</VoiceSeparate_1581665960551>
                 <VideoMontage_1581665960551>End</VideoMontage_1581665960551>
                 <SDRtoHDR_1581665960553>End</SDRtoHDR_1581665960553>
                 <VideoProcess_1581665960554>End</VideoProcess_1581665960554>
                 <SCF_1581665960566>End</SCF_1581665960566>
                 <SuperResolution_1581665960583>End</SuperResolution_1581665960583>
                 <Segment_1581665960667>End</Segment_1581665960667>
                 <PicProcess_1581665960668>End</PicProcess_1581665960668>
             </Dependencies>
             <Nodes>
                 <Start>
                     <Type>Start</Type>
                     <Input>
                         <QueueId></QueueId>
                         <PicProcessQueueId></PicProcessQueueId>
                         <ObjectPrefix></ObjectPrefix>
                         <NotifyConfig>
                             <Url>http://www.callback.com</Url>
                             <Event>TaskFinish,WorkflowFinish</Event>
                             <Type>Url</Type>
                             <ResultFormat></ResultFormat>
                         </NotifyConfig>
                         <ExtFilter>
                             <State>on</State>
                             <Audio>true</Audio>
                             <Image>true</Image>
                             <Custom>true</Custom>
                             <CustomExts>mp4/mp3</CustomExts>
                             <AllFile>true</AllFile>
                         </ExtFilter>
                     </Input>
                 </Start>
                 <SmartCover_1581665960539>
                     <Type>SmartCover</Type>
                     <Operation>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/cover-${Number}.jpg</Object>
                         </Output>
                         <SmartCover>
                             <Format>png</Format>
                             <Width>128</Width>
                             <Height>128</Height>
                             <Count>3</Count>
                             <DeleteDuplicates>false</DeleteDuplicates>
                         </SmartCover> 
                     </Operation>
                 </SmartCover_1581665960539>
                 <Snapshot_1581665960536>
                     <Type>Snapshot</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
                             <SpriteObject>abc/${RunId}/snapshot-${number}.jpg</SpriteObject>                         
                         </Output>
                     </Operation>
                 </Snapshot_1581665960536>
                 <Transcode_1581665960537>
                     <Type>Transcode</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/trans.mp4</Object>
                         </Output>
                     </Operation>
                 </Transcode_1581665960537>
                 <Animation_1581665960538>
                     <Type>Animation</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/bcd.gif</Object>
                         </Output>
                     </Operation>
                 </Animation_1581665960538>
                 <Concat_1581665960539>
                     <Type>Concat</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>abc/${RunId}/abc.${ext}</Object>
                         </Output>
                     </Operation>
                 </Concat_1581665960539>
                 <VoiceSeparate_1581665960551>
                     <Type>VoiceSeparate</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163b164</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <AuObject>bcd/${RunId}/audio.mp3</AuObject>
                             <Object>bcd/${RunId}/background.mp3</Object>
                         </Output>
                     </Operation>
                 </VoiceSeparate_1581665960551>
                 <VideoMontage_1581665960551>
                     <Type>VideoMontage</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba73l9</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/montage.mp4</Object>
                         </Output>
                     </Operation>
                 </VideoMontage_1581665960551>
                 <SDRtoHDR_1581665960553>
                     <Type>SDRtoHDR</Type>
                     <Operation>
                         <SDRtoHDR>
                             <HdrMode>HLG</HdrMode>
                         </SDRtoHDR>
                         <TranscodeTemplateId></TranscodeTemplateId>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/SDRtoHDR.mp4</Object>
                         </Output>
                     </Operation>
                 </SDRtoHDR_1581665960553>
                 <VideoProcess_1581665960554>
                     <Type>VideoProcess</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55356fshb18</TemplateId>
                         <TranscodeTemplateId></TranscodeTemplateId>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/videoProcess.mp4</Object>
                         </Output>
                     </Operation>
                 </VideoProcess_1581665960554>
                 <SCF_1581665960566>
                     <Type>SCF</Type>
                     <Operation>
                         <SCF>
                             <Region>ap-chengdu</Region>
                             <FunctionName>test</FunctionName>
                             <Namespace>testspace</Namespace>
                         </SCF>
                     </Operation>
                 </SCF_1581665960566>
                 <SuperResolution_1581665960583>
                     <Type>SuperResolution</Type>
                     <Operation>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>${RunId}/SuperResolution.mkv</Object>
                         </Output>
                         <WatermarkTemplateId></WatermarkTemplateId>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <TranscodeTemplateId>t160606b9752148c4absdfaf2f55163b1f</TranscodeTemplateId>
                     </Operation>
                 </SuperResolution_1581665960583>
                 <Segment_1581665960667>
                     <Type>Segment</Type>
                     <Operation>
                         <Segment>
                             <Format>mp4</Format>
                             <Duration>5</Duration>
                         </Segment>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>test-trans${Number}</Object>
                         </Output>
                     </Operation>
                 </Segment_1581665960667>
                 <PicProcess_1581665960668>
                     <Type>PicProcess</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>bcd/${RunId}/trans.jpg</Object>
                         </Output>
                     </Operation>
                 </PicProcess_1581665960668>
             </Nodes>
         </Topology>
         <BucketId></BucketId>
         <CreateTime></CreateTime>
         <UpdateTime></UpdateTime>
     </MediaWorkflow>
    </Response>
    

    Response body 2: Adaptive bitrate streaming

    <Response>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <WorkflowId></WorkflowId>
          <BucketId></BucketId>
          <Topology>
              <Dependencies>
                  <Start>StreamPackConfig_1581665960532</Start>
                  <StreamPackConfig_1581665960532>VideoStream_1581665960536,VideoStream_1581665960537</StreamPackConfig_1581665960532>
                  <VideoStream_1581665960536>StreamPack_1581665960538</VideoStream_1581665960536>
                  <VideoStream_1581665960537>StreamPack_1581665960538</VideoStream_1581665960537>
                  <StreamPack_1581665960538>End</StreamPack_1581665960538>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat></ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>on</State>
                              <Audio>true</Audio>
                              <Custom>true</Custom>
                              <CustomExts>mp4/mp3</CustomExts>
                              <AllFile>true</AllFile>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <StreamPackConfig_1581665960532>
                      <Type>StreamPackConfig</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                          </Output>
                          <StreamPackConfig>
                              <PackType>HLS</PackType>
                              <IgnoreFailedStream>true</IgnoreFailedStream>
                          </StreamPackConfig>
                      </Operation>
                  </StreamPackConfig_1581665960532>
                  <VideoStream_1581665960536>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_1/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream_1581665960536>
                  <VideoStream_1581665960537>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_2/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream_1581665960537>
                  <StreamPack_1581665960538>
                      <Type>StreamPack</Type>
                      <Operation>
                          <StreamPackInfo>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream_1581665960536</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                          </StreamPackInfo>
                      </Operation>
                  </StreamPack_1581665960538>
              </Nodes>
          </Topology>
          <BucketId></BucketId>
          <CreateTime></CreateTime>
          <UpdateTime></UpdateTime>
      </MediaWorkflow>
    </Response>
    
    

    Response body 3: Text to speech

    <Response>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <WorkflowId></WorkflowId>
          <BucketId></BucketId>
          <Topology>
              <Dependencies>
                  <Start>Tts_1581665960532</Start>
                  <Tts_1581665960532>End</Tts_1581665960532>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat></ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <Custom>true</Custom>
                              <CustomExts>txt</CustomExts>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <Tts_1581665960532>
                      <Type>Tts</Type>
                      <Operation>
                          <TemplateId>t146fh106bgfdg2148c4ab18fgh55163ba7bq</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                          </Output>
                      </Operation>
                  </Tts_1581665960532>
              </Nodes>
          </Topology>
          <BucketId></BucketId>
          <CreateTime></CreateTime>
          <UpdateTime></UpdateTime>
      </MediaWorkflow>
    </Response>
    
    

    The nodes are as described below:

    Node Name (Keyword) Parent Node Description Type
    Response None Response container Container

    Response has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type
    RequestId Response Unique ID of the request. String
    MediaWorkflow Response Workflow array. Container

    MediaWorkflow has the following sub-nodes:

    Node Name (Keyword) Parent Node Description Type
    Name Response.MediaWorkflow Workflow name. String
    WorkflowId Response.MediaWorkflow Workflow ID. String
    State Response.MediaWorkflow Workflow status. String
    CreateTime Response.MediaWorkflow Creation time. String
    UpdateTime Response.MediaWorkflow Update time. String
    Topology Response.MediaWorkflow Topology information. Same as Request.MediaWorkflow.Topology in POST Workflow. Container

    Error codes

    There are no special error messages for this request. For common error messages, see Error Codes.

    Samples

    Request 1: Sample for audio/video transcoding, TESHD, frame capturing, conversion to animated image, voice/sound separation, video montage, intelligent thumbnail, audio/video splicing, custom function, super resolution, audio/video remuxing, and image processing

    POST /workflow HTTP/1.1
    Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR****&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=28e9a4986df11bed0255e97ff90500557e0e****
    Host: examplebucket-1250000000.ci.ap-beijing.myqcloud.com
    Content-Length: 166
    Content-Type: application/xml
    <Request>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <Topology>
              <Dependencies>
                  <Start>Snapshot_1581665960536,Transcode_1581665960537,Animation_1581665960538,Concat_1581665960539,SmartCover_1581665960539,VoiceSeparate_1581665960551,VideoMontage_1581665960551,SDRtoHDR_1581665960553,VideoProcess_1581665960554,SCF_1581665960566,SuperResolution_1581665960583,Segment_1581665960667,PicProcess_1581665960668</Start>
                  <Snapshot_1581665960536>End</Snapshot_1581665960536>
                  <Transcode_1581665960537>End</Transcode_1581665960537>
                  <Animation_1581665960538>End</Animation_1581665960538>
                  <Concat_1581665960539>End</Concat_1581665960539>
                  <SmartCover_1581665960539>End</SmartCover_1581665960539>
                  <VoiceSeparate_1581665960551>End</VoiceSeparate_1581665960551>
                  <VideoMontage_1581665960551>End</VideoMontage_1581665960551>
                  <SDRtoHDR_1581665960553>End</SDRtoHDR_1581665960553>
                  <VideoProcess_1581665960554>End</VideoProcess_1581665960554>
                  <SCF_1581665960566>End</SCF_1581665960566>
                  <SuperResolution_1581665960583>End</SuperResolution_1581665960583>
                  <Segment_1581665960667>End</Segment_1581665960667>
                  <PicProcess_1581665960668>End</PicProcess_1581665960668>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <PicProcessQueueId></PicProcessQueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat>XML</ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>on</State>
                              <Audio>true</Audio>
                              <Image>true</Image>
                              <Custom>true</Custom>
                              <CustomExts>mp4/mp3</CustomExts>
                              <AllFile>true</AllFile>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <SmartCover_1581665960539>
                      <Type>SmartCover</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/cover-${Number}.jpg</Object>
                          </Output>
                          <SmartCover>
                              <Format>png</Format>
                              <Width>128</Width>
                              <Height>128</Height>
                              <Count>3</Count>
                              <DeleteDuplicates>false</DeleteDuplicates>
                          </SmartCover> 
                      </Operation>
                  </SmartCover_1581665960539>
                  <Snapshot_1581665960536>
                      <Type>Snapshot</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
                              <SpriteObject>abc/${RunId}/snapshot-${number}.jpg</SpriteObject>
                          </Output>
                      </Operation>
                  </Snapshot_1581665960536>
                  <Transcode_1581665960537>
                      <Type>Transcode</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/trans.mp4</Object>
                          </Output>
                      </Operation>
                  </Transcode_1581665960537>
                  <Animation_1581665960538>
                      <Type>Animation</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/bcd.gif</Object>
                          </Output>
                      </Operation>
                  </Animation_1581665960538>
                  <Concat_1581665960539>
                      <Type>Concat</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/abc.${ext}</Object>
                          </Output>
                      </Operation>
                  </Concat_1581665960539>
                  <VoiceSeparate_1581665960551>
                      <Type>VoiceSeparate</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163b164</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <AuObject>bcd/${RunId}/audio.mp3</AuObject>
                              <Object>bcd/${RunId}/background.mp3</Object>
                          </Output>
                      </Operation>
                  </VoiceSeparate_1581665960551>
                  <VideoMontage_1581665960551>
                      <Type>VideoMontage</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba73l9</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/montage.mp4</Object>
                          </Output>
                      </Operation>
                  </VideoMontage_1581665960551>
                  <SDRtoHDR_1581665960553>
                      <Type>SDRtoHDR</Type>
                      <Operation>
                          <SDRtoHDR>
                              <HdrMode>HLG</HdrMode>
                          </SDRtoHDR>
                          <TranscodeTemplateId></TranscodeTemplateId>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/SDRtoHDR.mp4</Object>
                          </Output>
                      </Operation>
                  </SDRtoHDR_1581665960553>
                  <VideoProcess_1581665960554>
                      <Type>VideoProcess</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55356fshb18</TemplateId>
                          <TranscodeTemplateId></TranscodeTemplateId>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/videoProcess.mp4</Object>
                          </Output>
                      </Operation>
                  </VideoProcess_1581665960554>
                  <SCF_1581665960566>
                      <Type>SCF</Type>
                      <Operation>
                          <SCF>
                              <Region>ap-chengdu</Region>
                              <FunctionName>test</FunctionName>
                              <Namespace>testspace</Namespace>
                          </SCF>
                      </Operation>
                  </SCF_1581665960566>
                  <SuperResolution_1581665960583>
                      <Type>SuperResolution</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}/SuperResolution.mkv</Object>
                          </Output>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <TranscodeTemplateId>t160606b9752148c4absdfaf2f55163b1f</TranscodeTemplateId>
                      </Operation>
                  </SuperResolution_1581665960583>
                  <Segment_1581665960667>
                      <Type>Segment</Type>
                      <Operation>
                          <Segment>
                              <Format>mp4</Format>
                              <Duration>5</Duration>
                          </Segment>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>test-trans${Number}</Object>
                          </Output>
                      </Operation>
                  </Segment_1581665960667>
                  <PicProcess_1581665960668>
                      <Type>PicProcess</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/trans.jpg</Object>
                          </Output>
                      </Operation>
                  </PicProcess_1581665960668>
              </Nodes>
          </Topology>
      </MediaWorkflow>
    </Request>
    

    Response 1

    HTTP/1.1 200 OK
    Content-Type: application/xml
    Content-Length: 230
    Connection: keep-alive
    Date: Thu, 15 Jun 2017 12:37:29 GMT
    Server: tencent-ci
    x-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****
    <Response>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <WorkflowId></WorkflowId>
          <Topology>
              <Dependencies>
                  <Start>Snapshot_1581665960536,Transcode_1581665960537,Animation_1581665960538,Concat_1581665960539,SmartCover_1581665960539,VoiceSeparate_1581665960551,VideoMontage_1581665960551,SDRtoHDR_1581665960553,VideoProcess_1581665960554,SCF_1581665960566,SuperResolution_1581665960583,Segment_1581665960667,PicProcess_1581665960668</Start>
                  <Snapshot_1581665960536>End</Snapshot_1581665960536>
                  <Transcode_1581665960537>End</Transcode_1581665960537>
                  <Animation_1581665960538>End</Animation_1581665960538>
                  <Concat_1581665960539>End</Concat_1581665960539>
                  <SmartCover_1581665960539>End</SmartCover_1581665960539>
                  <VoiceSeparate_1581665960551>End</VoiceSeparate_1581665960551>
                  <VideoMontage_1581665960551>End</VideoMontage_1581665960551>
                  <SDRtoHDR_1581665960553>End</SDRtoHDR_1581665960553>
                  <VideoProcess_1581665960554>End</VideoProcess_1581665960554>
                  <SCF_1581665960566>End</SCF_1581665960566>
                  <SuperResolution_1581665960583>End</SuperResolution_1581665960583>
                  <Segment_1581665960667>End</Segment_1581665960667>
                  <PicProcess_1581665960668>End</PicProcess_1581665960668>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <PicProcessQueueId></PicProcessQueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat>XML</ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>on</State>
                              <Audio>true</Audio>
                              <Image>true</Image>
                              <Custom>true</Custom>
                              <CustomExts>mp4/mp3</CustomExts>
                              <AllFile>true</AllFile>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <SmartCover_1581665960539>
                      <Type>SmartCover</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/cover-${Number}.jpg</Object>
                          </Output>
                          <SmartCover>
                              <Format>png</Format>
                              <Width>128</Width>
                              <Height>128</Height>
                              <Count>3</Count>
                              <DeleteDuplicates>false</DeleteDuplicates>
                          </SmartCover> 
                      </Operation>
                  </SmartCover_1581665960539>
                  <Snapshot_1581665960536>
                      <Type>Snapshot</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
                              <SpriteObject>abc/${RunId}/snapshot-${number}.jpg</SpriteObject>
                          </Output>
                      </Operation>
                  </Snapshot_1581665960536>
                  <Transcode_1581665960537>
                      <Type>Transcode</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/trans.mp4</Object>
                          </Output>
                      </Operation>
                  </Transcode_1581665960537>
                  <Animation_1581665960538>
                      <Type>Animation</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/bcd.gif</Object>
                          </Output>
                      </Operation>
                  </Animation_1581665960538>
                  <Concat_1581665960539>
                      <Type>Concat</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>abc/${RunId}/abc.${ext}</Object>
                          </Output>
                      </Operation>
                  </Concat_1581665960539>
                  <VoiceSeparate_1581665960551>
                      <Type>VoiceSeparate</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163b164</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <AuObject>bcd/${RunId}/audio.mp3</AuObject>
                              <Object>bcd/${RunId}/background.mp3</Object>
                          </Output>
                      </Operation>
                  </VoiceSeparate_1581665960551>
                  <VideoMontage_1581665960551>
                      <Type>VideoMontage</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba73l9</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/montage.mp4</Object>
                          </Output>
                      </Operation>
                  </VideoMontage_1581665960551>
                  <SDRtoHDR_1581665960553>
                      <Type>SDRtoHDR</Type>
                      <Operation>
                          <SDRtoHDR>
                              <HdrMode>HLG</HdrMode>
                          </SDRtoHDR>
                          <TranscodeTemplateId></TranscodeTemplateId>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/SDRtoHDR.mp4</Object>
                          </Output>
                      </Operation>
                  </SDRtoHDR_1581665960553>
                  <VideoProcess_1581665960554>
                      <Type>VideoProcess</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55356fshb18</TemplateId>
                          <TranscodeTemplateId></TranscodeTemplateId>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/videoProcess.mp4</Object>
                          </Output>
                      </Operation>
                  </VideoProcess_1581665960554>
                  <SCF_1581665960566>
                      <Type>SCF</Type>
                      <Operation>
                          <SCF>
                              <Region>ap-chengdu</Region>
                              <FunctionName>test</FunctionName>
                              <Namespace>testspace</Namespace>
                          </SCF>
                      </Operation>
                  </SCF_1581665960566>
                  <SuperResolution_1581665960583>
                      <Type>SuperResolution</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}/SuperResolution.mkv</Object>
                          </Output>
                          <WatermarkTemplateId></WatermarkTemplateId>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <TranscodeTemplateId>t160606b9752148c4absdfaf2f55163b1f</TranscodeTemplateId>
                      </Operation>
                  </SuperResolution_1581665960583>
                  <Segment_1581665960667>
                      <Type>Segment</Type>
                      <Operation>
                          <Segment>
                              <Format>mp4</Format>
                              <Duration>5</Duration>
                          </Segment>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>test-trans${Number}</Object>
                          </Output>
                      </Operation>
                  </Segment_1581665960667>
                  <PicProcess_1581665960668>
                      <Type>PicProcess</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>bcd/${RunId}/trans.jpg</Object>
                          </Output>
                      </Operation>
                  </PicProcess_1581665960668>
              </Nodes>
          </Topology>
          <BucketId></BucketId>
          <CreateTime></CreateTime>
          <UpdateTime></UpdateTime>
      </MediaWorkflow>
    </Response>
    

    Request 2: Sample for adaptive bitrate streaming

    POST /workflow HTTP/1.1
    Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR****&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=28e9a4986df11bed0255e97ff90500557e0e****
    Host: examplebucket-1250000000.ci.ap-beijing.myqcloud.com
    Content-Length: 166
    Content-Type: application/xml
    <Request>
     <MediaWorkflow>
         <Name>demo</Name>
         <Topology>
             <Dependencies>
                 <Start>StreamPackConfig_1581665960532</Start>
                 <StreamPackConfig_1581665960532>VideoStream_1581665960536,VideoStream_1581665960537</StreamPackConfig_1581665960532>
                 <VideoStream_1581665960536>StreamPack_1581665960538</VideoStream_1581665960536>
                 <VideoStream_1581665960537>StreamPack_1581665960538</VideoStream_1581665960537>
                 <StreamPack_1581665960538>End</StreamPack_1581665960538>
             </Dependencies>
             <Nodes>
                 <Start>
                     <Type>Start</Type>
                     <Input>
                         <QueueId></QueueId>
                         <ObjectPrefix></ObjectPrefix>
                     </Input>
                 </Start>
                 <StreamPackConfig_1581665960532>
                     <Type>StreamPackConfig</Type>
                     <Operation>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                         </Output>
                     </Operation>
                 </StreamPackConfig_1581665960532>
                 <VideoStream_1581665960536>
                     <Type>VideoStream</Type>
                     <Operation>
                         <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>${RunId}_Substream_1/video.m3u8</Object>
                         </Output>
                     </Operation>
                 </VideoStream_1581665960536>
                 <VideoStream_1581665960537>
                     <Type>VideoStream</Type>
                     <Operation>
                         <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
                         <Output>
                             <Region></Region>
                             <Bucket></Bucket>
                             <Object>${RunId}_Substream_2/video.m3u8</Object>
                         </Output>
                     </Operation>
                 </VideoStream_1581665960537>
                 <StreamPack_1581665960538>
                     <Type>StreamPack</Type>
                 </StreamPack_1581665960538>
             </Nodes>
         </Topology>
     </MediaWorkflow>
    </Request>
    

    Response 2

    HTTP/1.1 200 OK
    Content-Type: application/xml
    Content-Length: 230
    Connection: keep-alive
    Date: Thu, 15 Jun 2017 12:37:29 GMT
    Server: tencent-ci
    x-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****
    <Response>
      <MediaWorkflow>
          <Name>demo</Name>
          <State>Active</State>
          <WorkflowId></WorkflowId>
          <BucketId></BucketId>
          <Topology>
              <Dependencies>
                  <Start>StreamPackConfig_1581665960532</Start>
                  <StreamPackConfig_1581665960532>VideoStream_1581665960536,VideoStream_1581665960537</StreamPackConfig_1581665960532>
                  <VideoStream_1581665960536>StreamPack_1581665960538</VideoStream_1581665960536>
                  <VideoStream_1581665960537>StreamPack_1581665960538</VideoStream_1581665960537>
                  <StreamPack_1581665960538>End</StreamPack_1581665960538>
              </Dependencies>
              <Nodes>
                  <Start>
                      <Type>Start</Type>
                      <Input>
                          <QueueId></QueueId>
                          <PicProcessQueueId></PicProcessQueueId>
                          <ObjectPrefix></ObjectPrefix>
                          <NotifyConfig>
                              <Url>http://www.callback.com</Url>
                              <Event>TaskFinish,WorkflowFinish</Event>
                              <Type>Url</Type>
                              <ResultFormat>XML</ResultFormat>
                          </NotifyConfig>
                          <ExtFilter>
                              <State>on</State>
                              <Audio>true</Audio>
                              <Custom>true</Custom>
                              <CustomExts>mp4/mp3</CustomExts>
                              <AllFile>true</AllFile>
                          </ExtFilter>
                      </Input>
                  </Start>
                  <StreamPackConfig_1581665960532>
                      <Type>StreamPackConfig</Type>
                      <Operation>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${InputPath}/${InputName}._${RunId}.${ext}</Object>
                          </Output>
                          <StreamPackConfig>
                              <PackType>HLS</PackType>
                              <IgnoreFailedStream>true</IgnoreFailedStream>
                          </StreamPackConfig>
                      </Operation>
                  </StreamPackConfig>
                  <VideoStream>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_1/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream>
                  <VideoStream>
                      <Type>VideoStream</Type>
                      <Operation>
                          <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
                          <Output>
                              <Region></Region>
                              <Bucket></Bucket>
                              <Object>${RunId}_Substream_2/video.m3u8</Object>
                          </Output>
                      </Operation>
                  </VideoStream>
                  <StreamPack>
                      <Type>StreamPack</Type>
                      <Operation>
                          <StreamPackInfo>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                              <VideoStreamConfig>
                                  <VideoStreamName>VideoStream</VideoStreamName>
                                  <BandWidth>0</BandWidth>
                              </VideoStreamConfig>
                          </StreamPackInfo>
                      </Operation>
                  </StreamPack_1581665960538>
              </Nodes>
          </Topology>
          <BucketId></BucketId>
          <CreateTime></CreateTime>
          <UpdateTime></UpdateTime>
      </MediaWorkflow>
    </Response>
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support