Quick overview
This workflow turns a Telegram message into a short AI-generated video using AtlasCloud (Google Veo 3.1 Fast), generates an SEO-friendly title with OpenAI, publishes the video to YouTube and TikTok via Blotato, and sends a confirmation back to Telegram.
How it works
- Triggers when you send a new message to your Telegram bot with a video idea.
- Sets the Veo model, video duration, and prompt based on the Telegram message.
- Starts video generation on AtlasCloud and polls the render status every 30 seconds until it completes.
- Uses OpenAI (GPT-4o-mini) to generate a short, SEO-friendly title in the same language as the prompt.
- Publishes the rendered video URL and generated title to YouTube via Blotato.
- Publishes the same video and title to TikTok via Blotato and sends a Telegram confirmation with the title and video URL.
Setup
- Create a Telegram bot with BotFather and add Telegram credentials, then start a chat with the bot so it can receive messages.
- Add an AtlasCloud API key as HTTP Header Auth and ensure the AtlasCloud endpoints are reachable for both the create and status requests.
- Add an OpenAI API key for the title generation step.
- Install and enable the Blotato community node (or ensure community nodes are allowed), add your Blotato API credentials, and select your YouTube and TikTok account IDs in the two publish steps.
Additional info