Discussions
Streaming Avatar: List of avatarName Values and Visual Representation
5 months ago by John
Hi, I’m using a streaming avatar in my project where part of the code looks like this:
async initializeAvatarSession(avatarConfig: any) {
try {
const token = await this.fetchAccessToken();
this.avatar = new StreamingAvatar({ token });
this.sessionData = await this.avatar.createStartAvatar({
quality: AvatarQuality.High,
avatarName: avatarConfig.name,
voice: {
voiceId: avatarConfig.voiceId,
}
});
return { avatar: this.avatar, sessionData: this.sessionData };
} catch (error) {
console.error("Error initializing avatar session:", error);
throw error;
}
}
I need information about which values can be used in the avatarName
property since I can’t seem to find a list anywhere. I found just this list https://docs.heygen.com/reference/streaming-avatar-list, but I can’t see how these avatars look without repeatedly running them in my application, which is quite time-consuming.
It would be great if this list of avatars could also be displayed visually so I can clearly see which avatarName
values I can use.