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.
50 free credits on signup · Process 100s of SKUs in minutes
Everything you need to process entire product catalogs with AI-generated imagery.
Generate up to 4 image variations per API call. Use bounded concurrency to process catalogs in parallel with retry-safe outputs.
Dedicated /v1/images/variations endpoint: upload a product photo, get back scene, angle, and lighting variations. OpenAI-compatible, up to 4 per call.
Generate seasonal campaigns, product collections, and marketing batches. Same brand identity across all images.
Pass an image_url to keep product identity anchored. Generate consistent variants with the same reference image.
Load SKUs from spreadsheets. Use templates to generate consistent prompts for thousands of products.
Process multiple products concurrently with bounded concurrency. Write JSONL output manifests for deterministic catalog ingestion.
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.
Use per-client API keys, spend caps, and zero “powered by” requirements inside your Shopify app, marketplace tool, or agency workflow.
Maintain consistent lighting, angles, and styling across your entire catalog. Build recognizable brand visuals.
Generate images with transparent PNG backgrounds or pure white studio sweeps. Remove backgrounds from existing product photos via API. Amazon, Shopify, and eBay compliant.
The #1 question from catalog buyers: “Will the AI preserve my actual product?” Yes. Here’s how it works with shipped API behavior.
Include image_url in your API call pointing to the original product photo. The model uses it as a visual anchor.
Your prompt controls background, lighting, and context — "product on marble countertop, warm light" — while the reference keeps the product recognizable.
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.
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.
Generate product imagery at scale for any e-commerce workflow.
Generate consistent product photos for Shopify, Amazon, eBay. White background, lifestyle shots, infographics.
Process entire product catalogs at scale. Consistent lighting, angles, and branding across thousands of SKUs.
Generate product variants, colorways, and packaging options. Create entire product lines from a single reference.
Batch-generate seasonal campaigns, email blasts, and social media. Consistent brand identity across all assets.
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.
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.
Shopify apps, catalog tools, and white-label buyers usually care about the same three things: will the product stay recognizable, can async video delivery be trusted, and does the cost model work without subscriptions. Send the proof page that matches the objection.
Use this when a buyer asks whether the product, logo, or packaging will stay recognizable across new backgrounds and lifestyle scenes.
Use this for Shopify video apps, PDP video tools, and ad-creative platforms that need predictable delivery instead of “Starting…” limbo.
Use this when the buyer is evaluating your app as infrastructure: reseller controls, tenant isolation, and transparent cost math.
Dramatically reduce cost and time for catalog-scale product imagery and video.
| Feature | Traditional Studio | CreativeAI Batch API |
|---|---|---|
| 100 SKUs (4 variations each) | $2,000 - $5,000 | $12 - $40 |
| Turnaround Time | 1-2 weeks | Minutes to hours |
| Consistent Branding | Manual retouching | Automatic with reference images |
| Scale to 10,000+ SKUs | Prohibitively expensive | Linear pricing, batch processing |
| Update Seasonal Campaigns | New photo shoot | Regenerate with new prompts |
| Product Identity Across Scenes | Careful retouching per scene | Pass reference image_url — product stays recognizable |
| Catalog-Scale Product Videos | $50-$200/video, weeks turnaround | Batch async jobs with webhook delivery, minutes per video |
| Marketplace-Compliant Backgrounds | Manual masking or clipping path service | Transparent 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) |
Per-video costs your Shopify app or catalog platform can build margin on.
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.
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.
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.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.
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.
base_url and api_keyUse code DALLE1000 for 3,000 free credits (~1,000 product images).
Use code SORASWITCH for 50 free video credits. No subscription.
# 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 unchangedSign up, get an API key, and process your entire product catalog with AI-generated imagery.