Quick overview
This workflow listens for a Telegram photo message, uploads the image to AtlasCloud to generate a Seedance 2.0 image-to-video clip, uses OpenAI to create a short SEO title, then publishes the video to YouTube and TikTok via Blotato and sends a confirmation back to Telegram.
How it works
- Receives a Telegram message containing an image and uses the caption as the video prompt.
- Uploads the image to AtlasCloud and starts a ByteDance Seedance 2.0 image-to-video generation job with the configured duration, resolution, aspect ratio, and FPS.
- Polls AtlasCloud at a set interval until the generation status is completed or succeeded.
- Sends the prompt to OpenAI to generate a single short, optimized title for the video.
- Publishes the rendered video URL to YouTube through Blotato using the generated title.
- Publishes the same video to TikTok through Blotato and sends a Telegram message with the title and video link.
Setup
- Connect a Telegram bot credential and send photos with captions to the bot to trigger the workflow.
- Create an AtlasCloud API header-auth credential (Authorization: Bearer <key>) and select it in the AtlasCloud upload, generate, and status HTTP requests.
- Add an OpenAI API credential for the title generation step and choose the model you want to use.
- Add a Blotato API credential, then select your YouTube and TikTok accounts in the two publishing steps.
- Review the configuration values (model, duration, resolution, aspect ratio, FPS, and poll interval) to match your target output and platform requirements.
Additional info
Generate videos from images with Seedance 2 and publish to TikTok and YouTube