human_avatar 0.0.5 copy "human_avatar: ^0.0.5" to clipboard
human_avatar: ^0.0.5 copied to clipboard

A Flutter package for both ios and android creating animation text to speech.

human_avatar #

A Flutter package for create video by using human avatar.

The example playing video

Installation #

To use this plugin, add human_avatar as a dependency in your pubspec.yaml file.

human_avatar: any

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);

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;
                    }
                );

human_avatar #

5
likes
150
pub points
23%
popularity

Publisher

unverified uploader

A Flutter package for both ios and android creating animation text to speech.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on human_avatar