Quick Overview
This workflow runs every four hours to generate a CCTV-style animal video concept with OpenAI, renders an 8-second vertical clip using AtlasCloud Seedance, then publishes it to TikTok via Blotato and sends a preview to Telegram.
How it works
- Runs every 4 hours on a schedule.
- Uses OpenAI to create a hyper-realistic CCTV-style image and video prompt based on a random (or overridden) animal, location, action, and a current timestamp overlay.
- Starts a Seedance text-to-video render on AtlasCloud with the generated prompt, duration, aspect ratio, and optional audio.
- Polls AtlasCloud at a fixed interval until the render status is completed or succeeded and retrieves the output video URL.
- Uses OpenAI to generate a TikTok-ready title and exactly five hashtags from the video concept.
- Publishes the generated video to TikTok via Blotato with the title/hashtags and the selected privacy level, flagged as AI-generated.
- Sends the rendered video and title as a preview to a specified Telegram chat.
Setup
- Add OpenAI API credentials and set the prompt and caption models in the Configuration values if you want to change them.
- Add an AtlasCloud API key (HTTP Header Auth) and ensure it is selected for both the generate and status-check requests.
- Add a Blotato credential, select your TikTok account, and confirm your desired TikTok privacy level.
- Add a Telegram bot credential and set the target telegram_chat_id in the Configuration values.