Generación de videos de cine con IA usando VEO3 y Gemini y publicación en YouTube Shorts

Intermedio

Este es unContent Creation, Multimodal AIflujo de automatización del dominio deautomatización que contiene 13 nodos.Utiliza principalmente nodos como Wait, YouTube, Telegram, HttpRequest, Agent. Generar y publicar videos de películas de IA en YouTube Shorts con VEO3 y Gemini

Requisitos previos
  • Bot Token de Telegram
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Clave de API de Google Gemini
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "meta": {
    "instanceId": "e4c230a9107a7f9a037eb58a26a9c0643e61422c540da6ff5e6de728d4657870",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "3810be1e-7612-435a-9c9b-19b074063d92",
      "name": "Nota adhesiva - Activador",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1552,
        32
      ],
      "parameters": {
        "width": 600,
        "height": 300,
        "content": "## Start Trigger\nThis workflow is scheduled to run automatically twice a day. You can adjust the Schedule Trigger to your preferred timing."
      },
      "typeVersion": 1
    },
    {
      "id": "5dcfce81-600e-451c-9278-a7dee8162003",
      "name": "Activador programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1424,
        176
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 12 02 * * *"
            },
            {
              "field": "cronExpression",
              "expression": "0 12 17 * * *"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "2c3afa77-319b-4aae-aa09-ff6b5f7dd8a8",
      "name": "Nota adhesiva - Indicación de IA",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        -64
      ],
      "parameters": {
        "color": 2,
        "width": 700,
        "height": 576,
        "content": "## AI Prompt Generation\nThe AI Agent creates:\n1. A detailed video prompt (900–1800 characters).\n2. A short hypnotic caption with hashtags.\n3. A YouTube Short title (max 100 characters).\n4. A description (up to 2000 characters)."
      },
      "typeVersion": 1
    },
    {
      "id": "35022ca9-bc3d-4e0a-92ee-2c51e6b59d00",
      "name": "Agentee de IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -496,
        144
      ],
      "parameters": {
        "text": "=<user>\nGenerate a fast, surreal cinematic video idea.\n\nProvide:\n1. A highly detailed video prompt (min. 900 – max. 1800 characters).\n2. A short hypnotic caption (max. 12 words) with hashtags.\n3. A YouTube Short title (max. 100 characters).\n4. A description (humorous, keyword-rich, up to 2000 characters).\n</user>",
        "options": {
          "systemMessage": "=<system>\nYou are the official Prompt Generator for cinematic short-form surreal videos.\n\n🎬 **Your Core Task:**\nAlways generate extremely detailed, hyperrealistic video concepts that can be turned into an AI-generated cinematic short video. Each output must be precise and visually rich – as if you are briefing a film director.\n\nScenes must:\n- Be 8 seconds long.\n- Show constant motion, surreal transitions, and impossible visuals.\n- Have dynamic, unusual camera movements (fast, tilted, bird-like).\n\n✨ **Style:**\n- 4K Ultra-HD, cinematic, hyper-detailed.\n- Warm tones (gold, beige, glass effects).\n- Surreal, hypnotic, elegant, and slightly confusing.\n- Must always include one element that feels physically impossible.\n\n🌀 **Signature Elements:**\n- Infinite structures (stairs, corridors, floors).\n- Impossible fluids or slime motions.\n- Glass-like reflective and transparent designs.\n- Elegant but confusing illusions.\n\n🚫 **Rules:**\n- No humans, no animals.\n- No text inside the scene.\n</system>"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "a8cb4084-9473-48a5-9f32-b119f0f5581e",
      "name": "Modelo de chat Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -528,
        352
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "VgTsmQkUs1bl3AJA",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "168bfee8-7725-4fbf-9ddc-2898af256efe",
      "name": "Nota adhesiva - Generación de video",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -96
      ],
      "parameters": {
        "color": 3,
        "width": 700,
        "height": 400,
        "content": "## Video Generation API\nThe prompt is sent to the KIE AI VEO API which generates the video file.\n- Uses `veo3_fast` model\n- Aspect ratio: 9:16 (vertical video)\n- Waits for API to complete before fetching results"
      },
      "typeVersion": 1
    },
    {
      "id": "e0f4abf1-0f3b-4770-9302-76d3efeba36c",
      "name": "Generar video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        144
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/veo/generate",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"prompt\": \"{{ $json.output.prompt.replaceAll('\"',\"\").replaceAll(\"\\n\",\"\") }}\",\n  \"model\": \"veo3_fast\",\n  \"aspectRatio\": \"9:16\",\n  \"seeds\": 12345,\n  \"enableFallback\": false\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "799c7352-c027-43dc-99ac-ab6b281fbd3a",
      "name": "Esperar renderizado",
      "type": "n8n-nodes-base.wait",
      "position": [
        96,
        144
      ],
      "webhookId": "036433e4-0d6b-4bb9-86b3-c9a32ebbb861",
      "parameters": {
        "amount": 60
      },
      "typeVersion": 1.1
    },
    {
      "id": "c7cc85c8-76f5-4d1a-96e1-7337241ce0a2",
      "name": "Verificar estado de renderizado",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        336,
        128
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/veo/record-info",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "taskId",
              "value": "={{ $json.data.taskId }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a2f0d577-f85e-4659-a1fc-a445a5f840af",
      "name": "Nota adhesiva - Publicación",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        -144
      ],
      "parameters": {
        "color": 4,
        "width": 650,
        "height": 556,
        "content": "## Video Publishing\nThe generated video is uploaded automatically:\n- To YouTube Shorts with AI-generated title, description & tags\n- To Telegram channel with caption"
      },
      "typeVersion": 1
    },
    {
      "id": "f0d8b5d2-a1ad-4e50-9a2a-49a4417ed300",
      "name": "Subir a YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        864,
        272
      ],
      "parameters": {
        "title": "={{ $('AI Agent').item.json.output.title.substring(0,99) }}",
        "options": {
          "tags": "",
          "embeddable": true,
          "description": "={{ $('AI Agent').item.json.output.describtion }}",
          "privacyStatus": "public",
          "defaultLanguage": "en",
          "notifySubscribers": true,
          "publicStatsViewable": true,
          "selfDeclaredMadeForKids": false
        },
        "resource": "video",
        "operation": "upload",
        "categoryId": "1",
        "regionCode": "DE"
      },
      "credentials": {
        "youTubeOAuth2Api": {
          "id": "24Y77sh7p4MOAdYH",
          "name": "flow kanald gold"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7cfeac4c-8fcd-4a58-818c-eee3b100c415",
      "name": "Enviar a Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        864,
        80
      ],
      "webhookId": "438d3c41-e185-447f-88fb-405caa4a8ded",
      "parameters": {
        "chatId": "-1001234567890",
        "operation": "sendVideo",
        "binaryData": true,
        "additionalFields": {
          "caption": "={{ $('AI Agent').item.json.output.caption }}"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "5vXYsp1FkgoTBXwz",
          "name": "reality"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a05c3292-a3a6-4ec0-ba90-28cdca732c73",
      "name": "Analizador de salida estructurada",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -336,
        352
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"prompt\": \"California\",\n\t\"caption\": \"Los Angeles\",\n  \"title\":\"dsf\",\n  \"describtion\":\"dfaf\"\n}"
      },
      "typeVersion": 1.3
    }
  ],
  "pinData": {},
  "connections": {
    "Agente de IA": {
      "main": [
        [
          {
            "node": "e0f4abf1-0f3b-4770-9302-76d3efeba36c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e0f4abf1-0f3b-4770-9302-76d3efeba36c": {
      "main": [
        [
          {
            "node": "799c7352-c027-43dc-99ac-ab6b281fbd3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "799c7352-c027-43dc-99ac-ab6b281fbd3a": {
      "main": [
        [
          {
            "node": "c7cc85c8-76f5-4d1a-96e1-7337241ce0a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5dcfce81-600e-451c-9278-a7dee8162003": {
      "main": [
        [
          {
            "node": "Agente de IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7cc85c8-76f5-4d1a-96e1-7337241ce0a2": {
      "main": [
        [
          {
            "node": "f0d8b5d2-a1ad-4e50-9a2a-49a4417ed300",
            "type": "main",
            "index": 0
          },
          {
            "node": "7cfeac4c-8fcd-4a58-818c-eee3b100c415",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "a05c3292-a3a6-4ec0-ba90-28cdca732c73": {
      "ai_outputParser": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Intermedio - Creación de contenido, IA Multimodal

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos13
Categoría2
Tipos de nodos9
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Autor
Sulieman Said

Sulieman Said

@sulieman-said

👋 Hi, I’m Sulieman – Founder of aufCopilot.de . I build custom n8n workflows, automations & AI integrations to help businesses save time and scale smarter. I share templates, answer questions and love exploring creative use cases – from lead generation to data workflows and AI-powered automations. 🚀 Always happy to connect, learn and contribute to the community.

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34