This topic shows how to integrate an avatar into a workflow of AI real-time interaction.
Overview
The avatar node in a workflow is tasked to generate video streams where an avatar moves, reacts, and performs lip movements synchronized with the speech input from the preceding node. It helps provide a more engaging interactive experience to end users.
AI real-time interaction supports avatars from Faceunity, Tongyi Xingchen, and Alibaba Cloud Model Studio.
Integrate an avatar
Obtain required information
Faceunity
Faceunity avatars have detailed facial rendering and smooth, natural movements, making them ideal for scenarios that require emotional interaction and visual presentation, such as online customer service and virtual streamers.
To integrate a Faceunity avatar, make the following preparations:
Activate the avatar service on the Faceunity official website.
Contact Faceunitycustomer service to obtain the corresponding AvatarId.
Save the AppId, AppKey, and AvatarId.
Tongyi Xingchen
Tongyi Xingchen avatars are equipped with advanced interaction capabilities and an extensive knowledge base, excelling in scenarios that require high levels of expertise and interactive guidance, such as online tutoring and AI advisory services.
To integrate an avatar from Tongyi Xingchen, you need to request whitelisting. For more information, join the DingTalk group to contact us.
Obtain the following information:
AppKey: Go to the Tongyi Xingchen platformto create an API key.
ModelId & AvatarId: Select an avatar on the Tongyi Xingchen platform. Move the pointer over ID to show the AvatarModelId and avatar ID.
Alibaba Cloud Model Studio
Model Studio provides expressive, natural, and smooth avatars, ideal for diverse application scenarios including video broadcasting, business consultation, interactive communication, and service guidance across various industries such as smart education and news media.
To integrate an avatar from Alibaba Cloud Model Studio, you must request whitelisting. For more information, join the DingTalk groupto contact us.
Obtain the following information:
Go to the API key managementpage in Model Studio to get an API key.
The following avatars are available. Select a suitable one and copy its AvatarId and ModelId.
Configure the workflow node
Go to the Real-time Workflow Templatepage.
Click Create Workflow Template. Select Avatar Call and click the avatar node.
Select a platform and fill in the required information.
Click Save.