Batch Product Image + Video API

Generate Thousands of Product Images & Videos at Scale

Batch process your entire product catalog — stills and short-form video. Generate consistent brand visuals for e-commerce, Shopify apps, marketplaces, and product-video platforms.

Pay-per-use. No subscriptions. Reference fidelity keeps your product identity intact. Async video renders deliver via webhook.

ECOMM100— 100 free credits to batch-test your catalog. No credit card required.

50 free credits on signup · Process 100s of SKUs in minutes

Built for Catalog-Scale Workloads

Everything you need to process entire product catalogs with AI-generated imagery.

Batch Processing

Generate up to 4 image variations per API call. Use bounded concurrency to process catalogs in parallel with retry-safe outputs.

Image Variations API

Dedicated /v1/images/variations endpoint: upload a product photo, get back scene, angle, and lighting variations. OpenAI-compatible, up to 4 per call.

Campaign Workflows

Generate seasonal campaigns, product collections, and marketing batches. Same brand identity across all images.

Reference Fidelity

Pass an image_url to keep product identity anchored. Generate consistent variants with the same reference image.

CSV/Excel Integration

Load SKUs from spreadsheets. Use templates to generate consistent prompts for thousands of products.

Fast Parallel Processing

Process multiple products concurrently with bounded concurrency. Write JSONL output manifests for deterministic catalog ingestion.

Batch Product Video

Turn winning product images into PDP or ad videos at catalog scale. Submit multiple /v1/video/generations jobs with webhook delivery — each render completes async.

White-Label Ready

Use per-client API keys, spend caps, and zero “powered by” requirements inside your Shopify app, marketplace tool, or agency workflow.

Brand Consistency

Maintain consistent lighting, angles, and styling across your entire catalog. Build recognizable brand visuals.

Marketplace-Ready Backgrounds

Generate images with transparent PNG backgrounds or pure white studio sweeps. Remove backgrounds from existing product photos via API. Amazon, Shopify, and eBay compliant.

Reference Fidelity: Keep Your Product, Change the Scene

The #1 question from catalog buyers: “Will the AI preserve my actual product?” Yes. Here’s how it works with shipped API behavior.

1

Pass your product image

Include image_url in your API call pointing to the original product photo. The model uses it as a visual anchor.

2

Describe the new scene

Your prompt controls background, lighting, and context — "product on marble countertop, warm light" — while the reference keeps the product recognizable.

3

Generate variants at scale

Use n=1..4 per call to get multiple scene variations. Run bounded concurrency across your catalog to process hundreds of SKUs in minutes.

What “reference fidelity” means in practice

The image_url parameter anchors the generation to your product’s visual identity — shape, color, key details. It is not a pixel-perfect copy-paste; it’s an AI-guided recontextualization. Results are strong for catalog backgrounds, lifestyle scenes, and variant colorways. For logo and text preservation, include clear reference images and explicit prompt instructions. Always review outputs before publishing to your marketplace.

Process Your Catalog in Parallel

Generate product images for thousands of SKUs, keep product identity consistent with reference images, and turn winning stills into async product videos when a buyer needs motion.

import requests
import concurrent.futures
import json

API_KEY = "your_api_key"
IMAGE_URL = "https://api.creativeai.run/v1/images/generations"
VIDEO_URL = "https://api.creativeai.run/v1/video/generations"

# Step 1: Raw product photos → AI-generated lifestyle images
# Step 2: Best lifestyle image → short product video
# One API, one set of credentials, one pipeline.

catalog = [
    {"sku": "LAMP-BRASS", "image_url": "https://cdn.example.com/catalog/lamp-brass.jpg"},
    {"sku": "VASE-CERAMIC", "image_url": "https://cdn.example.com/catalog/vase-ceramic.jpg"},
    {"sku": "CHAIR-WALNUT", "image_url": "https://cdn.example.com/catalog/chair-walnut.jpg"},
]

SCENE_PROMPT = "Product in modern living room, natural light, clean composition"
VIDEO_PROMPT = "5-second product hero shot, slow camera orbit, soft shadows"

def run_pipeline(product):
    """Image generation → best pick → video submission for one SKU."""
    sku = product["sku"]

    # --- Stage 1: Generate 4 lifestyle image variants ---
    img_resp = requests.post(
        IMAGE_URL,
        headers={"Authorization": f"Bearer {API_KEY}"},
        json={
            "model": "gpt-image-1",
            "prompt": SCENE_PROMPT,
            "image_url": product["image_url"],  # reference fidelity
            "n": 4,
            "size": "1024x1024",
            "quality": "high",
        },
        timeout=120,
    )
    img_resp.raise_for_status()
    images = img_resp.json().get("data", [])
    best_image_url = images[0]["url"]  # pick first; swap for your own scorer

    # --- Stage 2: Best image → async product video ---
    vid_resp = requests.post(
        VIDEO_URL,
        headers={"Authorization": f"Bearer {API_KEY}"},
        json={
            "model": "kling-v3",
            "prompt": VIDEO_PROMPT,
            "image_url": best_image_url,
            "duration": "5s",
            "aspect_ratio": "16:9",
            "webhook_url": "https://your-app.com/webhooks/creativeai",
        },
        timeout=60,
    )
    vid_resp.raise_for_status()
    job = vid_resp.json()

    return {
        "sku": sku,
        "images_generated": len(images),
        "video_job_id": job["id"],
        "video_status": job["status"],
    }

