Génération automatique de blogs et d'images IA à partir de vidéos YouTube avec Dumpling AI et GPT-4o

Intermédiaire

Ceci est unDesign, AI, Marketingworkflow d'automatisation du domainecontenant 10 nœuds.Utilise principalement des nœuds comme Airtable, GoogleDrive, HttpRequest, ExtractFromFile, OpenAi, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Utiliser Dumpling AI et GPT-4o pour générer automatiquement des articles de blog et des images IA à partir de vidéos YouTube

Prérequis
  • Clé API Airtable
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
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
{
  "id": "kyDSmFJkvi8CYHh2",
  "meta": {
    "instanceId": "a1ae5c8dc6c65e674f9c3947d083abcc749ef2546dff9f4ff01de4d6a36ebfe6",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Generate Blog & AI Image from YouTube Videos with Dumpling AI & GPT-4o",
  "tags": [],
  "nodes": [
    {
      "id": "7847f8a8-a60e-4b2c-afa1-8d586cb42d5c",
      "name": "Dossier de Surveillance pour Nouvelles Vidéos YouTube",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -2960,
        -420
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1mde_V0ePcJEebVydygVKT7GDiABjj2A4",
          "cachedResultName": "Youtube Videos"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "B0Hulh0j065xznhI",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cee77d1b-a91a-4fae-b5ae-eac34a9b0a03",
      "name": "Télécharger le Fichier Vidéo",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -2740,
        -420
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "B0Hulh0j065xznhI",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "7b5ae3f4-d89d-4506-985d-a4c2afc5c0f5",
      "name": "Convertir la Vidéo Téléchargée en Base64",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -2520,
        -420
      ],
      "parameters": {
        "options": {},
        "operation": "binaryToPropery"
      },
      "typeVersion": 1
    },
    {
      "id": "e94c073a-e8e3-4b7e-9b86-21f7568b98cb",
      "name": "Transcrire la Vidéo avec Dumpling AI (Transcription Intégrale)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2300,
        -420
      ],
      "parameters": {
        "url": "https://app.dumplingai.com/api/v1/extract-video",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"inputMethod\": \"base64\",\n  \"video\": \"{{ $json.data }}\",\n  \"prompt\": \"Please transcribe the entire audio content of this video. I need a clear, complete, and accurate transcript of everything that was said, without summarizing or skipping any part. Include all spoken words, even fillers or pauses like 'um' or 'uh', if present. Format the transcript in clean readable text, broken into paragraphs where appropriate.\",\n  \"jsonMode\": \"false\"\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "ZqOKe2AhRqsTlTR1",
          "name": "n8n connections"
        },
        "httpHeaderAuth": {
          "id": "RLFzAcGRepr5eXZB",
          "name": "n8n"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "29e09351-0d8e-40c4-8a41-d00bff9e93a4",
      "name": "Générer l'Article de Blog et le Prompt d'Image avec GPT-4o",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2080,
        -420
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=You are an experienced blog writer and creative AI assistant. Based on the transcript I will provide, generate:\n\nA blog post that summarizes and expands on the key message of the video in a clear, engaging, and human tone.\n\nAn image prompt for AI image generation that visually supports the content of the blog post.\n\nBlog Post Guidelines:\n\nThe blog post should be written in a natural and conversational tone.\n\nIt must start with a strong opening paragraph that hooks the reader.\n\nFollow with 2 to 4 short paragraphs that explain or expand on the main ideas in the transcript.\n\nEnd with a clear conclusion or takeaway that wraps up the message or encourages readers to take action.\n\nDo not use overly technical or robotic language. Keep it clear and useful for the average reader.\n\nImage Prompt Guidelines:\n\nCreate a short, descriptive image prompt that visually represents the core message of the blog.\n\nThe image prompt should be suitable for AI image generation models like \nFLUX.1-pro.\n\nIt should be visually specific, using descriptive words that reflect the theme and tone of the blog.\n\nReturn your response in this exact JSON format:\n\n{\n  \"blog_post\": \"Your full blog content here\",\n  \"image_prompt\": \"Your image generation prompt here\"\n}"
            },
            {
              "content": "=Here is the transcript to work with:[{{ $json.results }} ] "
            }
          ]
        },
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "fdhWALG84tBLgSZT",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "d68ab832-0c22-4ee7-8406-f1aba6911f70",
      "name": "Générer l'Illustration à partir du Prompt de Blog avec Dumpling AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1700,
        -420
      ],
      "parameters": {
        "url": "https://app.dumplingai.com/api/v1/generate-ai-image",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"FLUX.1-pro\",\n  \"input\": {\n    \"prompt\": \"{{ $json.message.content.image_prompt }}\",\n    \"width\": 1024,\n    \"height\": 576,\n    \"aspect_ratio\": \"16:9\"\n  }\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "RLFzAcGRepr5eXZB",
          "name": "n8n"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "34b5a7a2-2cab-49a4-a905-dd6611de33f1",
      "name": "Enregistrer l'Article de Blog sur Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -1480,
        -420
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "https://airtable.com/appPSvSKdA6075xJC",
          "cachedResultName": "Testing n8n"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "https://airtable.com/appPSvSKdA6075xJC/tblboiRp54hqA813K",
          "cachedResultName": "social post"
        },
        "columns": {
          "value": {
            "Content": "={{ $('Generate Blog & Image Prompt using GPT-4o').item.json.message.content.blog_post }}"
          },
          "schema": [
            {
              "id": "ID",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": true,
              "required": false,
              "displayName": "ID",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Content",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Content",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Attachments",
              "type": "array",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Attachments",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "create"
      },
      "credentials": {
        "airtableTokenApi": {
          "id": "H8PVkBgUPCcUhhRC",
          "name": "Airtable Personal Access Token account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "cc6c3c98-d639-4bd4-b727-3556e33c3397",
      "name": "Téléverser l'Image de l'Article de Blog sur Airtable",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1260,
        -420
      ],
      "parameters": {
        "url": "=https://api.airtable.com/v0///{{ $json.id }}",
        "method": "PATCH",
        "options": {},
        "jsonBody": "={\n  \"fields\": {\n    \"Attachments\": [\n      {\n        \"url\": \"{{ $('Generate Blog & Image Prompt using GPT-4o').item.json.message.content.image_prompt }}\"\n      }\n    ]\n  }\n}\n",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "VyzU59iFznTo7K6r",
          "name": "Airtable Connection"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "aa4fb418-c654-413e-986f-df5bad418703",
      "name": "Note Adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2960,
        -620
      ],
      "parameters": {
        "width": 700,
        "height": 240,
        "content": "### 🎥 From Video Upload to Blog Prompt\n\nThis part of the workflow starts when a new video is added to a designated Google Drive folder. It downloads the video and converts it into base64 format. That base64 video is then sent to Dumpling AI’s `extract-video` endpoint, which transcribes the entire audio content. The transcription is passed to GPT-4o, which writes a full blog post and also creates a descriptive image prompt based on the video's message.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8a379ab7-b7ba-409f-a072-c3e0c7e20f7e",
      "name": "Note Adhésive 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2040,
        -620
      ],
      "parameters": {
        "width": 820,
        "height": 260,
        "content": "### 📝 Generate Image and Save Blog to Airtable\n\nThe AI-generated image prompt is sent to Dumpling AI’s `generate-ai-image` endpoint (model FLUX.1-pro) to produce a visual that aligns with the blog post. The blog content is stored in Airtable under the `Content` field. Finally, the image prompt is also patched into the Airtable record under `Attachments` to complete the post entry for social use or publishing.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "41c42227-95ae-4535-be56-1cc8a71490ac",
  "connections": {
    "cee77d1b-a91a-4fae-b5ae-eac34a9b0a03": {
      "main": [
        [
          {
            "node": "7b5ae3f4-d89d-4506-985d-a4c2afc5c0f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "34b5a7a2-2cab-49a4-a905-dd6611de33f1": {
      "main": [
        [
          {
            "node": "cc6c3c98-d639-4bd4-b727-3556e33c3397",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7b5ae3f4-d89d-4506-985d-a4c2afc5c0f5": {
      "main": [
        [
          {
            "node": "e94c073a-e8e3-4b7e-9b86-21f7568b98cb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7847f8a8-a60e-4b2c-afa1-8d586cb42d5c": {
      "main": [
        [
          {
            "node": "cee77d1b-a91a-4fae-b5ae-eac34a9b0a03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "29e09351-0d8e-40c4-8a41-d00bff9e93a4": {
      "main": [
        [
          {
            "node": "d68ab832-0c22-4ee7-8406-f1aba6911f70",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d68ab832-0c22-4ee7-8406-f1aba6911f70": {
      "main": [
        [
          {
            "node": "34b5a7a2-2cab-49a4-a905-dd6611de33f1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e94c073a-e8e3-4b7e-9b86-21f7568b98cb": {
      "main": [
        [
          {
            "node": "29e09351-0d8e-40c4-8a41-d00bff9e93a4",
            "type": "main",
            "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 - Design, Intelligence Artificielle, Marketing

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.

Workflows recommandés

Génération automatique de publications Facebook à partir d'analyses vidéo avec Dumpling AI + GPT-4o
Utiliser Dumpling AI + GPT-4o pour générer automatiquement des publications Facebook à partir des insights vidéo
Google Drive
Http Request
Google Sheets
+
Google Drive
Http Request
Google Sheets
8 NœudsYang
Intelligence Artificielle
Génération de titres en fonction des suggestions de saisie semi-automatique avec Dumpling AI + GPT-4o
Utiliser Dumpling AI + GPT-4o pour générer des titres à partir de suggestions de complétion automatique
Set
Split Out
Http Request
+
Set
Split Out
Http Request
8 NœudsYang
Design
Générateur de contenu de brise-glace IA : Utiliser Dumpling AI pour extraire des sites web et sauvegarder dans Airtable
Générateur de contenu de brise-glace IA : Utiliser Dumpling AI pour extraire des sites web et sauvegarder dans Airtable
Wait
Airtable
Http Request
+
Wait
Airtable
Http Request
9 NœudsYang
Intelligence Artificielle
Créer automatiquement un podcast à partir des légendes de vidéos YouTube avec Dumpling AI et GPT-4o
Utiliser Dumpling AI et GPT-4o pour créer automatiquement un podcast à partir des sous-titres YouTube
Airtable
Http Request
Open Ai
+
Airtable
Http Request
Open Ai
5 NœudsYang
Intelligence Artificielle
Extraction d'informations de produits à partir de captures d'écran de pages web avec Dumpling AI et GPT-4o
Extraire des informations de produits à partir de captures d'écran de pages web avec Dumpling AI et GPT-4o
Split Out
Google Drive
Http Request
+
Split Out
Google Drive
Http Request
11 NœudsYang
Intelligence Artificielle
Extraction de données de factures de Google Drive vers Sheets avec Dumpling AI
Extraire les données de factures de Google Drive avec Dumpling AI et les sauvegarder dans Sheets
Code
Split Out
Google Drive
+
Code
Split Out
Google Drive
8 NœudsYang
Intelligence Artificielle
Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds10
Catégorie3
Types de nœuds7
Description de la difficulté

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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34