Quick overview
This workflow turns a product photo sent via Telegram into an AI-generated short video ad using OpenAI for image analysis and concept/caption writing, AtlasCloud Seedance 2.0 for text-to-video generation, and Blotato to publish the approved video to Facebook, Instagram, TikTok, and YouTube Shorts.
How it works
- Receives a product photo (and optional campaign caption) via a Telegram bot message.
- Uses OpenAI Vision to analyze the image and produce a detailed, product-only description.
- Uses OpenAI to generate a one-shot text-to-video ad concept, then asks the user in Telegram to approve or reject it with feedback for revision.
- Submits the approved prompt to AtlasCloud Seedance 2.0, waits, polls the generation status, and routes failures to a Telegram alert.
- Sends the generated video back to Telegram for approval, and regenerates the video from the same prompt if it is rejected.
- Uses OpenAI to generate a social caption and hashtags, loops through a Telegram approval/revision step, then publishes the approved video and caption to selected platforms via Blotato.
Setup
- Add Telegram bot credentials and start a chat with your bot so it can receive photos and send approval forms.
- Add an OpenAI API credential with access to vision and chat models, and adjust the model IDs in the Configuration values if needed.
- Create an AtlasCloud HTTP Header Auth credential (Authorization: Bearer <API_KEY>) and select it on both AtlasCloud HTTP Request nodes.
- Add a Blotato credential, select your connected account/page IDs in each enabled Blotato publish node, and disable any platforms you don’t want to post to.
- Review and update the Configuration values (duration, aspect ratio, resolution, status wait time, language, and TikTok privacy level) to match your campaign and platform requirements.
Additional info
Generate AI video ads from product photos with Seedance 2.0 and publish to social media
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.
