GLiNER2.5 Base
fastino · Kit
Pulls entities, relations and structured records out of English text, and classifies it, from one schema, running locally on CPU, CUDA or MPS. It suits develop…
An n8n workflow for a Telegram bot that draws pictures. You write a message, an OpenAI image model turns the text into one picture, and the bot sends it back to you in the chat.
Telegram messages turned into OpenAI images and sent back is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Telegram message
It starts when your bot receives a Telegram message, with:
One picture in your chat, drawn from the text of your message
What you need before you start.
Chat
Brings each message to the trigger and sends the picture back as a photo.
NeedsA bot token from BotFather
Image model
Draws one picture from the text of each message.
NeedsAn OpenAI API key that can use the image models
Checked by Mindket on 13 Nov 2026
This n8n workflow is a Telegram bot that draws pictures. You write a text message to the bot. An OpenAI image model turns that text into one picture. The bot then sends the picture back to you in the same chat. Five nodes do the work, beside seven sticky notes.
Marketers, designers and hobbyists who want a picture from a chat without opening an image tool. It also suits anyone learning how n8n hands a picture from one node to the next. It draws from text only, so it cannot edit a photo you send.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Marketing | Social media managers | Get quick picture ideas for a post | A manager writes “a paper boat on a blue sea” and the picture comes back in the chat. |
| Design | Designers | Test a look before drawing it by hand | A designer sends a short brief and compares the pictures it returns. |
| Education | Teachers | Make a picture for a lesson sheet | A teacher asks for a picture of the water cycle for a handout. |
| Software | Developers | Learn the pattern of a bot that returns a file | A developer swaps the image step for another model and keeps the rest. |
You need a little n8n: import a file, add two accounts and publish. Nothing in the file states a setup time.
Any n8n that can reach Telegram and OpenAI will run it.
OpenAIDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two accounts cover every step.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Telegram | A bot made with @BotFather, and its token |
| OpenAI | An API key that can use the image models |
workflow.json.Telegram Trigger and in Telegram.OpenAI.Publish the workflow and write a short description to your bot. The picture comes back in the same chat. Put a few style words in the prompt of OpenAI for a steady look.
| To change | Where |
|---|---|
| The model, the size and the quality | The options of OpenAI |
| The words that go to the model | The prompt in OpenAI |
| A caption under the picture | The additional fields of Telegram |
| Who may use the bot | A check on the sender’s id right after Telegram Trigger |
You write “a lighthouse at sunset, flat illustration” to your bot.
Telegram Trigger receives the message, and OpenAI sends its text as the prompt. One picture comes back as binary data. Telegram then sends it to you as a photo in the same chat.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here the first box listens for messages, the second draws the picture and the last sends it back. Two more boxes keep the picture and the original message together, so the last box can read both.
For experts. The last node needs the sender’s id, which only the original message holds, so the picture and the message are joined first.
| Node | What it does | What to know |
|---|---|---|
OpenAI | An OpenAI node 2.3 on the Image resource, set to gpt-image-2.6-flare | It sends message.text as the prompt and stops on an empty one |
Merge | A Merge node 2.1 in its default mode, Append | The picture comes first, so the message is the second item |
Aggregate | An Aggregate node that packs all items into one, with Include Binaries on | The list sits under data and the picture stays attached |
Telegram | A Telegram node that sends a photo from binary data | Its chat is data[1].message.from.id |
Only text messages work, and the bot is open to anyone who finds it.
message.text, and the OpenAI node stops with an error because it needs a prompt that is not emptydall-e-2 and dall-e-3 were removed on 12 May 2026 and gpt-image-1 on 23 October 2026. Mindket’s copy uses node version 2.3 with gpt-image-2.6-flare, a replacement that page namesgpt-image-2.6-flare costs 30 US dollars for each million tokens on OpenAI’s model page, read on 12 November 2026. One picture uses many tokens, so watch your usageAn n8n workflow for a Telegram bot that draws pictures. You write a text message to the bot, an OpenAI image model turns the text into one picture, and the bot sends the picture back to you in the chat. It is a small starter for an image bot: five nodes do the work.
workflow.json: the workflow as n8n exports it, 5 nodes beside 7 sticky notes. It holds no credential.README.md: these notes.Mindket repaired the copy so it can draw an image today:
dall-e-2, dall-e-3 and gpt-image-1, and it uses dall-e-3 unless told otherwise. OpenAI's deprecations page, read on 12 November 2026, says the two DALL·E models were removed on 12 May 2026 and that gpt-image-1 was removed on 23 October 2026. Mindket rebuilt the step as the OpenAI node at version 2.3, set to gpt-image-2.6-flare, one of the two replacements OpenAI names.message.text and message.from.id, which only a message has, so Mindket's copy listens for messages only.v1.workflow.json.Telegram Trigger and in Telegram.OpenAI.Telegram Trigger starts a run for each message the bot receives.OpenAI sends the text of the message, message.text, as the prompt of an image generation. The reply is one picture, kept as binary data in the field data.Merge puts the picture and the original message into one list, with the picture first. It runs in its default mode, Append.Aggregate packs all items into one item, with the list under data, and keeps the picture attached because Include Binaries is on.Telegram sends the picture as a photo. It reads the sender's id from the second entry of the list, data[1].message.from.id.OpenAI.OpenAI, for example a fixed style put before message.text.Telegram.Telegram Trigger.message.text, and the OpenAI node stops with an error because it needs a prompt that is not empty.gpt-image-2.6-flare is billed by tokens, at 30 US dollars for each million tokens on OpenAI's model page, read on 12 November 2026. One picture uses many tokens, so watch your usage.message.from.id, the person who wrote. That is the same as the chat in a private chat. In a group, a bot cannot start a private chat, so use it in private chats.NOTICE.md 599 B README.md 4 KB workflow.json 6 KB
fastino · Kit
Pulls entities, relations and structured records out of English text, and classifies it, from one schema, running locally on CPU, CUDA or MPS. It suits develop…
mradermacher · Kit
Static GGUF files of FallenMerick's MN-Violet-Lotus-12B in sizes from 4.9 GB to 13.1 GB. For people who run a 12B model on their own computer.
google-t5 · Kit
Turns one text into another with a small 60M-parameter T5 model that treats translation, summarization, question answering and classification as text-to-text j…
nhathoangfoto · Kit
A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…
leejet · Kit
Generates images from text on modest GPUs, using quantized Z-Image-Turbo files made for stable-diffusion.cpp. For people who run image models on their own comp…
HiDream-ai · Kit
Generates images from text prompts with a 17B-parameter open model that scores at the top of the card's prompt-following tables. For designers, marketers and d…