Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Write the tutorial book chapters with pictures and a Try it button
Bowen Xue44dc88c3e0c5
diff --git a/web/assets/tour/anime-first.webp b/web/assets/tour/anime-first.webpnew file mode 100644index 0000000..95bd8c9Binary files /dev/null and b/web/assets/tour/anime-first.webp differdiff --git a/web/assets/tour/anime-last.webp b/web/assets/tour/anime-last.webpnew file mode 100644index 0000000..d77e1adBinary files /dev/null and b/web/assets/tour/anime-last.webp differdiff --git a/web/assets/tour/fox-sheet.webp b/web/assets/tour/fox-sheet.webpnew file mode 100644index 0000000..79fefb7Binary files /dev/null and b/web/assets/tour/fox-sheet.webp differdiff --git a/web/tutorial/autopilot-1.webp b/web/tutorial/autopilot-1.webpnew file mode 100644index 0000000..f38fdadBinary files /dev/null and b/web/tutorial/autopilot-1.webp differdiff --git a/web/tutorial/autopilot-2.webp b/web/tutorial/autopilot-2.webpnew file mode 100644index 0000000..d67aa68Binary files /dev/null and b/web/tutorial/autopilot-2.webp differdiff --git a/web/tutorial/cast-sheet-1.webp b/web/tutorial/cast-sheet-1.webpnew file mode 100644index 0000000..70d177cBinary files /dev/null and b/web/tutorial/cast-sheet-1.webp differdiff --git a/web/tutorial/cast-sheet-2.webp b/web/tutorial/cast-sheet-2.webpnew file mode 100644index 0000000..b536311Binary files /dev/null and b/web/tutorial/cast-sheet-2.webp differdiff --git a/web/tutorial/continue-or-new-shot-1.webp b/web/tutorial/continue-or-new-shot-1.webpnew file mode 100644index 0000000..67138dcBinary files /dev/null and b/web/tutorial/continue-or-new-shot-1.webp differdiff --git a/web/tutorial/continue-or-new-shot-2.webp b/web/tutorial/continue-or-new-shot-2.webpnew file mode 100644index 0000000..085023eBinary files /dev/null and b/web/tutorial/continue-or-new-shot-2.webp differdiff --git a/web/tutorial/editor-1.webp b/web/tutorial/editor-1.webpnew file mode 100644index 0000000..75f8714Binary files /dev/null and b/web/tutorial/editor-1.webp differdiff --git a/web/tutorial/editor-2.webp b/web/tutorial/editor-2.webpnew file mode 100644index 0000000..cde732aBinary files /dev/null and b/web/tutorial/editor-2.webp differdiff --git a/web/tutorial/editor-extend-refs-1.webp b/web/tutorial/editor-extend-refs-1.webpindex 1b2536b..3fbc5ec 100644Binary files a/web/tutorial/editor-extend-refs-1.webp and b/web/tutorial/editor-extend-refs-1.webp differdiff --git a/web/tutorial/editor-extend-refs-2.webp b/web/tutorial/editor-extend-refs-2.webpindex efedd78..74ccf99 100644Binary files a/web/tutorial/editor-extend-refs-2.webp and b/web/tutorial/editor-extend-refs-2.webp differdiff --git a/web/tutorial/extend-video-1.webp b/web/tutorial/extend-video-1.webpnew file mode 100644index 0000000..f3f4828Binary files /dev/null and b/web/tutorial/extend-video-1.webp differdiff --git a/web/tutorial/extend-video-2.webp b/web/tutorial/extend-video-2.webpnew file mode 100644index 0000000..4021420Binary files /dev/null and b/web/tutorial/extend-video-2.webp differdiff --git a/web/tutorial/first-last-frame-1.webp b/web/tutorial/first-last-frame-1.webpnew file mode 100644index 0000000..0d123e6Binary files /dev/null and b/web/tutorial/first-last-frame-1.webp differdiff --git a/web/tutorial/first-last-frame-2.webp b/web/tutorial/first-last-frame-2.webpnew file mode 100644index 0000000..840531dBinary files /dev/null and b/web/tutorial/first-last-frame-2.webp differdiff --git a/web/tutorial/library-export-1.webp b/web/tutorial/library-export-1.webpnew file mode 100644index 0000000..e73840cBinary files /dev/null and b/web/tutorial/library-export-1.webp differdiff --git a/web/tutorial/library-export-2.webp b/web/tutorial/library-export-2.webpnew file mode 100644index 0000000..0326548Binary files /dev/null and b/web/tutorial/library-export-2.webp differdiff --git a/web/tutorial/long-video-1.webp b/web/tutorial/long-video-1.webpindex 819d3c8..2cc8bd6 100644Binary files a/web/tutorial/long-video-1.webp and b/web/tutorial/long-video-1.webp differdiff --git a/web/tutorial/long-video-2.webp b/web/tutorial/long-video-2.webpindex 7c695dd..046a8fa 100644Binary files a/web/tutorial/long-video-2.webp and b/web/tutorial/long-video-2.webp differdiff --git a/web/tutorial/quality-tiers-1.webp b/web/tutorial/quality-tiers-1.webpnew file mode 100644index 0000000..b45b119Binary files /dev/null and b/web/tutorial/quality-tiers-1.webp differdiff --git a/web/tutorial/quality-tiers-2.webp b/web/tutorial/quality-tiers-2.webpnew file mode 100644index 0000000..85e2744Binary files /dev/null and b/web/tutorial/quality-tiers-2.webp differdiff --git a/web/tutorial/quick-start-1.webp b/web/tutorial/quick-start-1.webpnew file mode 100644index 0000000..83a8362Binary files /dev/null and b/web/tutorial/quick-start-1.webp differdiff --git a/web/tutorial/quick-start-2.webp b/web/tutorial/quick-start-2.webpnew file mode 100644index 0000000..670dfa3Binary files /dev/null and b/web/tutorial/quick-start-2.webp differdiff --git a/web/tutorial/reference-video-1.webp b/web/tutorial/reference-video-1.webpindex afa1bb7..a700898 100644Binary files a/web/tutorial/reference-video-1.webp and b/web/tutorial/reference-video-1.webp differdiff --git a/web/tutorial/reference-video-2.webp b/web/tutorial/reference-video-2.webpindex 70c1f77..034a6a9 100644Binary files a/web/tutorial/reference-video-2.webp and b/web/tutorial/reference-video-2.webp differdiff --git a/web/tutorial/refine-1.webp b/web/tutorial/refine-1.webpnew file mode 100644index 0000000..c929b9fBinary files /dev/null and b/web/tutorial/refine-1.webp differdiff --git a/web/tutorial/refine-2.webp b/web/tutorial/refine-2.webpnew file mode 100644index 0000000..8e90e17Binary files /dev/null and b/web/tutorial/refine-2.webp differdiff --git a/web/tutorial/text-to-video-1.webp b/web/tutorial/text-to-video-1.webpnew file mode 100644index 0000000..125bfeaBinary files /dev/null and b/web/tutorial/text-to-video-1.webp differdiff --git a/web/tutorial/text-to-video-2.webp b/web/tutorial/text-to-video-2.webpnew file mode 100644index 0000000..cd9c17dBinary files /dev/null and b/web/tutorial/text-to-video-2.webp differdiff --git a/web/tutorial/troubleshoot-1.webp b/web/tutorial/troubleshoot-1.webpnew file mode 100644index 0000000..c4ee880Binary files /dev/null and b/web/tutorial/troubleshoot-1.webp differdiff --git a/web/tutorial/troubleshoot-2.webp b/web/tutorial/troubleshoot-2.webpnew file mode 100644index 0000000..e8b2760Binary files /dev/null and b/web/tutorial/troubleshoot-2.webp differdiff --git a/web/tutorial_book.css b/web/tutorial_book.cssindex 4f0d021..8cd7996 100644--- a/web/tutorial_book.css+++ b/web/tutorial_book.css@@ -44,6 +44,8 @@.fv-book-limits ul { padding-inline-start:var(--book-md); margin:0; }.fv-book-limits li { margin-bottom:var(--book-sm); }.fv-book-start { margin-top:0; padding:var(--book-sm) var(--book-md); min-height:var(--book-control); border:0; border-radius:var(--book-control-radius); background:var(--book-button); color:var(--book-button-ink)!important; font-weight:600; }+.fv-book-start + .fv-book-start, .fv-book-try + .fv-book-start { margin-inline-start:var(--book-sm); }+.fv-book-try { background:var(--book-button); }.fv-book-start:disabled { opacity:.5; cursor:default; }.fv-book-picker { display:none; }@media(max-width:680px) {diff --git a/web/tutorial_book.js b/web/tutorial_book.jsindex 2c64a56..425f481 100644--- a/web/tutorial_book.js+++ b/web/tutorial_book.js@@ -1,8 +1,8 @@import {TUTORIAL_CHAPTERS} from './tutorial_book_content.js';const COPY = {- zh: {book: '教程', contents: '目录', close: '关闭', limits: '限制', start: '开始演示'},- en: {book: 'Tutorial', contents: 'Contents', close: 'Close', limits: 'Limits', start: 'Start walkthrough'},+ zh: {book: '教程', contents: '目录', close: '关闭', limits: '限制', start: '开始演示', tryIt: '试一试'},+ en: {book: 'Tutorial', contents: 'Contents', close: 'Close', limits: 'Limits', start: 'Start walkthrough', tryIt: 'Try it'},};const el = (tag, cls, text) => {const node = document.createElement(tag);@@ -68,7 +68,7 @@ export function openTutorialBook({chapter = TUTORIAL_CHAPTERS[0].id} = {}) {picker.setAttribute('aria-label', text.contents); mobile.append(picker);const article = el('article', 'fv-book-article'); article.tabIndex = 0;const navButtons = new Map();- let start = null;+ let start = null, tryButton = null;const syncHowTo = () => {if (!start) return;const button = start, id = dialog.dataset.chapter;@@ -79,6 +79,11 @@ export function openTutorialBook({chapter = TUTORIAL_CHAPTERS[0].id} = {}) {if (ok === false && start === button) { button.disabled = true; button.hidden = true; }}).catch(() => {});};+ // "Try it" puts the chapter's example into the creation panel through the same entry as the feature cards.+ const syncTry = () => {+ if (!tryButton) return;+ tryButton.hidden = tryButton.disabled = typeof window.freevideoHowTo?.tryIt !== 'function';+ };function select(id) {const item = TUTORIAL_CHAPTERS.find(c => c.id === id) || TUTORIAL_CHAPTERS[0];dialog.dataset.chapter = item.id;@@ -103,8 +108,19 @@ export function openTutorialBook({chapter = TUTORIAL_CHAPTERS[0].id} = {}) {dialog.close();window.freevideoHowTo?.start(item.id);};- article.append(steps, start, limits);+ tryButton = null;+ if (item.example) {+ tryButton = el('button', 'fv-book-start fv-book-try', text.tryIt); tryButton.type = 'button';+ tryButton.onclick = () => {+ syncTry();+ if (tryButton.disabled) return;+ dialog.close();+ window.freevideoHowTo.tryIt(item.example, {chapter: item.id});+ };+ }+ article.append(steps, ...(tryButton ? [tryButton] : []), start, limits);syncHowTo();+ syncTry();article.scrollTop = 0;}for (const item of TUTORIAL_CHAPTERS) {@@ -122,12 +138,16 @@ export function openTutorialBook({chapter = TUTORIAL_CHAPTERS[0].id} = {}) {dialog.addEventListener('close', () => {dialog.querySelectorAll('video').forEach(video => video.pause());window.removeEventListener('focus', syncHowTo);+ window.removeEventListener('focus', syncTry);window.removeEventListener('freevideo-howto-ready', syncHowTo);+ window.removeEventListener('freevideo-howto-ready', syncTry);dialog.remove(); current = null;if (restore?.isConnected) restore.focus({preventScroll: true});}, {once: true});window.addEventListener('focus', syncHowTo);+ window.addEventListener('focus', syncTry);window.addEventListener('freevideo-howto-ready', syncHowTo);+ window.addEventListener('freevideo-howto-ready', syncTry);layout.append(nav, article); dialog.append(header, mobile, layout);document.body.append(dialog);current = {dialog, select}; select(chapter); dialog.showModal(); close.focus();diff --git a/web/tutorial_book_content.js b/web/tutorial_book_content.jsindex 6735bbc..8f823a7 100644--- a/web/tutorial_book_content.js+++ b/web/tutorial_book_content.js@@ -1,6 +1,75 @@// Bundled tutorial copy, a short form of docs/zh-CN/使用说明.md; keep them consistent.// Only finished chapters are listed. Add a chapter here when it is written, with its picture row in scripts/tutorial_pictures.json.export const TUTORIAL_CHAPTERS = [+ {+ id: 'quick-start',+ title: {zh: '做出第一条视频', en: 'Make your first video'},+ summary: {zh: '只写一句描述,其余使用默认设置。', en: 'Write one sentence and keep the default settings.'},+ media: {+ type: 'image',+ src: {zh: 'quick-start-1.webp', en: 'quick-start-2.webp'},+ alt: {zh: '创作面板:描述框和“生成视频”按钮已用红框标出。', en: 'The creation panel, with the prompt box and the "Generate video" button outlined in red.'},+ },+ steps: {+ zh: ['打开“创作面板”,在“描述画面”中写一句话,说明谁在什么地方做什么。', '画幅选“横屏”或“竖屏”,其余保持默认。', '点“生成视频”。', '完成后在预览区播放,点“下载视频”保存。'],+ en: ['Open "Create" and write one sentence under the prompt: who is where and doing what.', 'Choose "Landscape" or "Portrait" and keep the rest as it is.', 'Choose "Generate video".', 'When it finishes, play it in the preview and choose "Download video" to save it.'],+ },+ example: {+ assets: [],+ prompt: ['A small orange cat walks along a sunlit windowsill and looks out at the rain.', '一只橘色小猫沿着洒满阳光的窗台慢慢走过,望向窗外的雨。'],+ settings: {},+ },+ limits: {+ zh: ['首次生成需要加载模型,用时较长;之后会更快。', '同一时间只处理一个请求,其余请求在队列中等待。'],+ en: ['The first run loads the models and takes longer. Later runs are faster.', 'One request runs at a time and the others wait in the queue.'],+ },+ },+ {+ id: 'text-to-video',+ title: {zh: '文字生成视频', en: 'Make a video from text'},+ summary: {zh: '用文字描述镜头,并选择画幅、清晰度和时长。', en: 'Describe the shot, then choose the shape, resolution and length.'},+ media: {+ type: 'image',+ src: {zh: 'text-to-video-1.webp', en: 'text-to-video-2.webp'},+ alt: {zh: '创作面板:描述、画幅与时长区域已用红框标出。', en: 'The creation panel, with the prompt and the Frame & duration fields outlined in red.'},+ },+ steps: {+ zh: ['在“描述画面”中写明主体、动作、场景和镜头,例如“镜头缓缓推近”。', '在“画幅与时长”中选择横屏、竖屏或方形,并设置“清晰度”。', '在“时长 · 秒”中填写秒数;“可生成范围”中可查看各尺寸的最长时长和预计用时。', '点“生成视频”。'],+ en: ['Write the subject, action, place and camera in the prompt, for example "the camera slowly moves closer".', 'Under "Frame & duration", choose landscape, portrait or square and set "Resolution".', 'Enter the seconds under "Duration · seconds". "Available sizes and lengths" shows the longest length and the estimated time for each size.', 'Choose "Generate video".'],+ },+ example: {+ assets: [],+ prompt: ['A white stone castle rises above the mist as the camera slowly moves closer in daylight.', '白石城堡耸立在薄雾之上,日光下镜头缓缓推近。'],+ settings: {quality: 'High', width: 960, height: 544, seconds: 5},+ },+ limits: {+ zh: ['清晰度越高、时长越长,用时和显存占用越多。', '描述中的文字内容不一定能准确显示在画面里。', '开启“FreeToken 提示词增强”后,描述会在本机被改写得更详细。'],+ en: ['Higher resolution and longer length take more time and memory.', 'Text named in the prompt may not appear exactly in the picture.', 'With "FreeToken enhancement" on, the prompt is rewritten in more detail on this computer.'],+ },+ },+ {+ id: 'first-last-frame',+ title: {zh: '首帧和尾帧', en: 'First and last frames'},+ summary: {zh: '指定视频从哪张图开始、到哪张图结束。', en: 'Choose the image the video starts from and the one it ends on.'},+ media: {+ type: 'image',+ src: {zh: 'first-last-frame-1.webp', en: 'first-last-frame-2.webp'},+ alt: {zh: '创作面板:素材区域中图片的用途下拉框已用红框标出。', en: 'The creation panel, with the image role selectors in the Media section outlined in red.'},+ },+ steps: {+ zh: ['在“素材”中点“上传文件”,添加起始图片,并将它的用途下拉框选为“首帧”。', '需要结尾画面时,再添加一张图片并设为“尾帧”。', '在描述中写明两张图之间发生了什么。', '点“生成视频”。'],+ en: ['Under "Media", choose "Upload files", add the starting image and set its role dropdown to "First frame".', 'For an ending picture, add another image and set it to "Last frame".', 'Describe what happens between the two images.', 'Choose "Generate video".'],+ },+ example: {+ assets: [{file: 'anime-first.webp', role: 'first'}, {file: 'anime-last.webp', role: 'last'}],+ prompt: ['Anime style, a girl with long dark hair and a school uniform in a sunlit classroom raises her head slowly and turns to look back over her shoulder with a gentle smile, still camera.', '动漫风格,长发校服少女在阳光教室里缓缓抬头,回头看向镜头并微笑,镜头固定。'],+ settings: {},+ },+ limits: {+ zh: ['图片会按所选画幅居中裁切。', '首帧、尾帧不能与参考图、角色同时使用。'],+ en: ['Images are center-cropped to the chosen shape.', 'First and last frames cannot be used with reference images or characters.'],+ },+ },{id: 'reference-video',title: {zh: '参考图生成视频', en: 'Make a video from reference images'},@@ -14,11 +83,85 @@ export const TUTORIAL_CHAPTERS = [zh: ['在创作面板的“素材”中添加图片,每张可设为参考、首帧或尾帧。', '在描述中输入 @ 选择图片,并写明它在画面中的作用,例如“<Picture 1> 里的女孩在海边奔跑”。', '视频和音频也可作为参考:点“上\u2060传\u2060文\u2060件”添加,在描述中输入 @ 引用。', '点“生成视频”。'],en: ['Add images under "Media" in the creation panel and set each one as a reference, first frame, or last frame.', 'Type @ in the prompt and choose an image, then say what it does in the scene, for example "The girl in <Picture 1> runs along the beach".', 'Videos and audio can be references too: add them with "Upload files" and mention them in the prompt with @.', 'Choose "Generate video".'],},+ example: {+ assets: [],+ prompt: ['A girl runs along the beach at sunset and waves at the camera.', '一个女孩在日落的海边奔跑,并向镜头挥手。'],+ settings: {},+ },limits: {zh: ['参考图生成仍在试验中,人物外观可能每次不同;清晰的正面图效果更稳定。', '首帧和尾帧可同时使用,会按画幅居中裁切;暂不能与参考图、参考视频同时使用。', '参考视频只取与成片等长的一段,最长 15 秒;生成用时约为只用图片时的两倍。'],en: ['Reference generation is experimental, so a character may look different between runs. A clearer, front-facing image helps.', 'First and last frames can be used together and are center-cropped to the frame shape. They cannot be used with reference images or videos yet.', 'A reference video is trimmed to the length of the result, up to 15 seconds, and generation takes about twice as long as with images only.'],},},+ {+ id: 'cast-sheet',+ title: {zh: '角色库和角色设定图', en: 'Characters and character sheets'},+ summary: {zh: '把人物保存为角色,之后在描述中用 @ 引用。', en: 'Save a person as a character, then mention it with @ in later prompts.'},+ media: {+ type: 'image',+ src: {zh: 'cast-sheet-1.webp', en: 'cast-sheet-2.webp'},+ alt: {zh: '角色窗口:名字、正面图片和其他角度图片已用红框标出。', en: 'The character window, with the name, front image and other angles outlined in red.'},+ },+ steps: {+ zh: ['展开创作面板的“素材”,在“角色”一行点“+”(新建角色)。', '填写“名字”,设置“正面图片”:可“上传图片”,也可“AI 生成”,后者会按描述一次生成 5 张供选。', '可再添加最多 5 张其他角度的图片,然后点“保存”。', '之后在描述中输入 @ 选择该角色,并写明其动作。'],+ en: ['Expand "Media" in the creation panel and, on the "Characters" row, choose + (New character).', 'Enter a "Name" and set the "Front image": choose "Upload images", or "Generate with AI", which makes 5 pictures from a description to pick from.', 'Add up to 5 images from other angles, then choose "Save".', 'In later prompts, type @ to pick the character and describe what the character does.'],+ },+ example: {+ assets: [{file: 'fox-sheet.webp', role: 'reference'}],+ prompt: ['Live-action nature film, the fox shown in {image1} runs through a snowy field with soft snowfall, the camera follows beside it.', '纪录片风格,{image1} 中的狐狸在飘雪的田野上奔跑,镜头在一侧跟随。'],+ settings: {},+ },+ limits: {+ zh: ['一次请求最多使用 3 个角色。', '角色不能与首帧、尾帧同时使用。', '角色的外观可能每次略有不同。'],+ en: ['A request uses up to 3 characters.', 'Characters cannot be used with first or last frames.', 'A character may look slightly different between runs.'],+ },+ },+ {+ id: 'quality-tiers',+ title: {zh: '四个质量档位', en: 'The four quality levels'},+ summary: {zh: '档位越靠右,用时越长、细节越多。', en: 'Further right takes longer and keeps more detail.'},+ media: {+ type: 'image',+ src: {zh: 'quality-tiers-1.webp', en: 'quality-tiers-2.webp'},+ alt: {zh: '创作面板:质量滑块上的轻量、标准、精细、极致已用红框标出。', en: 'The creation panel, with the quality slider and its four names outlined in red.'},+ },+ steps: {+ zh: ['在“质量”滑块上选择“轻量”“标准”“精细”或“极致”。', '构思阶段用“轻量”,快速确认画面和动作。', '定稿时改用“精细”或“极致”。', '选好档位后,“质量”旁会显示预计用时;然后点“生成视频”。'],+ en: ['Move the "Quality" slider to Light, Medium, High or Max.', 'While exploring, use Light to check the picture and motion quickly.', 'For the final video, switch to High or Max.', 'The estimated time for the chosen level appears next to "Quality". Then choose "Generate video".'],+ },+ example: {+ assets: [],+ prompt: ['A golden puppy runs across a sunny green meadow toward the camera, ears flopping, soft daylight.', '一只金毛小狗在阳光明媚的绿色草地上朝镜头跑来,耳朵晃动,柔和的日光。'],+ settings: {quality: 'High'},+ },+ limits: {+ zh: ['预计用时因显卡而异,以面板显示为准。', '不同档位各自生成,画面构图可能不同,不宜逐帧对比。'],+ en: ['Time depends on the graphics card; use the estimate shown in the panel.', 'Each level is generated on its own, so the composition may differ and the results should not be compared frame by frame.'],+ },+ },+ {+ id: 'refine',+ title: {zh: '先出预览,再继续二采', en: 'Preview first, then run the second pass'},+ summary: {zh: '先出半分辨率预览,满意后再生成完整视频。', en: 'Make a half-resolution preview first, then the full video when it looks right.'},+ media: {+ type: 'image',+ src: {zh: 'refine-1.webp', en: 'refine-2.webp'},+ alt: {zh: '创作面板:二次采样选项“先出预览”已用红框标出。', en: 'The creation panel, with the "Preview first" option outlined in red.'},+ },+ steps: {+ zh: ['在二次采样中选择“先出预览”,按钮变为“生成预览”。', '点“生成预览”,等待预览完成。', '画面满意时,点结果中的“继续二采”。', '不满意时,修改描述或种子,再生成新的预览。'],+ en: ['Under two-pass sampling choose "Preview first". The button changes to "Generate preview".', 'Choose "Generate preview" and wait for it to finish.', 'When the picture is right, choose "Run second pass" in the result.', 'Otherwise change the prompt or the seed and generate a new preview.'],+ },+ example: {+ assets: [],+ prompt: ['A dark castle emerges from the mist as the camera slowly moves closer.', '深色城堡从薄雾中显现,镜头缓缓推近。'],+ settings: {two_pass: true, preview: true},+ },+ limits: {+ zh: ['完整视频与直接生成的结果一致。', '预览生成较快,但仍需加载模型。'],+ en: ['The full video matches a direct run.', 'A preview is quicker, but the models still have to load.'],+ },+ },{id: 'long-video',title: {zh: '连续的长视频', en: 'Make a longer video'},@@ -29,14 +172,88 @@ export const TUTORIAL_CHAPTERS = [alt: {zh: '创作面板:时长输入框和“可生成范围”入口已用红框标出。', en: 'The creation panel, with the duration field and "Available sizes and lengths" control outlined in red.'},},steps: {- zh: ['填写更长的时长,会自动分段生成;“可生成范围”中可查看各尺寸的最长时长和预计用时。', '点“生成视频”。', '在生成好的视频上点“接着生成”,继续下一段。', '也可在“剪辑视图”中逐段接续。'],- en: ['Enter a longer duration. It is made in parts automatically. "Available sizes and lengths" shows how long each size can be and about how long it takes.', 'Choose "Generate video".', 'Choose "Extend" on a finished video to continue it.', 'Parts can also be added one by one in "Edit".'],+ zh: ['填写更长的时长,会自动分段生成;“可生成范围”中可查看各尺寸的最长时长和预计用时。', '点“生成视频”。', '在生成好的视频下方点“接着生成”,继续下一段。', '更长的多镜头视频,可在“剪辑视图”中另起新的镜头,或使用“AI 全自动”。'],+ en: ['Enter a longer duration. It is made in parts automatically. "Available sizes and lengths" shows how long each size can be and about how long it takes.', 'Choose "Generate video".', 'Choose "Extend" below a finished video to continue it.', 'For a longer video with several shots, start new shots in "Edit", or use "Autopilot".'],+ },+ example: {+ assets: [],+ prompt: ['A hiker crosses a mountain ridge at dawn. The camera follows from behind, then rises to show the valley below.', '清晨,一名徒步者走过山脊,镜头在身后跟随,随后升起,展现脚下的山谷。'],+ settings: {},},limits: {zh: ['接着生成的每一段至少 5 秒。一个连续镜头最多 8 段,有短于 10 秒的段时最多 4 段;创作面板中时长最长 60 秒;分镜剧本可在剪辑视图中逐个镜头添加,或用 AI 全自动。', '分段生成和接着生成需要 NVIDIA 显卡或 Mac。', '段数越多,衔接处越容易出现变化;适合切换镜头处,可直接开始新的一段。'],en: ['Each continued part is at least 5 seconds. One continuous shot has at most 8 parts, or 4 when a part is shorter than 10 seconds, and the creation panel accepts up to 60 seconds. For a storyboard, add shots one by one in Edit, or use Autopilot.', 'Generating in parts and Extend need an NVIDIA graphics card or a Mac.', 'The more parts are joined, the more the joins may change. Where a cut fits, cut to a new shot and start a fresh part.'],},},+ {+ id: 'extend-video',+ title: {zh: '延长已有视频', en: 'Extend an existing video'},+ summary: {zh: '从一条已有视频的结尾继续往下生成。', en: 'Continue from the end of a video you already have.'},+ media: {+ type: 'image',+ src: {zh: 'extend-video-1.webp', en: 'extend-video-2.webp'},+ alt: {zh: '剪辑视图:接着生成的草稿段和描述框已用红框标出。', en: 'The Edit view, with the draft part that continues the video and the prompt box outlined in red.'},+ },+ steps: {+ zh: ['在生成好的视频下方点“接着生成”,打开剪辑视图。', '选中后面自动加上的那一段(默认 10 秒;在 Mac 和一次生成不了 10 秒的设备上为 5 秒),在底部描述框写明接下来发生什么。', '需要更长时,拖长这一段,每段至少 5 秒,然后点“生成”。', '新的一段会接在原视频之后,并自动拼成一条。'],+ en: ['Choose "Extend" below a finished video. The Edit view opens.', 'Select the part added after it (10 seconds by default, or 5 seconds on a Mac and on devices that cannot make 10 seconds at once) and write what happens next in the box at the bottom.', 'To make it longer, drag the part out; each part is at least 5 seconds. Then choose "Generate".', 'The new part follows the original and is joined into one video.'],+ },+ example: {+ assets: [],+ prompt: ['The cat jumps down from the windowsill and trots across the wooden floor toward the kitchen.', '小猫从窗台跳下,沿着木地板小跑向厨房。'],+ settings: {},+ },+ limits: {+ zh: ['需要 NVIDIA 显卡或 Mac。'],+ en: ['An NVIDIA graphics card or a Mac is required.'],+ },+ },+ {+ id: 'continue-or-new-shot',+ title: {zh: '接着生成,还是另起镜头', en: 'Continue a shot or start a new one'},+ summary: {zh: '接着生成是同一个镜头的下一段;在时间线空白处另起的是新镜头。', en: 'Extend makes the next part of the same shot. A part dragged out in an empty place on the timeline is a new shot.'},+ media: {+ type: 'image',+ src: {zh: 'continue-or-new-shot-1.webp', en: 'continue-or-new-shot-2.webp'},+ alt: {zh: '剪辑视图时间线:接续上一段的草稿带有连接标记,与后面空开的独立镜头已用红框标出。', en: 'The Edit timeline, with the draft that continues the video, marked by a link, and the separate shot after a gap outlined in red.'},+ },+ steps: {+ zh: ['要让画面接着上一段往下发展,在生成好的视频下方点“接着生成”:新的一段紧接在后面,带有连接标记,与前面拼成同一个镜头。', '要换场景或切到另一个画面,在时间线的空白处拖出一段,写下描述再点“生成”:它是独立镜头,不接前面的画面。', '看时间线:接续的一段紧贴前一段,带连接标记;独立镜头与前面的视频分开显示。'],+ en: ['To carry the picture on from the previous part, choose "Extend" below a finished video. The new part follows right after it, carries a link mark, and joins the earlier part as one shot.', 'To change scene or cut to another picture, drag out a part in an empty place on the timeline, describe it and choose "Generate". It is a separate shot and does not continue the earlier picture.', 'Check the timeline: a continuing part sits right against the part before it and carries a link mark. A separate shot is drawn apart from the video before it.'],+ },+ example: {+ assets: [],+ prompt: ['Inside a quiet cafe, rain runs down the window while a barista wipes the counter.', '安静的咖啡馆里,雨水顺着窗户流下,店员擦拭着柜台。'],+ settings: {},+ },+ limits: {+ zh: ['同一个连续镜头最多 8 段,有短于 10 秒的段时最多 4 段;另起的独立镜头不计入。', '接着生成和另起镜头都需要 NVIDIA 显卡或 Mac。'],+ en: ['One continuous shot has at most 8 parts, or 4 when a part is shorter than 10 seconds. A separate shot does not count toward them.', 'Extend and new shots both need an NVIDIA graphics card or a Mac.'],+ },+ },+ {+ id: 'editor',+ title: {zh: '剪辑视图:裁剪、描述、接续', en: 'The Edit view: crop, describe, continue'},+ summary: {zh: '在时间线上选中一段,描述它,并接着生成。', en: 'Select a part on the timeline, describe it and continue.'},+ media: {+ type: 'image',+ src: {zh: 'editor-1.webp', en: 'editor-2.webp'},+ alt: {zh: '剪辑视图:选中的一段和描述框已用红框标出。', en: 'The Edit view, with the selected part and the prompt box outlined in red.'},+ },+ steps: {+ zh: ['点顶部的“剪辑视图”。', '在时间线上选中要处理的一段。', '在下方描述框中填写这一段的内容,点“生成”接续下一段。', '在右侧“画面”中可调整缩放、位置和旋转,或点“裁剪”(窗口窄于 1280 时,先点“调整”打开该面板)。', '完成后点右上角的“导出”保存。'],+ en: ['Choose "Edit" at the top.', 'Select a part on the timeline.', 'Write what happens in this part in the box below and choose "Generate" to continue.', 'Under "Video" on the right, adjust scale, position and rotation, or choose "Crop" (on a window narrower than 1280 pixels, choose "Adjust" first to open the panel).', 'When done, choose "Export" at the top right.'],+ },+ example: {+ assets: [],+ prompt: ['The runner reaches the top of the hill, stops, and looks out over the valley as the sun comes up.', '跑步的人登上山顶,停下脚步,望着山谷中升起的太阳。'],+ settings: {},+ },+ limits: {+ zh: ['同一个连续镜头最多 8 段,有短于 10 秒的段时最多 4 段;在时间线后面另起的新镜头不计入。', '接续需要 NVIDIA 显卡或 Mac。'],+ en: ['One continuous shot has at most 8 parts, or 4 when a part is shorter than 10 seconds; a new shot started later on the timeline does not count.', 'Continuing needs an NVIDIA graphics card or a Mac.'],+ },+ },{id: 'editor-extend-refs',title: {zh: '在剪辑视图延长时加参考图', en: 'Add reference images when extending in Edit'},@@ -50,9 +267,68 @@ export const TUTORIAL_CHAPTERS = [zh: ['选中要接续的一段。', '点描述框旁的 +,上传或生成图片,最多 3 张。', '填写描述,然后点“生成”。'],en: ['Select the part to continue.', 'Click + next to the prompt to upload or generate images, up to 3.', 'Describe it, then choose "Generate".'],},+ example: {+ assets: [],+ prompt: ['The traveler steps into the market square. Lanterns glow above the stalls.', '旅人走进集市广场,摊位上方灯笼亮着。'],+ settings: {},+ },limits: {zh: ['接续生成最多使用 3 张参考图,不使用首帧和尾帧。', '剪辑视图只能添加图片;参考视频和音频在创作面板的“素材”中添加。', '段数限制相同;需要 NVIDIA 显卡或 Mac。'],en: ['A part that continues the previous one uses up to 3 reference images and no first or last frames.', 'Edit takes images only. Add reference videos and audio under "Media" in the creation panel.', 'The same part limits apply. An NVIDIA graphics card or a Mac is required.'],},},+ {+ id: 'autopilot',+ title: {zh: 'AI 全自动', en: 'Autopilot'},+ summary: {zh: '用对话说明想拍的内容,由 AI 分镜头并逐个生成。', en: 'Say what to film in a chat; the AI plans the shots and makes them one by one.'},+ media: {+ type: 'image',+ src: {zh: 'autopilot-1.webp', en: 'autopilot-2.webp'},+ alt: {zh: 'AI 全自动:连接 Agent 的按钮已用红框标出。', en: 'Autopilot, with the button that connects an agent outlined in red.'},+ },+ steps: {+ zh: ['点顶部的“AI 全自动”。', '点“连接 Agent”卡片中的按钮复制连接信息,粘贴给所使用的 Agent。', '状态显示“已连接”(或所连 Agent 的名字)后,在“对 Agent 说…”中描述想做的视频,例如“做一条 1 分钟的竖屏短片:咖啡店的一天”。', '点“发送”,Agent 会生成并剪辑;可随时点“停止”,完成后点“打开”或“剪辑”。'],+ en: ['Choose "Autopilot" at the top.', 'On the "Connect an agent" card, choose the button to copy the connection details and paste them to the agent you use.', 'When it shows "Connected" (or the agent\'s name), describe the video under "Message the agent…", for example "Make a 1-minute vertical short film: a day in a coffee shop".', 'Choose "Send". The agent generates and edits it. Choose "Stop" at any time, and "Open" or "Edit" when it finishes.'],+ },+ limits: {+ zh: ['需要先连接 Agent,未连接时只显示连接说明。', '镜头越多,用时越长。'],+ en: ['An agent must be connected first. Until then only the connection card is shown.', 'More shots take longer.'],+ },+ },+ {+ id: 'library-export',+ title: {zh: '作品库和导出', en: 'Creations and export'},+ summary: {zh: '查找生成过的视频,并导出为文件。', en: 'Find earlier videos and export them as files.'},+ media: {+ type: 'image',+ src: {zh: 'library-export-1.webp', en: 'library-export-2.webp'},+ alt: {zh: '“我的作品”:第一条作品已用红框标出。', en: 'Your creations, with the first video outlined in red.'},+ },+ steps: {+ zh: ['点预览区的“作品”,打开“我的作品”。', '选择一条视频,可播放,或点“接着生成”在剪辑视图中继续。', '需要成片时,在“剪辑视图”点“导出”。', '在导出窗口选择范围、画质和内容,再点“导出”。'],+ en: ['Choose "Creations" in the preview area to open the library.', 'Pick a video to play it, or choose "Extend" to continue it in the Edit view.', 'For a finished file, choose "Export" in the Edit view.', 'In the export window choose the range, quality and content, then choose "Export".'],+ },+ limits: {+ zh: ['删除作品前会确认;被剪辑使用的作品不能删除。', '导出过程中取消不会留下不完整的文件。'],+ en: ['FreeVideo asks before deleting a video, and a video used in an edit cannot be deleted.', 'Cancelling an export leaves no unfinished file.'],+ },+ },+ {+ id: 'troubleshoot',+ title: {zh: '出错了怎么办', en: 'When something goes wrong'},+ summary: {zh: '读取提示、保存诊断报告。', en: 'Read the message and save a diagnostic report.'},+ media: {+ type: 'image',+ src: {zh: 'troubleshoot-1.webp', en: 'troubleshoot-2.webp'},+ alt: {zh: '错误提示:“导出报告”和“提交问题”按钮已用红框标出。', en: 'An error message, with the "Export report" and "Report a problem" buttons outlined in red.'},+ },+ steps: {+ zh: ['先阅读错误提示,其中已写明可尝试的操作。', '仍然失败时,点“导出报告”保存诊断信息。', '点“提交问题”,将报告附到 GitHub issue。', '提示需要重启时,重新启动 FreeVideo。'],+ en: ['Read the error message first. It names what to try.', 'If it still fails, choose "Export report" to save the diagnostic information.', 'Choose "Report a problem" and attach the report to a GitHub issue.', 'When asked to restart, restart FreeVideo.'],+ },+ limits: {+ zh: ['报告中的路径已做脱敏处理。'],+ en: ['Paths in the report are anonymized.'],+ },+ },];