All Products
Search
Document Center

:DescribeLiveAIStudio

Last Updated:May 13, 2025

Queries the virtual studio templates within your Alibaba Cloud account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
live:DescribeLiveAIStudiocreate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
StudioIdstringNo

The ID of the virtual studio template that you want to query. This parameter is optional.

dbe61b87-db9a-448f-8757-a875edb3f944
StudioNamestringNo

The name of the virtual studio template.

sub02
PageNumberintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10. Valid values: 1 to 50.

10

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

16A96B9A-F203-4EC5-8E43-CB92E68F4CD8
Totalinteger

The total number of templates.

100
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page. Default value: 10. Valid values: 1 to 50.

10
StudioConfigsarray<object>

The virtual studio templates.

SubtitleConfigobject

The information about the virtual studio template.

MediaTypestring

The type of the multimedia material. Valid values:

  • VOD: a video in ApsaraVideo VOD
  • PIC: an image
  • LIVE: a live stream
VOD
MediaLayoutstring

LIVE, live streaming

"{\"positionY\":\"0.0\",\"positionX\":\"0.0\",\"heightNormalized\":\"0.5\"}"
MediaResourceUrlstring

The URL of the multimedia material.

https://testbucket.xx.com/2.jpg
MediaResourceIdstring

The ID of the multimedia material in ApsaraVideo VOD.

d0eb493192c771efba644531858c0102
BackgroundTypestring

The type of the background material. Valid values:

  • VOD: a video in ApsaraVideo VOD
  • PIC: an image
  • LIVE: a live stream
VOD
BackgroundResourceUrlstring

The URL of the background material. Make sure that the URL is accessible over the Internet. Either this parameter or the BackgroundResourceId parameter is returned.

https://testbucket.xx.com/2.jpg
BackgroundResourceIdstring

The ID of the background material.

d0eb493192c771efba644531858c0102
Descriptionstring

The custom description.

user defined description
TemplateIdstring

The ID of the virtual studio template.

24654384-f5ac-40ea-823b-74e85a61dd9f
TemplateNamestring

The name of the virtual studio template. The name is the same as the value of the StudioName parameter that was specified when you called the CreateLiveAiStudio operation to create the virtual studio template.

studio1
MattingLayoutstring

The layout information of the multimedia material.

"{\"positionY\":\"0.0\",\"positionX\":\"0.0\",\"heightNormalized\":\"0.5\"}"
MattingTypestring

The type of chroma key that is performed on ingested streams. Valid values:

  • green: green-key chroma key
  • blue: blue-screen chroma key
  • complex: background replacement
complex
Heightstring

The preview height. Unit: pixels.

The following preview specifications (width × height) are supported:

  • Landscape low definition 360p (640×360)
  • Portrait low definition 360p (360×640)
  • Landscape standard definition 480p (854×480)
  • Portrait standard definition 480p (480×854)
  • Landscape high definition 720p (1280×720)
  • Portrait high definition 720p (720×1280)
  • Landscape ultra-high definition 1080p (1920×1080)
  • Portrait ultra-high definition 1080p (1080×1920)
1080
Widthstring

The preview width.

1920
RuleIdsarray

The IDs of the bound rules.

ruleIdstring

The ID of the rule.

2414378f-541a-48d3-be0c-535212f9a6b4

Examples

Sample success responses

JSONformat

{
  "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
  "Total": 100,
  "PageNumber": 1,
  "PageSize": 10,
  "StudioConfigs": {
    "SubtitleConfig": [
      {
        "MediaType": "VOD",
        "MediaLayout": {
          "positionY": 0,
          "positionX": 0,
          "heightNormalized": 0.5
        },
        "MediaResourceUrl": "https://testbucket.xx.com/2.jpg",
        "MediaResourceId": "\t\nd0eb493192c771efba644531858c0102\n",
        "BackgroundType": "VOD",
        "BackgroundResourceUrl": "https://testbucket.xx.com/2.jpg",
        "BackgroundResourceId": "d0eb493192c771efba644531858c0102",
        "Description": "user defined description",
        "TemplateId": "24654384-f5ac-40ea-823b-74e85a61dd9f",
        "TemplateName": "studio1",
        "MattingLayout": {
          "positionY": 0,
          "positionX": 0,
          "heightNormalized": 0.5
        },
        "MattingType": "complex",
        "Height": 1080,
        "Width": 1920,
        "RuleIds": {
          "ruleId": [
            "2414378f-541a-48d3-be0c-535212f9a6b4"
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status codeError codeError message
400LiveServiceNotFound%s
400InvalidParameter.PurchaseTime%s
400InvalidParameter.ExpireTime%s
400MissingParameter%s
400InvalidChargeType.Malformed%s
400InvalidChargeType.PostSupport%s
400InvalidCasterTemplate.Malformed%s
400InvalidParameter.Malformed%s
400InvalidParameter.ChargeType%s
400InvalidPeriod.Malformed%s
400InvalidUserId.Malformed%s
400InvalidClientToken.Malformed%s
400IncorrectCasterStatus%s
401CasterNumberExceed%s
403PermissionDenied%s
404InvalidParameter.NormType%s
404InvalidConfiguration.NotFound%s
408DescribeLiveAIStudio.Timeout%s

For a list of error codes, visit the Service error codes.