FB/IG/Pinterest向けのソーシャルメディア広告画像を生成するためにGoogle Gemini Imagenを使用する

上級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、32個のノードを含みます。主にSwitch, Telegram, FormTrigger, GoogleGeminiなどのノードを使用。 Google Gemini Imagen を使用して FB/IG/Pinterest のソーシャル メディア広告画像を生成

前提条件
  • Telegram Bot Token
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "76f564ce9e1f496ea6c3533f155d5217a31a74b1b62bea30c37742947aa7de7c",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "aaaef0b0-91fd-49d6-ad8b-6703aaff5719",
      "name": "📝 フォームトリガー",
      "type": "n8n-nodes-base.formTrigger",
      "notes": "SETUP:\n1. Configure form fields as shown\n2. Copy webhook URL after saving\n3. Share URL with users\n\nNOTE: This captures user inputs for ad generation",
      "position": [
        1984,
        3184
      ],
      "webhookId": "ad-generator-form",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "84afb4ae-95b0-49fe-96b5-04a0d90c5189",
      "name": "🔀 サイズ別ルーティング",
      "type": "n8n-nodes-base.switch",
      "notes": "SETUP:\n1. Already configured with 7 dimension routes\n2. Enable 'Output All Matching' in options\n3. Each output triggers corresponding image generation\n\nNOTE: Creates separate paths for each selected dimension",
      "position": [
        2448,
        3104
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "47526ff8-0fb3-4df6-b05b-79ffe640d5e4",
      "name": "🎨 FBストーリー (1080x1920)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials as other Gemini nodes\n2. Set aspect ratio: 9:16\n3. Optimized for vertical story format\n\nNOTE: Creates vertical story-format image",
      "position": [
        3808,
        2608
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "258488d9-4aad-4357-9baa-3cc5b3bd27c2",
      "name": "🎨 IGフィード (1080x1080)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 1:1 (square)\n3. Instagram feed optimized prompt\n\nNOTE: Perfect square for IG feed posts",
      "position": [
        3808,
        2784
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c1c1fc06-3a06-4f44-a0cd-857ed17a6859",
      "name": "🎨 IGストーリー (1080x1920)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Story-optimized vertical design\n\nNOTE: Vertical format for IG Stories",
      "position": [
        3808,
        2960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f3a20164-ec38-4140-94f4-649997d3ec3a",
      "name": "🎨 IGリール (1080x1920)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Designed for Reels thumbnails\n\nNOTE: Optimized for video content covers",
      "position": [
        3808,
        3136
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aecc6084-767a-4266-b29f-bd7d771dc0f8",
      "name": "🎨 Pinterestピン (1000x1500)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 2:3\n3. Pinterest-style tall pin format\n\nNOTE: Standard Pinterest pin dimensions",
      "position": [
        3808,
        3328
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a6124726-1f33-4d3c-a5ac-b78506e7e02f",
      "name": "🎨 Pinterestストーリー (1080x1920)",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Pinterest Story format\n\nNOTE: Story-style vertical pin",
      "position": [
        3808,
        3536
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "38aa5c3d-ad0f-42a2-9605-03be9a35f3f8",
      "name": "📤 FBフィード送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Create Telegram bot via @BotFather\n2. Add bot token to credentials\n3. Get your chat ID (message bot, use /getUpdates)\n4. Add chat ID to node settings\n\nNOTE: Sends generated image with caption",
      "position": [
        4416,
        2448
      ],
      "webhookId": "f5a5a886-8808-4fc6-a0c8-ea698f9ca400",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "02845408-b1d4-435f-ab74-1c2a03ed2750",
      "name": "📤 FBストーリー送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same Telegram credentials as above\n2. Same chat ID\n3. Caption includes format details\n\nNOTE: Delivers story format image",
      "position": [
        4416,
        2640
      ],
      "webhookId": "0b185df3-d19d-47f6-8e23-e6f9945d6780",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e734a918-9a5d-4739-a776-cfb48cac30a5",
      "name": "📤 IGフィード送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same credentials\n2. Optimized caption for IG\n\nNOTE: Square format delivery",
      "position": [
        4416,
        2816
      ],
      "webhookId": "0cf63f18-ee84-495b-89b7-9259682a435b",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "546d7d2d-7b70-44a6-95c7-ef38c812cfbb",
      "name": "📤 IGストーリー送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same credentials\n2. Story format caption\n\nNOTE: Vertical story delivery",
      "position": [
        4416,
        2992
      ],
      "webhookId": "807c9284-2f35-4240-87eb-d0575214c3af",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "196fce88-de69-4981-9e1e-f6ac71937a39",
      "name": "📤 IGリール送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same credentials\n2. Reel-optimized caption\n\nNOTE: Video thumbnail format",
      "position": [
        4416,
        3168
      ],
      "webhookId": "3763612a-45e8-4359-bf79-5e173c861035",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7dcda54a-0b8b-4c96-8db8-278c4756b2cb",
      "name": "📤 Pinterestピン送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same credentials\n2. Pinterest-specific caption\n\nNOTE: Tall pin format delivery",
      "position": [
        4416,
        3360
      ],
      "webhookId": "b005a861-9d93-4f51-9b6c-b012a8da2660",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "23412497-82b7-40b0-b771-8a07025f9a90",
      "name": "📤 Pinterestストーリー送信",
      "type": "n8n-nodes-base.telegram",
      "notes": "SETUP:\n1. Same credentials\n2. Story pin caption\n\nNOTE: Pinterest story format delivery",
      "position": [
        4416,
        3568
      ],
      "webhookId": "324fc16a-4773-47d6-ad7a-d0e0960abaec",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f1bdc137-2329-40ee-b94c-4e06e1e2deef",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3040,
        3856
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bb933707-d815-46f0-875b-cd79da792075",
      "name": "付箋12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3424,
        3856
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a239af9e-576d-4f5c-8816-2f49af15618f",
      "name": "付箋13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3792,
        3872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "64819d3c-966a-40cf-adb9-97cebc83e83b",
      "name": "付箋14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4288,
        3872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bdd2def6-7bd6-47a9-b40a-7a13dc484419",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2208,
        1872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "83bd0934-4e29-43fe-989f-7773d116220e",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1808,
        1872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "09edeec4-f1f5-43a4-a4da-b8ef21f76dba",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1872,
        2752
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "22b11177-7f4b-4f93-9c97-0ffaf72978cf",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2336,
        2592
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "acb37246-3c0c-4b35-95ef-b375aa7b3793",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        1984
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aa6c9cd5-315f-4742-b169-b5dbb8f5397f",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4272,
        1808
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "28b4450d-1ecf-4c5c-b8f4-66614e114263",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        1872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fb806e42-f2f8-41a9-8b97-b143e4905b1d",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2960,
        1872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "189632b7-00f9-47fc-8238-00830a6ad34f",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        3856
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "84c3ca48-d584-452d-a739-f1681a241ea5",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2288,
        3856
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e3d4dab2-8905-4c7d-8e45-f039ebcac00e",
      "name": "付箋10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2672,
        3856
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "066a9ea7-d59d-4970-a476-cf855c5e58bb",
      "name": "🎨 FBフィード (1200x630) -gemini",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "notes": "SETUP:\n1. Add Google Gemini API credentials\n2. Select model: imagen-3.0-generate-001\n3. Set aspect ratio: 16:9\n4. Prompt auto-populates from form data\n\nNOTE: Generates landscape image for FB Feed",
      "position": [
        3808,
        2464
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "52d0b9bd-aea3-469a-a44e-3b4bf0c04f20",
      "name": "付箋15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        1680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "aaaef0b0-91fd-49d6-ad8b-6703aaff5719": {
      "main": [
        [
          {
            "node": "84afb4ae-95b0-49fe-96b5-04a0d90c5189",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "258488d9-4aad-4357-9baa-3cc5b3bd27c2": {
      "main": [
        [
          {
            "node": "e734a918-9a5d-4739-a776-cfb48cac30a5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f3a20164-ec38-4140-94f4-649997d3ec3a": {
      "main": [
        [
          {
            "node": "196fce88-de69-4981-9e1e-f6ac71937a39",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "84afb4ae-95b0-49fe-96b5-04a0d90c5189": {
      "main": [
        [
          {
            "node": "066a9ea7-d59d-4970-a476-cf855c5e58bb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "47526ff8-0fb3-4df6-b05b-79ffe640d5e4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "258488d9-4aad-4357-9baa-3cc5b3bd27c2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c1c1fc06-3a06-4f44-a0cd-857ed17a6859",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f3a20164-ec38-4140-94f4-649997d3ec3a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "aecc6084-767a-4266-b29f-bd7d771dc0f8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a6124726-1f33-4d3c-a5ac-b78506e7e02f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "47526ff8-0fb3-4df6-b05b-79ffe640d5e4": {
      "main": [
        [
          {
            "node": "02845408-b1d4-435f-ab74-1c2a03ed2750",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c1c1fc06-3a06-4f44-a0cd-857ed17a6859": {
      "main": [
        [
          {
            "node": "546d7d2d-7b70-44a6-95c7-ef38c812cfbb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aecc6084-767a-4266-b29f-bd7d771dc0f8": {
      "main": [
        [
          {
            "node": "7dcda54a-0b8b-4c96-8db8-278c4756b2cb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "066a9ea7-d59d-4970-a476-cf855c5e58bb": {
      "main": [
        [
          {
            "node": "38aa5c3d-ad0f-42a2-9605-03be9a35f3f8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a6124726-1f33-4d3c-a5ac-b78506e7e02f": {
      "main": [
        [
          {
            "node": "23412497-82b7-40b0-b771-8a07025f9a90",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - コンテンツ作成, マルチモーダルAI

有料ですか?

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

関連ワークフロー

Webスクレイピングを使用してGeminiとIdeogram AIでFB、IG、Pinterest向けのソーシャルメディア広告を生成する
Gemini と Ideogram AI を使用したウェブサイト スクレイピングにより、FB、IG、Pinterest のソーシャル メディア広告を生成します
Set
Slack
Switch
+
Set
Slack
Switch
38 ノードMalik Hashir
コンテンツ作成
トランプ氏のTruth Socialを自動監視し、TelegramとDiscordへアラート
トランプの Truth Social 監視を Telegram と Discord アラートと自動化
If
Code
Limit
+
If
Code
Limit
16 ノードMalik Hashir
コンテンツ作成
RapidAPIを使って経済カレンダーのPDFレポートをTelegramに自動送信
RapidAPIを使用した経済カレンダーPDFレポートをTelegramに自動送信
Set
Code
Telegram
+
Set
Code
Telegram
19 ノードMalik Hashir
コンテンツ作成
Gemini 2.5 ProとTwelveDataを使ってTelegramボットから株式取引シグナルを生成
Telegram ボットを使用して Gemini 2.5 Pro と TwelveData を用いて株式取引シグナルを生成
Set
Code
Wait
+
Set
Code
Wait
36 ノードMalik Hashir
コンテンツ作成
成分分析
TelegramとGemini 2.5 Flashを使用して製品の成分写真を分析する
If
Switch
Telegram
+
If
Switch
Telegram
17 ノードParth Pansuriya
コンテンツ作成
Google Gemini (BANT) を使用したリーダーポテンシャル資格設定とマルチチャネルフォローアップの自動化
Google Gemini (BANT) を使用したリードの自動クオリフィケーションとマルチチャネルフォローアップ
Set
Form
Gmail
+
Set
Form
Gmail
19 ノードLucas Peyrin
コンテンツ作成
ワークフロー情報
難易度
上級
ノード数32
カテゴリー2
ノードタイプ5
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34