This automation is a complete system for automatically creating viral clips from long videos. The system takes a link to the video via a web form, analyzes it using Vizard AI to identify the most viral fragments, generates attractive titles using AI, and automatically publishes ready-to-make clips to TikTok via the Blotato platform.
API keys and services:
Vizard AI API - for analyzing videos and creating clips
OpenAI API Key - for generating titles and descriptions (gpt-4o-mini)
Blotato API - for uploading media and publishing on social networks
TikTok Account ID - for automatic publishing
System architecture by blocks
SECTION 1: SENDING VIDEOS
1.1 On form submission - Getting a link to a video
Purpose: A web form for getting links to videos from users
Form settings:
Form Title: “Clips”
Form Fields: One “Link to video” field
Webhook ID: 453572d2-e25b-48d5-bf2e-58a54b438a19
Supported platforms:
youtube
Instagram
TikTok
Vimeo
Other video platforms
1.2 HTTP Request — Sending to Vizard AI
Purpose: Creates a project in Vizard AI to analyze videos and generate clips
Purpose: Converts an array of clips into separate elements for individual processing
Settings:
Field To Split Out: videos
Include: AllotherFields
The result: Each clip becomes a separate element in the stream
3.3 Filter - Selecting only viral clips
Purpose: Filters clips by virality index
Filtration condition:
$JSON.videos.viralScore === 10 (only clips with the highest viral score)
Why do you need a filter:
We publish only the most promising videos
We save publication limits
We improve the quality of content
3.4 Limit - Quantity limit
Purpose: Limits the number of clips that can be processed
Settings:
Limit: 1 (by default, can be configured)
Why the restriction:
Controlling publishing costs
Testing the quality of clips
Spam prevention
3.5 AI Agent — Creating titles and descriptions
Purpose: Generates engaging titles and descriptions for TikTok
Input data:
Transcription: {{$json.videos.transcript}}
Clip title: {{$json.videos.title}}
Viral reason: {{$JSON.videos.ViralReason}}
System prompt:
You're an AI Agent for editing and creating titles and descriptions for viral tik tok video cuts.
You will receive a transcription and the reason for the virality of the video and, based on them, you must come up with a short but clear description/title for the tik tok video
Your answer should consider solely of a description for the video
Examples of generated content:
“This moment changed everything! 🤯 #viral #trending”
“No one expected this turn 😱 #шок #неожиданно”
“The top secret has been revealed! Save it so you don't lose it 📌”
3.6 OpenAI Chat Model — Language Model
Purpose: Provides AI Agent with text generation capabilities