Similiar to local LLMs support, through Ollama, there are other txt2img APIs.
Apps such as DrawThings (free local image genration) or packages like AUTOMATIC1111's stable-diffusion-webui use this API.
This would allow get images locally, fully supporting local LLMs and image generation.