# Run full pipeline for every SKU (bounded concurrency)
with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor:
    results = list(executor.map(run_pipeline, catalog))

# Write manifest for downstream ingestion
with open("pipeline_manifest.jsonl", "w") as f:
    for r in results:
        f.write(json.dumps(r) + "\n")

for r in results:
    print(f"{r['sku']}: {r['images_generated']} images + video job {r['video_job_id']}")
print("Videos will arrive at your webhook as each render completes.")

💡 API Note

The “Full Pipeline” tab shows the most common Shopify/catalog workflow: generate lifestyle image variants from a product photo, then submit the best image as an async product video — all from one API. The “TypeScript” tab shows the same pipeline using the OpenAI Node.js SDK — ideal for Shopify apps and Next.js backends. Image batch processing uses POST /v1/images/generations with n=1..4 for variants. For existing product photos, POST /v1/images/variations generates scene and angle variations from a file upload — see the “Image Variations” tab. Use bounded concurrency (e.g., Promise.all or ThreadPoolExecutor) to process catalogs at scale. For catalog-scale product videos, submit multiple POST /v1/video/generations jobs with image_url and webhook_url — each render completes asynchronously and delivers the result to your webhook. See the “Batch Video” tab or the Shopify video playbook below for the full workflow.

Need the Shopify/PDP version of this workflow?

Use the dedicated playbook for bounded product-video batches, signed webhooks, output manifests, and better buyer-facing status copy.

Open Shopify video playbook

Use Cases

Generate product imagery at scale for any e-commerce workflow.

E-commerce Marketplaces

Generate consistent product photos for Shopify, Amazon, eBay. White background, lifestyle shots, infographics.

Catalog Photography

Process entire product catalogs at scale. Consistent lighting, angles, and branding across thousands of SKUs.

Inventory Visualization

Generate product variants, colorways, and packaging options. Create entire product lines from a single reference.

Marketing Campaigns

Batch-generate seasonal campaigns, email blasts, and social media. Consistent brand identity across all assets.

Product Video Apps

Turn hero product images into short-form PDP or ad videos at catalog scale. Submit async /v1/video/generations jobs with webhook delivery — build Shopify video apps, ad-creative tools, or social commerce workflows.

Programmatic Ad Creative

Generate bulk ad variations from product catalogs. Combine image generation for stills with async video for motion creatives — all from one API, one set of credentials.

vs. Traditional Product Photography & Video

Dramatically reduce cost and time for catalog-scale product imagery and video.

FeatureTraditional StudioCreativeAI Batch API
100 SKUs (4 variations each)$2,000 - $5,000$12 - $40
Turnaround Time1-2 weeksMinutes to hours
Consistent BrandingManual retouchingAutomatic with reference images
Scale to 10,000+ SKUsProhibitively expensiveLinear pricing, batch processing
Update Seasonal CampaignsNew photo shootRegenerate with new prompts
Product Identity Across ScenesCareful retouching per scenePass reference image_url — product stays recognizable
Catalog-Scale Product Videos$50-$200/video, weeks turnaroundBatch async jobs with webhook delivery, minutes per video
Marketplace-Compliant BackgroundsManual masking or clipping path serviceTransparent PNG or white BG via API parameter — plus BG removal endpoint
100 Product Videos (5s each)$5,000 - $20,000~$36–$50 (Kling v3 Standard, 5 credits/video)
Unit Economics

Product Video Economics at Scale

Per-video costs your Shopify app or catalog platform can build margin on.

Starter volume
100 videos / mo
5s product clips
Your API cost~$0.36–$0.50 / video
Monthly API spend~$36–$50
If you charge $3–5 / video83–93% margin
Most common
Growth volume
500 videos / mo
5s product clips
Your API cost~$0.36–$0.50 / video
Monthly API spend~$179–$250
If you charge $2–4 / video75–91% margin
Scale volume
2,000 videos / mo
5s product clips
Your API cost~$0.36–$0.50 / video
Monthly API spend~$714–$1,000
If you charge $1.50–3 / video67–88% margin
How it works: Each 5-second product video uses 5 credits (Kling Standard). Credits start at $0.10 each and drop to about $0.071 at the largest pack, so the real cost is roughly $0.36–$0.50 per video depending on how you buy credits. No subscription minimum, no per-seat fees, no monthly commitment. Your app charges whatever your market supports — you keep the spread.
Starter Plan Math

Shopify Video App Plans: What They Charge vs. What You’d Pay

