Use Case

AI UGC Videos for E-commerce

Product photography is expensive. Product video is even worse. Multiply that by hundreds of SKUs and you have a budget problem that never goes away. agent-media generates UGC-style product videos from your terminal. Feed it a script and a product image, pick an actor, and get a finished video in minutes. $3 per video. No photographer, no studio, no editing. See pricing.

The Problem: Video for Every SKU

Online stores live and die by conversion rate. Static product images convert okay. Product videos convert 80% better, according to multiple Shopify case studies. But producing a unique video for each product in your catalog? That is a logistics nightmare.

A single product video from a freelancer costs $200 to $800. A typical Shopify store with 50 to 200 SKUs would spend $10,000 to $160,000 just to cover the catalog. Most stores skip video entirely. They lose conversions every day because they cannot afford the production cost.

Seasonal drops make it worse. New products need video on launch day, not two weeks later when the freelancer delivers. Black Friday, holiday collections, flash sales. Every new product needs content immediately.

Social ads compound the problem. Meta and TikTok both favor video creatives. An e-commerce brand running ads needs fresh video for every product, every angle, every audience segment. Static images in ad slots get outperformed by competitors using video.

The Solution: Product Image to UGC Video

agent-media turns your existing product photos into UGC-style videos. An AI actor speaks your script directly to the camera while your product image appears as a B-roll cutaway. The result looks like a real creator reviewing your product.

You already have the product images. You already know the selling points. The only missing piece is the video itself. With agent-media, you write a short script (or let AI generate one from your product description), point the CLI at your product photo, and get a finished video back. Lip-synced actor, animated subtitles, background music, product B-roll. All assembled automatically.

The real power shows up at scale. Because agent-media runs from the command line, you can loop through your entire product catalog in a single bash script. Feed it a CSV of product names, scripts, and image paths. Walk away. Come back to 50 finished videos.

Step-by-Step: Generate a Product Video

Install the CLI, write your product script, and get a finished UGC video with your product image as B-roll.

1

Install and authenticate

Install the agent-media CLI globally and log in with your API key.

terminal

$ npm install -g agent-media-cli

$ agent-media login

2

Generate a single product video

Write a short review script and pass your product image with the --product-image flag. The image appears as a B-roll cutaway during the video.

terminal

$ agent-media ugc "This moisturizer changed my skin in two weeks. No breakouts, no dryness, just smooth even texture." \

--actor sofia \

--broll \

--product-image ./product.jpg \

--sync

3

Batch generate for your entire catalog

Loop through a product CSV and generate a video for every SKU overnight. This is where the CLI pays for itself.

terminal

# products.csv: name, script, image_path

$ while IFS=, read -r name script img; do

agent-media ugc "$script" \

--actor sofia \

--product-image "$img" \

--broll --sync

done < products.csv

4

Upload to your store and ad accounts

Each video is a finished mp4. Upload directly to Shopify product pages, Meta Ads, TikTok Ads, or anywhere else that accepts video. No editing needed.

Example: 50 Product Videos Overnight

Imagine a Shopify skincare store with 50 products. Each product has a photo and a one-line description. The store owner exports a CSV with product names, short review scripts, and image file paths.

They run the batch script above at 10 PM. By morning, 50 finished UGC videos sit in the output folder. Each one features an AI actor reviewing the product with the product image shown as a cutaway. Total cost: $150 in credits. Total time spent: 5 minutes writing the script and starting the batch.

Compare that to hiring a UGC creator: 50 videos at $200 each is $10,000. Turnaround: 2 to 4 weeks. With agent-media, the same output costs 1.5% of the freelancer price and takes one night. Start generating product videos.

Cost Breakdown

ScenarioFreelanceragent-media
1 product video$200 - $800~$3
10 product videos$2,000 - $8,000~$30
50 product videos$10,000 - $40,000~$150
Turnaround time3-7 days per videoMinutes per video
RevisionsExtra cost + delaysRe-run the command

Credits cost 30 per second of video. A 10-second product video uses 300 credits (~$3). View full pricing.

Why agent-media for E-commerce

Product image B-roll

Pass your product photo as a CLI flag. It appears as a cutaway scene in the video. No separate B-roll shoot needed.

Batch generation via CLI

Loop through a product CSV and generate hundreds of videos in a single script. Perfect for catalog-scale stores.

200 AI actors

Test different faces and demographics on the same product. Find which actor drives the highest conversion for each audience.

AI script generation

Paste your product description and let the AI write a review script. No copywriting needed for every SKU.

17 subtitle styles

Match the subtitle style to your brand or platform. TikTok style for social ads, clean style for product pages.

REST API for automation

Trigger video generation from your Shopify webhook, order system, or any backend. Full programmatic control.

Tips for E-commerce Video Ads

Lead with the result, not the product. "My skin cleared up in two weeks" outperforms "This moisturizer has hyaluronic acid." Write scripts from the customer perspective, not the brand perspective.

Use the testimonial template. The --template testimonial flag structures your script as a first-person review. This format performs well on both product pages and social ads.

Test actors by demographic. If your product targets women 25 to 35, generate the same script with 5 different actors in that demographic. Upload all 5 to your ad account and let the algorithm pick the winner.

Product image quality matters. The B-roll cutaway displays your product photo at full frame. Use your best product shot with a clean background. White background product photos from your Shopify store work perfectly.