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.

Shorter interface copy; first view-switch tip removed

Bowen Xue8e4554b3298a
diff --git a/scripts/test_prompt_guide.mjs b/scripts/test_prompt_guide.mjs
index aa40a3f..15eb7d5 100644
--- a/scripts/test_prompt_guide.mjs
+++ b/scripts/test_prompt_guide.mjs
@@ -21,7 +21,7 @@ for (const language of ['en', 'zh']) {
assert.equal(link.rel, 'noopener noreferrer');
}
const text = result.children.map(child => child.text).join('');
- assert.ok(text.includes(language === 'zh' ? '让AI参考' : 'ask AI to rewrite'));
+ assert.ok(text.includes(language === 'zh' ? '让 AI 参考 MiniMax H3 Prompt Skill ↗ 重写提示词' : 'ask AI to rewrite'));
assert.ok(text.includes('FreeToken'));
assert.equal(result.children.some(child => child.tag === 'button' || child.tag === 'input'), false);
});
diff --git a/web/autopilot_chat.js b/web/autopilot_chat.js
index 6ad7751..519ad54 100644
--- a/web/autopilot_chat.js
+++ b/web/autopilot_chat.js
@@ -723,7 +723,7 @@ export function agentChat(t, api, {open, edit, shown = () => true, changed = ()
});
const sendable = sendingAllowed();
input.disabled = state.agent.connected !== true || creating || !!selectedSession && selectedSession !== state.session;
- input.placeholder = state.agent.connected === true && !sendable ? t('Ask your agent to keep listening', '回到 Agent 那边让它继续') : t('Message the agent…', '对 Agent 说…');
+ input.placeholder = state.agent.connected === true && !sendable ? t('Ask your agent to continue', '请在 Agent 里让它继续') : t('Message the agent…', '对 Agent 说…');
sendButton.disabled = !sendable || draftSending() || !input.value.trim();
if (focusSession === state.session && focusSession && !input.disabled && active()) { focusSession = null; input.focus(); }
if (stick) { pinned = true; scroller.scrollTop = scroller.scrollHeight; down.hidden = true; }
diff --git a/web/freevideo.js b/web/freevideo.js
index 948d427..2ed8353 100644
--- a/web/freevideo.js
+++ b/web/freevideo.js
@@ -291,8 +291,8 @@ function mediaPanel(node, mount = null) {
const off = Math.abs(Math.log((preview.naturalWidth / preview.naturalHeight) / (size.width / size.height))) > .02;
if (!off || !preview.isConnected) return;
const note = el("div", undefined, "fv-shape-note");
- note.append(el("span", text(`Its shape differs from the video (${size.width}×${size.height}); the edges are cropped when generating.`,
- `比例与视频(${size.width}×${size.height})不同,生成时会居中裁掉多出的部分。`)),
+ note.append(el("span", text('Different aspect ratio from the video; it will be center-cropped.',
+ '和视频比例不同,会居中裁剪。')),
button(text("Adjust crop", "调整裁剪"), text("Choose what the video keeps", "选择视频保留的画面"), () => editImage(row.file, "crop")));
wrap.after(note);
}, {once: true});
diff --git a/web/studio.js b/web/studio.js
index 903819c..4f512c8 100644
--- a/web/studio.js
+++ b/web/studio.js
@@ -121,14 +121,14 @@ function saveTriggers(name, words) {
export const loraWarning = () => t(
'FreeVideo needs no acceleration LoRA.',
- 'FreeVideo无需添加加速LoRA');
+ 'FreeVideo 无需添加加速 LoRA');
export function promptGuide() {
const note = el('p', null, 'fv-prompt-guide');
const link = el('a', 'MiniMax H3 Prompt Skill ↗');
link.href = 'https://github.com/MiniMax-AI/MiniMax-H3/blob/main/skills/h3-prompt-writing/SKILL.md';
link.target = '_blank'; link.rel = 'noopener noreferrer';
- note.append(document.createTextNode(t('For better results, ask AI to rewrite your prompt using ', '让AI参考 ')),
+ note.append(document.createTextNode(t('For better results, ask AI to rewrite your prompt using ', '让 AI 参考 ')),
link, document.createTextNode(t('. We recommend ', ' 重写提示词效果会更好。推荐使用 ')));
const freeToken = el('a', 'FreeToken ↗');
freeToken.href = 'https://www.flashml.ai/';
diff --git a/web/view_navigation.css b/web/view_navigation.css
index 721f328..1507acc 100644
--- a/web/view_navigation.css
+++ b/web/view_navigation.css
@@ -5,11 +5,7 @@
.fv-view-switch button[aria-pressed=true],.fv-studio .fv-view-switch button[aria-pressed=true]{background:var(--fv-raised);color:var(--fv-ink);font-weight:var(--fv-semibold);box-shadow:0 1px 3px #0006}.fv-view-switch button:hover{color:var(--fv-ink)}
.fv-view-switch button:focus-visible,.fv-view-navigation button:focus-visible{outline:2px solid var(--fv-accent);outline-offset:2px}
.fv-view-switch button[hidden],.fv-studio .fv-view-switch button[hidden]{display:none}
-/* First-run tip: a tinted callout, not another line of grey text. */
-.fv-view-guide{display:flex;align-items:center;gap:10px;max-width:560px;margin-top:10px;padding:8px 8px 8px 12px;border-radius:var(--fv-r-sm);background:var(--fv-selected);font-size:12px;line-height:1.5;color:var(--fv-ink)}
-.fv-view-guide::before{content:'i';flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--fv-accent);color:var(--fv-bg);font:600 11px/1 Georgia,serif}
-.fv-view-guide>span{flex:1}
-.fv-view-guide button{flex:none;color:var(--fv-accent);padding:4px 8px;font-weight:var(--fv-semibold)}.fv-view-guide button:hover{background:#ffffff0f}.fv-view-navigation .fv-view-settings{font-size:12px;padding:6px}
+.fv-view-navigation .fv-view-settings{font-size:12px;padding:6px}
.fv-studio .fv-header:has(.fv-view-switch){grid-template-columns:1fr auto 1fr}.fv-studio .fv-header>.fv-header-actions{justify-self:end;min-width:0}.fv-studio .fv-view-switch button{padding:5px 14px;min-height:var(--fv-h-sm)}
@media(max-width:680px){.fv-view-navigation{top:68px;max-width:calc(100vw - 16px)}.fv-view-row{gap:6px}.fv-view-row>.fv-wordmark{width:90px}.fv-view-switch button{padding:7px 10px}.fv-studio .fv-header:has(.fv-view-switch){grid-template-columns:1fr auto 1fr;gap:8px}.fv-studio .fv-header:has(.fv-view-switch) .fv-wordmark{width:90px}.fv-studio .fv-view-switch{justify-self:center}.fv-studio .fv-view-switch button{padding:6px 9px}}
diff --git a/web/view_navigation.js b/web/view_navigation.js
index 1beee61..69b9dc3 100644
--- a/web/view_navigation.js
+++ b/web/view_navigation.js
@@ -120,34 +120,6 @@ export function installNavigation(openStudio, agent = false) {
if (created) handle?.notify(t('Created an editing project for you.', '已为你新建一个剪辑工程'));
return handle;
}, true), () => choose(node => openAutopilot(node), true)), createVersionInfo(cn).element, settings); toolbar.append(row);
- let shown = false;
- try { shown = localStorage.getItem('freevideo.view-guide') === '1'; } catch { /* Show once this session. */ }
- if (!shown) {
- const guide = document.createElement('div'); guide.className = 'fv-view-guide';
- const text = document.createElement('span');
- text.textContent = t('Switching views keeps the content of each view.', '切换视图时,各视图的内容都会保留。');
- const dismiss = document.createElement('button'); dismiss.type = 'button'; dismiss.textContent = t('Got it', '知道了');
- dismiss.onclick = () => {
- try { localStorage.setItem('freevideo.view-guide', '1'); } catch {}
- // Fold the tip away rather than letting the toolbar jump.
- const reduce = typeof matchMedia === 'function' && matchMedia('(prefers-reduced-motion: reduce)').matches;
- if (reduce || typeof guide.animate !== 'function') { guide.remove(); return; }
- // The tip set the toolbar's width; contract the bar in the same motion.
- const before = toolbar.getBoundingClientRect().width;
- guide.style.display = 'none';
- const after = toolbar.getBoundingClientRect().width;
- guide.style.display = '';
- const height = guide.getBoundingClientRect().height;
- guide.style.overflow = 'hidden'; guide.style.whiteSpace = 'nowrap';
- const timing = {duration: 260, easing: 'cubic-bezier(.4,0,.2,1)'};
- if (Math.abs(before - after) > 1) toolbar.animate([{width: `${before}px`}, {width: `${after}px`}], timing);
- // The text is gone before the bar has narrowed enough to clip it.
- guide.animate([{opacity: 1, height: `${height}px`, marginTop: '10px'}, {opacity: 0, offset: .4},
- {opacity: 0, height: '0px', marginTop: '0px', paddingTop: '0px', paddingBottom: '0px'}],
- {...timing, fill: 'forwards'}).finished.then(() => guide.remove(), () => guide.remove());
- };
- guide.append(text, dismiss); toolbar.append(guide);
- }
toolbar.append(createUpdateNotice(cn).element);
document.body.append(toolbar); refreshNavigation();
makeMovable(toolbar);