Telegram-zu-Nano-Banana-Workflow

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 15 Nodes. Hauptsächlich werden If, Wait, Telegram, GoogleDrive, HttpRequest und andere Nodes verwendet. Immobilienfotos mit Google Nano Banana AI über einen Telegram-Bot verbessern

Voraussetzungen
  • Telegram Bot Token
  • Google Drive API-Anmeldedaten
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "yo4uYVB632LSnvSU",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "name": "Telegram to Nano Banana Workflow",
  "tags": [],
  "nodes": [
    {
      "id": "7c24c0ee-5f38-4bba-92e6-d1d01e436581",
      "name": "Nano Banana POST-Anfrage",
      "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 Sekunden warten",
      "type": "n8n-nodes-base.wait",
      "position": [
        608,
        0
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "50fb891b-0525-4df6-9dfd-37b1e6eddf36",
      "name": "Ergebnis von Nano Banana Node abrufen",
      "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": "Wenn",
      "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": "Nochmal 15 Sekunden warten",
      "type": "n8n-nodes-base.wait",
      "position": [
        1136,
        176
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "a9c30d3e-a5ee-4d4c-bea2-dda831661fb1",
      "name": "Notizzettel",
      "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": "Notizzettel1",
      "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": "Notizzettel2",
      "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": "Notizzettel3",
      "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-Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -368,
        16
      ],
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "f97b1dbe-7641-4041-b481-d6437a535c71",
      "name": "Datei abrufen",
      "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": "Datei hochladen",
      "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": "Notizzettel4",
      "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": "Foto-Nachricht senden",
      "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": "Notizzettel5",
      "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
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "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
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes15
Kategorie2
Node-Typen7
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
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

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34