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

How a leaf makes food

3:11幻灯片变课程由智能体用 VisoTalk Agent SKILL 制作

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

旁白

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

它展示了什么。 在 VisoTalk 上由幻灯片制作,只有类型检查发现的两个颜色名是手动修正的:智能体读了幻灯片,保留其配色、衬线字体和叶子图片,并把每个概念(叶绿体、两个步骤、方程式)画在对应的词上,而不是照读幻灯片。幻灯片就是文档旁的 source/photosynthesis.pptx。

制作素材在 visotalk.com 上发送的内容

这些说明和这个文件:智能体写了脚本,选了图片,并画出了每一个场景。

Turn the attached deck into a narrated lesson for students. Explain the idea of each slide instead of reading it out, keep the deck's pictures and look, and end on the one thing to remember.
photosynthesis.pptx · 233 KB
源码文档的第一个场景

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

  <Scene id="hook" title="A leaf that never eats">
    <Line id="l1">A plant never eats. It has no mouth, and it cannot get up and go looking for a meal.</Line>
    <Line id="l2">Yet a single leaf, on one sunny afternoon, builds everything it needs to grow.</Line>
    <Line id="l2b">Every leaf on the planet is running a small factory, and it has been running it for hundreds of millions of years.</Line>
    <Line id="l3">That trick is photosynthesis, and by the end of this you should be able to explain it in one line.</Line>

    <Part id="title" x={110} y={240} w={760} h={420}><Ctrl /></Part>
    <Part id="leaf" x={860} y={160} w={900} h={620}><LeafPic asset="leaf-intro" /></Part>
    <Animation>
      <Appear target="title" at="start" />
      <Appear target="leaf" line="l1" word="never eats" />
      <Tween target="leaf" to={{x: 60}} line="l2" word="sunny afternoon" dur={3.5} />
      <Tween target="leaf" to={{scale: 1.06}} line="l2b" word="hundreds of millions" dur={3} />
      <Set target="title" to={{step: 1}} line="l3" word="photosynthesis" />
    </Animation>
  </Scene>
在 GitHub 上查看 examples/photosynthesis/doc.tsx
改编做成你自己的

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

photosynthesis.visotalk · 1.7 MB