https://github.com/zero01101/openOutpaint
https://github.com/BlinkDL/Hua
Both use automatic1111 API for the work.