koishijs/novelai-bot
A Koishi chatbot plugin that enables AI image generation via NovelAI, Stable Diffusion WebUI, and Stable Horde directly from chat platforms.

This plugin integrates AI image generation into the Koishi chatbot framework, allowing users to generate images through chat by connecting to NovelAI’s image synthesis service, Stable Diffusion WebUI, or the Stable Horde distributed inference network. It supports text-to-image (txt2img), image-to-image (img2img) generation, model and sampler selection, Chinese keyword translation, rate limiting, multi-platform deployment across QQ, Discord, Telegram and other chat services, and can auto-delete generated images after a set time.