Quick overview
This workflow turns a Telegram message into an AI-generated vertical video using AtlasCloud Seedance 2.0, generates an Instagram-ready caption with OpenAI, publishes the reel via Blotato, and sends a Telegram confirmation with the published video URL.
How it works
- Triggers when a new message is received by your Telegram bot.
- Uses OpenAI to expand the message into a short, visually descriptive 9:16 text-to-video prompt.
- Sends the prompt to AtlasCloud (Seedance 2.0) to generate a vertical video with the configured size, duration, and FPS.
- Waits and polls AtlasCloud for the prediction status until the video completes.
- Uses OpenAI to write a playful Instagram caption with 3–5 hashtags based on the video prompt.
- Publishes the generated video URL as an Instagram Reel through Blotato using the generated caption.
- Sends a Telegram message confirming the Reel is published and includes the final video URL.
Setup
- Create a Telegram bot and add your Telegram credentials to both the trigger and the notification steps.
- Add an OpenAI API credential and select it for both prompt and caption generation.
- Create an AtlasCloud API key and configure an HTTP header auth credential (Authorization: Bearer <key>) for the video generation and status requests.
- Install/enable the Blotato community node, connect your Blotato account and Instagram account, and select the target account in the publish step.
- Review the Configuration values (model, width/height, duration, FPS, and polling interval) to match your desired Reel format and runtime.
Additional info
Publish AI video reels to Instagram from Telegram messages