See llms.txt for all machine-readable content.

Back to Templates

Create vertical AI videos from web articles with OpenAI, Seedance and Blotato

Created by

Created by: Dr. Firas || drfiras
Dr. Firas

Last update

Last update 4 days ago

Categories

Share


Quick overview

This workflow accepts an article URL from Telegram, extracts the page text, uses OpenAI to generate a Seedance 2.0 video prompt plus platform-specific captions, creates a vertical video via the AtlasCloud Seedance API, then publishes it to TikTok, Instagram, and YouTube through Blotato and confirms back on Telegram.

How it works

  1. Receives a message in Telegram containing a web article URL.
  2. Fetches the web page HTML, strips it to plain text, and truncates the extracted content for prompting.
  3. Uses OpenAI to turn the URL and extracted text into a Seedance 2.0 text-to-video prompt plus TikTok and Instagram captions and a YouTube title and description.
  4. Submits the generated prompt to the AtlasCloud Seedance 2.0 generateVideo API with the configured duration, resolution, and FPS.
  5. Polls the AtlasCloud prediction endpoint on a wait interval until the video status returns completed/succeeded.
  6. Publishes the resulting video URL to TikTok, Instagram, and YouTube via Blotato using the generated captions and YouTube metadata.
  7. Sends a Telegram confirmation message that includes the video title and the final video URL.

Setup

  1. Create a Telegram bot with @BotFather, add Telegram credentials in n8n, and use the bot to receive messages.
  2. Add an OpenAI API credential for the GPT-4.1-mini chat model used to generate the prompt and captions.
  3. Create an AtlasCloud API key and configure an HTTP Header Auth credential (Authorization: Bearer <key>) for the two AtlasCloud HTTP requests.
  4. Install and enable the Blotato community node (self-hosted n8n or n8n Cloud with Verified Community Nodes), connect your TikTok/Instagram/YouTube accounts in Blotato, and select the correct account IDs in each publish step.
  5. Adjust the configuration values (Seedance model, duration, 720×1280 size, FPS, output language, and polling wait time) to match your desired output.

Additional info

📥 Open full documentation on Notion