All Products
Search
Document Center

ApsaraVideo Media Processing:AddPipeline

Last Updated:Oct 27, 2026

Creates an MPS queue.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

mts:AddPipeline

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Name

string

Yes

The name of the MPS queue. The maximum length is 128 bytes.

test-pipeline

Speed

string

No

The type of the MPS queue. Valid values:

  • Boost: Boost transcoding.

  • Standard: Standard MPS queue.

  • NarrowBandHDV2: Narrowband HD 2.0.

  • AIVideoCover: Intelligent snapshot.

  • AIVideoTag: Video tagging (supported in the China (Shanghai), China (Beijing), and China (Hangzhou) regions).

Default value: Standard.

Standard

SpeedLevel

integer

No

The level of the MPS queue. Valid values: [1,3].

1

NotifyConfig

string

No

The MNS notification configuration.

{"Topic":"mts-topic-1"}

Role

string

No

The role.

AliyunMTSDefaultRole

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

CFEA608A-5A1C-4C83-A54B-6197BC250D23

Pipeline

object

The MPS queue.

Speed

string

The type of the MPS queue.

Standard

State

string

The status of the MPS queue. Valid values:

  • Active: Jobs in the MPS queue are scheduled and executed by ApsaraVideo Media Processing.

  • Paused: The MPS queue is paused. Jobs are no longer scheduled and executed by ApsaraVideo Media Processing. All jobs in the MPS queue remain in the submitted state. Jobs that are already being transcoded continue to be transcoded and are not affected.

Active

SpeedLevel

integer

The level of the MPS queue.

1

NotifyConfig

object

The MNS notification configuration.

MqTopic

string

The MSMQ topic.

example1

QueueName

string

The name of the queue.

mts-queue-1

MqTag

string

The MSMQ label.

mts-test

Topic

string

The name of the topic.

mts-topic-1

Role

string

The role.

AliyunMTSDefaultRole

Name

string

The name of the MPS queue.

Video DNA

Id

string

The ID of the MPS queue.

ed450ea0bfbd41e29f80a401fb4d****

QuotaAllocate

integer

The quota allocation of the MPS queue.

10

Examples

Success response

JSON format

{
  "RequestId": "CFEA608A-5A1C-4C83-A54B-6197BC250D23",
  "Pipeline": {
    "Speed": "Standard",
    "State": "Active",
    "SpeedLevel": 1,
    "NotifyConfig": {
      "MqTopic": "example1",
      "QueueName": "mts-queue-1",
      "MqTag": "mts-test",
      "Topic": "mts-topic-1"
    },
    "Role": "AliyunMTSDefaultRole",
    "Name": "Video DNA",
    "Id": "ed450ea0bfbd41e29f80a401fb4d****",
    "QuotaAllocate": 10
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.