sd.cpp-webui icon indicating copy to clipboard operation
sd.cpp-webui copied to clipboard

API server

Open magicse opened this issue 9 months ago • 2 comments

I want create something like simple api server instead cli, to avoide reload model. And it could work with your web ui via http. May it will be interesting. Work in progress. https://github.com/magicse/stable-diffusion-apiserver.cpp

magicse avatar Jul 04 '25 09:07 magicse

That would be a nice addition. If your project becomes mature enough I think I can add something like a backend selection option to switch how the UI talks to the backend (of course, this would have slightly less priority than keeping full compatibility with the main stable-diffusion.cpp project).

daniandtheweb avatar Jul 04 '25 09:07 daniandtheweb

It will be great if it is capable with sd webui api

CoderTCY avatar Oct 10 '25 08:10 CoderTCY

I've noticed there hasn't been any progress from @magicse, however an API server is WIP in the main stable-diffusion.cpp repository. I'm already experimenting with it and once it's merged I'll try to add a mode selection to choose between cli binary execution and server binary execution.

daniandtheweb avatar Dec 04 '25 19:12 daniandtheweb

I've noticed there hasn't been any progress from @magicse, however an API server is WIP in the main stable-diffusion.cpp repository. I'm already experimenting with it and once it's merged I'll try to add a mode selection to choose between cli binary execution and server binary execution.

Is it capable with SD WebUI API?

CoderTCY avatar Dec 06 '25 06:12 CoderTCY