Page 1 of 1

CLI documents

Posted: Tue Jul 12, 2022 9:28 pm
by damingxing

Are there any official CLI or API documents?

Thanks


Re: CLI documents

Posted: Wed Jul 13, 2022 7:20 am
by torzdf

For cli, not so much. The guides also work for the cli (for the most part anyway. Some tools like preview/manual etc are obviously GUI only).

Code: Select all

python faceswap py -h

will give you command line parameters

Hitting the Generate button in the GUI will generate the underlying command line arguments that will be run, which can be useful for quickly generating Faceswap commands.

Faceswap doesn't really have an API, however there is constantly evolving documentation here:
https://faceswap.readthedocs.io/en/latest/index.html

However, note that some pages are not rendering correctly (just show headers with no detail). I haven't got round to troubleshooting why this is, as they render fine locally.