Conversation
|
should I update this? |
|
Hi 😅 My concern is breaking inputs - could you please try to do it so that there is no change? If API behaves exactly the same, but can be accessed without Gradio (and code is reasonable) - it would be a bliss and easy to merge. |
|
Really would be nice to have it. People tell that API it is useful (for example aulerius) |
|
Things have been soo busy recently! I'll keep the API input the same. |
|
Hi, how are you doing? This code is right, but if accepted maybe it will be deprecated soon as there is a project dedicated for the stable diffusion API: https://github.com/mix1009/sdwebuiapi I am a contributor of that project and I am working in an endpoint to do the same task with depthmap script. Also I added a new funcionality to generate videos with this project, without affecting the core. Soon there will be a new pull request to this project and sdwebuiapi. I added a new option RUN_MAKEVIDEO_API with parameters such as num of frames, fps, xyz movements, etc Thank you! David Martin Rius |
|
Hello @davidmartinrius, nice to see you here! Honestly, I am even more busy with stuff nowadays, but I am looking forward for your MR, hope I can go through it quickly-enough 🤞🫠 |
|
@davidmartinrius This sounds great! I was unaware of this repo thanks for linking it. |
|
Hello! I created a new pull request in #378 I hope it fits to the project standard 😄 David Martin Rius |
This pull request enables api to work with in standalone mode (the auto-generated docs are still wrong).
Notes
This implements many suggestions/changes from @semjon00 . I'm not entirely sure how @semjon00 should be credited.
Some of the alterations from the draft #316.
I have only tested it with core features. So things like 3d/video are unlikely to function.
How to use
The standalone api will be enabled with the options
--api. The full start-up becomespython main.py --api.sample api request (python 3.8)