Last updated:
0 purchases
human avatar
human_avatar #
A Flutter package for create video by using human avatar.
Installation #
To use this plugin, add human_avatar as a dependency in your pubspec.yaml file.
human_avatar: any
copied to clipboard
Getting Started #
To get started with Human_vatar for Flutter first you will have to create account on Elai. and genrate you secret_key, please see the documentation.
Create Avatar #
await _humanAvatarPlugin.createAvatar(
secretKey:secretKey,
gender: "male",
photoName: photo.name,
photoData: _base64String);
copied to clipboard
create Video #
await _humanAvatarPlugin.createVideoAvatar(
secretKey:secretKey,
imageUrl: data?.frontendConfig?.canvas ?? '',
speechText: "this is my first text video",
gender: "male",
avatarName: "",
avatarId: data?.avatarDataId ?? '',
onRender:(value){
print(value.url);
createVideoAvatarData=value;
}
);
copied to clipboard
human_avatar #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.