mrhan1993 / Fooocus-API

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

api #109

Closed hailowck closed 8 months ago

hailowck commented 8 months ago

Is api free?

hailowck commented 8 months ago

How Do We Fix This?

屏幕截图 2023-12-25 164356
hailowck commented 8 months ago

How Do We Fix This?

屏幕截图 2023-12-25 170901
konieshadow commented 8 months ago

@hailowck It looks like your python version not compatible. Python 3.10 or 3.11 is recommend.

hailowck commented 8 months ago

@konieshadow I have solved the current problem, but there are new problems.I want to ask something else, is it not necessary to download the model for this project?Can I generate pictures by calling api?Also, does this api need money?Look forward to and thank you for your answer.

konieshadow commented 8 months ago

@hailowck The API itself and the code base it relies on are open source, so using them is free. However, image generation often requires the support of valuable hardware resources (especially GPU), so from this perspective, it is not free. For example, if you use a cloud server to deploy code, you need to pay the server rental fee.

hailowck commented 8 months ago

@konieshadow thank you,But I don't understand exactly what your project is for now.Do you need foocusontology to use it?

mrhan1993 commented 8 months ago

@hailowck The project is a Encapsulation of Fooocus and provides some general interface to use Fooocus programmatically.

hailowck commented 8 months ago

@konieshadow ok, thanks