Templates / Batch Ad Banner Generator with gpt-image-2 and Sharp

Batch Ad Banner Generator with gpt-image-2 and Sharp

Ready for 3.0

by Leo Wood · 53 views · created 2026-05-20 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (6)

Google SheetsGoogle DriveOpenAI

What it does

- This workflow automates batch ad banner production from existing source images. - It is designed for teams that already store campaign source images in Google Drive and want to generate multiple ad formats such as 300x250, 728x90, 160x600, 320x100, 300x50, and 970x250. - The workflow uses Google Sheets as the job queue. Each row contains the source Google Drive file ID, edit instruction, headline, CTA, target banner sizes, and output folder ID. n8n downloads the source image from Google Drive, passes it to the native OpenAI Edit Image node for optional refinement, then uses a Code node with sharp to crop and resize the image into exact pixel dimensions. The generated banners are uploaded back to Google Drive, and the workflow updates the original Google Sheets row with output links, file names, timestamp, and status. - This approach avoids asking an image model to generate every ad size directly. The model handles the creative refinement, while sharp handles deterministic resizing and exact banner dimensions.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.