Video & Media
Generated in 9.56s

AI Instagram Reel Creator with InVideo

Automated Instagram Reel production using Gemini AI for content generation and InVideo AI for video rendering. Triggered via webhook from mobile app with complete video URL and caption output.

Prompt

Perfecto 🔥 Entonces **vamos a cerrarla de verdad**, usando **AI Studio + Opal + n8n + InVideo AI**. Aquí no hay teoría: **esto es construcción real**. --- # 🏗️ ARQUITECTURA FINAL (la que SÍ funciona) ``` OPAL (App / Botón) ↓ n8n (Backend + lógica) ↓ Gemini API (desde lo que ya hiciste en AI Studio) ↓ InVideo AI (render del Reel) ↓ URL del .mp4 + caption listo ``` 👉 Esto es una **app completa, funcional y escalable**. --- # 🧠 PASO 1 — CONVERTIR TU PROMPT DE AI STUDIO EN “PROMPT DE PRODUCCIÓN” Este prompt **NO va en AI Studio UI**, va en **n8n → nodo LLM (Gemini)**. ### 🔵 PROMPT MAESTRO DE PRODUCCIÓN (cópialo tal cual) ```text Actúa como un productor senior de Reels educativos para Instagram. Marca: Your Brand Name Tono: Calmo, claro, educativo, sin alarmismo Audiencia: Padres, educadores y adolescentes Formato: Instagram Reel vertical (9:16) Duración: {{ $json.duracion }} Tema: {{ $json.tema }} Devuelve ÚNICAMENTE un JSON válido con esta estructura: { "hook": "", "voiceover": "", "scenes": [ { "scene_number": 1, "visual_description": "", "on_screen_text": "", "duration_seconds": 5 } ], "music_mood": "", "cta": "", "caption": "", "hashtags": [] } Reglas estrictas: - Lenguaje humano, no robótico - No usar miedo ni prohibiciones - Frases cortas - Texto en pantalla legible - Estilo visual minimalista, azul/turquesa, fondo claro - Pensado para que InVideo lo pueda interpretar fácilmente ``` ✅ ESTE prompt es el **cerebro oficial** de tu app. --- # ⚙️ PASO 2 — WORKFLOW DE N8N (NODO POR NODO) ## 🔹 NODO 1 — Webhook (entrada desde Opal) * Método: `POST` * Path: `/crear-reel` ### JSON que recibes desde Opal: ```json { "tema": "Regla del Segundo Teléfono", "duracion": "30 segundos" } ``` --- ## 🔹 NODO 2 — Gemini (LLM) * Usa **Gemini API** * Prompt: el que te di arriba * Output: JSON estructurado --- ## 🔹 NODO 3 — Preparar request para InVideo Nodo: **Function** ```javascript return [{ json: { "title": $json.hook, "script": $json.voiceover, "scenes": $json.scenes.map(s => ({ "text": s.on_screen_text, "visual": s.visual_description, "duration": s.duration_seconds })), "music_mood": $json.music_mood, "aspect_ratio": "9:16", "platform": "instagram" } }]; ``` --- ## 🔹 NODO 4 — InVideo AI (HTTP Request) * Method: `POST` * URL: `https://api.invideo.io/v1/video` * Headers: ```json { "Authorization": "Bearer TU_API_KEY", "Content-Type": "application/json" } ``` * Body: output del nodo anterior ⏳ InVideo responde con: ```json { "video_id": "abc123", "status": "processing" } ``` --- ## 🔹 NODO 5 — Esperar + consultar estado * Loop (cada 20–30s) * Endpoint: ``` GET https://api.invideo.io/v1/video/{video_id} ``` Cuando esté listo: ```json { "status": "completed", "video_url": "https://..." } ``` --- ## 🔹 NODO 6 — Respuesta final a Opal Devuelves: ```json { "video_url": "...", "caption": "...", "hashtags": [...] } ``` 🎉 LOOP CERRADO. --- # 🖥️ PASO 3 — OPAL (TU APP) ### Inputs: * Tema (dropdown) * Duración (dropdown) ### Acción del botón: * HTTP Request → webhook de n8n ### Resultado en pantalla: * 🎬 Video listo (link) * 📄 Caption copiable * #️⃣ Hashtags 👉 Para ti, la experiencia es: > “Le doy click y tengo el Reel”. --- # 📦 QUÉ TIENES AL FINAL (IMPORTANTE) ✔️ App funcional ✔️ Producción real de video ✔️ Branding consistente ✔️ Automatización ✔️ Base para SaaS ✔️ Nada experimental Esto **ya no es una idea**, es un **producto**. --- # 🚀 SIGUIENTE PASO (ELIGE Y AVANZAMOS) 1️⃣ Te preparo el **workflow de n8n exportable (.json)** 2️⃣ Te escribo el **prompt específico por cada tema** 3️⃣ Te ayudo a **configurar InVideo API paso a paso** 4️⃣ Ajustamos para que luego puedas **vender esta app** Dime 👇 👉 **qué quieres hacer primero** y la dejamos **100% operativa** 💪

English: Create a fully functional workflow using AI Studio + Opal + n8n + InVideo AI to automatically generate Instagram Reels from prompts with Gemini API and InVideo rendering.

Generated Workflow

Loading workflow preview...

n8nworkflowinstagramreelaiinvideogeminivideocontent

Create Your Own Workflows

Install n8n Builder and generate custom workflows with AI in seconds.