> ## Documentation Index
> Fetch the complete documentation index at: https://docs.happycapy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 生成短视频广告

> 用 Happycapy 从产品 brief 生成竖版 MP4 广告、封面图和短脚本。

export function ConversationPreview({url, label, linkLabel = "Open full conversation", fit = "content"}) {
  const isContentFit = fit === "content";
  return <div className={`hc-conversation-preview${isContentFit ? " hc-preview-content" : ""}`} style={{
    width: isContentFit ? "100%" : "clamp(320px, calc(100vw - 640px), 960px)",
    margin: isContentFit ? "18px 0 32px" : "18px 0 32px 50%",
    transform: isContentFit ? "none" : "translateX(-50%)",
    border: "1px solid rgba(46, 41, 41, 0.1)",
    borderRadius: "10px",
    overflow: "hidden",
    background: "rgba(255, 255, 255, 0.55)",
    boxShadow: "0 18px 45px rgba(46, 41, 41, 0.08)"
  }}>
      <style>{`
        .hc-conversation-preview-clip {
          position: relative;
          container-type: inline-size;
          aspect-ratio: 16 / 10;
          height: auto;
          overflow: hidden;
          background: white;
        }

        .hc-conversation-preview-frame {
          position: absolute;
          left: 0;
          top: 0;
          width: 1280px !important;
          height: 800px !important;
          max-width: none !important;
          border: 0;
          background: white;
          display: block;
          transform: scale(calc(100cqw / 1280px));
          transform-origin: top left;
        }

        @media (max-width: 1279px) {
          .hc-conversation-preview:not(.hc-preview-content) {
            width: 100% !important;
            margin-left: 0 !important;
            transform: none !important;
          }

          .hc-conversation-preview:not(.hc-preview-content) .hc-conversation-preview-clip {
            height: min(70vh, 560px);
          }

          .hc-conversation-preview:not(.hc-preview-content) .hc-conversation-preview-frame {
            width: 100%;
            height: 100%;
            transform: none;
          }
        }
      `}</style>
      <div style={{
    display: "flex",
    alignItems: "center",
    gap: "8px",
    padding: "10px 12px",
    borderBottom: "1px solid rgba(46, 41, 41, 0.08)",
    background: "rgba(46, 41, 41, 0.035)"
  }}>
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "#F8A963"
  }} />
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "rgba(46, 41, 41, 0.18)"
  }} />
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "rgba(46, 41, 41, 0.18)"
  }} />
        <span style={{
    marginLeft: "8px",
    color: "rgba(46, 41, 41, 0.58)",
    fontSize: "0.82rem",
    overflow: "hidden",
    textOverflow: "ellipsis",
    whiteSpace: "nowrap"
  }}>{label}</span>
      </div>
      <div className="hc-conversation-preview-clip">
        <iframe className="hc-conversation-preview-frame" src={url} title={label} loading="lazy" style={{
    margin: 0,
    maxWidth: "none"
  }} />
      </div>
      <div style={{
    padding: "12px 14px",
    borderTop: "1px solid rgba(46, 41, 41, 0.08)",
    background: "rgba(255, 255, 255, 0.72)"
  }}>
        <a href={url} target="_blank" rel="noreferrer">{linkLabel}</a>
      </div>
    </div>;
}

