API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (vs/2018-12-12) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

AIGC platform

API

Title

Description

DescribeComfyTaskWaitingQueue Query the task waiting queue Queries the waiting queue information for Comfy tasks. The default maximum length of a single Hive waiting queue is 100.
CreateHive Create a cluster Creates a cluster.
ModifyHiveAttribute Modify cluster attributes Updates the name or description of a specified cluster.
ListHives List clusters Performs a paged query to retrieve all cluster information with paging and supports filtering by conditions.
DeleteHive Delete a cluster Deletes an empty cluster by the specified ID.
ListSpecifications Query workload specifications Queries the specifications of all cloud application services. Paging is supported.
ListEdgeWorkers Query workload information Queries workload information and supports paging and paged query.
AddHiveEdgeWorkers Bind workloads to a specified cluster Binds one or more workload instances to a specified cluster.
MoveHiveEdgeWorkers Move workloads to a specified cluster Moves specified workloads to a target cluster.
DelHiveEdgeWorkers Unbind workloads from a cluster Unbinds one or more workload instances from a specified cluster.
ModifyComfyWorkflow Modify comfy workflow Modifies the metadata of a ComfyWorkflow.
CreateComfyWorkflow Upload a workflow Uploads a Comfy workflow.
CreateComfyUserDataDir Create a user data directory Creates a directory for user data.
CreateComfyTask Start comfy task Starts a Comfy task.
DeleteComfyWorkflow Delete a comfy workflow Deletes a Comfy workflow.
DescribeComfyUserDatas Query user datasets Lists all files and directories in the user data.
DeleteComfyUserData Delete user data Deletes a file or directory in user data.
DescribeComfyUserDataUploadUrl Retrieve the URL for uploading user files Retrieves the URL for uploading user files.
DescribeComfyTasks List comfy tasks Queries the list of Comfy tasks.
DescribeComfyProductions Retrieve production list Lists the generation results of a user.
DescribeComfyProductionDownloadUrl Retrieve the download link for generated results Retrieves the download link for user-generated results.
DeleteComfyProduction Delete an artifact Deletes an artifact.
CancelComfyTask Cancel a comfy task Cancels a Comfy task.
DescribeComfyWorkflows List comfy workflows Queries the information of all Comfy workflows. Paging is supported.

Cloud application service management

API

Title

Description

