tencent cloud

$0 14-Day TrialExperience EdgeOne for acceleration and security protection!

Feedback

Tencent Cloud AI Digital Human

Querying All Images of a Specific Anchor

Last updated: 2024-07-18 18:21:45

API Description

Query all images under a specific anchor code, including all the anchor's clothing, poses, resolutions, and VirtualmanKeys.
Note:
This API is gradually being phased out. Use the Query Image Asset Information - Query all images under the anchor API for queries.

Calling Protocol

HTTPS + JSON
POST     /v2/ivh/videomaker/broadcastservice/getresourcebyanchor
Header   Content-Type: application/json;charset=utf-8

Request Parameters

Parameters
Type
Mandatory
Description
GetAllResource
bool
Yes
When set to false, it retrieves resources specific to the current AppKey; when set to true, it retrieves all resources associated with the current user.
AnchorCode
string
Yes
Anchor code, which can be obtained through the Customer Resource Query Anchor API

Response Parameter

Parameters
Type
Mandatory
Description
VirtualmanResources
Array of [VirtualmanResource]
Yes
Resources of the digital human within customers' permissions

VirtualmanResource

Parameters
Type
Mandatory
Description
AppKey
string
Yes
Requested AppKey
Virtualmans
Array of [Virtualman]
Yes
Digital human under this role code

Virtualman

Parameters
Type
Mandatory
Description
VirtualmanKey
string
Yes
Define the broadcasting role, clothing, pose, and resolution.
Name
string
Yes
Role name
Code
string
Yes
Role code
ClothesName
string
Yes
Digital human clothing
PoseName
string
Yes
Digital human pose
Resolution
string
Yes
Digital human resolution
HeaderImage
string
Yes
Digital human avatar image URL
PoseImage
string
Yes
Digital human pose image URL
ClothesImage
string
Yes
Digital human clothing image URL
SupportDriverTypes
Array of [string]
Yes
Supported drive types of the digital human
1. Text: Text-driven
2. OriginalVoice: Original voice audio-driven
3. ModulatedVoice: Modulated voice audio-driven
SupportAnchorExtraParams
Array if [SupportAnchorExtraParam]
Yes
Description of configurable parameters for the digital human avatars: Currently only 3D clothing color change parameters are included.
OriginZoom
String type floating point number
Yes
Initial scaling factor of the digital human, accurate to three decimal places

Request Sample

{
"Header": {},
"Payload": {
"GetAllResource": true,
"AnchorCode": "yani"
}
}

Response Sample

{
"Header": {
"Code": 0,
"Message": "",
"RequestID": "123"
},
"Payload": {
"VirtualmanResources": [
{
"AppKey": "22222",
"Virtualmans": [
{
"VirtualmanKey": "abddd",
"AnchorName": "Yani",
"AnchorCode": "yani",
"ClothesName": "Yellow Suit",
"PoseName": "Standing",
"Resolution": "1920x1080",
"HeaderImage": "url",
"PoseImage": "url",
"ClothesImage": "url",
"SupportDriverTypes": [
"Text",
"OriginalVoice"
],
"SupportAnchorExtraParams": [
{
"Key": "shirtColor",
"Description": "Suit Color",
"Type": 1,
"Value": [
"colorValue"
]
},
{
"Key": "clotheColor",
"Description": "Shirt Color",
"Type": 1,
"Value": [
"colorValue"
]
}
]
}
]
}
]
}
}

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon