TelegramからNano Bananaワークフロー

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、15個のノードを含みます。主にIf, Wait, Telegram, GoogleDrive, HttpRequestなどのノードを使用。 Telegramボット経由でGoogle Nano Banana AIを使って不動産写真を強化

前提条件
  • Telegram Bot Token
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "yo4uYVB632LSnvSU",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "name": "Telegram to Nano Banana Workflow",
  "tags": [],
  "nodes": [
    {
      "id": "7c24c0ee-5f38-4bba-92e6-d1d01e436581",
      "name": "Nano Banana POSTリクエスト",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        336,
        16
      ],
      "parameters": {
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana/edit",
        "method": "POST",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "jsonBody": "={\n  \"enable_base64_output\": false,\n  \"enable_sync_mode\": false,\n  \"images\": [\n    \"{{ $json.webContentLink }}\"\n  ],\n  \"output_format\": \"jpeg\",\n  \"prompt\": \"Enhance this apartment photo to make it appealing for real-estate listing. Brighten the overall lighting and create a warm, inviting atmosphere. Improve color balance, contrast, and sharpness to highlight the space. Tidy up and declutter visible items (e.g., remove small messes, smooth out wrinkles on furniture, clear counters). Add natural daylight tones through the windows and enhance shadows for depth. Do not alter permanent fixtures such as flooring, walls, windows, doors, or built-in cabinetry. Keep the original layout intact but ensure the space looks clean, modern, and move-in ready.\"\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "1f3805fc-c2d2-4b48-a340-7dafa0b0379f",
      "name": "15秒待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        608,
        0
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "50fb891b-0525-4df6-9dfd-37b1e6eddf36",
      "name": "Nano Bananaノードから結果を取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        864,
        0
      ],
      "parameters": {
        "url": "=https://api.wavespeed.ai/api/v3/predictions/{{ $json.data.id }}/result",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "25f5c3eb-ae6b-4df1-8c1e-7e555e2869f3",
      "name": "条件分岐",
      "type": "n8n-nodes-base.if",
      "position": [
        1072,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "b84517df-a71f-4e28-b744-35bb1e55b85f",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.data.status }}",
              "rightValue": "completed"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "6969741a-716f-4db3-98ac-2c5fefba0a69",
      "name": "さらに15秒待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        1136,
        176
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "a9c30d3e-a5ee-4d4c-bea2-dda831661fb1",
      "name": "付箋ノート",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -288
      ],
      "parameters": {
        "color": 3,
        "width": 304,
        "height": 800,
        "content": "Get Image and Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "b1005b6a-4a02-4734-989f-892ac418fa8a",
      "name": "付箋ノート1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -288
      ],
      "parameters": {
        "color": 4,
        "width": 784,
        "height": 800,
        "content": "Get Results from Nano Banana"
      },
      "typeVersion": 1
    },
    {
      "id": "c5ec9b6b-812d-4baf-ad63-d9e43035edbb",
      "name": "付箋ノート2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        -288
      ],
      "parameters": {
        "color": 5,
        "height": 800,
        "content": "Telegram Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "63fd933d-4aa0-466d-8a56-6eba6613ed3f",
      "name": "付箋ノート3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -288
      ],
      "parameters": {
        "width": 384,
        "height": 800,
        "content": "Download from Telegram"
      },
      "typeVersion": 1
    },
    {
      "id": "5fd8202f-6bbe-4568-a4ac-7c5153b51b1c",
      "name": "Telegramトリガー",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -368,
        16
      ],
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "f97b1dbe-7641-4041-b481-d6437a535c71",
      "name": "ファイルを取得",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -128,
        16
      ],
      "parameters": {
        "fileId": "={{ $json.message.photo[3].file_id }}",
        "resource": "file",
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "b191aac9-9a9b-407f-a02e-d448fed08e4d",
      "name": "ファイルをアップロード",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        80,
        16
      ],
      "parameters": {
        "name": "Image",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "478dedf1-4436-424f-a3bf-2b36853fc61a",
      "name": "付箋ノート4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        -288
      ],
      "parameters": {
        "width": 336,
        "height": 800,
        "content": "POST Request to Nano Banana"
      },
      "typeVersion": 1
    },
    {
      "id": "a2acb7ab-2d20-4d05-879b-e6c432c4569c",
      "name": "写真メッセージを送信",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1424,
        -16
      ],
      "parameters": {
        "file": "={{ $json.data.outputs[0] }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
        "operation": "sendPhoto",
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "3d2e0dd0-6fd0-4706-bb0c-1d8716294f23",
      "name": "付箋ノート5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        -304
      ],
      "parameters": {
        "width": 720,
        "height": 1072,
        "content": "🤖 Telegram Image Editor with Nano Banana\n\nSend an image to your Telegram bot, and this workflow will automatically enhance it with Google’s Nano Banana (via Wavespeed API), then return the polished version back to the same chat—seamlessly.\n\n👉 Watch step-by-step video tutorials of workflows like these on www.youtube.com/@automatewithmarc\n\nWhat it does\n\nListens on Telegram for incoming photo messages\n\nDownloads the file sent by the user\n\nUploads it to Google Drive (temporary storage for processing)\n\nSends the image to Nano Banana API with a real-estate style cleanup + enhancement prompt\n\nPolls until the job is complete (handles async processing)\n\nReturns the edited image back to the same Telegram chat\n\nPerfect for\n\nReal-estate agents previewing polished property photos instantly\n\nSocial media managers editing on-the-fly from Telegram\n\nAnyone who wants “send → cleaned → returned” image flow without manual edits\n\nApps & Services\n\nTelegram Bot API (Trigger + Send/Receive files)\n\nGoogle Drive (Temporary file storage)\n\nWavespeed / Google Nano Banana (AI-powered image editing)\n\nSetup\n\nConnect your Telegram Bot API token in n8n.\n\nAdd your Wavespeed API key for Nano Banana.\n\nLink your Google Drive account (temporary storage).\n\nDeploy the workflow and send a test photo to your Telegram bot.\n\nCustomization\n\nAdjust the Nano Banana prompt for different styles (e.g., ecommerce cleanup, portrait retouching, color correction).\n\nReplace Google Drive with another storage service if preferred.\n\nAdd logging to Google Sheets or Airtable to track edits."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a4042770-302d-44b7-8d75-3178a190b8c9",
  "connections": {
    "25f5c3eb-ae6b-4df1-8c1e-7e555e2869f3": {
      "main": [
        [
          {
            "node": "a2acb7ab-2d20-4d05-879b-e6c432c4569c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6969741a-716f-4db3-98ac-2c5fefba0a69",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f97b1dbe-7641-4041-b481-d6437a535c71": {
      "main": [
        [
          {
            "node": "b191aac9-9a9b-407f-a02e-d448fed08e4d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b191aac9-9a9b-407f-a02e-d448fed08e4d": {
      "main": [
        [
          {
            "node": "7c24c0ee-5f38-4bba-92e6-d1d01e436581",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1f3805fc-c2d2-4b48-a340-7dafa0b0379f": {
      "main": [
        [
          {
            "node": "50fb891b-0525-4df6-9dfd-37b1e6eddf36",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5fd8202f-6bbe-4568-a4ac-7c5153b51b1c": {
      "main": [
        [
          {
            "node": "f97b1dbe-7641-4041-b481-d6437a535c71",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6969741a-716f-4db3-98ac-2c5fefba0a69": {
      "main": [
        [
          {
            "node": "50fb891b-0525-4df6-9dfd-37b1e6eddf36",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7c24c0ee-5f38-4bba-92e6-d1d01e436581": {
      "main": [
        [
          {
            "node": "1f3805fc-c2d2-4b48-a340-7dafa0b0379f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50fb891b-0525-4df6-9dfd-37b1e6eddf36": {
      "main": [
        [
          {
            "node": "25f5c3eb-ae6b-4df1-8c1e-7e555e2869f3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

関連ワークフロー

ワークフロー情報
難易度
中級
ノード数15
カテゴリー2
ノードタイプ7
難易度説明

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

作成者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34