mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
505 stars 132 forks source link

What's the difference between endpoint v1 and v2 inpainting? #303

Closed kexul closed 2 months ago

kexul commented 2 months ago

Hi, I just noticed that there are two endpoint for inpainting, what's the difference? Thanks!

EndPoint_V1: /v1/generation/image-inpaint-outpaint
EndPoint_V2: /v2/generation/image-inpaint-outpaint
Method: Post
DataType: form|json
kexul commented 2 months ago

Do they use same algorithm under the hood but with different input parameters?

图片 图片

mrhan1993 commented 2 months ago

Except for the format of the request data, it is exactly the same

kexul commented 2 months ago

Thanks!