Latenode

Generate and Share ChatGPT-Powered Images on Telegram

This Latenode automation template allows users to generate images using the ChatGPT language model and send those images directly to a Telegram chat or channel. Users provide a text prompt, which is then used by ChatGPT to generate an image.

The generated image is then automatically sent to the specified Telegram destination. This template is designed to simplify the process of creating image-based content for Telegram users, combining the capabilities of ChatGPT and Telegram in a single, streamlined workflow.

Updated Apr 2, 2026Est. run: 16sEst. cost: $0.001
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Messaging & bots

Workflow preview

What this template does

  • Generates images based on user text prompts using ChatGPT
  • Sends the generated images directly to a Telegram chat or channel
  • Automates the process of creating image-based content for Telegram
  • Combines the capabilities of ChatGPT and Telegram in a single workflow
  • Enables users to easily create visual content for their Telegram audience

How it works

1
Trigger

Provide Text Prompt

The user provides a text prompt describing the image they want to generate using ChatGPT.

2
AI

Generate Image with ChatGPT

The text prompt is sent to the OpenAI ChatGPT language model, which generates an image based on the input.

3
Action

Send Image to Telegram

The generated image is then automatically sent to the specified Telegram chat or channel.

4
Logic

Custom Post-Processing

If necessary, any additional post-processing or handling of the image can be performed using custom logic.

Setup guide

1

Add OpenAI Credential

In the Latenode Credentials panel, add a new credential for OpenAI. Enter your OpenAI API key.

2

Add Telegram Credential

In the Latenode Credentials panel, add a new credential for Telegram. Enter your Telegram bot token.

3

Configure ChatGPT Node

In the Latenode builder, add a ChatGPT node. Select the OpenAI credential you created earlier. Configure the node settings, such as the image generation parameters.

4

Configure Telegram Node

In the Latenode builder, add a Telegram node. Select the Telegram credential you created earlier. Configure the node settings, such as the chat or channel ID to send the generated images to.

5

Map Input and Output

In the Latenode builder, map the user-provided prompt from the manual trigger to the input of the ChatGPT node. Map the generated image from the ChatGPT node to the input of the Telegram node.

Requirements

OpenAI API key with access to the ChatGPT model
Telegram bot token with permissions to send messages in the target chat or channel
Latenode workspace with the following nodes enabled: OpenAI, Telegram, and Code
Latenode workspace secrets for storing the OpenAI API key and Telegram bot token securely

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Messaging & bots

Build automated WhatsApp chatbot with product catalog knowledge base

This Latenode automation template builds a WhatsApp chatbot that allows users to interact with a service or database, providing automated responses to inquiries and facilitating real-time communication through the WhatsApp Business API. The chatbot is powered by a product catalog vector store, which serves as a knowledge base to help the AI-driven agent better understand and respond to customer questions. The workflow captures incoming WhatsApp messages, filters out non-text messages, and then uses the product catalog to generate relevant responses that are sent back to the user. This solution can be configured with WhatsApp Business Cloud API and OpenAI API credentials, as well as the URL for the product brochure PDF.

19s$0.0012
Messaging & bots

Automate Telegram messaging and notifications via Zapier schedule

The Zapier Telegram Integration allows users to automatically send scheduled messages, notifications, polls, or photos through a Telegram bot at specific intervals defined within a Zapier workflow. This integration simplifies the process of recurring communication on the Telegram messaging platform, enabling users to set up customizable triggers (e.g., daily, weekly, monthly) to send content to targeted chat IDs. The integration connects the Schedule by Zapier app with the Telegram platform, allowing users to streamline their communication without the need for complex programming.

3s$0.0002
Messaging & bots

Automatically post daily weather forecasts to a Discord channel

This automation solution fetches the daily weather forecast for a specified location and posts a summary of the information to a designated Discord channel. By automating this process, users can easily access the latest weather updates without having to manually check multiple sources. The automation integrates with a weather API to retrieve the forecast data and a Discord webhook or bot to publish the information to the target channel. This allows users to stay informed about the weather conditions in their area through a convenient and streamlined workflow.

7s$0.0004