guided-product-demo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
You may be operating inside the brand's repository, or working from an external context.
Do not guess brand identity. Either analyze the codebase or research the provided URL.

EXECUTION PIPELINE

STEP 1 — Gather Context
⛔ STOP. Ask the user these two questions:
  1. "Are we inside your brand's repository, or would you like to provide a URL (e.g. your marketing site) so I can research your brand online?"
  2. "Would you like generated background music? If yes, you'll need an ELEVEN_LABS_API_KEY in your environment. You can get one at https://elevenlabs.io → Profile → API Keys."
Wait for the user to respond to both questions.
Do not attempt to read .env files or verify keys yourself. Trust the user's responses.
If the user provides a URL, use it for brand research in STEP 3 instead of analyzing the codebase. If the user declines music, skip STEP 4 and STEP 5.

STEP 2 — Ensure Helios Runtime Dependencies
Install required packages:
npm install @helios-project/core @helios-project/renderer @helios-project/cli
You will render using DOM mode.

STEP 3 — Extract Brand Intelligence and Product Features From Repo
If the user provided a URL instead of a repo, fetch that URL and extract the same brand signals from the live site. Skip codebase-specific items (Tailwind config, design tokens, etc.) and focus on visible brand elements.
Analyze:
• Tailwind config or CSS variables • Global stylesheets • Design tokens • Logo assets • Favicon • UI components (buttons, forms, cards, modals) • Page layouts and routing structure • Feature flags or feature directories • API endpoints (reveals product capabilities) • Dashboard or admin interfaces • Settings pages (reveals configurable features) • README feature lists • Marketing copy and hero sections • Screenshots or demo assets
Construct internal brand profile:
• Core value proposition • Target audience • Tone of voice (professional, innovative, approachable) • Visual density • Primary palette • Accent palette • Typography character • Product category (SaaS, dev tool, e-commerce, etc.)
Construct product feature map:
• Top 3-5 signature features • Primary user workflow • Key UI surfaces • Differentiating capabilities
All creative decisions must align with this.

STEP 4 — Generate Original Music (Skip if no music)
Use ElevenLabs with existing ELEVEN_LABS_API_KEY.
Generate instrumental track matching:
• Professional, modern tone • Building energy (matches progressive feature reveals) • Clean and polished feel • Target runtime
Save audio locally.

STEP 5 — Analyze Audio With ffmpeg (Skip if no music)
Extract:
• BPM • Beat timestamps • Downbeats • Energy peaks
Create beat timing map.
Feature reveals must land on downbeats. UI transitions should align to beats.

STEP 6 — Read Motion Design Rules
Before producing the creative specification, read and internalize:
skills/guided/motion-design-rules
Every rule in that skill is mandatory for this composition.

STEP 7 — Produce Creative Specification
You are a senior creative director and product marketing architect designing for Helios using motion.dev.
Input example: make a 45 second product demo
Output:
• One structured creative specification • Wrapped in a single code block • No explanation outside it
The specification must include:
• Duration • Aspect ratio (16:9) • Brand summary • Product feature map • Motion language (precise, deliberate, polished) • Beat synchronized scene breakdown • Exact timestamps per feature • Voiceover script (benefit-driven, concise) • On screen text (feature names, benefit callouts, labels) • Visual composition (mockup frames, UI highlights, zoom regions) • Explicit motion.dev animation behavior • Transition logic (zoom-ins for detail, pan-outs for context, smooth crossfades) • Layering order (background → UI mockup → highlight overlay → text → cursor/pointer) • Audio direction • Asset requirements • Cursor or pointer choreography
Use motion.dev compatible terminology only.
Demo structure requirements:
• Opening brand moment (2-3 seconds) • Feature 1: Show + Tell • Feature 2: Show + Tell • Feature 3: Show + Tell • Closing CTA with product name
Each feature segment: • Establish context (wide view) • Zoom to detail (highlight interaction) • Show result (benefit visible)

STEP 8 — Implement DOM Based Helios Composition
Using the creative specification:
Create a composition.html file that:
• Uses HTML + CSS + motion.dev • Implements animations using WAAPI / CSS / motion.dev • Aligns feature reveals to downbeats • Uses UI mockup frames with highlight overlays • Includes cursor/pointer animations for interaction simulation • Includes generated audio file • Has exact duration
Expose Helios runtime:
js
import { helios } from "@helios-project/core";

window.helios = helios;

helios.bindToDocumentTimeline({
  autoSyncAnimations: true
});
Requirements:
• window.helios must be defined • helios.bindToDocumentTimeline() must be called • autoSyncAnimations: true must be enabled • All CSS and WAAPI animations must sync correctly • No randomness • Deterministic timing • UI mockups must be pixel-accurate representations • Highlight regions must use subtle glow or border emphasis

STEP 9 — Render Using Official Helios CLI (DOM Mode)
Render with:
npx helios render ./composition.html -o output.mp4
Requirements:
• 16:9 aspect ratio • Correct duration • Audio attached • CSS and WAAPI fully synchronized • High quality MP4 output
Output file must be:
output.mp4

RUNTIME RULES

If duration ≤ 30 seconds Show maximum 2 features. Prioritize the strongest differentiator.
If no duration specified Default to 45 seconds.
Maximum 5 features for any duration. Each feature must have at least 5 seconds of screen time. Never show a feature without explaining the benefit.
Never restate the original prompt. Never explain reasoning. Creative specification must be output inside a single code block only.
你可能在品牌的代码仓库内操作,也可能处于外部环境中。
请勿猜测品牌标识。请要么分析代码库,要么研究提供的URL。

执行流程

