tencent cloud

Feedback

Querying the List Of Actions Supported by the Avatar

Last updated: 2024-07-19 10:20:14
    Query the list of supported action information for the avatar based on the virtualmankey.
    Note:
    This API only supports querying actions for 3D avatars. 2D sample avatars do not support actions, and calling this API will return an empty result.

    Calling Protocol

    HTTPS + JSON
    POST /v2/ivh/crmserver/customerassetservice/getaction
    Header Content-Type: application/json;charset=utf-8

    Request Parameters

    Parameters
    Type
    Mandatory
    Description
    VirtualmanKey
    string
    Yes
    Assigned digital human avatar virtualmankey

    Response Parameter

    Parameters
    Type
    Mandatory
    Description
    Actions
    Array of [Action]
    No
    List of supported actions
    Action
    Parameters
    Type
    Mandatory
    Description
    ActionName
    string
    Yes
    Action name of the digital human
    ActionCode
    string
    Yes
    Action code of the digital human, corresponding to SSML action tags
    ActionSample
    string
    Yes
    Example URL for the digital human actions

    Request Sample

    {
    "Header": {},
    "Payload": {
    "VirtualmanKey": "xxxx"
    }
    }

    Response Sample

    {
    "Header": {
    "RequestID": "bj1adef00816967518094696407",
    "SessionID": "bj1adef00816967518094696408",
    "DialogID": "",
    "Code": 0,
    "Message": "ok"
    },
    "Payload": {
    "Actions": [
    {
    "ActionCode": "2hands_forward1",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/2hands_forward1.mp4",
    "ActionName": "Both hands pointing forward 1"
    },
    {
    "ActionCode": "admission",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/admission.mp4",
    "ActionName": "Entering the stage"
    },
    {
    "ActionCode": "appearance",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/appearance.mp4",
    "ActionName": "Exiting the stage"
    },
    {
    "ActionCode": "bow",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/bow.mp4",
    "ActionName": "Bowing"
    },
    {
    "ActionCode": "waving_hand1",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/waving_hand1.mp4",
    "ActionName": "Waving one hand"
    },
    {
    "ActionCode": "welcome",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/welcome.mp4",
    "ActionName": "Welcome"
    },
    {
    "ActionCode": "left_across_waist",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/left_across_waist.mp4",
    "ActionName": "Left hand side slide"
    },
    {
    "ActionCode": "left_side1",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/left_side1.mp4",
    "ActionName": "Left hand pointing to the left 1"
    },
    {
    "ActionCode": "left_up2",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/left_up2.mp4",
    "ActionName": "Left hand pointing to the left 2"
    },
    {
    "ActionCode": "right_side1",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/right_side1.mp4",
    ""ActionName": "Right hand pointing to the right 1"
    },
    {
    "ActionCode": "right_slide_down",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/right_slide_down.mp4",
    "ActionName": "Right hand sliding down at the side"
    },
    {
    "ActionCode": "right_up2",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/right_up2.mp4",
    "ActionName": "Right hand pointing to the upper right 2"
    },
    {
    "ActionCode": "applaud",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/applaud.mp4",
    "ActionName": "Applauding"
    },
    {
    "ActionCode": "compliment_state3",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/compliment_state3.mp4",
    "ActionName": "Both hands giving thumbs up"
    },
    {
    "ActionCode": "ok2",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/ok2.mp4",
    "ActionName": "OK gesture at the side"
    },
    {
    "ActionCode": "show_love3",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/show_love3.mp4",
    "ActionName": "Finger heart"
    },
    {
    "ActionCode": "support",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/support.mp4",
    "ActionName": "Come on"
    },
    {
    "ActionCode": "turn_around",
    "ActionSample": "https://virtualhuman-cos-test-1251316161.cos.ap-nanjing.myqcloud.com/resource-manager/3d_virtualman/meta_yoyo/2023/display_videos/turn_around.mp4",
    "ActionName": "Turning around"
    }
    ]
    }
    }
    
    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