Video Generation
Batch-produce product showcases, comparison clips, and UGC-style content — 500 videos per day.
Overview
The Video Generation module creates platform-ready product videos from product data and images. Template-driven, fully automated, multi-platform output.
Throughput: 500 videos/day | 15s-60s duration | All major platforms
Basic Usage
videos = client.video.generate(
product=analysis_result,
templates=["product_showcase", "feature_highlight", "comparison"],
platforms=["tiktok", "youtube_shorts", "instagram_reels"],
duration=15, # seconds
voiceover=True,
language="en"
)
for video in videos:
print(f"{video.template} | {video.platform} | {video.duration}s")
print(f" URL: {video.download_url}")
print(f" Thumbnail: {video.thumbnail_url}")
Available Templates
| Template | Description | Duration |
|---|---|---|
product_showcase |
Clean product rotation with feature callouts | 15-30s |
feature_highlight |
Focus on 3-5 key features with text overlays | 15-30s |
comparison |
Side-by-side vs competitor | 30-60s |
unboxing |
Simulated unboxing experience | 30-60s |
lifestyle |
Product in real-world usage context | 15-30s |
testimonial |
AI presenter reviewing the product | 30-60s |
sale_countdown |
Urgency-driven promo with timer | 15s |
before_after |
Transformation/improvement showcase | 15-30s |
Digital Presenter Videos
# Generate video with AI presenter (Wav2Lip + voice clone)
video = client.video.generate(
product=result,
templates=["testimonial"],
presenter={
"style": "professional_female", # or upload custom likeness
"voice": "natural_en_us",
"script": "auto" # Auto-generate from product data, or provide custom
},
duration=30
)
Batch Video Production
# Generate videos for 200 products × 3 templates × 2 platforms
batch = client.video.batch_generate(
products=top_200_products,
templates=["product_showcase", "feature_highlight", "sale_countdown"],
platforms=["tiktok", "youtube_shorts"],
voiceover=True,
languages=["en", "ja"],
callback_url="https://your-app.com/webhooks/video-ready"
)
# 200 × 3 × 2 × 2 = 2,400 videos
print(f"Queued {batch.total_jobs} video generations")
print(f"Estimated completion: {batch.eta}")
On-Chain Content Registration
# Register videos on-chain for IP protection and licensing
video = client.video.generate(
product=result,
templates=["product_showcase"],
on_chain=True,
chain="arbitrum",
license="cc_by_nc" # Creative Commons license recorded on-chain
)
print(video.content_hash) # IPFS CID
print(video.nft_token_id) # Optional: mint as NFT for licensing