步骤1 — 收集上下文
⛔ 暂停。向用户询问以下两个问题:
  1. “我们是在你的品牌代码仓库内操作,还是你需要提供一个URL(例如你的营销网站)以便我在线研究你的品牌?”
  2. “你是否需要生成背景音乐?如果需要,你的环境中需要配置ELEVEN_LABS_API_KEY。你可以访问https://elevenlabs.io → 个人资料 → API密钥获取。”
等待用户回复这两个问题。
请勿尝试读取.env文件或自行验证密钥。 请信任用户的回复。
如果用户提供了URL,请在步骤3中使用该URL进行品牌研究,而非分析代码库。 如果用户不需要音乐,请跳过步骤4和步骤5。

步骤2 — 确保Helios运行时依赖已安装
安装所需包:
npm install @helios-project/core @helios-project/renderer @helios-project/cli
你将使用DOM模式进行渲染。

步骤3 — 从代码仓库提取品牌信息和产品功能
如果用户提供的是URL而非代码仓库,请获取该URL并从在线站点提取相同的品牌信号。跳过代码库特有的内容(如Tailwind配置、设计令牌等),专注于可见的品牌元素。
分析内容包括:
• Tailwind配置或CSS变量 • 全局样式表 • 设计令牌 • Logo资源 • 网站图标(Favicon) • UI组件(按钮、表单、卡片、模态框) • 页面布局和路由结构 • 功能标志或功能目录 • API端点(可体现产品能力) • 仪表盘或管理界面 • 设置页面(可体现可配置功能) • README中的功能列表 • 营销文案和首屏区域 • 截图或演示资源
构建内部品牌档案:
• 核心价值主张 • 目标受众 • 语气风格(专业、创新、亲民) • 视觉密度 • 主色调 palette • 强调色 palette • 字体特征 • 产品类别(SaaS、开发工具、电商等)
构建产品功能图谱:
• 3-5个核心标志性功能 • 主要用户工作流 • 关键UI界面 • 差异化能力
所有创意决策必须与此保持一致。

步骤4 — 生成原创音乐(无需音乐则跳过)
使用已有的ELEVEN_LABS_API_KEY调用ElevenLabs。
生成符合以下要求的器乐曲目:
• 专业、现代的风格 • 渐强的节奏感(与逐步展示的功能节奏匹配) • 简洁精致的质感 • 符合目标时长
将音频保存到本地。

步骤5 — 使用ffmpeg分析音频(无需音乐则跳过)
提取以下信息:
• BPM(每分钟节拍数) • 节拍时间戳 • 重拍(Downbeats) • 能量峰值
创建节拍时间映射表。
功能展示必须在重拍时出现。 UI过渡应与节拍对齐。

步骤6 — 阅读动效设计规则
在制作创意规范之前,请阅读并理解:
skills/guided/motion-design-rules
该技能中的所有规则对本次作品制作均为强制性要求。

步骤7 — 制作创意规范
你是一名资深创意总监兼产品营销架构师,正在使用motion.dev为Helios设计作品。
输入示例: 制作一个45秒的产品演示视频
输出要求:
• 一份结构化的创意规范 • 包裹在单个代码块内 • 代码块外不得有任何解释内容
规范必须包含:
• 时长 • 宽高比(16:9) • 品牌摘要 • 产品功能图谱 • 动效语言(精准、明确、精致) • 节拍同步的场景拆解 • 每个功能的确切时间戳 • 旁白脚本(以价值为导向、简洁) • 屏幕文本(功能名称、价值提示、标签) • 视觉构图(样机帧、UI高亮区域、缩放范围) • 明确的motion.dev动画行为 • 过渡逻辑(放大查看细节、缩小展示上下文、平滑淡入淡出) • 层级顺序(背景 → UI样机 → 高亮覆盖层 → 文本 → 光标/指针) • 音频指导 • 资源需求 • 光标或指针动作编排
仅使用与motion.dev兼容的术语。
演示结构要求:
• 开场品牌展示(2-3秒) • 功能1:演示+讲解 • 功能2:演示+讲解 • 功能3:演示+讲解 • 结尾CTA(包含产品名称)
每个功能片段: • 建立上下文(全景视图) • 放大细节(高亮交互区域) • 展示结果(呈现价值)

步骤8 — 实现基于DOM的Helios作品
根据创意规范:
创建一个composition.html文件,需满足:
• 使用HTML + CSS + motion.dev • 使用WAAPI / CSS / motion.dev实现动画 • 功能展示与重拍对齐 • 使用带高亮覆盖层의 UI样机帧 • 包含用于模拟交互的光标/指针动画 • 包含生成的音频文件 • 时长精确
暴露Helios运行时:
js
import { helios } from "@helios-project/core";

window.helios = helios;

helios.bindToDocumentTimeline({
  autoSyncAnimations: true
});
要求:
• 必须定义window.helios • 必须调用helios.bindToDocumentTimeline() • 必须启用autoSyncAnimations: true • 所有CSS和WAAPI动画必须同步正确 • 无随机性 • 时间控制可预测 • UI样机必须是像素级精确的还原 • 高亮区域必须使用柔和的发光或边框强调效果

步骤9 — 使用官方Helios CLI(DOM模式)渲染
使用以下命令渲染:
npx helios render ./composition.html -o output.mp4
要求:
• 16:9宽高比 • 时长准确 • 附带音频 • CSS和WAAPI完全同步 • 高质量MP4输出
输出文件必须命名为:
output.mp4

运行时规则

如果时长 ≤ 30秒 最多展示2个功能。优先展示最具差异化的功能。
如果未指定时长 默认时长为45秒。
任何时长下最多展示5个功能。 每个功能的屏幕展示时间至少为5秒。 展示功能时必须同时说明其价值。
请勿重复原始提示内容。 请勿解释决策理由。 创意规范必须完全包裹在单个代码块内。