Create AI product video ad Shorts from Telegram photos with OpenAI and AtlasCloud

Go to Workflow
2 views
Built by Dr. Firas Dr. Firas
Created on July 28, 2026

Description

Quick overview
This workflow takes a product photo sent via Telegram, uses OpenAI Vision to describe it and OpenAI to write a short-form video ad prompt, generates a vertical video via AtlasCloud, then (after two approvals in Telegram) publishes the Short to YouTube via Blotato.

How it works
Triggers when a user sends a product photo (optionally with a caption/campaign) to a Telegram bot.
Downloads the image from Telegram and uses OpenAI Vision to extract an advertising-focused product description.
Uses OpenAI to generate a single cinematic text-to-video prompt plus a YouTube Shorts title and description.
Sends the proposed prompt to Telegram and waits for your approval before proceeding.
If approved, requests video generation from AtlasCloud and polls the render status until the video is completed.
Sends the generated video back to Telegram for preview and waits for a second approval to publish.
If approved, publishes the video to YouTube as an unlisted Short via Blotato and notifies you in Telegram (otherwise it stops and sends a decline message).

Setup
Create and connect a Telegram bot credential, then start a chat with the bot so it can receive photos and send approval prompts.
Add an OpenAI API credential and, if needed, update the default model IDs and language/duration/aspect ratio settings in the configuration values.
Create an HTTP Header Auth credential for AtlasCloud (Authorization: Bearer ) and select it for both AtlasCloud HTTP requests.
Connect a Blotato credential, select your YouTube account, and confirm the desired YouTube privacy status (default is unlisted).

Additional info
Generate an AI video ad from a product photo and publish it to YouTube
📥 Open full documentation on Notion

Need help customizing?
Contact me for consulting and support : Linkedin

MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram