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.
Result card and library: the continue entry stays closed until the joined whole video is made
Bowen Xue38d419082519
diff --git a/web/result_actions.js b/web/result_actions.jsindex 2bbe5f2..12433ab 100644--- a/web/result_actions.js+++ b/web/result_actions.js@@ -1,7 +1,7 @@import { api } from '../../scripts/api.js';import { outputDownloadURL } from './output_download.js';import { shareButton } from './share.js';-import { canExtend, extendText, extendSourceExists } from './studio_extend.js';+import { EXTEND_ENTRY_OPEN, canExtend, extendText, extendSourceExists } from './studio_extend.js';const css = document.createElement('link');css.rel = 'stylesheet'; css.href = new URL('./result_actions.css', import.meta.url).href; document.head.append(css);@@ -115,7 +115,7 @@ export function resultActions(record, t, {diagnostic = null, secondPass = null,download.href = outputDownloadURL(api, record.video); download.download = '';bar.append(download);}- if (extend && canExtend(record)) {+ if (EXTEND_ENTRY_OPEN && extend && canExtend(record)) {const button = action('button', extendText(t, 'action'), 'extend', 'fv-action-secondary fv-action-extend');button.hidden = true;extendSourceExists(api, record).then(exists => { button.hidden = !exists; });diff --git a/web/studio.js b/web/studio.jsindex 9d08f79..c9dc348 100644--- a/web/studio.js+++ b/web/studio.js@@ -813,7 +813,7 @@ export function openStudio(node, {extendFrom = null} = {}) {loop_stopped: t('The last request did not complete. The loop has stopped.', '上一条任务未完成,循环已停止。'),linked_seed: t('Use the seed in this panel for batch or loop generation.', '批量和循环生成需使用面板内的种子,请先断开种子输入的连接。'),missing_node: t('This node is disabled or no longer in the workflow.', '该节点已禁用或已从工作流移除。'),- }[error?.message] || error?.message || String(error));+ }[error?.message] || (error?.said ? t(error.said[0], error.said[1]) : null) || error?.message || String(error));let lastQueueError = null;function showQueueError(error) {if (disposed) return;diff --git a/web/studio_chain.js b/web/studio_chain.jsindex 1939f5f..c3e8d72 100644--- a/web/studio_chain.js+++ b/web/studio_chain.js@@ -56,7 +56,8 @@ export function createStudioChain({api, node, onState = () => {}, onProgress = (const response = await api.fetchApi(path, options);if (response.status === 404) return null;const value = await response.json();- if (!response.ok) throw Object.assign(new Error(value.error || 'chain_request_failed'), {code: value.code, status: response.status});+ if (!response.ok) throw Object.assign(new Error(value.error || 'chain_request_failed'), {code: value.code, status: response.status,+ ...(value.error_zh ? {said: [value.error, value.error_zh]} : {})});return value;}function progress(message = {}, fresh = false) {diff --git a/web/studio_extend.js b/web/studio_extend.jsindex c465213..0acbac2 100644--- a/web/studio_extend.js+++ b/web/studio_extend.js@@ -8,6 +8,9 @@ export const EXTEND_TEXT = Object.freeze({});export const extendText = (t, key) => t(...EXTEND_TEXT[key]);+// The saved video of a continuation holds only what it adds, so the result card and the library keep this entry+// closed until the joined whole video is made; the editor's own extension is unaffected.+export const EXTEND_ENTRY_OPEN = false;export function canExtend(record) {return Boolean(record?.video && /\.mp4$/i.test(record.video) && !record.preview&& record.has_video !== false && !['image', 'audio'].includes(record.kind)