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).