Templates / Generate product photos and videos from a reference image with OpenAI and RunwayML

Generate product photos and videos from a reference image with OpenAI and RunwayML

Needs changes

by Jason Stelo ✓ · 582 views · created 2026-03-20 · 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 to replace before upgrading

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

Nodes used (9)

AI AgentOpenAI Chat ModelGoogle DriveGmail

What it does

What This Workflow Does A user submits a form with an existing product photo, a name, a vision prompt, and their email. The workflow generates a brand-new AI product image from that photo, turns it into a short marketing video, and emails both back to the user — fully automated after submission. How It Flows The form submission kicks things off. The original photo is saved to Google Drive as a backup, then GPT-4.1 takes the user's vision prompt and rewrites it into a professional image generation prompt. That prompt plus the original photo go to OpenAI's image editor (gpt-image-1) to produce a new AI-generated product image. That image gets uploaded to ImgBB to create a public URL, which is then handed off to RunwayML to render a product marketing video. Because video rendering takes time, the workflow checks back every 30 seconds until it's done. Once complete, Gmail sends the user a link to the photo and the video. Credentials to Swap In -OpenAI — HTTP Header Auth. Header name: Authorization. Value: Bearer YOUROPENAIAPIKEY. Connect this to the Chat GPT 4.1 node and the OpenAi Create Image node. -Google Drive — Google Drive OAuth2. Authorize via the OAuth flow in n8n, then open the Upload to Google Drive node and update the Folder ID to your own Drive folder. You can find the folder ID in the URL when you open the folder in Google Drive. -ImgBB — HTTP Query Auth. Parameter name: key. Value: YOURIMGBBAPIKEY. Free account at imgbb.com. Connect to the Get URL node. -RunwayML — HTTP Header Auth. Header name: Authorization. Value: Bearer YOURRUNWAYMLAPIKEY. Connect this to both the Create Video node and the HTTP Request polling node. -Gmail — Gmail OAuth2. Authorize via the OAuth flow in n8n. The email will send from whichever Google account you connect. Connect to the Send a Message node. One Thing to Know Do not change the X-Runway-Version header inside the RunwayML nodes. It must stay set to 2024-11-06 or the API call will fail. Also make sure your OpenAI account has image generation access enabled — gpt-image-1 requires it and you can verify this at platform.openai.com.

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.