Instance management Instance management
ModifyRenderingChargeType Change the billing method of a cloud application service instance Change the billing method for a Graphic Computing Service instance.
CreateRenderingInstance Create a cloud application service instance Creates a cloud application service instance.
ListRenderingInstances Query basic information of cloud application service instances Queries a list of basic information about cloud application service instances. Paging is supported for paged query.
ModifyRenderingInstanceAttribute Modify the attributes of a cloud application service instance Modifies the attributes of a cloud application service instance.
DescribeRenderingInstance Query cloud application service instance details Queries the details of a cloud application service instance.
GetRenderingInstanceStreamingInfo Retrieve streaming connection information for a cloud application service instance Retrieves the streaming connection information for a cloud application service instance. Call this operation to obtain the latest connection information before establishing each streaming connection.
RefreshRenderingInstanceStreaming Refresh the streaming connection of a cloud application service instance Refreshes the streaming connection of a cloud application service instance.
BatchCaptureRenderingInstanceScreenshot Batch capture screenshots of cloud application service instances Retrieves screenshots of cloud application service instances.
SendRenderingInstanceCommands Send Control Command to Cloud Application Service Instance Sends shell control instructions to a cloud application service instance. This operation supports both sync and asynchronous command responses. The sync scenario is not suitable for time-consuming commands. The maximum execution time cannot exceed 30 s. In an asynchronous scenario, you can call the GetRenderingInstanceCommandsStatus operation to query the execution status and result of a command.
GetRenderingInstanceCommandsStatus View instance control command execution status Queries the execution status of a control command, including whether the command was executed successfully and the result string.
ModifyRenderingInstance Change the specifications of a cloud application service instance Changes the specifications of a cloud application service instance.
RebootRenderingInstance Restart a cloud application service instance Restarts a cloud application service instance. You can call the DescribeRenderingInstance operation to query the restart progress.
RebootRenderingServer Restart hosts of cloud application service instances Restarts the hosts of cloud application service instances.
ResetRenderingInstance Reset a cloud application service instance Resets a cloud application service instance. You can call the DescribeRenderingInstance operation to check the reset progress.
ModifyRenderingInstanceBandwidth Update the bandwidth limit of a cloud application service instance Updates the bandwidth limit of a cloud application service instance. You can call the DescribeRenderingInstance operation to query the bandwidth limit and the update status.
RenewRenderingInstance Renew a cloud application service instance Renews a cloud application service instance.
ReleaseRenderingInstance Release a cloud application service instance Releases a cloud application service instance.
Image management Image management
ListRenderingImages Query images for cloud application service instances Queries the list of images.
UpgradeRenderingInstanceImage Batch upgrade cloud application service instance images Upgrades the images of cloud application service instances.
Data package management Data package management
CreateRenderingDataPackage Create a Cloud application service data package Creates a Cloud Application Service data package.
ListRenderingDataPackages List data packages Queries information about all cloud application data packages and supports paging.
RecoverRenderingDataPackage Restore data to a cloud application service Restores data to a cloud rendering instance.
ReleaseRenderingDataPackage Release a cloud application service data package Releases a cloud application service data package.
Secure logon Secure logon
UploadPublicKey Upload a public key Uploads a new public key.
ListPublicKeys List public keys Queries a list of public keys that meet specified conditions and supports paging.
ManageLogin Manage secure logons for cloud application service instances Manages secure logons.
DeletePublicKey Delete Public Key Deletes a specified public key. This action automatically revokes logon authorization for all associated cloud application service instances.
Cloud application management Cloud application management
UploadCloudApp Upload an application Uploads or publishes a cloud application package. This is an asynchronous operation. You can call the ListCloudApps operation to query the upload progress.
ListCloudApps List cloud applications Queries a list of cloud applications and supports paging in a paged query.
UpdateCloudAppInfo Update basic application information Updates the information of a cloud application, such as the description, application tags, and patch uploads. You can upload patch packages or hot update packages, and create hot update packages for Android cloud application markets. A cloud application supports up to 20 patch packages, and only one patch package can be in the uploading state at a time.
ListCloudAppPatches List patches for a cloud application Queries the list of patches for a cloud application.
InstallCloudApp Install an application Installs a cloud application on a specified cloud application instance. This operation is asynchronous. You can call the ListCloudAppInstallations operation to query the installation progress.
ListCloudAppInstallations Query application installation information Queries the installation information list of cloud applications. The returned information includes the installation status of cloud application service instances. Paging is supported for paged query.
UninstallCloudApp Uninstall a cloud application Uninstalls a specified cloud application from a specified cloud application service instance. This is an asynchronous operation. You can call the ListCloudAppInstallations operation to query the uninstallation progress. After the cloud application is uninstalled, the query operation no longer returns related information.
DeleteCloudApp Delete an application Deletes a cloud application. Cloud applications in use cannot be deleted.
System configuration System configuration
DescribeRenderingInstanceConfiguration Query cloud application service instance configuration information Queries the real-time system configuration information of a cloud application service instance.
UpdateRenderingInstanceConfiguration Update configuration parameters of a cloud application service instance Updates the configuration parameters of a cloud application service instance. This operation supports modifying various configurations of the cloud Android system, such as prop, location, and network, to build a real-device simulation. You can call the DescribeRenderingInstance operation to obtain the configured real-device simulation values. To query the configuration parameters of the real-time environment, refer to the DescribeRenderingInstanceConfiguration operation.
DeleteRenderingInstanceConfiguration Delete configuration settings of a cloud application service instance Clears the configuration settings of a cloud application service instance. Only module properties configured through the UpdateRenderingInstanceConfiguration operation can be removed.
DescribeRenderingInstanceSettings Query cloud application service instance configurations Queries the configurations of a cloud application service instance.
UpdateRenderingInstanceSettings Update Cloud Application Service Instance Settings Updates the settings of a cloud application service instance.
DeleteRenderingInstanceSettings Delete cloud application service instance settings Deletes the settings of a cloud application service instance.
File management File management
UploadFile Upload File Uploads a file from a public URL to local or cloud storage. This is an asynchronous operation. You can call the ListFiles operation to monitor the upload progress.
ListFiles List files Queries a list of uploaded files. The response includes the upload status of the files and supports paging and paged query.
UpdateFileInfo Update basic file information Updates the basic information of a file, such as the description.
PushFile Push a file Pushes a file to a specified cloud application service instance. This operation is asynchronous. You can call the ListFilePushStatuses operation to query the push progress.
ListFilePushStatuses Query file push status list Queries the push status list for a file on cloud application service instances, and supports paging and paged query.
DeleteFile Delete a file Deletes a file object. You cannot delete a file that is being uploaded or pre-pushed. After a file is deleted, all associated push records become invalid, and you can push a file with the same name again.
Custom gateway Custom gateway
CreateRenderingInstanceGateway Create a custom gateway Creates a custom gateway.
ListRenderingInstanceGateway Query custom gateways Queries custom gateways.
DeleteRenderingInstanceGateway Delete a custom gateway Deletes a custom gateway.
Project management Project management
CreateRenderingProject Create a project Creates a cloud application service project and configures session-related properties.
ListRenderingProjects List projects Performs a paged query with paging to retrieve the list of basic information about cloud application service projects for a user.
UpdateRenderingProject Update project information Updates the attributes of a project.
AssociateRenderingProjectInstances Associate instances with a project Associates cloud application service instances with a project.
ListRenderingProjectInstances Query instance association information for a project Queries the list of cloud application service instances associated with a project by using paging in a paged query.
GetRenderingProjectInstanceStateMetrics Query project instance status statistics Queries the statistics on the number of project instances in each state that meet specific conditions for a project.
DisassociateRenderingProjectInstances Dissociate instances from a project Dissociates cloud application service instances from a project.
DeleteRenderingProject Delete a project Deletes a cloud application service project. Projects that contain business scheduling data such as online sessions cannot be deleted.
Session management Session management
StartRenderingSession Start a session Schedules an idle cloud application service instance for the client (ClientId) and completes service startup. If the client (ClientId) sends another start request after the first start request succeeds, the operation restarts the session if the associated session is in the SessionStartSuspended state. If the session is in another state, the operation directly returns the session information.
ListRenderingSessions Query sessions Queries the list of cloud application service sessions under specified conditions by using paging.
DescribeRenderingSession Query session information Queries the details of a session, including the current session status, network access IP address and port, and location of the cloud application service instance.
StopRenderingSession Close session Closes the specified cloud application service session and reclaims the related instance resources.

