Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
This n8n template demonstrates how to automatically download an Instagram Reel, analyze its content using AI video understanding, and regenerate a similar video using AI video generation models. Th...
@n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Aditya Malur.
Original n8n.io sourceThis n8n template demonstrates how to automatically download an Instagram Reel, analyze its content using AI video understanding, and regenerate a similar video using AI video generation models. The workflow creates AI-powered variations of existing video content while maintaining visual consistency and style from the original source material.
Use cases are many: Content creators can produce multiple variations of trending reels, social media managers can recreate viral content with brand-specific modifications, or marketers can generate similar videos without copyright concerns while maintaining the original's visual appeal and storytelling structure.
Video generation typically takes 2-5 minutes per video. The workflow includes automatic polling to check completion status.
Minimax Video-01 generates videos up to 6 seconds long at 720p resolution and 25fps with cinematic camera movements.
Gemini 2.0 Flash processes video at 1 frame per second (approximately 300 tokens per second of video), making it ideal for detailed video analysis.
The workflow includes retry logic for failed API requests to ensure reliability.
Ensure you have sufficient API credits in your Replicate account before running high-volume workflows.
The workflow begins when a user submits an Instagram Reel URL through the chat trigger interface.
The RapidAPI Instagram Reels Downloader fetches the video metadata and download URL from Instagram.
Downloaded video data is formatted and validated to ensure successful retrieval before proceeding.
The video file is uploaded to Google's Gemini 2.0 Flash model via their File API for processing.
Gemini 2.0 Flash analyzes the video frame-by-frame, generating a comprehensive description covering visuals, audio, movements, lighting, camera angles, and transitions.
The AI-generated description is formatted as a continuous text prompt (lowercase, no punctuation) optimized for video generation models.
This detailed prompt is sent to Replicate's Minimax Video-01 model to generate a new video based on the analysis.
The workflow polls the Replicate API every 2 minutes to check generation status, automatically looping until completion.
Once generation succeeds, the final AI-generated video is downloaded and ready for use or further processing.
The chat trigger node accepts Instagram Reel URLs as input, but you can replace this with webhooks, forms, or scheduled triggers depending on your automation needs.
Replace all placeholder API keys in the workflow before activation (RapidAPI, Google AI Studio, and Replicate).
Test with short Instagram Reels first (under 30 seconds) to optimize processing time and token usage.
The workflow automatically handles null checks and retries if the initial download fails, ensuring robust execution.
Requirements RapidAPI account for Instagram Reels Downloader API (handles video extraction from Instagram)
Google AI Studio API key with Gemini 2.0 Flash access enabled (for advanced video analysis)
Replicate API account with sufficient credits for Minimax Video-01 model access (for AI video generation)
Active n8n instance (self-hosted or cloud) to run the workflow automation
This AI video recreation workflow can be adapted for numerous creative and business applications. Try extending it to generate multiple style variations from one input video, add branding overlays or watermarks before final output, or integrate with cloud storage (Google Drive, Dropbox) for automated archiving. You can also chain this workflow with content scheduling tools to automatically post generated videos to social media platforms, or combine it with analytics nodes to track which AI-generated variations perform best with your audience.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 27 workflow blocks. Download the JSON for the full node graph.
| Workflow | Recreate Instagram reels with Gemini 2.0 analysis & minimax video generation |
|---|---|
| Complexity | advanced |
| Nodes | 27 |
| Categories | Content Creation, Multimodal AI |
| Author | Aditya Malur |
| Published | 18 Oct 2025 |
Use the JSON export at /data/workflows/9863/9863.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This n8n template demonstrates how to automatically download an Instagram Reel, analyze its content using AI video understanding, and regenerate a similar video using AI video generation models. Th...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.