Flujo de trabajo de Telegram a Nano Banana
Este es unContent Creation, Multimodal AIflujo de automatización del dominio deautomatización que contiene 15 nodos.Utiliza principalmente nodos como If, Wait, Telegram, GoogleDrive, HttpRequest. a través deTelegrambotusoGoogle Nano Banana AI增强房地产照片
- •Bot Token de Telegram
- •Credenciales de API de Google Drive
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (15)
Categoría
{
"id": "yo4uYVB632LSnvSU",
"meta": {
"templateCredsSetupCompleted": false
},
"name": "Telegram to Nano Banana Workflow",
"tags": [],
"nodes": [
{
"id": "7c24c0ee-5f38-4bba-92e6-d1d01e436581",
"name": "Solicitud POST a Nano Banana",
"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": "Esperar 15 segundos",
"type": "n8n-nodes-base.wait",
"position": [
608,
0
],
"parameters": {
"amount": 15
},
"typeVersion": 1.1
},
{
"id": "50fb891b-0525-4df6-9dfd-37b1e6eddf36",
"name": "Obtener resultado del nodo 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": "Si",
"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": "Esperar 15 segundos nuevamente",
"type": "n8n-nodes-base.wait",
"position": [
1136,
176
],
"parameters": {
"amount": 15
},
"typeVersion": 1.1
},
{
"id": "a9c30d3e-a5ee-4d4c-bea2-dda831661fb1",
"name": "Nota adhesiva",
"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": "Nota adhesiva1",
"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": "Nota adhesiva2",
"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": "Nota adhesiva3",
"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": "Disparador de Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-368,
16
],
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"typeVersion": 1.2
},
{
"id": "f97b1dbe-7641-4041-b481-d6437a535c71",
"name": "Obtener un archivo",
"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": "Subir archivo",
"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": "Nota adhesiva4",
"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": "Enviar mensaje con foto",
"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": "Nota adhesiva5",
"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
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Creación de contenido, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Automate With Marc
@marconiAutomating 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
Compartir este flujo de trabajo