Dumpling AIとGPT-4oを使用してYouTube動画からブログ記事とAI画像を自動生成します

中級

これはDesign, AI, Marketing分野の自動化ワークフローで、10個のノードを含みます。主にAirtable, GoogleDrive, HttpRequest, ExtractFromFile, OpenAiなどのノードを使用、AI技術を活用したスマート自動化を実現。 Dumpling AIとGPT-4oを使ってYouTube動画から自動のにブログ記事とAI画像を生成する

前提条件
  • Airtable API Key
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "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": "新規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": "動画ファイルをダウンロード",
      "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": "ダウンロードした動画をBase64に変換",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -2520,
        -420
      ],
      "parameters": {
        "options": {},
        "operation": "binaryToPropery"
      },
      "typeVersion": 1
    },
    {
      "id": "e94c073a-e8e3-4b7e-9b86-21f7568b98cb",
      "name": "Dumpling AIで動画を文字起こし(完全トランスクリプト)",
      "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": "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": "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": "ブログ投稿を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": "ブログ投稿画像を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": "付箋ノート",
      "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": "付箋ノート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
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - デザイン, 人工知能, マーケティング

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

関連ワークフロー

動画から洞察を抽出して、自動のにFacebookの投稿を生成するDumpling AI + GPT-4o
Dumpling AI + GPT-4oを使用して動画から洞察を取得してFacebook投稿を自動生成
Google Drive
Http Request
Google Sheets
+
Google Drive
Http Request
Google Sheets
8 ノードYang
人工知能
Dumpling AI + GPT-4oで autocomplete の提案に基づいてタイトルを生成
Dumpling AI+GPT-4oで自動補完提案からタイトルを生成
Set
Split Out
Http Request
+
Set
Split Out
Http Request
8 ノードYang
デザイン
AI破冰コンテンツジェネレーター:Dumpling AIを使用してWebサイトをスクレイピングしAirtableに保存
AI破冰コンテンツジェネレーター:Dumpling AIを使用してWebサイトをスクレイピングしAirtableに保存
Wait
Airtable
Http Request
+
Wait
Airtable
Http Request
9 ノードYang
人工知能
Dumpling AI と GPT-4o を使用して YouTube 動画の字幕からポッドキャストを自動作成
Dumpling AIとGPT-4oを使用してYouTubeの字幕から自動のにポッドキャストを作成
Airtable
Http Request
Open Ai
+
Airtable
Http Request
Open Ai
5 ノードYang
人工知能
Dumpling AIおよびGPT-4oを使用して、ウェブページのスクリーンショットから製品情報を抽出する
ウェブスクリーンショットからDumpling AIとGPT-4oで製品情報を抽出
Split Out
Google Drive
Http Request
+
Split Out
Google Drive
Http Request
11 ノードYang
人工知能
Dumpling AI を使用して Google Drive から帳票データを Sheets へ抽出
Dumpling AI で Google Drive から請求データを抽出し、Sheets に保存
Code
Split Out
Google Drive
+
Code
Split Out
Google Drive
8 ノードYang
人工知能
ワークフロー情報
難易度
中級
ノード数10
カテゴリー3
ノードタイプ7
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34