audio-webui icon indicating copy to clipboard operation
audio-webui copied to clipboard

[FEATURE REQUEST]

Open sam2332 opened this issue 2 years ago • 1 comments

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

sam2332 avatar Sep 14 '23 13:09 sam2332

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)

gitmylo avatar Sep 14 '23 19:09 gitmylo