Account

API

Title

Description

DescribeAccountStat Query Account Status Query all resource information for an account in a specified region.
DescribeVsUserResourcePackage Query user resource plans Queries the Visual Edge Computing Service resource plan information for the current user.
OpenVsService Activate the service Activates the service.

Workspace management

API

Title

Description

CreateGroup Create Workspace Create a new workspace.
DeleteGroup Delete a workspace Delete a workspace.
ModifyGroup Modify workspace You can modify the details of a space.
DescribeGroup Query workspace Retrieves workspace information.
DescribeGroups Query space list You can query the list of spaces.

Device management

API

Title

Description

CreateDevice Add a device Adds a new device.
DeleteDevice Delete Device Deletes a device from a space.
BatchDeleteDevices Delete devices in batch Deletes multiple devices in a single operation.
ModifyDevice Modify Device Update device information.
DescribeDevice Query a device Queries the details of a device.
DescribeDevices List devices Queries the list of devices.
SyncCatalogs Synchronize Platform Channel Synchronizes platform channel information.
UnlockDevice Unlock the device Unlock a device.
StartDevice Start Device Start stream pulling from a device. This action starts all streams on the device.
StopDevice Stop Device Stops stream pulling for a device. This operation terminates all streams on that device.
BatchStartDevices Start Devices in Batch Start stream pulling for multiple devices at once.
BatchStopDevices Batch Stop Devices Stops stream pulling for multiple devices.
CreateDeviceAlarm Create a device alert Reports a device alert.
ModifyDeviceAlarm Modify Device Alarm Updates the alarm status of a device.
ModifyDeviceCapture Modify Device Capture Modify the device image capture configuration.
ModifyDeviceChannels Modify device channel Updates the list of channels for a device.
DescribeDeviceChannels Query device channel list Queries a list of device channels.
DescribeDeviceGateway Query Device Gateway Queries a device gateway.
DescribeDeviceURL Query Device URL Queries the URL information for a device stream.
DescribePurchasedDevice Query purchased devices Queries the details of purchased devices.
DescribePurchasedDevices List purchased devices Queries the list of purchased devices.
BindPurchasedDevice Attach a purchased device Attach purchased devices to a space.
UnbindPurchasedDevice Detach a purchased device Unbinds a purchased device from a space.
BatchBindPurchasedDevices Batch attach purchased devices Binds multiple purchased devices.
BatchUnbindDirectories Detach multiple devices from a folder in batch Detaches multiple devices from a folder in bulk.
BatchUnbindPurchasedDevices Batch detach purchased devices Detach multiple purchased devices from a space in a single operation.

Stream management

API

Title

Description

