This documentation primarily describes the API call methods on the Tencent Cloud AI Digital Human aPaaS platform, including permissions, common parameters, and signature requirements.
I. API Invocation Environment Domain Name, Common Parameter and Signature Method
II. Permission Application and Activation
2.1. Obtaining Necessary API Parameters
To call the interactive digital human aPass API, you must carry the appkey, accesstoken, and virtualmankey corresponding to the digital human project. The specific acquisition method can be found in the following interface of the configuration platform:
The log-in address for the following interface is https://xiaowei.cloud.tencent.com/ivh#/application. Please log in using your Tencent Cloud account and create a project. Follow the instructions in the screenshot to obtain the appkey, accesstoken, and virtualmankey.
III. Request and Response Structure
Request Body Structure
The request body is divided into two parameters: Header and Payload. There is no need to transmit parameters in the Header, and the business parameters for each API are transmitted in the Payload.
Notes:
Header and Payload must be included in the request body and are essential.
{
"Header": {
},
"Payload": {
}
}
Response Body Structure
The response body is divided into two parameters: Header and Payload. The Header contains the result code, message, and the unique request ID. The specific response parameters of the API will be placed in the Payload.
{
"Header": {
"Code": 0,
"Message": "",
"RequestID": "", // generated and returned by the cloud
},
"Payload": {}
}