So I have the text-generation-ui by oogabooga running at one place, then I also have stable diffusion in the other tab. But I’m looking for ways to expose these project’s APIs, and then combine them to then produce output like what GPT-4 does, where it can call APIs when it needs to, to other models.
I’m also looking for a solution where the text generation output is also able to execute the said code, and then infer from its results to do next things. (iknow the risks but yeah).
Its probably not what you’re looking for, but SillyTavern does do all those things via API calls.
https://docs.sillytavern.app/
https://docs.sillytavern.app/usage/api-connections/
https://docs.sillytavern.app/extras/extensions/stable-diffusion/
https://docs.sillytavern.app/extras/extensions/tts/