StartStream Start Stream Start a stream.
StopStream Stop a stream Stops a stream.
BatchStartStreams Start Streams in Batch Starts multiple streams.
BatchStopStreams Stop streams in batch Stops multiple streams in a batch.
DescribeStream Query Stream Details Queries information about a stream.
DescribeStreams List streams Queries a list of streams. You can filter streams by stream ID, name, space ID, and device ID.
DescribeStreamURL Obtain Stream URL Retrieves the URL of a stream.
DescribeVodStreamURL Retrieve VOD stream URL Retrieves the URL information of a video-on-demand (VOD) stream.
DescribeStreamVodList Retrieve stream video-on-demand records Retrieves a list of video-on-demand records for a stream, such as historical stream lists from an NVR.
ForbidVsStream Disable stream push Disables the push of a specific stream and allows you to schedule a time to resume the stream.
ResumeVsStream Resume the push of a specific stream Resumes the push of a specific stream.
BatchForbidVsStream Forbid multiple video streams Forbids the push of a specific stream and allows you to schedule a time to resume the stream.
BatchResumeVsStream Batch resume the push of a specific monitoring stream Resumes the push of a specific stream.
CreateStreamSnapshot Trigger On-Demand Screenshot Creates an on-demand snapshot for the specified stream.
SetVsStreamsNotifyUrlConfig Configure VS Stream Notifications URL Configure stream ingest callbacks.
DeleteVsStreamsNotifyUrlConfig Delete stream ingest callback configuration Deletes the callback configuration for stream ingest.
DescribeVsStreamsNotifyUrlConfig Obtain VS Stream Notification URL Configuration Queries the stream ingest callback configuration.
AddVsPullStreamInfoConfig Add pull stream configurations Adds pull stream configurations.
DeleteVsPullStreamInfoConfig Delete stream pulling configuration Delete stream pulling information.
UpdateVsPullStreamInfoConfig Update stream pulling configuration Updates stream pulling information by modifying the start time and end time of the addresses of the origin server for an existing stream pulling node.
DescribeVsPullStreamInfoConfig Get pull stream configuration Queries the pull stream configuration for a domain name.
StartTransferStream Start Transfer Stream Starts forwarding a stream to an external address.
StopTransferStream Stop Transfer Stream Stops a stream.
DescribeVsStreamsOnlineList Query information about all active streams Queries the information about all active streams under a specified domain name or a specific application under the domain name.
DescribeVsStreamsPublishList Retrieve VS Stream Ingest Records Retrieve stream ingest records for a domain, an application under that domain, or a specific stream within a specified time range.

Template management

API

Title

Description

CreateTemplate Create Template Create a new template.
DeleteTemplate Delete template Deletes a template.
ModifyTemplate Modify Template Modifies template information.
DescribeTemplate Query template Query information about a template.
DescribeTemplates Query template list List templates.
BindTemplate Attach template to specified instance Binds a template to a specified instance, such as a group or stream.
UnbindTemplate Detach a template from a specified instance Unbind a template from a specified instance, such as a group instance or a stream.
BatchBindTemplate Batch attach template to multiple instances Bind templates to multiple specified instances, such as instances bound to spaces and streams.
BatchUnbindTemplate Batch detach template from specified instances Detach a template from multiple specified instances, such as space instances or stream instances.
BatchBindTemplates Batch attach templates Binds multiple templates in a single operation.
BatchUnbindTemplates Batch detach templates Unbind multiple templates simultaneously.

Recording management

API

Title

Description

StartRecordStream Start on-demand recording Starts on-demand recording for the specified stream.
StopRecordStream Stop On-Demand Recording Stops on-demand recording for a specified stream.
DescribeRecords Query recording records Queries a list of recording records.

Domain name management

API

Title

Description

SetVsDomainCertificate Set certificate information for a domain name Sets whether the certificate feature is enabled for a domain name.
DescribeVsCertificateDetail Retrieve Certificate Details Retrieve certificate details.
DescribeVsDomainCertificateInfo Obtain the certificate information of a specified accelerated domain name Retrieves the certificate information for a specified accelerated domain name.
DescribeVsCertificateList Retrieve certificate list Retrieves a list of domain name certificates.
DescribeVsDomainDetail Query domain name information Obtains the basic configuration information for a specified Visual Edge Computing Service domain name.
DescribeVsDomainConfigs Query Domain Configuration Queries domain name configurations. You can query the configurations of multiple features in a single request.
BatchSetVsDomainConfigs Batch configure domain names Configure multiple domain names in batch.
BatchDeleteVsDomainConfigs Delete domain configurations for a domain name Deletes domain name configurations in a batch.
DescribeVsTopDomainsByFlow Retrieve top domains Queries the domains of a user ranked by traffic. If you do not specify StartTime and EndTime, data of the current month is queried by default. You can also query data within a specified time range. Both StartTime and EndTime must be specified. * You can query data of up to 90 days.

