All Products
Search
Document Center

ApsaraVideo Media Processing:AddPipeline

Last Updated:Mar 30, 2026

Adds an ApsaraVideo Media Processing (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 name can be up to 128 bytes in size.

test-pipeline

Speed

string

No

The type of the MPS queue. Valid values:

  • Boost: MPS queue with transcoding speed boosted.

  • Standard: standard MPS queue.

  • NarrowBandHDV2: MPS queue that supports Narrowband HD 2.0.

  • AIVideoCover: MPS queue for intelligent snapshot capture.

  • AIVideoTag: MPS queue for video tagging. The supported regions are China (Shanghai), China (Beijing), and China (Hangzhou).

Default value: Standard.

Standard

SpeedLevel

integer

No

The level of the MPS queue. Valid values: 1 to 3.

1

NotifyConfig

string

No

The Message Service (MNS) configuration.

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

Role

string

No

The role.

AliyunMTSDefaultRole

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The ID of the request.

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

Pipeline

object

The MPS queue.

Speed

string

The type of the MPS queue.

Standard

State

string

The state of the MPS queue.

  • Active: The MPS queue is active. The jobs in the MPS queue are scheduled and transcoded by MPS.

  • Paused: The MPS queue is paused. Jobs in the MPS queue are no longer scheduled for transcoding by MPS. All of the jobs in the MPS queue remain in the Submitted state. Jobs that are being transcoded are not affected.

Active

SpeedLevel

integer

The level of the MPS queue.

1

NotifyConfig

object

The MNS configuration.

MqTopic

string

The queue of messages that are received.

example1

QueueName

string

The name of the queue.

mts-queue-1

MqTag

string

The tag string.

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 that is allocated to 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.