创建产品展示

制作专业的产品展示视频

创建产品展示

学习如何创建包含文本、图片和动画的产品展示视频。

你将创建什么

一个 10 秒的产品展示视频,包含:

  • 渐变背景
  • 产品发布标签
  • 带滑入动画的产品名称
  • 带缩放效果的价格

完整 Schema

{
  "meta": {
    "version": "2.0.0",
    "title": "产品展示"
  },
  "video": {
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "duration": 10,
    "background": "#0f0f0f"
  },
  "tracks": [
    {
      "id": "background",
      "type": "visual",
      "clips": [
        {
          "type": "rect",
          "start": 0,
          "duration": 10,
          "transform": {
            "x": 0,
            "y": 0,
            "width": "100%",
            "height": "100%"
          },
          "style": {
            "fill": {
              "type": "linear",
              "angle": 135,
              "stops": [
                { "offset": 0, "color": "#1a1a2e" },
                { "offset": 1, "color": "#16213e" }
              ]
            }
          },
          "zIndex": 0
        }
      ]
    },
    {
      "id": "info",
      "type": "visual",
      "clips": [
        {
          "type": "text",
          "text": "全新发布",
          "start": 1,
          "duration": 9,
          "transform": {
            "x": "70%",
            "y": "30%",
            "anchor": "center"
          },
          "style": {
            "fontSize": 32,
            "fill": "#00ff88",
            "fontWeight": 500
          },
          "animations": [{ "type": "fadeIn", "duration": 0.5 }],
          "zIndex": 10
        },
        {
          "type": "text",
          "text": "智能手表 Pro",
          "start": 1.5,
          "duration": 8.5,
          "transform": {
            "x": "70%",
            "y": "40%",
            "anchor": "center"
          },
          "style": {
            "fontSize": 64,
            "fill": "#ffffff",
            "fontWeight": 700
          },
          "animations": [{ "type": "slideIn", "direction": "right", "duration": 0.8 }],
          "zIndex": 10
        },
        {
          "type": "text",
          "text": "¥2,999",
          "start": 2.5,
          "duration": 7.5,
          "transform": {
            "x": "70%",
            "y": "55%",
            "anchor": "center"
          },
          "style": {
            "fontSize": 48,
            "fill": "#ff6b6b",
            "fontWeight": 700
          },
          "animations": [{ "type": "zoomIn", "duration": 0.5, "delay": 0.3 }],
          "zIndex": 10
        }
      ]
    }
  ]
}

核心概念

多轨道

此示例使用多轨道进行分层:

轨道: background (zIndex: 0)
轨道: info (zIndex: 10)

zIndex 控制哪个元素显示在顶层。

渐变背景

背景使用线性渐变:

{
  "style": {
    "fill": {
      "type": "linear",
      "angle": 135,
      "stops": [
        { "offset": 0, "color": "#1a1a2e" },
        { "offset": 1, "color": "#16213e" }
      ]
    }
  }
}

交错动画

元素在不同时间以不同动画出现:

元素开始时间动画时长
标签1秒fadeIn0.5秒
标题1.5秒slideIn (右)0.8秒
价格2.5秒zoomIn0.5秒

动画延迟

价格使用延迟增加冲击力:

{
  "animations": [
    { "type": "zoomIn", "duration": 0.5, "delay": 0.3 }
  ]
}

自定义创意

添加产品图片

包含产品图片:

{
  "type": "image",
  "src": "https://example.com/product.png",
  "start": 0,
  "duration": 10,
  "transform": {
    "x": "30%",
    "y": "50%",
    "width": 400,
    "anchor": "center"
  },
  "zIndex": 5
}

添加行动号召

添加按钮或 CTA 文本:

{
  "type": "text",
  "text": "立即购买 →",
  "start": 4,
  "duration": 6,
  "style": {
    "fontSize": 24,
    "fill": "#00ff88"
  },
  "animations": [{ "type": "fadeIn", "duration": 0.5 }]
}

不同布局

改为竖屏视频:

{
  "video": {
    "width": 1080,
    "height": 1920,
    "duration": 10
  }
}

下一步