Many Shopify product-video apps sell 15–45 video/month plans starting around $40/mo. Here’s the margin math if you power those exact plan sizes with CreativeAI.

Plan Tier
Videos / mo
They Charge
Your API Cost
Margin
Starter
15
$40/mo
~$5.40–$7.50
81–87%
Growth
30
$89/mo
~$10.71–$15
83–88%
Pro
45
$149/mo
~$16.07–$22.50
85–89%
The math: Each 5-second product video = 5 credits. At $0.071–$0.10/credit, that’s $0.36–$0.50 per video. A 15-video starter plan costs you ~$5.40–$7.50/mo in API spend. Sell it at $40/mo and you keep $32–$35 pure margin — no GPU hosting, no model maintenance, no infrastructure.
Throughput Proof

How Fast Can You Actually Generate 45 Product Videos?

Shopify video apps sell monthly video quotas. Your buyers need those videos generated reliably and fast. With parallel async jobs, a full month’s quota finishes in minutes — not hours.

Batch Size
Concurrency
Wall-Clock Time
Throughput
15 videos (Starter)
10
~2–3 min
5–8 videos/min
30 videos (Growth)
10
~4–5 min
6–8 videos/min
45 videos (Pro)
10
~5–7 min
6–9 videos/min
100 videos (Scale)
10
~12–15 min
7–8 videos/min
How it works: Each POST /v1/video/generations is an independent async job. Submit 10 in parallel, each renders in 60–90s, and webhooks fire independently as each finishes. Your entire month’s Starter quota (15 videos) completes in under 3 minutes of wall-clock time. There is no monthly cap on the API — you can burst 100 videos in a single afternoon if a merchant needs a flash sale.
No monthly video cap
Pay-per-video means your app can burst beyond plan limits without hitting API quotas.
Parallel by default
Every job is independent. 10 concurrent renders = 10x throughput vs. sequential queues.
Webhook per video
Each product video delivers its own signed callback. No waiting for an entire batch to finish.
Market Rate Proof

What Shopify Video Apps Charge vs. Your API Cost

Existing Shopify product-video apps already sell this exact workflow at these price points. Here’s what your margin looks like when CreativeAI powers the generation layer.

App Type
They Charge
Your API Cost
Margin
Starter Shopify video plan~25–40 videos/mo included
$14–24/mo
~$9–$20
0–63%
Mid-tier product video tool~100 videos/mo included
$49–99/mo
~$36–$50
0–64%
Premium Shopify video suite~400 videos/mo included
$199–299/mo
~$143–$200
28–52%
Per-listing video serviceOne-time or pay-as-you-go
$3–5 / video
~$0.36–$0.50
83–93%
One-time video pack5–50 videos per pack
$15–115 pack
~$1.79–$25
64–88%
Bottom line: Shopify video apps already validate $14–299/month pricing for product-image → video conversion. CreativeAI’s per-video cost (~$0.36–$0.50 at 5 credits depending on credit pack) keeps the math transparent: strong per-video margins, honest subscription economics, and no infrastructure to manage, no model hosting, no GPU provisioning.
Product image → video
POST image_url to /v1/video/generations. 5-second clips from any product photo.
Webhook delivery
Async renders deliver to your signed webhook. No polling, no "Starting..." limbo.
Storefront-ready output
MP4 URLs ready for Shopify product media, PDP embeds, or social export.
API Shutdown Deadlines

Your Current Image & Video APIs Are Shutting Down

If your catalog pipeline uses DALL-E or Sora, you need a migration plan now. CreativeAI is a drop-in replacement — same OpenAI SDK, 2-line code change.

DALL-E 2 & 3 Shutdown

May 12, 2026
  • DALL-E 2 already deprecated and unavailable
  • DALL-E 3 shuts down May 12 — catalog image pipelines break
  • CreativeAI routes to gpt-image-1, Seedream 3 & 4+ more models
  • Same OpenAI SDK — change base_url and api_key

Use code DALLE1000 for 3,000 free credits (~1,000 product images).

Sora 1 Shutdown

March 13, 2026
  • Sora 1 was permanently shut down March 13
  • Sora 2 requires $200/mo ChatGPT Pro — no API access
  • 5+ video models: Kling v3, Seedance 1.5, Veo 3.1 & more
  • Async product video with webhook delivery per SKU

Use code SORASWITCH for 50 free video credits. No subscription.

Catalog pipeline migration — 2 lines

# Before (DALL-E direct)
client = OpenAI(api_key="sk-...")

# After (CreativeAI — same SDK)
client = OpenAI(
    api_key="YOUR_CREATIVEAI_KEY",
    base_url="https://api.creativeai.run/v1"
)
# Your existing catalog batch code works unchanged
FAQ

Common Questions

Start Processing Your Catalog

Sign up, get an API key, and process your entire product catalog with AI-generated imagery.

ECOMM100— 100 free credits to batch-test your catalog. No strings.
Batch processingReference fidelity100 credits with ECOMM100