export function LivePreview({url, label, linkLabel = "Open live result", fit = "content"}) {
  const isContentFit = fit === "content";
  return <div className={`hc-live-preview${isContentFit ? " hc-preview-content" : ""}`} style={{
    width: isContentFit ? "100%" : "clamp(320px, calc(100vw - 640px), 960px)",
    margin: isContentFit ? "18px 0 32px" : "18px 0 32px 50%",
    transform: isContentFit ? "none" : "translateX(-50%)",
    border: "1px solid rgba(46, 41, 41, 0.1)",
    borderRadius: "10px",
    overflow: "hidden",
    background: "rgba(255, 255, 255, 0.55)",
    boxShadow: "0 18px 45px rgba(46, 41, 41, 0.08)"
  }}>
      <style>{`
        .hc-live-preview-clip {
          position: relative;
          container-type: inline-size;
          aspect-ratio: 16 / 10;
          height: auto;
          overflow: hidden;
          background: white;
        }

        .hc-live-preview-frame {
          position: absolute;
          left: 0;
          top: 0;
          width: 1280px !important;
          height: 800px !important;
          max-width: none !important;
          border: 0;
          background: white;
          display: block;
          transform: scale(calc(100cqw / 1280px));
          transform-origin: top left;
        }

        @media (max-width: 1279px) {
          .hc-live-preview:not(.hc-preview-content) {
            width: 100% !important;
            margin-left: 0 !important;
            transform: none !important;
          }

          .hc-live-preview:not(.hc-preview-content) .hc-live-preview-clip {
            height: min(70vh, 520px);
          }

          .hc-live-preview:not(.hc-preview-content) .hc-live-preview-frame {
            width: 100%;
            height: 100%;
            transform: none;
          }
        }
      `}</style>
      <div style={{
    display: "flex",
    alignItems: "center",
    gap: "8px",
    padding: "10px 12px",
    borderBottom: "1px solid rgba(46, 41, 41, 0.08)",
    background: "rgba(46, 41, 41, 0.035)"
  }}>
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "#F8A963"
  }} />
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "rgba(46, 41, 41, 0.18)"
  }} />
        <span style={{
    width: "8px",
    height: "8px",
    borderRadius: "999px",
    background: "rgba(46, 41, 41, 0.18)"
  }} />
        <span style={{
    marginLeft: "8px",
    color: "rgba(46, 41, 41, 0.58)",
    fontSize: "0.82rem",
    overflow: "hidden",
    textOverflow: "ellipsis",
    whiteSpace: "nowrap"
  }}>{label}</span>
      </div>
      <div className="hc-live-preview-clip">
        <iframe className="hc-live-preview-frame" src={url} title={label} loading="lazy" style={{
    margin: 0,
    maxWidth: "none"
  }} />
      </div>
      <div style={{
    padding: "12px 14px",
    borderTop: "1px solid rgba(46, 41, 41, 0.08)",
    background: "rgba(255, 255, 255, 0.72)"
  }}>
        <a href={url} target="_blank" rel="noreferrer">{linkLabel}</a>
      </div>
    </div>;
}

当你需要的是完整短视频，而不只是脚本或分镜时，可以使用这个流程。Happycapy 可以规划创意、选择视频模型、生成 MP4、创建封面图，并验证输出文件。

## 示例结果

<LivePreview label="happycapy.ai/share/.../pocketgarden-short-video-ad.mp4" url="https://happycapy.ai/share/ecadeba9-8e0c-4a19-94fc-16bd38167312#f=outputs%2Fpocketgarden-short-video-ad.mp4" linkLabel="打开 MP4" />

## 你可以做什么

* 9:16 竖版 MP4 视频广告
* 生成封面图或缩略图
* 短脚本和镜头清单
* 可复用到其他产品或平台的提示词

## 需要准备什么

* 产品或推广 brief
* 目标平台和视频时长
* 情绪、场景想法和 CTA
* 必要时指定视频模型

## 可以这样提问

```text theme={null}
为 PocketGarden 创建一个完整短视频广告。PocketGarden 是一款帮助公寓租客在室内种香草的应用。请使用 Seedance 2.0 生成真实视频，输出 8-12 秒竖版 MP4、封面图和包含镜头清单的短脚本。视频要温暖、乐观、适合公寓生活，包含小厨房、香草生长、App 提醒和最终 CTA：“Start your windowsill garden today.” 请保存 MP4、PNG 和 Markdown 文件，并验证每个文件都存在且非空。
```

### 完整对话

<ConversationPreview label="happycapy.ai/share/.../full-conversation" url="https://happycapy.ai/share/ecadeba9-8e0c-4a19-94fc-16bd38167312" linkLabel="打开完整对话" />

## Happycapy 会做什么

1. 把 brief 转成紧凑的视频创意。
2. 确认视频模型和生成设置。
3. 在云端沙盒生成 MP4。
4. 创建封面图和配套脚本。
5. 验证文件大小，并保留完整制作过程。

## 检查清单

* 第一秒是否传达了 hook？
* 输出是否真的是 MP4，而不是预览页？
* 画面比例是否匹配目标平台？
* 封面图和脚本是否能用于发布？
* 同一 brief 是否能 remix 成其他平台版本？

## 下一步

继续让 Happycapy 为 Reels、TikTok、YouTube Shorts 或另一个产品卖点生成不同版本。
