Kütüphane / Görüntü, Video ve Ses
Görüntü, Video ve Ses
LassoCut ve Google Sheets ile Google Drive fotoğraflarının arka planlarını kaldır
Bir Google Drive giriş klasörünü izler, yeni JPG, PNG ve WebP fotoğraflarının arka planlarını LassoCut ile kaldırır, kesilmiş görselleri kaydeder ve her sonucu Google Sheets'e kaydeder.
Ne yapar
## Google Drive photo inbox: remove backgrounds and log results in Google Sheets with LassoCut ### Who it's for E-commerce teams, photographers and marketers who drop product or portrait photos into a Google Drive folder and want clean cut-outs plus a log of what was done, without opening an image editor. ### How it works 1. New photo in the input folder checks the folder every minute. Run now lists the files already there, so you can process a backlog. 2. Keep images under 22 MB keeps JPG, PNG and WebP files and skips anything above the API limit. 3. Loop over files handles one photo at a time: download, Remove background with LassoCut, then Save the cut-out as -cutout.png in the output folder. 4. The original moves to the done folder and a row is added to your Google Sheet: date, file name, links, credits charged, width, height and detected subject type. 5. If the download, the cut-out or the upload fails (unreadable file, no credits left...), the original moves to the failed folder, the error is logged and the loop goes on. 6. Build run summary counts processed and failed photos and the credits used. ### Setup 1. Install the verified community node n8n-nodes-lassocut (Settings > Community nodes). 2. Create a free account at https://www.lassocut.com and add your API key as a LassoCut API credential. 3. Add a Google Drive OAuth2 credential on the trigger and the Drive nodes, and a Google Sheets OAuth2 credential on Append row to the log sheet. 4. Create four Drive folders (input, output, done, failed) and an empty Google Sheet with a tab named Log (headers are added on the first run). Paste their URLs in Settings and pick the same input folder in the trigger. 5. Set size to preview for a free test, click Run now, then publish the workflow. ### Requirements - Google Drive and Google Sheets. - A LassoCut account. Free accounts get 50 previews a month (up to 10 a day). A full-size result costs 1 credit. Credit packs start at $9 for 100 credits, and credits never expire. ### How to customise - Settings: background colour (empty = transparent, ffffff = white), size, format (png, jpg, webp) and size limit. - Set Subject Type or Crop to Subject in the LassoCut node options. - Send the run summary to Slack or Gmail. ### Disclosure Built by the founder of LassoCut, who maintains the n8n-nodes-lassocut node.
Adımlar
- New photo in the input folder
- Run now
- Settings
- Started by a new file?
- List files in the input folder
- Keep images under 22 MB
- Loop over files
- Download the photo
- Remove background with LassoCut
- Save the cut-out
- Move original to done folder
- Log row: processed
- Capture the error
- Move original to failed folder
Toplam 17 adım.
Benzer otomasyonlar
Görüntü, Video ve SesCreate narrated Google Slides videos with Gemini TTS, Shotstack, Slack, and Drive55 adımGörüntü, Video ve SesGoogle Drive'daki görsellerin arka planını kaldırma35 adımGörüntü, Video ve SesGoogle Drive'da Görsel Arka Planlarını Otomatik Kaldırma12 adımGörüntü, Video ve SesOpenAI gpt-image-1 ile Görsel Üretme, Drive ve Sheets'e Kaydetme12 adım