🎬 Enhance & expand Telegram images to 3:2 with CodeFormer & LightX AI

⚑ 49 views · 🎬 Content Creation & Video

Description

πŸš€ Automatically enhance and expand Telegram images with AI

This n8n workflow turns your Telegram bot into a powerful AI photo enhancer!
Whether users send a photo or a link, it processes the image by:

  1. πŸ“₯ Receiving the input (photo or link)
  2. 🧠 Upscaling quality using Replicate’s CodeFormer
  3. πŸ“ Analyzing image dimensions and calculating paddings to fit the 3:2 ratio
  4. πŸ–ΌοΈ Expanding the image contextually with LightX AI
  5. ☁️ Uploading the result to S3
  6. πŸ”— Sending back a public URL to the user in Telegram

πŸ‘₯ Who is it for?


πŸ› οΈ Setup Requirements


πŸ”§ How to customize


πŸ’‘ Tips


🌍 Languages

The main sticky note can be localized β€” feel free to swap it for your audience!


πŸ”— Nodes Used

HTTP Request, Telegram, Telegram Trigger, AWS S3

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup