Open sam2332 opened 10 months ago
An official API is planned as an official extension, although in the meantime, anyone with python knowledge and an ability to read the documentation should be able to create an extension.
+ this way you won't have to copy code out of the repo, you can just have it host a REST API similar to your original solution, but while still syncing with updates, etc.
(if you didn't know, extensions can import any of the installed packages, you can add new requirements as well, and any audio-webui package, for the API you'd mainly want to import and use the webui.modules.implementations.*
packages, and you can add extension specific settings to the settings tab too)
Is your feature request related to a problem? Please describe. Api for services
Describe the solution you'd like Design a an api that can be used to generate audio files from the various services listed
Describe alternatives you've considered Hacky FastApi Solution with copied out code from this repo