Fooocus-API icon indicating copy to clipboard operation
Fooocus-API copied to clipboard

Can it be used for large projects

Open Foixa opened this issue 1 year ago • 3 comments

Hello, first of all, thank you for this repo.

Is this API suitable for a wide range of users? Or is it just for hobby work?

Foixa avatar May 14 '24 03:05 Foixa

If it is to be provided to users as a service, it may be a little crude. In addition, it is important that Fooocus does not support concurrency

mrhan1993 avatar May 14 '24 07:05 mrhan1993

If you're asking if it's "production ready" for bigger projects then yes. We made an implementation for RunPod serverless (which also solves the concurrency since it's a cluster of workers) and there are paid cloud image generation services and discord servers using it without problem. Although as said, you want to connect it to your own app with UI or streamlined commands. You probably don't want non-dev users to build JSON requests

davefojtik avatar May 14 '24 11:05 davefojtik

You mean you can only handle requests one by one?

feeddaidai avatar Jun 20 '24 07:06 feeddaidai