VisoTalk
$npx skills add visotalk/visotalk -g
示例 / liftoff

Liftoff, by Eric Berger: a book explainer

2:40书籍讲解由智能体用 VisoTalk Agent SKILL 制作

影片的 1080p 视频,带旁白。“实时”则在你的浏览器里直接从文档播放。

旁白

点击一句话即可跳到那里。

它展示了什么。 真实素材:一段视频按引擎时钟逐帧精确绘制,照片声明了各自的许可,署名由此生成。

源码文档的第一个场景

视频就是这份文档。旁白是每个 Line 的文字,每个动画都从其中的某个词开始,就在这个词被说出的时候。

  <Scene id="hook">
    <Line id="h1" text="On May 30, 2020, a SpaceX rocket carried two NASA astronauts toward orbit.">On May thirtieth, twenty twenty, a SpaceX rocket carried two NASA astronauts toward orbit.</Line>
    <Line id="h2">It was the first time a private company had launched people into orbit.</Line>
    <Line id="h3">Eric Berger's book Liftoff goes back to the years when that company was fighting to survive.</Line>
    <Sound asset="score" at="start" volume={-7} duck={5} fadeIn={0.3} />
    <Part id="clip" z={1}><Clip /></Part>
    <Part id="lt" z={2} x={110} y={640} w={1300} h={270}><LowerThird /></Part>
    <Part id="first" z={2} x={110} y={90} w={1700} h={300}><FirstPrivate /></Part>
    <Part id="title" z={2} x={0} y={100} w={1920} h={720}><Title /></Part>
    <Animation>
      <Appear target="stars" at="start" dur={0} />
      <Appear target="clip" at="start" dur={0} />
      <Tween target="clip" to={{dim: 0.1}} at="start" dur={0.1} />
      <Appear target="lt" line="h1" word="May" />
      <Appear target="lt-small" line="h1" word="May" />
      <Appear target="lt-big" line="h1" word="May" dur={0.7} />
      <Tween target="lt-rule" to={{w: 420}} line="h1" word="May" offset={0.4} dur={1.6} easing="easeOut" />
      <Appear target="lt-rule" line="h1" word="May" offset={0.4} dur={0.2} />
      <Appear target="first" line="h2" word="private" dur={0} />
      <Appear target="first-a" line="h2" word="private" />
      <Appear target="first-b" line="h2" word="launched" />
      <Disappear target={["lt", "first"]} line="h3" dur={0.5} />
      <Tween target="clip" to={{dim: 0.55}} line="h3" dur={1.2} />
      <Appear target="title" line="h3" />
      <Set target="byline" to={{y: 30}} at="start" />
      <Appear target="eyebrow" line="h3" word="book" />
      <Appear target="name-a" line="h3" word="Liftoff" dur={0.6} />
      <Appear target="name-b" line="h3" word="Liftoff" offset={0.5} dur={0.6} />
      <Appear target="byline" line="h3" word="Berger's" />
      <Tween target="byline" to={{y: 0}} line="h3" word="Berger's" dur={0.8} easing="easeOut" />
    </Animation>
  </Scene>
在 GitHub 上查看 examples/liftoff/doc.tsx
改编做成你自己的

整个示例打包成一个文件:文档、它用到的图片和片段,以及已经朗读好的旁白。在 VisoTalk Studio 中导入它(首页上的导入 .visotalk)即可在那里修改,或者用 npx visotalk import liftoff.visotalk 为 Agent SKILL 解包。

liftoff.visotalk · 8.5 MB