PTZ management

API

Title

Description

SetPreset Set a preset Set a preset position.
GotoPreset Shift to a preset position Moves to a specified preset.
DeletePreset Delete Preset Deletes a preset.
DescribePresets Query Presets Retrieve the list of presets.
StopMove Stop Lens Movement Stops camera movement, such as panning, tilting, and zooming.
StopAdjust Stop adjusting the lens Stops lens adjustments, such as aperture or zoom changes.
ContinuousMove Continuously Rotate the Camera Lens Rotate the camera continuously by panning, tilting, or zooming.
ContinuousAdjust Continuously Adjust Lens Continuously adjust lens parameters such as aperture and zoom.

Directory management

API

Title

Description

CreateDirectory Create Folder Creates a new folder.
DeleteDirectory Delete a folder Deletes a folder.
ModifyDirectory Modify Folder Modifies the information of a directory.
DescribeDirectory Query Folder Queries a directory.
DescribeDirectories Query the folder list Query the list of directories.
BindDirectory Attach Device to Folder Attach a device to a folder.
UnbindDirectory Detach a device from a folder Detach a device from a folder.
BatchBindDirectories Batch Attach Devices to Folder Binds multiple devices to directories in a single operation.

Cascade platform management

API

Title

Description

CreateParentPlatform Add parent platform Adds a new parent platform.
DeleteParentPlatform Delete a parent platform Deletes a parent platform.
ModifyParentPlatform Modify a parent platform Modifies the information of a parent platform.
DescribeParentPlatform Query parent platform Queries information about a parent platform.
DescribeParentPlatforms Query the list of parent platforms Query the list of parent platforms.
DescribeParentPlatformDevices Query the list of devices under a parent platform Queries the list of devices under a parent platform.
StartParentPlatform Start parent platform interaction Starts interactions with the parent platform, such as registration and keep-alive.
BindParentPlatformDevice Bind a device to a parent platform Binds a device to push streams to a parent platform.
BatchBindParentPlatformDevices Batch bind devices to a parent platform Binds multiple devices to a parent platform for push in batches.
UnbindParentPlatformDevice Dissociate a device from a parent platform Dissociates a device from a parent platform push configuration so that the device is no longer pushed.
BatchUnbindParentPlatformDevices Batch Unbind Parent Platform Devices Batch unbind multiple devices from parent platform push.

Usage query

API

Title

Description

DescribeVsDomainPvData Obtain domain name PV data Queries the page view (PV) data for a domain name.
DescribeVsDomainUvData Obtain UV data for a Visual Edge Computing Service domain name Retrieve UV data by domain name.
DescribeVsDomainPvUvData Obtain PV and UV data for the VS domain name Retrieve page view (PV) and unique visitor (UV) data for a Visual Edge Computing Service domain.
DescribeVsDomainRecordData Obtain record data for a Visual Edge Computing Service (VES) domain name Retrieve domain name record data.
DescribeVsDomainSnapshotData Retrieve domain name snapshot data Retrieves snapshot data for a domain name.
DescribeVsDomainRegionData Retrieve regional data for a domain name Queries the regional data for a domain name.
DescribeVsDomainBpsData Query network bandwidth monitoring data for a domain name Queries network bandwidth monitoring data for Domain Names.
DescribeVsDomainReqBpsData Obtain monitoring data of network requests for a domain name Query network request monitoring data for a domain name.
DescribeVsDomainTrafficData Retrieve domain name traffic data Retrieve traffic data for a domain name.
DescribeVsDomainReqTrafficData Obtain request traffic data by domain name Obtain traffic data for domain name requests.
DescribeVsDevicesData Retrieve usage data of connected devices Retrieves the usage data of connected devices.
DescribeVsUpPeakPublishStreamData Query the daily peak concurrent stream ingest count for a user Queries the daily peak number of concurrent stream ingest operations.

Others

API

Title

Description

VerifyVsDomainOwner Verify domain name ownership Verifies the ownership of a specified Visual Edge Computing Service domain name.
DescribeVsVerifyContent Query check content Queries the check content.
StartPublishStream Start desktop capture and streaming Starts desktop capture and streaming for a specified cloud application service instance.
StopPublishStream Stop desktop capture and streaming Stops desktop capture and streaming for a specified cloud application service instance.
DescribeComfyUserDataDownloadUrl Retrieve the download URL for user data Retrieves the download URL for user data.