mrhan1993 / FooocusAPI

Fooocus with fastapi
https://mrhan1993.github.io/docs
GNU General Public License v3.0
17 stars 4 forks source link

Fastapi #15

Closed mrhan1993 closed 2 months ago

mrhan1993 commented 2 months ago

Modify the binary return method to be the same as Fooocus-API, by passing Accept: image/xxx to specify the return.

Modify the return result format of synchronous return to be the same as the history query.

When requesting a static image, you can specify the returned image format by Accept: image/xxx, supporting [png, jpg, jpeg, webp].