Create Stylized Product Photography with Airtable & Gemini Nano Banana
This workflow automates the process of generating stylized product photos for e-commerce by combining real product shots with creative templates. It enables the creation of a complete set of images for an SKU from a single product photo and a set of reusable templates. The workflow uses Google Gemini (Nano Banana) for image editing and Airtable as the data source.
Example use case. An apparel brand can use this workflow to turn plain product photos (e.g., socks on a white background) into lifestyle images that match their brand aesthetic. By combining each product photo with predefined templates and reference images, the workflow generates a variety of stylized results automatically - ready for marketing or online stores.
How it works
This workflow expects the following Airtable table setup: "Product Images"** - contains original product photos, one per record. "Reference Images"** - contains reference images for templates, one per record. "Templates"** - contains reusable generation templates. Each template includes a text prompt and up to three reference images. "Jobs"** - contains batch generation jobs. Each job references multiple product images and multiple templates. "Results"** - contains the generated outputs. Each result includes a generated image, references to the job, product image, and template, and a status field (pending, approved, rejected).
The workflow is triggered by a webhook that receives a job ID from Airtable. It then: Fetches the job record. Retrieves the associated product images and templates (each with its text prompt and reference images). Downloads all required product and reference images. For each product-template combination, sends these images and the prompt to Google Gemini to generate new AI-edited images. Saves the generated images back into Airtable.
NOTE: A separate workflow should handle the human-in-the-loop approval process and any regeneration of rejected results.
Requirements Airtable Personal Access Token Google Gemini API key
Setup Ensure all required Airtable tables exist. Configure parameters in the parameters node: Set Airtable Base ID Set ID of the attachment field in the "Results" table (where the generated images will be uploaded) Configure credentials for all Airtable nodes. Set Google Gemini API key for the "Generate..." nodes.
Related Templates
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
Bulk Automated Google Drive Files Sharing and Direct Download Link Generation
This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch pro...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments