mrhan1993 / Fooocus-API

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

Can we specify LoRAs or base models on Replicate.com? #85

Closed rossheat closed 8 months ago

rossheat commented 8 months ago

Thank you for creating this excellent project.

Can we specify our own LoRAs, or custom base models, when using this package via Replicate.com?

I could not see any examples of this in the project's README or examples section.

If this is currently not supported, do you plan on supporting it in the future?

konieshadow commented 8 months ago

Specify LoRAs or base models require downloading model files at the generation task submit steps, it will make the request very slow. And you need to config the download urls for each model. It's like sort of disadvantages of serverless platform as Replicate.com.

But if you have a good idea, welcome to discuss it.