Templates / Generate multiple T-shirt design prompts from images with GPT-4o

Generate multiple T-shirt design prompts from images with GPT-4o

Needs changes

by AiAgent ✓ · 770 views · created 2025-04-04 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs on Local File events. Along the way it connects OpenAI Chat Model and OpenAI.

How it runs

Trigger: On Local File events.

  1. Converter (Code): runs custom JavaScript code
  2. Get Image From File (Read/Write Files from Disk): reads a file from disk
  3. Analyze Image (OpenAI): uses OpenAI
  4. Prompt/Text Generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  5. Convert To Text (Convert to File): converts data to a file
  6. Save To File (Read/Write Files from Disk): reads a file from disk

Services it uses

OpenAI Chat ModelOpenAI

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Prompt/Text Generator (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Prompt/Text Generator (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

Quick overview This powerful workflow eliminates hours of trial and error when trying to craft the perfect prompt for AI-generated images. How it works 1. Once you find an image or design that perfectly matches the style you’re aiming for, the rest of the…

Excerpt from AiAgent's description on n8n.io.

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.