一个Python脚本,通过Runway API将Shopify商店的产品目录自动转为适合社交媒体的视频,无需安装任何应用。

Stars

25

7 天增长

暂无数据

Fork 数

2

开放 Issue

0

开源协议

MIT

最近更新

2026-07-05

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

利用Shopify公开的products.json以低成本(每个视频约$0.12)生成产品视频,并使用原始产品图片作为锚定帧,避免AI生成幻觉。

适合谁使用

  • Shopify店主
  • 电商营销人员
  • 社交媒体内容创作者
  • 构建自动化视频管道的开发者

典型使用场景

  • 为Instagram或TikTok生成Reels格式的产品视频
  • 快速为付费社交广告制作视频素材
  • 产品发布后批量将图片转为动画
  • 在消耗积分前使用dry-run模式预览生成效果

项目优势

  • 无需认证,可与任意公开Shopify商店配合使用
  • dry-run模式可预览生成内容,不消耗积分
  • 风格预设(工作室、生活方式、戏剧化)可通过简单字典扩展
  • 幂等重跑会跳过已渲染的产品,避免重复计费

使用前须知

  • 要求商店有公开的products.json(部分商店会屏蔽)
  • 每个5秒视频约消耗60个Runway积分(约$0.60),最低积分购买金额为$10
  • 图片URL必须为公开HTTPS;账户达到每日API限额时可能被拒绝

README 快速开始

🛍️ → 🎬  Catalog → Campaign

Turn any Shopify catalog into platform-ready product videos, with one script and the Runway API.

Before: ordinary catalog photos, pulled straight from deathwishcoffee.com's public products.json.

↓   gen4.5 image → video   ↓

After: a Reels-ready 9:16 video per product, the catalog photo preserved as the anchor frame. Full-quality MP4s in examples/.


Point it at a store. It pulls each product's photo, animates it with gen4.5 (your catalog shot is the anchor frame, so the product stays true, no hallucinated variants), and exports a Reels-ready 9:16 video per product.

Your first run: about ten minutes. A 5-second clip is 60 credits (~$0.60), so the $10 minimum credit purchase covers around 16 product videos.

⚡ Quickstart

git clone https://github.com/fabriciocarraro/runway-shopify-pipeline && cd runway-shopify-pipeline
pip install -r requirements.txt
cp .env.example .env     # add your API key → get one at https://dev.runwayml.com

python catalog_to_video.py --catalog sample_catalog.json --dry-run    # sanity check: runs with no key, spends nothing
python catalog_to_video.py --store yourstore.myshopify.com --skus 5   # the real thing: YOUR products, moving

That second command is the whole point: most Shopify stores expose products.json publicly, so this runs against your real catalog with zero app installs and zero auth dances.

What a run looks like:

🛍  Fetching catalog from yourstore.myshopify.com …
   3 of 3 products to generate · 5s each · est. ~180 credits (~$1.80)

  🚀 submitted retro-runner-sneaker  (task 21dcba8c…)
  🚀 submitted soy-candle-cedar  (task 0a4214c4…)
  🚀 submitted steel-bottle-750ml  (task 9f9086d4…)

  ✅ retro-runner-sneaker.mp4
  ✅ soy-candle-cedar.mp4
  ✅ steel-bottle-750ml.mp4

🎬 3 videos · 6m42s wall-clock · ~180 credits (~$1.80)

📣 Tweet-ready: "I turned yourstore.myshopify.com's catalog into 3 product videos in 6 minutes, for about $1.80. No shoot, no agency. One script."

Tip: --dry-run previews any run, live store included, without spending a credit. To ge

项目描述

Turn any Shopify catalog into product videos with the Runway API. One script, gen4.5 image-to-video.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482