👉 n8n No Limits Access :

https://www.hostg.xyz/SHHAd

Hébergement VPS n8n | Automatisation sécurisée et évolutive

coupon -15% : DRFIRAS15

👉 Formation n8n en Français

Formation n8n en Français : Automatisation & Agents IA

coupon -20% : LANCEMENT : HERE

👉 Blotato

Blotato

👉 AtlasCloud

AtlasCloud


Introduction

This course guide lets you rebuild the workflow manually, node by node. It turns two photos sent to a Telegram bot (your own selfie + a public figure) into one realistic AI selfie, then publishes it to Instagram and Facebook via Blotato, with image generation by AtlasCloud (Nano Banana 2 Lite model).

Everything is copy-paste ready: prompts, JSON, n8n expressions and scripts are inside code blocks. Follow the sections in build order.

Flow overview

Telegram Trigger
  → Collect album photos (Code)
  → Configuration (Set)
  → Get file 1 (Telegram)  → Upload image 1 (Blotato)
  → Get file 2 (Telegram)  → Upload image 2 (Blotato)
  → Generate image (HTTP AtlasCloud POST)
  → Wait
  → Get status (HTTP AtlasCloud GET)
  → Completed? (IF)
       • true  → Get image URL (Set) → Publish to Instagram + Publish to Facebook + Notify on Telegram
       • false → back to Wait (polling loop)

Prerequisites & credentials

Service Credential type Name in n8n Where to get it
Telegram telegramApi Telegram_blotato2 Create a bot with @BotFather, copy the token, paste it into the Telegram credential
AtlasCloud httpHeaderAuth AtlasCloud API Create an account on AtlasCloud, generate an API key. Name = Authorization, Value = Bearer YOUR_KEY
Blotato blotatoApi Blotato account Get the API key in Blotato, connect Instagram + Facebook

:::