tencent cloud

Feedback

Create a workflow

Last updated: 2024-06-12 15:31:54

    Overview

    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 (See Request Signature for details.)
    When this feature is used by a sub-account, relevant permissions must be granted as instructed in Authorization Granularity Details.

    Request headers

    This API only uses Common Request Headers.

    Request body

    This request requires the following request body:
    Request body 1
    Request body 2
    Screencapturing and transcoding the input video file, performing remuxing and intelligent thumbnail generation on the output file, and then performing image processing on the generated thumbnail.
    <Request>
    <MediaWorkflow>
    <Name>workflow-1</Name>
    <State>Active</State>
    <Topology>
    <Dependencies>
    <Start>Snapshot_1581665960536,Transcode_1581665960538</Start>
    <Snapshot_1581665960536>End</Snapshot_1581665960536>
    <Transcode_1581665960538>Segment_15816659605667,SmartCover_1581665960539</Transcode_1581665960538>
    <Segment_15816659605667>End</Segment_15816659605667>
    <SmartCover_1581665960539>PicProcess_15816659605668</SmartCover_1581665960539>
    <PicProcess_15816659605668>End</PicProcess_15816659605668>
    </Dependencies>
    <Nodes>
    <Start>
    <Type>Start</Type>
    <Input>
    <QueueId>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <PicProcessQueueId>p2911917386e148639319e13c285cc774</PicProcessQueueId>
    <ObjectPrefix>input/workflow-1</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <Snapshot_1581665960536>
    <Type>Snapshot</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
    <SpriteObject>abc/${RunId}/sprite-${number}.${Ext}</SpriteObject>
    </Output>
    </Operation>
    </Snapshot_1581665960536>
    <Transcode_1581665960538>
    <Type>Transcode</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/trans.{Ext}</Object>
    </Output>
    </Operation>
    </Transcode_1581665960538>
    <Segment_15816659605667>
    <Type>Segment</Type>
    <Operation>
    <Segment>
    <Format>mkv</Format>
    <Duration>20</Duration>
    </Segment>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>test-trans${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </Segment_15816659605667>
    <SmartCover_1581665960539>
    <Type>SmartCover</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/cover-${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </SmartCover_1581665960539>
    <PicProcess_15816659605668>
    <Type>PicProcess</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/pic.{Ext}</Object>
    </Output>
    </Operation>
    </PicProcess_15816659605668>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Request>
    Adaptive bitrate streaming
    <Request>
    <MediaWorkflow>
    <Name>workflow-2</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>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <ObjectPrefix>input/workflow-2</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <StreamPackConfig_1581665960532>
    <Type>StreamPackConfig</Type>
    <Operation>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>${RunId}_Substream_1/video.m3u8</Object>
    </Output>
    </Operation>
    </VideoStream_1581665960536>
    <VideoStream_1581665960537>
    <Type>VideoStream</Type>
    <Operation>
    <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>200000000</BandWidth>
    </VideoStreamConfig>
    <VideoStreamConfig>
    <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
    <BandWidth>200000000</BandWidth>
    </VideoStreamConfig>
    </StreamPackInfo>
    </Operation>
    </StreamPack_1581665960538>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Request>
    The nodes are described as follows:
    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 be up to 128 characters in length and contain Chinese characters, letters, digits, dashes (–), 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
    Supported
    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.
    Tts_***
    Request.MediaWorkflow.Topology.Nodes
    Text-to-speech node
    Container
    No
    The node name must be prefixed with "Tts". There can be multiple text-to-speech nodes.
    SpeechRecognition_***
    Request.MediaWorkflow.Topology.Nodes
    Speech recognition node
    Container
    No
    The node name must be prefixed with "SpeechRecognition". There can be multiple speech recognition nodes.
    VideoEnhance_***
    Request.MediaWorkflow.Topology.Nodes
    Video enhancement node
    Container
    No
    The node name must be prefixed with "VideoEnhance". There can be multiple video enhancement nodes.
    Condition_***
    Request.MediaWorkflow.Topology.Nodes
    Conditional judgment node
    Container
    No
    The node name must be prefixed with "Condition". There can be multiple conditional judgment nodes.
    MediaInfo_***
    Request.MediaWorkflow.Topology.Nodes
    Media information acquisition node
    Container
    No
    The node name must be prefixed with "MediaInfo". There can be multiple media information acquisition nodes.
    AIRecognition_***
    Request.MediaWorkflow.Topology.Nodes
    AI recognition node
    Container
    No
    The node name must be prefixed with "AIRecognition".
    SegmentVideoBody_***
    Request.MediaWorkflow.Topology.Nodes
    Video portrait matting
    Container
    No
    The node name must be prefixed with "SegmentVideoBody".
    
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Start_Input.
    Container
    Yes
    None
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Animation_***_Operation.
    Container
    Yes
    None
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Snapshot_***_Operation.
    Container
    Yes
    None
    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_***
    Container
    Yes
    None
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Transcode_***_Operation.
    Container
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Concat_***_Operation.
    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_***
    Container
    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_***
    Container
    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_***
    Container
    Yes
    None
    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_***
    Container
    Yes
    None
    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_***
    Container
    Yes
    None
    SDRtoHDR\\_\\*\\*\\* has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.SDRtoHDR_***
    Node type
    String
    Yes
    SDRtoHDR
    Operation
    Request.MediaWorkflow.
    Topology.Nodes.SDRtoHDR_***
    Operation rule. For more information, see Structure > MediaWorkflow_Topology_Nodes_SDRtoHDR_***_Operation.
    Container
    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_***
    Container
    Yes
    None
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_SCF_***_Operation.
    Container
    Yes
    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_***
    Container
    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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Segment_***_Operation.
    Container
    Yes
    None
    PicProcess_*** 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_***
    Container
    Yes
    None
    Tts_*** 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. For more information, see Structure > MediaWorkflow_Topology_Nodes_Tts_***_Operation.
    Container
    Yes
    None
    SpeechRecognition_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.SpeechRecognition_***
    Node type
    String
    Yes
    SpeechRecognition
    Operation
    Request.MediaWorkflow.
    Topology.Nodes.SpeechRecognition_***
    Container
    Yes
    None
    VideoEnhance_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.VideoEnhance_***
    Node type
    String
    Yes
    VideoEnhance
    Operation
    Request.MediaWorkflow.
    Topology.Nodes.VideoEnhance_***
    Operation rule. For more information, see Structure.
    Container
    Yes
    None
    Condition_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.Condition_***
    Node type
    String
    Yes
    Condition
    Operation
    Request.MediaWorkflow.
    Topology.Nodes.Condition_***
    Operation rule. For more information, see Structure.
    Container
    Yes
    None
    MediaInfo_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.MediaInfo_***
    Node type
    String
    Yes
    MediaInfo
    AIRecognition_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.AIRecognition_***
    Node type
    String
    Yes
    AIRecognition
    SegmentVideoBody_*** has the following sub-nodes:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Required
    Constraints
    Type
    Request.MediaWorkflow.
    Topology.Nodes.SegmentVideoBody_***
    Node type
    String
    Yes
    SegmentVideoBody
    Operation
    Request.MediaWorkflow.
    Topology.Nodes.SegmentVideoBody_***
    Operation rule. For more information, see Structure.
    Container
    Yes
    None
    The dependencies of workflow nodes are as follows:
    Workflow Node Type
    Linkable Node Types
    Start
    Snapshot,Animation,SmartCover,Transcode,Concat,VoiceSeparate,VideoMontage,StreamPackConfig,SDRtoHDR,VideoProcess,SCF,SuperResolution,Segment,PicProcess,Tts,SpeechRecognition,VideoEnhance,MediaInfo,AIRecognition,VideoEnhance,SegmentVideoBody
    Snapshot
    PicProcess,SCF,End
    Animation
    SCF,End
    SmartCover
    PicProcess,SCF,End
    Transcode
    Snapshot,Animation,SmartCover,Concat,VideoMontage,SDRtoHDR,VideoProcess,SCF,Segment,SpeechRecognition,VideoEnhance,MediaInfo,SegmentVideoBody,End
    Concat
    Transcode,Snapshot,Animation,SmartCover,SDRtoHDR,VideoProcess,SCF,Segment,VideoEnhance,MediaInfo,VideoEnhance,SegmentVideoBody,End
    VoiceSeparate
    SCF,SpeechRecognition,End
    VideoMontage
    Snapshot,Animation,SDRtoHDR,VideoProcess,SCF,SuperResolution,VideoEnhance,Segment,MediaInfo,VideoEnhance,SegmentVideoBody,End
    StreamPackConfig
    VideoStream
    VideoStream
    StreamPack
    StreamPack
    End
    SDRtoHDR
    Transcode,Concat,VideoMontage,VoiceSeparate,SmartCover,Animation,VideoProcess,SCF,SuperResolution,SegmentVideoBody,End
    VideoProcess
    Transcode,Concat,VideoMontage,VoiceSeparate,SmartCover,Animation,SDRtoHDR,SCF,Segment,SuperResolution,MediaInfo,SegmentVideoBody,End
    SCF
    SDRtoHDR,Snapshot,Transcode,Concat,VideoMontage,VoiceSeparate,SmartCover,Animation,VideoProcess,End
    SuperResolution
    VideoMontage,Transcode,SmartCover,Animation,Snapshot,SCF,Segment,SDRtoHDR,VideoProcess,MediaInfo,SegmentVideoBody,End
    Segment
    VideoEnhance,SegmentVideoBody, End
    PicProcess
    SCF,End
    Tts
    SCF,Transcode,End
    SpeechRecognition
    SCF,Tts,End
    VideoEnhance
    Transcode,VideoMontage,SmartCover,Animation,Snapshot,SCF,Segment,SpeechRecognition,Segment,VoiceSeparate,MediaInfo, End
    MediaInfo
    Condition,End
    Condition
    Transcode,HighSpeedHd,SuperResolution,VideoProcess,Animation,Snapshot,VideoMontage,SmartCover,Concat,VideoEnhance
    AIRecognition
    End
    SegmentVideoBody
    End
    Wildcards supported by workflow are as follows:
    Wildcard
    Description
    ${InputPath}
    Input file path (excluding the filename)
    ${InputName}
    Input filename (excluding the extension)
    ${InputNameAndExt}
    Input filename (including the extension)
    ${RunId}
    Instance ID
    ${Ext}
    Codec extension
    ${Jobid}
    Job ID
    ${Number}
    Product index counting from 0. It is supported only for Snapshot, SmartCover, and Segment nodes.
    ${Time}
    Screenshot time point in milliseconds. It is supported only for the Snapshot node.

    Response

    Response headers

    This API only returns Common Response Headers.

    Response body

    The response body returns application/xml data. The following contains all the nodes:
    Response body 1
    Response body 2
    Screencapturing and transcoding the input video file, performing remuxing and intelligent thumbnail generation on the output file, and then performing image processing on the generated thumbnail.
    <Response>
    <RequestId>NjJmMWQxYjNfOTBmYTUwNjRfNWYyY18x</RequestId>
    <MediaWorkflow>
    <Name>workflow-1</Name>
    <State>Active</State>
    <WorkflowId>wc666d0b9f9dd47ae9137a096252d49f7</WorkflowId>
    <BucketId>test-1234567890</BucketId>
    <CreateTime>2022-07-14T12:37:28+0800</CreateTime>
    <UpdateTime>2022-07-14T12:37:28+0800</UpdateTime>
    <Topology>
    <Dependencies>
    <Start>Snapshot_1581665960536,Transcode_1581665960538</Start>
    <Snapshot_1581665960536>End</Snapshot_1581665960536>
    <Transcode_1581665960538>Segment_15816659605667,SmartCover_1581665960539</Transcode_1581665960538>
    <Segment_15816659605667>End</Segment_15816659605667>
    <SmartCover_1581665960539>PicProcess_15816659605668</SmartCover_1581665960539>
    <PicProcess_15816659605668>End</PicProcess_15816659605668>
    </Dependencies>
    <Nodes>
    <Start>
    <Type>Start</Type>
    <Input>
    <QueueId>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <PicProcessQueueId>p2911917386e148639319e13c285cc774</PicProcessQueueId>
    <ObjectPrefix>input/workflow-1</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <Snapshot_1581665960536>
    <Type>Snapshot</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
    <SpriteObject>abc/${RunId}/sprite-${number}.${Ext}</SpriteObject>
    </Output>
    </Operation>
    </Snapshot_1581665960536>
    <Transcode_1581665960538>
    <Type>Transcode</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/trans.{Ext}</Object>
    </Output>
    </Operation>
    </Transcode_1581665960538>
    <Segment_15816659605667>
    <Type>Segment</Type>
    <Operation>
    <Segment>
    <Format>mkv</Format>
    <Duration>20</Duration>
    </Segment>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>test-trans${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </Segment_15816659605667>
    <SmartCover_1581665960539>
    <Type>SmartCover</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/cover-${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </SmartCover_1581665960539>
    <PicProcess_15816659605668>
    <Type>PicProcess</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/pic.{Ext}</Object>
    </Output>
    </Operation>
    </PicProcess_15816659605668>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Response>
    Adaptive bitrate streaming
    <Response>
    <MediaWorkflow>
    <Name>workflow-2</Name>
    <State>Active</State>
    <WorkflowId>w93aa43ba105347169fa093ed857b2a90</WorkflowId>
    <BucketId>test-1234567890</BucketId>
    <CreateTime>2022-07-14T12:37:28+0800</CreateTime>
    <UpdateTime>2022-07-14T12:37:28+0800</UpdateTime>
    <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>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <ObjectPrefix>input/workflow-2</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <StreamPackConfig_1581665960532>
    <Type>StreamPackConfig</Type>
    <Operation>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>${RunId}_Substream_1/video.m3u8</Object>
    </Output>
    </Operation>
    </VideoStream_1581665960536>
    <VideoStream_1581665960537>
    <Type>VideoStream</Type>
    <Operation>
    <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>200000000</BandWidth>
    </VideoStreamConfig>
    <VideoStreamConfig>
    <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
    <BandWidth>200000000</BandWidth>
    </VideoStreamConfig>
    </StreamPackInfo>
    </Operation>
    </StreamPack_1581665960538>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Response>
    The nodes are described as follows:
    Node Name (Keyword)
    Parent Node
    Description
    Type
    Response
    None
    Result storage 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, which is the same as Request.MediaWorkflow.Topology in the request.
    Container

    Error codes

    No special error message will be returned for this request. For the common error messages, please see Error Codes.

    Examples

    Request 1
    Response 1
    Request 2
    Response 2
    Screencapturing and transcoding the input video file, performing remuxing and intelligent thumbnail generation on the output file, and then performing image processing on the generated thumbnail.
    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: test-1234567890.ci.ap-chongqing.myqcloud.com
    Content-Length: 166
    Content-Type: application/xml
    
    <Request>
    <MediaWorkflow>
    <Name>workflow-1</Name>
    <State>Active</State>
    <Topology>
    <Dependencies>
    <Start>Snapshot_1581665960536,Transcode_1581665960538</Start>
    <Snapshot_1581665960536>End</Snapshot_1581665960536>
    <Transcode_1581665960538>Segment_15816659605667,SmartCover_1581665960539</Transcode_1581665960538>
    <Segment_15816659605667>End</Segment_15816659605667>
    <SmartCover_1581665960539>PicProcess_15816659605668</SmartCover_1581665960539>
    <PicProcess_15816659605668>End</PicProcess_15816659605668>
    </Dependencies>
    <Nodes>
    <Start>
    <Type>Start</Type>
    <Input>
    <QueueId>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <PicProcessQueueId>p2911917386e148639319e13c285cc774</PicProcessQueueId>
    <ObjectPrefix>input/workflow-1</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <Snapshot_1581665960536>
    <Type>Snapshot</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
    <SpriteObject>abc/${RunId}/sprite-${number}.${Ext}</SpriteObject>
    </Output>
    </Operation>
    </Snapshot_1581665960536>
    <Transcode_1581665960538>
    <Type>Transcode</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/trans.{Ext}</Object>
    </Output>
    </Operation>
    </Transcode_1581665960538>
    <Segment_15816659605667>
    <Type>Segment</Type>
    <Operation>
    <Segment>
    <Format>mkv</Format>
    <Duration>20</Duration>
    </Segment>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>test-trans${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </Segment_15816659605667>
    <SmartCover_1581665960539>
    <Type>SmartCover</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/cover-${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </SmartCover_1581665960539>
    <PicProcess_15816659605668>
    <Type>PicProcess</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/pic.{Ext}</Object>
    </Output>
    </Operation>
    </PicProcess_15816659605668>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Request>
    HTTP/1.1 200 OK
    Content-Type: application/xml
    Content-Length: 230
    Connection: keep-alive
    Date: Thu, 14 Jul 2022 12:37:29 GMT
    Server: tencent-ci
    x-ci-request-id: NjJmMWQxYjNfOTBmYTUwNjRfNWYyY18x
    
    <Response>
    <RequestId>NjJmMWQxYjNfOTBmYTUwNjRfNWYyY18x</RequestId>
    <MediaWorkflow>
    <Name>workflow-1</Name>
    <State>Active</State>
    <WorkflowId>wc666d0b9f9dd47ae9137a096252d49f7</WorkflowId>
    <BucketId>test-1234567890</BucketId>
    <CreateTime>2022-07-14T12:37:28+0800</CreateTime>
    <UpdateTime>2022-07-14T12:37:28+0800</UpdateTime>
    <Topology>
    <Dependencies>
    <Start>Snapshot_1581665960536,Transcode_1581665960538</Start>
    <Snapshot_1581665960536>End</Snapshot_1581665960536>
    <Transcode_1581665960538>Segment_15816659605667,SmartCover_1581665960539</Transcode_1581665960538>
    <Segment_15816659605667>End</Segment_15816659605667>
    <SmartCover_1581665960539>PicProcess_15816659605668</SmartCover_1581665960539>
    <PicProcess_15816659605668>End</PicProcess_15816659605668>
    </Dependencies>
    <Nodes>
    <Start>
    <Type>Start</Type>
    <Input>
    <QueueId>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <PicProcessQueueId>p2911917386e148639319e13c285cc774</PicProcessQueueId>
    <ObjectPrefix>input/workflow-1</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <Snapshot_1581665960536>
    <Type>Snapshot</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/snapshot-${number}.${Ext}</Object>
    <SpriteObject>abc/${RunId}/sprite-${number}.${Ext}</SpriteObject>
    </Output>
    </Operation>
    </Snapshot_1581665960536>
    <Transcode_1581665960538>
    <Type>Transcode</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/trans.{Ext}</Object>
    </Output>
    </Operation>
    </Transcode_1581665960538>
    <Segment_15816659605667>
    <Type>Segment</Type>
    <Operation>
    <Segment>
    <Format>mkv</Format>
    <Duration>20</Duration>
    </Segment>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>test-trans${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </Segment_15816659605667>
    <SmartCover_1581665960539>
    <Type>SmartCover</Type>
    <Operation>
    <TemplateId>t16e81a29fe48c4e23acefc247a7792b63</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>abc/${RunId}/cover-${Number}.{Ext}</Object>
    </Output>
    </Operation>
    </SmartCover_1581665960539>
    <PicProcess_15816659605668>
    <Type>PicProcess</Type>
    <Operation>
    <TemplateId>t1460606b9752148c4ab182f55163ba7cd</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>bcd/${RunId}/pic.{Ext}</Object>
    </Output>
    </Operation>
    </PicProcess_15816659605668>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Response>
    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: test-1234567890.ci.ap-chongqing.myqcloud.com
    Content-Length: 166
    Content-Type: application/xml
    
    <Request>
    <MediaWorkflow>
    <Name>workflow-2</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>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <ObjectPrefix>input/workflow-2</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <StreamPackConfig_1581665960532>
    <Type>StreamPackConfig</Type>
    <Operation>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>${RunId}_Substream_1/video.m3u8</Object>
    </Output>
    </Operation>
    </VideoStream_1581665960536>
    <VideoStream_1581665960537>
    <Type>VideoStream</Type>
    <Operation>
    <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>200000000</BandWidth>
    </VideoStreamConfig>
    <VideoStreamConfig>
    <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
    <BandWidth>200000000</BandWidth>
    </VideoStreamConfig>
    </StreamPackInfo>
    </Operation>
    </StreamPack_1581665960538>
    </Nodes>
    </Topology>
    </MediaWorkflow>
    </Request>
    HTTP/1.1 200 OK
    Content-Type: application/xml
    Content-Length: 230
    Connection: keep-alive
    Date: Thu, 14 Jul 2022 12:37:29 GMT
    Server: tencent-ci
    x-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf95s=
    
    <Response>
    <RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf95s=</RequestId>
    <MediaWorkflow>
    <Name>workflow-2</Name>
    <State>Active</State>
    <WorkflowId>w93aa43ba105347169fa093ed857b2a90</WorkflowId>
    <BucketId>test-1234567890</BucketId>
    <CreateTime>2022-07-14T12:37:28+0800</CreateTime>
    <UpdateTime>2022-07-14T12:37:28+0800</UpdateTime>
    <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>p09d709939fef48a0a5c247ef39d90cec</QueueId>
    <ObjectPrefix>input/workflow-2</ObjectPrefix>
    <NotifyConfig>
    <State>On</State>
    <Url>http://www.callback.com</Url>
    <Event>TaskFinish,WorkflowFinish</Event>
    <Type>Url</Type>
    <ResultFormat>JSON</ResultFormat>
    </NotifyConfig>
    <ExtFilter>
    <State>On</State>
    <Video>true</Video>
    <Audio>false</Audio>
    <Image>false</Image>
    <Custom>false</Custom>
    <AllFile>false</AllFile>
    </ExtFilter>
    </Input>
    </Start>
    <StreamPackConfig_1581665960532>
    <Type>StreamPackConfig</Type>
    <Operation>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>ap-chongqing</Region>
    <Bucket>test-1234567890</Bucket>
    <Object>${RunId}_Substream_1/video.m3u8</Object>
    </Output>
    </Operation>
    </VideoStream_1581665960536>
    <VideoStream_1581665960537>
    <Type>VideoStream</Type>
    <Operation>
    <TemplateId>t1460606bgfdg2148c4ab182f55163ba7bj</TemplateId>
    <Output>
    <Region>ap-chongqing</Region>
    <Bucket>test-1234567890</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>200000000</BandWidth>
    </VideoStreamConfig>
    <VideoStreamConfig>
    <VideoStreamName>VideoStream_1581665960537</VideoStreamName>
    <BandWidth>200000000</BandWidth>
    </VideoStreamConfig>
    </StreamPackInfo>
    </Operation>
    </StreamPack_1581665960538>
    </Nodes>
    </Topology>
    </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