Skip to content

Latest commit

 

History

History
61 lines (55 loc) · 3.16 KB

README_en.md

File metadata and controls

61 lines (55 loc) · 3.16 KB

MyHeyGen | 中文

A civilian version video translation tool that provides a full process solution for voice cloning, translation correction, and lip synthesis

Thanks

HeyGenCloneTTSVideo-retalking

Gallery

Tutorial

【MyHeyGen来了!!!】

One click package

【MyHeyGen教程|这样配置应该简单很多吧】 Equivalent to a one click package, no environment required, but with small funds

Environmental preparation

  1. Get huggingface Token in config.json HF_TOKEN
  2. Apply for fanyiAPPID and APPKey in config.json TS_APPID and TS_APPKEY
  3. 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!
weights path checkpoints path

Install

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

Try

python translate.py /root/MyHeyGen/test/src.mp4 'zh-cn' -o /root/MyHeyGen/test/out_zh.mp4

Use

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]

Update log

  • 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

WeChat Group and Sponsor

WeChat Group Sponsor