# I built a Telegram bot that generates anime images

> Source: <https://dev.to/kushalka/i-built-a-telegram-bot-that-generates-anime-images-3bh>
> Published: 2026-11-18 19:32:27+00:00

**Recommendation:** Queue image-generation requests and deduplicate repeated button taps before hitting a shared GPU, since the serving plumbing, not the model, dominates the work.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

I've been generating anime-style images with Stable Diffusion locally for a while. At some point I noticed I was repeating the same loop every day: open the web UI, type a prompt, wait, download, send it to a friend. So I did what any reasonable person does at 2am — I wrapped the whole thing into a Telegram bot.

**Stable Diffusion Bot** is simple: you send a prompt, you get an image back. A few things it can do:

The surprise for me was that the model is maybe 20% of the work. The rest is plumbing: queueing requests so a popular checkpoint doesn't melt the GPU, deduplicating button taps, sending albums as multipart without Telegram complaining about it.

Here are a couple of images straight from the bot:

Try it here: [Stable Diffusion Bot](https://t.me/Stable_Dlffusion_3_bot) — the site with docs is [kushalka.dpdns.org](https://kushalka.dpdns.org).

It's free to start. Feedback is welcome, especially prompt ideas I should test.
