Skip to content

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.

Add an offline bilingual tutorial book with a Settings entry

Bowen Xue9ee07ea4a20c
diff --git a/MANIFEST.in b/MANIFEST.in
index 04d51b0..357098c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -8,6 +8,7 @@ include web/vendor/three/LICENSE
recursive-include web/assets *.svg *.png *.webp
recursive-include web/howto *.png
recursive-include web/fonts *.woff2
+recursive-include web/tutorial *.webp *.mp4
recursive-include freevideo_engine/assets *.png *.ico
recursive-include freevideo_engine/launcher *.qml
recursive-include freevideo_engine/launcher/licenses *.txt
diff --git "a/docs/zh-CN/\344\275\277\347\224\250\350\257\264\346\230\216.md" "b/docs/zh-CN/\344\275\277\347\224\250\350\257\264\346\230\216.md"
index 3e00fb3..8c2552c 100644
--- "a/docs/zh-CN/\344\275\277\347\224\250\350\257\264\346\230\216.md"
+++ "b/docs/zh-CN/\344\275\277\347\224\250\350\257\264\346\230\216.md"
@@ -48,6 +48,6 @@
- 两种做法一样,一条视频最多 5 段(第一段加 4 次接着生成),所以创作面板里时长最多填 60 秒。接续的每一段至少 10 秒,整条约 70 秒。剪辑视图里逐段生成同样适用。接得越多,衔接处越容易出现变化,能切镜头的地方建议直接切镜头,用对应的参考图开始新的一段。
- 接着生成使用轻量档,需要 NVIDIA 显卡,也不能和“继续二采”同时使用。
-- 单次生成的最长时长随画幅和显卡而不同,在创作面板的“范围”里可以查看每种尺寸能生成多长、大约需要多久。
+- 单次生成的最长时长随画幅和显卡而不同,在创作面板的“可生成范围”里可以查看每种尺寸能生成多长、大约需要多久。
- 分段生成同样需要 NVIDIA 显卡,Mac 上不支持。
- 分段生成过程中取消,只会停止当前这一段,已经完成的段落会保留,之后可以从第一个未完成的段落继续。
diff --git a/freevideo_engine/desktop_runtime.py b/freevideo_engine/desktop_runtime.py
index f76241c..aa62606 100644
--- a/freevideo_engine/desktop_runtime.py
+++ b/freevideo_engine/desktop_runtime.py
@@ -61,8 +61,9 @@ def source_files(root):
files = [root / name for name in names]
files += [p for folder in ('freevideo_engine', 'constraints', 'web', 'example_workflows')
for p in (root / folder).rglob('*')
- if p.is_file() and p.suffix in ('.py', '.json', '.txt', '.ps1', '.sh', '.js', '.css', '.svg', '.png', '.ico', '.qml',
- '.woff2', '.webp')]
+ if p.is_file() and (p.suffix in ('.py', '.json', '.txt', '.ps1', '.sh', '.js', '.css', '.svg', '.png', '.ico', '.qml',
+ '.woff2', '.webp')
+ or folder == 'web' and p.parent.name == 'tutorial' and p.suffix == '.mp4')]
return sorted(files)
diff --git a/web/first_run_guide.js b/web/first_run_guide.js
index 85affe1..ca669c8 100644
--- a/web/first_run_guide.js
+++ b/web/first_run_guide.js
@@ -150,6 +150,16 @@ export function createGuideReplayEntry({dialog, cn, openWorkspace, replay = show
const manual = el('button', text('manual')); manual.type = 'button'; manual.setAttribute('aria-haspopup', 'menu'); manual.setAttribute('aria-expanded', 'false');
const menu = el('div', null, 'fv-guide-howtos'); menu.setAttribute('role', 'menu'); menu.hidden = true;
const closeMenu = () => { menu.hidden = true; manual.setAttribute('aria-expanded', 'false'); };
+ // The last row opens the whole tutorial book; Settings closes first so a how-to started from the book plays over the workspace.
+ const openBook = el('button', cn ? '教程' : 'Tutorial'); openBook.type = 'button'; openBook.setAttribute('role', 'menuitem');
+ openBook.onclick = async () => {
+ closeMenu();
+ try {
+ const {openTutorialBook} = await import('./tutorial_book.js');
+ await new Promise(resolve => { dialog.addEventListener('close', resolve, {once: true}); dialog.close(); });
+ openTutorialBook();
+ } catch { status.textContent = text('unavailable'); status.hidden = false; }
+ };
manual.onclick = async () => {
if (!menu.hidden) { closeMenu(); return; }
try {
@@ -165,7 +175,7 @@ export function createGuideReplayEntry({dialog, cn, openWorkspace, replay = show
} catch { status.textContent = text('unavailable'); status.hidden = false; }
};
return choice;
- }));
+ }), openBook);
menu.hidden = false; manual.setAttribute('aria-expanded', 'true');
} catch { status.textContent = text('unavailable'); status.hidden = false; }
};
diff --git a/web/theme.css b/web/theme.css
index 5982442..17ec71a 100644
--- a/web/theme.css
+++ b/web/theme.css
@@ -1,7 +1,7 @@
/* One token table for the web views, mirroring freevideo_engine/branding.py so
a control looks the same in the launcher and in ComfyUI. Scope the tokens to
our own views; never change ComfyUI's theme. */
-:where(.fv-studio,.fv-setup,.fv-panel,.fv-generation-progress,.fv-view-navigation,.fv-prompt-guide,.fv-failure-dialog,.fv-reference-picker,.fv-release-notes,.fv-image-editor,.fv-cast-dialog){
+:where(.fv-studio,.fv-setup,.fv-panel,.fv-generation-progress,.fv-view-navigation,.fv-prompt-guide,.fv-failure-dialog,.fv-reference-picker,.fv-release-notes,.fv-image-editor,.fv-cast-dialog,.fv-tutorial-book){
/* Surfaces, from the backdrop up to a hovered control; mirrors branding.py. */
--fv-bg:#111720;--fv-canvas:#161e29;--fv-card:#1a222e;--fv-raised:#212a37;--fv-hover:#2a3341;
--fv-border:#2a3443;--fv-sheen:#35404e;
diff --git a/web/tutorial/editor-extend-refs-1.webp b/web/tutorial/editor-extend-refs-1.webp
new file mode 100644
index 0000000..1b2536b
Binary files /dev/null and b/web/tutorial/editor-extend-refs-1.webp differ
diff --git a/web/tutorial/editor-extend-refs-2.webp b/web/tutorial/editor-extend-refs-2.webp
new file mode 100644
index 0000000..efedd78
Binary files /dev/null and b/web/tutorial/editor-extend-refs-2.webp differ
diff --git a/web/tutorial/long-video-1.webp b/web/tutorial/long-video-1.webp
new file mode 100644
index 0000000..819d3c8
Binary files /dev/null and b/web/tutorial/long-video-1.webp differ
diff --git a/web/tutorial/long-video-2.webp b/web/tutorial/long-video-2.webp
new file mode 100644
index 0000000..7c695dd
Binary files /dev/null and b/web/tutorial/long-video-2.webp differ
diff --git a/web/tutorial/reference-video-1.webp b/web/tutorial/reference-video-1.webp
new file mode 100644
index 0000000..afa1bb7
Binary files /dev/null and b/web/tutorial/reference-video-1.webp differ
diff --git a/web/tutorial/reference-video-2.webp b/web/tutorial/reference-video-2.webp
new file mode 100644
index 0000000..70c1f77
Binary files /dev/null and b/web/tutorial/reference-video-2.webp differ
diff --git a/web/tutorial_book.css b/web/tutorial_book.css
new file mode 100644
index 0000000..17148cb
--- /dev/null
+++ b/web/tutorial_book.css
@@ -0,0 +1,56 @@
+/* Follows the app's dark tokens from theme.css (.fv-tutorial-book is in its scope list). */
+.fv-tutorial-book {
+ --book-bg:var(--fv-canvas); --book-panel:var(--fv-bg); --book-ink:var(--fv-ink); --book-muted:var(--fv-muted);
+ --book-line:var(--fv-border); --book-selected:var(--fv-selected); --book-hover:var(--fv-hover); --book-focus:var(--fv-accent);
+ --book-button:var(--fv-accent); --book-button-ink:var(--fv-bg); --book-backdrop:rgb(5 8 12 / .62);
+ --book-xs:6px; --book-sm:12px; --book-md:20px; --book-lg:28px; --book-xl:36px;
+ --book-radius:var(--fv-r-lg); --book-control-radius:var(--fv-r-sm); --book-media-radius:var(--fv-r-md);
+ --book-control:var(--fv-h); --book-border:1px; --book-outline:2px;
+ --book-media-height:360px; --book-nav:240px; --book-width:1160px; --book-height:820px; --book-edge:24px;
+ --book-body:15px; --book-small:13px; --book-title:24px; --book-section:16px; --book-nav-size:14px; --book-leading:1.7;
+ --book-font:var(--fv-font);
+ box-sizing:border-box; width:min(var(--book-width),calc(100vw - var(--book-edge) * 2));
+ height:min(var(--book-height),calc(100dvh - var(--book-edge) * 2)); max-width:none; max-height:none;
+ margin:auto; padding:0; border:var(--book-border) solid var(--book-line); border-radius:var(--book-radius);
+ background:var(--book-bg); color:var(--book-ink); font:var(--book-body)/var(--book-leading) var(--book-font);
+ color-scheme:dark; overflow:hidden;
+}
+.fv-tutorial-book[open] { display:flex; flex-direction:column; }
+.fv-tutorial-book::backdrop { background:var(--book-backdrop); }
+.fv-tutorial-book *, .fv-tutorial-book *::before { box-sizing:border-box; }
+.fv-tutorial-book [hidden] { display:none!important; }
+.fv-tutorial-book :is(button,select) { font:inherit; color:inherit; }
+.fv-tutorial-book button { cursor:pointer; }
+.fv-tutorial-book :focus-visible { outline:var(--book-outline) solid var(--book-focus); outline-offset:var(--book-outline); }
+.fv-book-header { display:flex; align-items:center; justify-content:space-between; gap:var(--book-sm); padding:var(--book-sm) var(--book-md); border-bottom:var(--book-border) solid var(--book-line); }
+.fv-book-header h1 { margin:0; font-size:var(--book-section); font-weight:600; }
+.fv-book-close { min-height:var(--book-control); padding:var(--book-xs) var(--book-sm); border:var(--book-border) solid var(--book-line); border-radius:var(--book-control-radius); background:transparent; }
+.fv-book-close:hover { background:var(--book-hover); }
+.fv-book-layout { display:grid; grid-template-columns:var(--book-nav) minmax(0,1fr); min-height:0; flex:1; }
+.fv-book-nav { display:flex; flex-direction:column; gap:var(--book-xs); padding:var(--book-sm); overflow-y:auto; background:var(--book-panel); border-right:var(--book-border) solid var(--book-line); }
+.fv-book-chapter { flex-shrink:0; width:100%; min-height:var(--book-control); text-align:start; border:0; border-radius:var(--book-control-radius); padding:var(--book-sm); background:transparent; font-size:var(--book-nav-size); overflow-wrap:anywhere; }
+.fv-book-chapter:hover { background:var(--book-hover); }
+.fv-book-chapter[aria-current] { background:var(--book-selected); }
+.fv-book-chapter[aria-current] { font-weight:600; }
+.fv-book-article { min-width:0; overflow-y:auto; overscroll-behavior:contain; padding:var(--book-lg) var(--book-xl); overflow-wrap:anywhere; }
+.fv-book-chapter-title { margin:0 0 var(--book-sm); font-size:var(--book-title); font-weight:600; line-height:1.35; }
+.fv-book-summary { margin:0 0 var(--book-md); }
+.fv-book-media { display:block; width:auto; max-width:100%; height:auto; max-height:var(--book-media-height); object-fit:contain; margin-inline:auto; border:var(--book-border) solid var(--book-line); border-radius:var(--book-media-radius); background:var(--book-panel); }
+.fv-book-steps { padding-inline-start:var(--book-lg); margin:var(--book-lg) 0 var(--book-md); }
+.fv-book-steps li { padding-inline-start:var(--book-xs); margin-bottom:var(--book-sm); }
+.fv-book-steps li::marker { font-weight:600; }
+.fv-book-limits { margin-top:var(--book-lg); border-top:var(--book-border) solid var(--book-line); padding-top:var(--book-md); }
+.fv-book-limits h3 { font-size:var(--book-section); font-weight:600; margin:0 0 var(--book-sm); }
+.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:disabled { opacity:.5; cursor:default; }
+.fv-book-picker { display:none; }
+@media(max-width:680px) {
+ .fv-tutorial-book { --book-edge:8px; --book-xl:20px; --book-lg:20px; }
+ .fv-book-layout { display:flex; }
+ .fv-book-nav { display:none; }
+ .fv-book-picker { display:flex; align-items:center; gap:var(--book-sm); padding:var(--book-sm) var(--book-md); border-bottom:var(--book-border) solid var(--book-line); }
+ .fv-book-picker select { flex:1; min-width:0; min-height:var(--book-control); padding:var(--book-xs); border:var(--book-border) solid var(--book-line); border-radius:var(--book-control-radius); background:var(--book-bg); }
+ .fv-book-article { flex:1; }
+}
diff --git a/web/tutorial_book.js b/web/tutorial_book.js
new file mode 100644
index 0000000..1a65519
--- /dev/null
+++ b/web/tutorial_book.js
@@ -0,0 +1,146 @@
+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: 'Walk me through it'},
+};
+const el = (tag, cls, text) => {
+ const node = document.createElement(tag);
+ if (cls) node.className = cls;
+ if (text != null) node.textContent = text;
+ return node;
+};
+const language = () => {
+ const choice = new URLSearchParams(location.search).get('freevideo_lang');
+ return choice === 'zh' || (choice !== 'en' && navigator.language?.toLowerCase().startsWith('zh')) ? 'zh' : 'en';
+};
+
+// Media paths are filenames under this module's bundled tutorial directory only.
+// Both images (including animated WebP) and short silent MP4 loops are supported.
+function mediaElement(media, lang, title) {
+ const file = typeof media.src === 'string' ? media.src : media.src[lang];
+ if (!/^[a-z0-9][a-z0-9_-]*\.(webp|png|mp4)$/i.test(file)) throw new Error('Invalid tutorial media filename');
+ const node = el(media.type === 'video' ? 'video' : 'img', 'fv-book-media');
+ node.src = new URL(`./tutorial/${file}`, import.meta.url).href;
+ if (media.type === 'video') {
+ node.muted = true;
+ node.loop = true;
+ node.autoplay = true;
+ node.playsInline = true;
+ node.controls = true;
+ node.setAttribute('aria-label', media.alt?.[lang] || title);
+ if (matchMedia('(prefers-reduced-motion: reduce)').matches) node.autoplay = false;
+ } else {
+ node.alt = media.alt?.[lang] || title;
+ node.decoding = 'async';
+ }
+ return node;
+}
+
+let current = null;
+
+/** Open the bundled manual; chapter is one of the ids in tutorial_book_content.js. */
+export function openTutorialBook({chapter = TUTORIAL_CHAPTERS[0].id} = {}) {
+ if (current?.dialog.isConnected) {
+ current.select(chapter);
+ return current.dialog;
+ }
+ if (!document.querySelector('link[href*="theme.css"]')) {
+ const theme = el('link'); theme.rel = 'stylesheet'; theme.href = new URL('./theme.css', import.meta.url).href;
+ document.head.append(theme);
+ }
+ if (!document.querySelector('link[data-fv-tutorial-book]')) {
+ const css = el('link'); css.rel = 'stylesheet'; css.dataset.fvTutorialBook = '';
+ css.href = new URL('./tutorial_book.css', import.meta.url).href;
+ document.head.append(css);
+ }
+ const lang = language(), text = COPY[lang], restore = document.activeElement;
+ const dialog = el('dialog', 'fv-tutorial-book');
+ dialog.lang = lang === 'zh' ? 'zh-CN' : 'en';
+ dialog.setAttribute('aria-labelledby', 'fv-book-title');
+ const header = el('header', 'fv-book-header'), title = el('h1', null, text.book);
+ title.id = 'fv-book-title';
+ const close = el('button', 'fv-book-close', text.close); close.type = 'button';
+ header.append(title, close);
+ const layout = el('div', 'fv-book-layout'), nav = el('nav', 'fv-book-nav');
+ nav.setAttribute('aria-label', text.contents);
+ const mobile = el('label', 'fv-book-picker', text.contents), picker = el('select');
+ 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;
+ const syncHowTo = () => {
+ if (!start) return;
+ const button = start, id = dialog.dataset.chapter;
+ button.disabled = typeof window.freevideoHowTo?.start !== 'function';
+ button.hidden = button.disabled;
+ // A walk-through that this device cannot do (no longer videos in parts) is not offered.
+ if (!button.disabled) Promise.resolve(window.freevideoHowTo.available?.(id)).then(ok => {
+ if (ok === false && start === button) { button.disabled = true; button.hidden = true; }
+ }).catch(() => {});
+ };
+ function select(id) {
+ const item = TUTORIAL_CHAPTERS.find(c => c.id === id) || TUTORIAL_CHAPTERS[0];
+ dialog.dataset.chapter = item.id;
+ picker.value = item.id;
+ for (const [key, button] of navButtons) {
+ if (key === item.id) button.setAttribute('aria-current', 'page');
+ else button.removeAttribute('aria-current');
+ }
+ article.querySelectorAll('video').forEach(video => video.pause());
+ article.replaceChildren(el('h2', 'fv-book-chapter-title', item.title[lang]));
+ start = null;
+ article.append(el('p', 'fv-book-summary', item.summary[lang]), mediaElement(item.media, lang, item.title[lang]));
+ const steps = el('ol', 'fv-book-steps');
+ item.steps[lang].forEach(step => steps.append(el('li', null, step)));
+ const limits = el('section', 'fv-book-limits'), list = el('ul');
+ limits.append(el('h3', null, text.limits), list);
+ item.limits[lang].forEach(limit => list.append(el('li', null, limit)));
+ start = el('button', 'fv-book-start', text.start); start.type = 'button';
+ start.onclick = () => {
+ syncHowTo();
+ if (start.disabled) return;
+ dialog.close();
+ window.freevideoHowTo?.start(item.id);
+ };
+ article.append(steps, start, limits);
+ syncHowTo();
+ article.scrollTop = 0;
+ }
+ for (const item of TUTORIAL_CHAPTERS) {
+ const button = el('button', 'fv-book-chapter', item.title[lang]); button.type = 'button';
+ button.dataset.chapter = item.id;
+ button.onclick = () => select(item.id);
+ navButtons.set(item.id, button); nav.append(button);
+ const option = el('option', null, item.title[lang]);
+ option.value = item.id; picker.append(option);
+ }
+ picker.onchange = () => select(picker.value);
+ close.onclick = () => dialog.close();
+ // Stop workspace shortcuts while reading, including Control+Enter and Delete.
+ for (const name of ['keydown', 'keypress', 'keyup']) dialog.addEventListener(name, event => event.stopPropagation());
+ dialog.addEventListener('close', () => {
+ dialog.querySelectorAll('video').forEach(video => video.pause());
+ window.removeEventListener('focus', syncHowTo);
+ window.removeEventListener('freevideo-howto-ready', syncHowTo);
+ dialog.remove(); current = null;
+ if (restore?.isConnected) restore.focus({preventScroll: true});
+ }, {once: true});
+ window.addEventListener('focus', syncHowTo);
+ window.addEventListener('freevideo-howto-ready', syncHowTo);
+ layout.append(nav, article); dialog.append(header, mobile, layout);
+ document.body.append(dialog);
+ current = {dialog, select}; select(chapter); dialog.showModal(); close.focus();
+ return dialog;
+}
+
+/** Append an entry to a settings row, or return it for the caller to place.
+ * Example: mountBookEntry({container: row, chapter: 'reference-video'}).
+ * Callers that own another modal may close it in beforeOpen.
+ */
+export function mountBookEntry({container, chapter, beforeOpen} = {}) {
+ const button = el('button', 'fv-book-entry', COPY[language()].book); button.type = 'button';
+ button.onclick = () => { beforeOpen?.(); openTutorialBook({chapter}); };
+ container?.append(button);
+ return button;
+}
diff --git a/web/tutorial_book_content.js b/web/tutorial_book_content.js
new file mode 100644
index 0000000..5dec95f
--- /dev/null
+++ b/web/tutorial_book_content.js
@@ -0,0 +1,58 @@
+// 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: 'reference-video',
+ title: {zh: '参考图生成视频', en: 'Make a video from reference images'},
+ summary: {zh: '让参考图里的人物、物品或场景出现在视频中。', en: 'Use people, objects or places from reference images in a video.'},
+ media: {
+ type: 'image',
+ src: {zh: 'reference-video-1.webp', en: 'reference-video-2.webp'},
+ alt: {zh: '创作面板:素材区域和参考图已用红框标出。', en: 'The creation panel, with the Media section and a reference image outlined in red.'},
+ },
+ steps: {
+ zh: ['在创作面板的“素材”里添加图片,每张可选作参考、首帧或尾帧。', '在描述里输入 @ 选一张图,并说明它在画面里做什么,例如“<Picture 1> 里的女孩在海边奔跑”。', '点“生成视频”。'],
+ 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".', 'Choose "Generate video".'],
+ },
+ limits: {
+ zh: ['参考图生成还在试验中,人物外观不一定每次一致;换一张更清晰的正面图再试。', '首帧和尾帧可以一起用,但暂时不能和参考图一起用。', '首帧、尾帧会按画幅居中裁切;参考图保持原比例。'],
+ 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, but not with reference images yet.', 'First and last frames are center-cropped to the frame shape. Reference images keep their proportions.'],
+ },
+ },
+ {
+ id: 'long-video',
+ title: {zh: '连续的长视频', en: 'Make a longer video'},
+ summary: {zh: '填写更长的时长自动分段生成,也可以逐段接着生成。', en: 'Enter a longer duration to generate in parts, or continue one part at a time.'},
+ media: {
+ type: 'image',
+ src: {zh: 'long-video-1.webp', en: 'long-video-2.webp'},
+ 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".', 'To carry on from a finished video, click "Extend" on its result.', 'Or add parts one by one in "Edit".'],
+ },
+ limits: {
+ zh: ['一条视频最多 5 段,创作面板里时长最多填 60 秒。', '分段生成和接着生成需要 NVIDIA 显卡,Mac 上不支持。', '接得越多,衔接处越容易变化;能切镜头的地方,直接切镜头开始新的一段。'],
+ en: ['A video has at most 5 parts, and the creation panel accepts up to 60 seconds.', 'Generating in parts and Extend need an NVIDIA graphics card and are not available on 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: 'editor-extend-refs',
+ title: {zh: '在剪辑视图延长时加参考图', en: 'Add reference images when extending in Edit'},
+ summary: {zh: '用参考图引导接着生成的那一段。', en: 'Use reference images to guide the next part.'},
+ media: {
+ type: 'image',
+ src: {zh: 'editor-extend-refs-1.webp', en: 'editor-extend-refs-2.webp'},
+ alt: {zh: '剪辑视图:选中的接续段和描述框旁的参考图入口已用红框标出。', en: 'The Edit view, with the selected continuation and the reference image control beside the prompt outlined in red.'},
+ },
+ steps: {
+ 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".'],
+ },
+ limits: {
+ zh: ['接着上一段生成时最多用 3 张参考图,不用首帧和尾帧。', '剪辑视图里只能加图片;参考视频和音频在创作面板的“素材”里添加。', '同样最多 5 段,需要 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 5-part limit applies, and an NVIDIA graphics card is required. Not available on Mac.'],
+ },
+ },
+];