You’re a small business owner with a great product but zero budget for professional marketing materials. Every photo you take looks amateur, every video feels flat, and hiring a creative agency costs thousands.
What if I told you there’s a way to transform any basic product photo into stunning professional marketing materials—complete with product videos—in just minutes?
Today, I’ll walk you through building an AI automation system that does exactly that.
N8N Free Access for 14 days “JOIN NOW“
What You’ll Build Today
By the end of this tutorial, you’ll have a complete automated workflow that:
- Takes a simple product photo and description from a form
- Creates stunning product marketing videos
- Delivers everything via email automatically
Let’s dive in.
Step 1 : Creating the Form Interface
- Open your N8N workflow editor
- Add a new “Form Trigger” node from the triggers section
- Configure your form with these settings:
- Form Title: “Go to Market”
- Form Description: “Give us a product photo, title, and description, and we’ll get back to you with professional marketing materials.”
Adding Form Fields
Your form needs exactly four fields to capture everything required:
Field 1 – Product Photo:
- Type: File upload
- Required: Yes
- Multiple files: No
- Field name: “product photo”
Field 2 – Product Title:
- Type: Text
- Required: Yes
- Placeholder: “toothpaste” (as example)
- Field name: “product title”
Field 3 – Product Description:
- Type: Text
- Required: Yes
- Field name: “product description”
Field 4 – Email Address:
- Type: Email validation
- Required: Yes
- Placeholder: “name@example.com”
- Field name: “email”
Step 2: Upload Original Image to Google Drive
Before we can process the image, we need to store it somewhere accessible. Google Drive serves as our temporary storage solution.
Setting Up Google Drive Integration
- Add a “Google Drive” node after your form trigger
- Choose “Upload File” as the operation
- Connect your Google Drive account (you’ll need to set up API credentials)
Configuring the Upload
- File to upload: Select “product photo” from your form data
- File name: Use an expression: {{$node[“Form Trigger”].json[“product title”]}} (original)
- Destination folder: Create a folder called “product creatives”
This dynamic naming ensures each uploaded file is clearly labeled with the product name plus “(original)” for easy identification.
Step 3: Generate Professional Image Prompt with AI
Raw product descriptions don’t make good image generation prompts. We need AI to transform user input into professional photography instructions.
Setting Up the AI Agent
- Add an “AI Agent” node
- Configure it with OpenRouter (or your preferred AI service)
- Add a system message with your professional photography prompt template
User Message
- Configure the user message as an expression that pulls from your form:
- Product: {{$node[“Form Trigger”].json[“product title”]}}
- Description: {{$node[“Form Trigger”].json[“product description”]}}
- This ensures the AI gets fresh product information with each form submission and creates customized prompts accordingly.
System Prompt
# Overview
You are a world-class marketing strategist and an expert text-to-image prompt engineer specializing in creating hyper-realistic, high-quality product photography prompts for AI image generation models.
## Your Objective:
When given a product description, your task is to craft a detailed, professional prompt that results in a hyper-realistic, clean, and visually stunning product image suitable for marketing material, advertising campaigns, or e-commerce platforms.
## Key Requirements:
- Focus on hyper-realistic, professional studio photography.
- Maintain a clean, minimalistic, and elegant visual style.
- Highlight the product as the main subject with sharp detail and perfect lighting.
- Use backgrounds that complement but do not overpower the product (e.g., soft gradient, light-colored, or pure white).
- Include professional lighting details such as "softbox lighting", "studio lights", or "natural soft shadows".
- Emphasize realism, texture, and color accuracy.
- Maintain a high-end, premium look and feel.
- If applicable, suggest a subtle setting that enhances the product's story (e.g., a luxury kitchen counter for a high-end blender).
## Output Format:
- Write a single text-to-image prompt optimized for a professional AI image model.
- Be direct and descriptive without using excessive words.
- Avoid unnecessary repetition or adjectives that do not enhance the image quality.
- Ensure the prompt is complete and ready for direct input into an AI model.
## Tone:
Professional, precise, clean, and optimized for maximum realism and marketing impact.
# Example Input:
"A premium wireless Bluetooth speaker in matte black, cylindrical shape, modern design."
# Example Output:
"Hyper-realistic product photo of a premium matte black wireless Bluetooth speaker with a cylindrical modern design, centered on a clean white studio background, softbox lighting with natural shadows, sharp focus on texture and material, minimalistic, professional advertising shot."
Step 4: Download the Original Image
To send the original photo to the image generation API, we need to download it from Google Drive in binary format.
Setting Up the Download
- Add another “Google Drive” node
- Choose “Download File” as the operation
- Select “By ID” for file identification
- Reference the file ID from your previous upload step
This step converts your stored image back into binary data that can be processed by image generation APIs.
Step 5: Create Public Image URL
Video generation services need publicly accessible image URLs, not binary data. We’ll use a free image hosting service to solve this.
Setting Up ImageBB Integration
- Create a free account at ImageBB.com
- Get your API key from the dashboard
- Add an HTTP request node configured for ImageBB’s upload endpoint
Uploading Your Image
- Method: POST
- Endpoint: ImageBB upload URL with your API key
- URL : https://api.dev.runwayml.com/v1/image_to_video
The service returns multiple URL formats—use the standard “url” field for the best balance of quality and loading speed.
Step 7: Generate Professional Marketing Video
Transform your polished image into an engaging 3D rotating video using Runway’s AI video generation.
Configuring Runway API
- Get your Runway API key from their dashboard
- Add an HTTP request node
- Import their curl command for “generate video from image”
Video Generation Settings
Configure your request with:
- Image URL: The public URL from ImageBB
- Model: “gen-4-turbo”
- Duration: 10 seconds (50 cents vs 25 cents for 5 seconds)
Prompt :
Create a highly professional marketing video from the provided product photo. Simulate a smooth, realistic product, as if the product is slowly rotating in place. The movement should be continuous, slow, and elegant — no sudden pans, jerks, or camera cuts. Always keep the entire product fully in frame, centered, and clearly visible at all times. Avoid zooming in or cropping. Focus on a premium, clean, and modern aesthetic that feels suitable for commercial marketing materials. No flashy effects, transitions, or overlays
- Ratio: 960×960 (square format works best)
Important Headers
Don’t forget the required version header: x-runway-version with the current API version number.
Step 8: Set Up Video Processing Polling
Video generation isn’t instant. You need a polling system to check when your video is ready.
Creating the Polling Flow
- Add another HTTP request to check task status using Runway’s get task endpoint
- Add an “IF” condition node to check if status equals “RUNNING”
- Create a loop: If still running, wait 5 seconds and check again
- Continue checking until status changes to “SUCCEEDED”
Optimizing Wait Times
Start with a 60-second initial wait, then check every 5 seconds. This reduces the number of API calls while ensuring prompt delivery when the video is ready.
Step 9: Send Professional Marketing Materials
Once everything is generated, automatically deliver the results to your customer.
Setting Up Gmail Integration
- Add a Gmail node for sending messages
- Configure it to send to the email address from your original form
- Create a professional email template
Email Content Structure
Your email should include:
- Subject: “Marketing Materials: [Product Name]”
- Body: Professional message with direct links to both the enhanced image and the marketing video
Hey!
Here is your photo: {{ $('Get URL').item.json.data.url }}
Here is your video: {{ $json.output[0] }}
Cheers!
- Links: Use the public URLs from your generation steps
Final Verdict
You’ve just built something remarkable—an AI-powered system that generates product advertising videos.
This automation isn’t just about saving money; it’s about removing barriers. Small businesses can now compete with enterprise brands on visual quality. Entrepreneurs can test product concepts without massive upfront creative costs. The playing field just got a lot more level.
The technology we use today , AI image generation, automated video creation, represents just the beginning. As these tools become more powerful and accessible, the businesses that adopt them early will have significant competitive advantages.
And once you see what’s possible here, it sparks a bigger question: what else can AI take off for you?
That curiosity pushed me to build something new ; an AI Newsletter Agent that reads the web for me.