Versions in this module Expand all Collapse all v1 v1.2.0 Dec 22, 2023 Changes in this version + type Gfpgan interface + InferenceGfpgan func(ctx context.Context, input, output string, ver gfpgan.Version, ...) error + type Option func(*Wav2lipEx) + func WithFfmpeg(ffmpeg *ffmpeg.Exec) Option + func WithGfpgan(gfpgan Gfpgan) Option + func WithLogger(logger *zap.Logger) Option + func WithWav2Lip(wav2Lip Wav2Lip) Option + type Paras struct + NoRepair bool + Nosmooth bool + Pads []uint + UseEsrgan bool + type Wav2Lip interface + Inference func(ctx context.Context, checkPointPath wav2Lip.CheckPoint, ...) error + type Wav2lipEx struct + func New(options ...Option) (*Wav2lipEx, error) + func (w *Wav2lipEx) GenerateVideo(ctx context.Context, input, audio, output string, pars Paras) (err error)