Génération de vidéos cinématographiques par IA avec VEO3 et Gemini, et publication sur YouTube Shorts

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 13 nœuds.Utilise principalement des nœuds comme Wait, YouTube, Telegram, HttpRequest, Agent. Génération de vidéos de films AI en utilisant VEO3 et Gemini, et publication sur YouTube Shorts

Prérequis
  • Token Bot Telegram
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API Google Gemini
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "e4c230a9107a7f9a037eb58a26a9c0643e61422c540da6ff5e6de728d4657870",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "3810be1e-7612-435a-9c9b-19b074063d92",
      "name": "Note adhésive - Déclencheur",
      "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": "Déclencheur programmé",
      "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": "Note adhésive - Invite 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": "Agent 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": "Google Gemini Chat Model",
      "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": "Note adhésive - API vidéo",
      "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": "Générer une vidéo",
      "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": "Attendre le rendu",
      "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": "Vérifier l'état du rendu",
      "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": "Note adhésive - Publication",
      "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": "Téléverser sur 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": "Envoyer vers 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": "Analyseur de sortie structurée",
      "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": {
    "35022ca9-bc3d-4e0a-92ee-2c51e6b59d00": {
      "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": "35022ca9-bc3d-4e0a-92ee-2c51e6b59d00",
            "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
          }
        ]
      ]
    },
    "a8cb4084-9473-48a5-9f32-b119f0f5581e": {
      "ai_languageModel": [
        [
          {
            "node": "35022ca9-bc3d-4e0a-92ee-2c51e6b59d00",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "a05c3292-a3a6-4ec0-ba90-28cdca732c73": {
      "ai_outputParser": [
        [
          {
            "node": "35022ca9-bc3d-4e0a-92ee-2c51e6b59d00",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds13
Catégorie2
Types de nœuds9
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
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.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34