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.

Tutorial batch 3: tour cards and chapters for per-part descriptions and reuse settings

Bowen Xuedb5f5097f7c3
diff --git a/web/editor_genbar.js b/web/editor_genbar.js
index e42a740..33bf5ee 100644
--- a/web/editor_genbar.js
+++ b/web/editor_genbar.js
@@ -54,7 +54,7 @@ export function createEditorGenbar(host, {state, t, actions, text = ''}) {
const input = el('textarea', 'fv-ed-description'); input.rows = 1; input.value = text;
const description = el('div', 'fv-ed-description-box'); description.append(input);
const generate = el('button', 'fv-ed-generate'), cancel = el('button', null, t('Cancel', '取消')), resume = el('button', null, t('Continue', '继续'));
- input.dataset.fvGuide = 'editor-describe'; generate.dataset.fvGuide = 'editor-generate';
+ input.dataset.fvGuide = 'editor-describe'; input.dataset.tourId = 'segment-prompt'; generate.dataset.fvGuide = 'editor-generate';
for (const button of [generate, cancel, resume]) button.type = 'button';
host.append(hint, note, description, generate, cancel, resume);
// Beside Generate, as beside the creative panel's Generate video: the panel's own two-pass choices, the same setting.
diff --git a/web/feature_tour.css b/web/feature_tour.css
index 83a5190..ed9f2ea 100644
--- a/web/feature_tour.css
+++ b/web/feature_tour.css
@@ -23,9 +23,9 @@
.fv-tour-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fv-tour-four figure{margin:0;min-width:0}.fv-tour-four figcaption{text-align:center;margin-top:6px}
.fv-tour-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}
-.fv-tour-dots{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
-.fv-feature-tour .fv-tour-dot{padding:0;width:24px;min-height:28px;border:0;background:transparent;position:relative}
-.fv-tour-dot::after{content:'';position:absolute;inset:10px 8px;border-radius:50%;background:var(--fv-muted)}
+.fv-tour-dots{display:flex;gap:2px;flex-wrap:wrap;align-items:center}
+.fv-feature-tour .fv-tour-dot{padding:0;width:20px;min-height:28px;border:0;background:transparent;position:relative}
+.fv-tour-dot::after{content:'';position:absolute;inset:10px 6px;border-radius:50%;background:var(--fv-muted)}
.fv-tour-dot[aria-current=true]::after{background:var(--fv-accent)}
.fv-tour-actions{display:flex;gap:10px;flex:none}
.fv-feature-tour .fv-primary{background:var(--fv-accent);color:var(--fv-bg);border-color:var(--fv-accent);font-weight:600}
diff --git a/web/feature_tour_content.js b/web/feature_tour_content.js
index 539611b..bb28e58 100644
--- a/web/feature_tour_content.js
+++ b/web/feature_tour_content.js
@@ -33,6 +33,11 @@ export const FEATURE_TOUR = [
card('sound-to-picture', copy('Generate a picture from sound', '按声音生成画面'), copy('Drag an empty range on the video track above a sound, and the picture follows it.', '在有声音的区间上方的视频轨拖出一段空白,画面随声音生成。'),
[{src: 'cc-speech-wave.webp'}], clip('cc-speech'), {status: 'pending-assets', view: 'editor'},
{trigger: 'editor', added: '0.5.0', goto: ['video-empty-range'], sequence: [{...clip('cc-speech'), label: copy('Play with sound', '播放声音')}]}),
+ card('segment-prompt', copy('Describe each part', '逐段描述'), copy('Each part of a longer shot has its own description.', '较长镜头的每一段,各有各的描述。'),
+ [{text: copy('Part 1: A fox walks through a sunlit forest.', '第 1 段:狐狸走过洒满阳光的森林。')}, {text: copy('Part 2: A fox walks through snow.', '第 2 段:狐狸走过雪地。')}], clip('c5-forest-s1'), {status: 'pending-assets', view: 'editor'},
+ {trigger: 'editor', added: '0.5.0', goto: ['segment-prompt'], sequence: [['forest', 'Part 1', '第 1 段'], ['snow', 'Part 2', '第 2 段']].map(([name, en, zh]) => ({...clip(`c5-${name}-s1`), label: copy(en, zh)}))}),
+ card('library-reuse', copy('Reuse settings', '复用设置'), copy('Fill the prompt, size, duration and seed of an earlier video back in.', '把以前一条视频的描述、尺寸、时长和种子填回来。'),
+ [{text: copy(...CASTLE_PROMPT)}], clip('c1-s2'), {status: 'pending-assets'}, {added: '0.5.0', goto: ['library-reuse', 'works-entry']}),
card('extend', copy('Extend', '接着生成'), copy('Continue from where the last clip ends.', '从上一段的结尾接着生成下一段。'),
[{src: 'c6-s1.webp'}], clip('c6-s1'), {status: 'pending-assets', view: 'editor'}, {trigger: 'editor', previewRange: [2, 8]}),
card('two-pass', copy('Two-pass', '二次采样'), copy('The first pass sets the composition; the second adds detail.', '第一遍定构图,第二遍补细节。'),
diff --git a/web/result_actions.js b/web/result_actions.js
index c5e0798..3f1fe3e 100644
--- a/web/result_actions.js
+++ b/web/result_actions.js
@@ -162,6 +162,7 @@ async function reuseAction(record, t, reuse) {
const idle = () => {
clearTimeout(timer); stop();
const button = action('button', '', 'back', 'fv-action-secondary fv-action-reuse');
+ button.dataset.tourId = 'library-reuse';
button.lastElementChild.replaceWith(make(label));
button.hidden = !offered();
button.onclick = () => {
diff --git a/web/tutorial/library-reuse-1.webp b/web/tutorial/library-reuse-1.webp
new file mode 100644
index 0000000..7e0fc68
Binary files /dev/null and b/web/tutorial/library-reuse-1.webp differ
diff --git a/web/tutorial/library-reuse-2.webp b/web/tutorial/library-reuse-2.webp
new file mode 100644
index 0000000..e63f856
Binary files /dev/null and b/web/tutorial/library-reuse-2.webp differ
diff --git a/web/tutorial/segment-prompt-1.webp b/web/tutorial/segment-prompt-1.webp
new file mode 100644
index 0000000..25d32c5
Binary files /dev/null and b/web/tutorial/segment-prompt-1.webp differ
diff --git a/web/tutorial/segment-prompt-2.webp b/web/tutorial/segment-prompt-2.webp
new file mode 100644
index 0000000..15f563e
Binary files /dev/null and b/web/tutorial/segment-prompt-2.webp differ
diff --git a/web/tutorial_book_content.js b/web/tutorial_book_content.js
index e7da9d3..dee4d3d 100644
--- a/web/tutorial_book_content.js
+++ b/web/tutorial_book_content.js
@@ -322,6 +322,25 @@ export const TUTORIAL_CHAPTERS = [
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: 'segment-prompt',
+ goto: ['segment-prompt'],
+ title: {zh: '逐段描述', en: 'Describe each part'},
+ summary: {zh: '为剪辑视图中的每一段单独写描述。', en: 'Write a separate description for each part in the Edit view.'},
+ media: {
+ type: 'image',
+ src: {zh: 'segment-prompt-1.webp', en: 'segment-prompt-2.webp'},
+ alt: {zh: '剪辑视图:选中的一段和描述框已用红框标出。', en: 'The Edit view, with the selected part and the prompt box outlined in red.'},
+ },
+ steps: {
+ zh: ['在“画面”轨上拖出一段较长的范围,它会分成带序号的多段。', '点选其中一段,在描述框中写下这一段的内容。', '再点选另一段,写下它的内容;每段的描述保存在这一段上。', '点“生⁠成”,各段按顺序生成并连成一个视频。'],
+ en: ['On the picture track, drag a long range. It is divided into numbered parts.', 'Select one part and write what happens in it in the prompt box.', 'Select another part and write its own description. Each part keeps its own.', 'Choose "Generate". The parts are made in order and joined into one video.'],
+ },
+ limits: {
+ zh: ['一个连续镜头的段数有上限,见“连续的长视频”。'],
+ en: ['One continuous shot has a limit on the number of parts; see "Make a longer video".'],
+ },
+ },
{
id: 'separate-tracks',
goto: ['audio-track-button'],
@@ -416,6 +435,25 @@ export const TUTORIAL_CHAPTERS = [
en: ['An agent must be connected first. Until then only the connection card is shown.', 'More shots take longer.', 'Whether an agent asks before starting a film or a long reshoot is set under "AI Agent" in Settings.'],
},
},
+ {
+ id: 'library-reuse',
+ goto: ['library-reuse', 'works-entry'],
+ title: {zh: '复用设置', en: 'Reuse settings'},
+ summary: {zh: '把以前一条视频的描述、尺寸、时长和种子填回创作面板。', en: 'Fill the prompt, size, duration and seed of an earlier video back into the creation panel.'},
+ media: {
+ type: 'image',
+ src: {zh: 'library-reuse-1.webp', en: 'library-reuse-2.webp'},
+ alt: {zh: '预览区下方的按钮:“复用设置”已用红框标出。', en: 'The buttons below the preview, with "Reuse settings" outlined in red.'},
+ },
+ steps: {
+ zh: ['点预览区右上角“作品”左边的图标,选一条以前的视频。', '点“复⁠用⁠设⁠置”,描述、尺寸、时长和种子会填回创作面板。', '改动需要变化的内容,再点“生⁠成⁠视⁠频”。', '填入有误时,10 秒内点“撤⁠销”,恢复原来的内容。'],
+ en: ['Choose the icon to the left of "Creations" above the preview and pick an earlier video.', 'Choose "Reuse settings". Its prompt, size, duration and seed are filled into the creation panel.', 'Change what should be different, then choose "Generate video".', 'If the fill was a mistake, choose "Undo" within 10 seconds to bring back what was there.'],
+ },
+ limits: {
+ zh: ['没有保存描述的视频不提供“复用设置”。'],
+ en: ['A video that kept no prompt does not offer "Reuse settings".'],
+ },
+ },
{
id: 'library-export',
goto: ['works-entry'],