示例 / sonnet-18
Sonnet 18
0:50示例由智能体用 VisoTalk Agent SKILL 制作
影片的 1080p 视频,带旁白。“实时”则在你的浏览器里直接从文档播放。
旁白
点击一句话即可跳到那里。
源码文档的第一个场景
视频就是这份文档。旁白是每个 Line 的文字,每个动画都从其中的某个词开始,就在这个词被说出的时候。
<Scene id="poem">
<Line id="l1" hold={0.5}>Shall I compare thee to a summer's day?</Line>
<Line id="l2" hold={0.5}>Thou art more lovely and more temperate:</Line>
<Line id="l3" hold={0.5}>Rough winds do shake the darling buds of May,</Line>
<Line id="l4" hold={1.0}>And summer's lease hath all too short a date;</Line>
<Line id="l5" hold={0.5}>Sometime too hot the eye of heaven shines,</Line>
<Line id="l6" hold={0.5}>And often is his gold complexion dimm'd;</Line>
<Line id="l7" hold={0.5}>And every fair from fair sometime declines,</Line>
<Line id="l8" hold={1.0}>By chance or nature's changing course untrimm'd;</Line>
<Line id="l9" hold={0.5}>But thy eternal summer shall not fade,</Line>
<Line id="l10" hold={0.5}>Nor lose possession of that fair thou ow'st;</Line>
<Line id="l11" hold={0.5}>Nor shall death brag thou wander'st in his shade,</Line>
<Line id="l12" hold={1.0}>When in eternal lines to time thou grow'st:</Line>
<Line id="l13" hold={0.5}>So long as men can breathe or eyes can see,</Line>
<Line id="l14" hold={2.2}>So long lives this, and this gives life to thee.</Line>
…
</Scene>在 GitHub 上查看 examples/sonnet-18/doc.tsx改编做成你自己的
整个示例打包成一个文件:文档、它用到的图片和片段,以及已经朗读好的旁白。在 VisoTalk Studio 中导入它(首页上的导入 .visotalk)即可在那里修改,或者用 npx visotalk import sonnet-18.visotalk 为 Agent SKILL 解包。