# Analyze Instagram and TikTok videos to generate AI prompts using Google Gemini
This automation workflow reverse-engineers short-form videos from Instagram and TikTok, extracting visual style, composition, camera movement, lighting, and other characteristics to generate a detailed prompt for recreating similar content in generative AI models like Veo or Sora. Designed for teams scaling AI-generated video based on real-world examples.
## Who it´s for
- Video producers creating AI content from reference samples
- Marketers scaling short-video aesthetics across campaigns
- AI generation developers needing accurate prompts
- Digital content analysts studying visual patterns
- Agencies automating reverse engineering of trending videos
## What the automation does
- User submits a video link via form (webhook trigger)
- System detects platform (Instagram or TikTok)
- Video is downloaded using Apify API
- File is converted to base64 and sent to Google Gemini with a structured analysis template
- Gemini generates a precise reconstruction prompt for AI video models
- Output is delivered to Slack as message and file
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic based on form_submit and HTTP webhook
- Integrations with Instagram, TikTok, Slack, Apify, and Google Generative Language API
- Basic text instructions for setup and adaptation
## Requirements for setup
- n8n account (cloud or self-hosted)
- Apify API key
- Access to Google Generative Language API with Google Gemini enabled
- Slack account with bot permissions for messaging
- Form or external source to submit video links
## Benefits and outcomes
- Saves time on manual deconstruction of visual styles
- Enables accurate recreation of complex visual effects in AI
- Automates analysis of trending content
- Accelerates AI video production from proven references
- Reduces dependency on art directors for technical briefs
- Standardizes visual feature descriptions across team
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet