← 返回
未分类 Key 中文

Shopify Product Promo

Turn a Shopify (or any e-commerce) product page URL into a 30–45 second 9:16 promo video ready for TikTok / Reels / Shorts. Use when the user shares a produc...
将 Shopify(或任何电商)产品页 URL 转成 30–45 秒的 9:16 宣传视频,适合 TikTok / Reels / Shorts,在用户分享产品时使用。
api00
未分类 clawhub v1.2.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 404
下载
💾 0
安装
1
版本
#latest

概述

Shopify product → promo video

Take a product page URL and produce a vertical promo video that pulls the

product image(s), name, key features, and price.

When to use this skill

  • Input is a single product page URL from Shopify, WooCommerce, BigCommerce, or

any storefront with crawlable HTML (most stores).

  • Output goal is a promo / ad / launch teaser, 30–45 s, vertical (9:16).
  • The user wants Revid to extract the product details automatically. If they

hand you a script instead, use revid-script-to-video.

  • For a generic ad written from a product description (no live URL), use

revid-product-description-to-ad.

Inputs

FieldRequiredNotes
---------
urlyesPublic product page URL
aspectRationoDefaults to 9:16
targetDurationnoDefaults to 35 (s)
voiceIdnoDefault voice if omitted
webhookUrlnoSkip polling if you can receive webhooks

Step-by-step

  1. Validate the URL — must start with http(s)://. Reject obvious

non-product paths (/cart, /blog, /collections/all).

  1. Optional pre-flight — fetch the URL once with HEAD to confirm it

returns 200. If 4xx, ask the user to confirm the link.

  1. Build the payload (see template). Defaults are tuned for product promo:

high density, dynamic animation, captions ON, music ON.

  1. POST /api/public/v3/render — capture the returned pid.
  2. Poll /status?pid=… with the canonical loop (see Polling section

below) or wait for the webhook.

  1. Return { pid, status, videoUrl, thumbnailUrl, durationSeconds, creditsUsed }.

API call template

POST /api/public/v3/render
Host: www.revid.ai
Content-Type: application/json
key: $REVID_API_KEY
{
  "workflow": "article-to-video",
  "source": {
    "url": "{PRODUCT_URL}",
    "scrapingPrompt": "Extract the product name, hero image, 3 key features, and price. Ignore reviews, related products, footer, and navigation."
  },
  "aspectRatio": "9:16",
  "voice":    { "enabled": true, "stability": 0.55, "speed": 1.05, "language": "en-US" },
  "captions": { "enabled": true, "position": "middle", "autoCrop": true },
  "music":    { "enabled": true, "syncWith": "beats", "trackName": "uplifting-pop" },
  "media": {
    "type": "stock-video",
    "density": "high",
    "animation": "dynamic",
    "quality": "pro",
    "imageModel": "good",
    "videoModel": "pro",
    "turnImagesIntoVideos": true,
    "applyStyleTransfer": false
  },
  "options": {
    "targetDuration": 35,
    "summarizationPreference": "summarize",
    "hasToGenerateCover": true,
    "coverTextType": "product-name",
    "soundEffects": true,
    "addStickers": false
  },
  "render": { "resolution": "1080p", "frameRate": 30 }
}

scrapingPrompt is the most important knob — it stops Revid from picking up

header/footer junk. Customize it per storefront if you find a recurring noise

pattern.

Examples

Quick test

URL="https://your-shop.myshopify.com/products/your-product"

curl -s https://www.revid.ai/api/public/v3/render \
  -H "Content-Type: application/json" \
  -H "key: $REVID_API_KEY" \
  -d "$(jq --arg url "$URL" '.source.url=$url' \
        examples/shopify-aeropods.json)"

Polling

After POST /render, poll until status === "ready":

PID="<pid-from-render>"
while :; do
  R=$(curl -fsSL "https://www.revid.ai/api/public/v3/status?pid=$PID" \
        -H "key: $REVID_API_KEY")
  S=$(echo "$R" | jq -r .status)
  case "$S" in
    ready)  echo "$R" | jq .; break ;;
    failed) echo "FAILED: $R"; exit 1 ;;
    *)      sleep 5 ;;
  esac
done

In production prefer setting webhookUrl in the request body and skip polling.

Failure modes

SymptomFix
------
scrape failed / 403 from the URLStorefront blocks bots. Open the page in a real browser, copy the title + 3 bullet features + price into a script, and switch to revid-script-to-video.
Video shows wrong product imageStorefront serves SSR via JS only. Pass media.useOnlyProvided: true and media.provided: [{ url: "", type: "image" }] to force the right asset.
Voice sounds roboticIncrease voice.stability to 0.7 and pick a specific voice.voiceId. Default voice varies.
Duration overshoots targetSet options.summarizationPreference: "summarize" (already in the template) and lower targetDuration.
Captions cover productcaptions.position: "top" (or "bottom").

See also

if you don't have a live URL.

if you want to control every visual.

版本历史

共 1 个版本

  • v1.2.1 当前
    2026-05-07 23:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Blog to Avatar Video

api00
将博客文章URL转换为说话头像视频——头像在干净背景上朗读文章摘要脚本。适用于用户想要...
★ 0 📥 372

Article to Short

api00
Turn any news article or long-form post URL into a 30–60 second 9:16 short with stock visuals, narration, and captions.
★ 0 📥 356

Product Description to Ad

api00
Turn a product description (free-form text — no URL needed) into a punchy 15–30 second AI-generated ad with hooks, CTA,
★ 0 📥 334