MyHeyGen | 中文
A civilian version video translation tool that provides a full process solution for voice cloning, translation correction, and lip synthesis
HeyGenClone、TTS、Video-retalking
【MyHeyGen教程|这样配置应该简单很多吧】 Equivalent to a one click package, no environment required, but with small funds
- Get huggingface Token in config.json
HF_TOKEN
- Apply for fanyiAPPID and APPKey in config.json
TS_APPID
andTS_APPKEY
- Download weights and unzip it in
MyHeyGen
,download checkpoints then put it in MyHeyGen/video-retalking,remenber copy GFPGANv1.4.pth from weights to checkpoints!
git clone https://github.com/AIFSH/MyHeyGen.git
cd MyHeyGen
bash install.sh
or use docker
docker pull registry.cn-beijing.aliyuncs.com/codewithgpu2/aifsh-myheygen:o3U7yjrWg5
python translate.py /root/MyHeyGen/test/src.mp4 'zh-cn' -o /root/MyHeyGen/test/out_zh.mp4
python translate.py src_video_path lang_code -o out_video_opath
## lang_code in ['en', 'es', 'fr', 'de', 'it', 'pt', 'pl', 'tr', 'ru', 'nl', 'cs', 'ar', 'zh-cn', 'ja','hu','ko']
## Corresponding to [English, Spanish, French, German, Italian, Portuguese, Polish, Turkish, Russian, Dutch, Czech, Arabic, Chinese (Simplified), Japanese, Hungarian, Korean]
- 2023.11.7 add TTS_MODEL in config.json to custom model
- 2023.11.8 update TTS for more reality
- 2023.11.9 fix video-retalking oface error
- 2023.11.10 fix librosa version conflict with latest TTS