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.
Waiting videos show the start of their prompt, and Move to front marks the moved video for a moment
Bowen Xuef046f70d18d0
diff --git a/web/studio.css b/web/studio.cssindex 5f5b5b1..e0cb7e0 100644--- a/web/studio.css+++ b/web/studio.css@@ -124,9 +124,13 @@.fv-studio .fv-queue-actions{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:8px}.fv-studio .fv-queue-actions button,.fv-studio .fv-queue-details>summary{padding:4px 8px;min-height:28px;font-size:var(--fv-micro);color:var(--fv-muted)}.fv-studio .fv-queue-actions{position:relative}.fv-studio .fv-queue-details{position:static}.fv-studio .fv-queue-details>summary{cursor:pointer;list-style:none}-.fv-studio .fv-queue-list{left:0;right:auto;bottom:calc(100% + var(--fv-h-lg) + 24px);width:300px;max-height:260px;overflow:auto;scrollbar-width:thin}-.fv-studio .fv-queue-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--fv-micro);padding:3px 0;white-space:nowrap}-.fv-studio .fv-queue-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}+.fv-studio .fv-queue-list{left:0;right:auto;bottom:calc(100% + var(--fv-h-lg) + 24px);width:360px;max-height:260px;overflow:auto;scrollbar-width:thin}+.fv-studio .fv-queue-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--fv-micro);padding:4px 6px;border-radius:var(--fv-r-sm);transition:background .3s ease;white-space:nowrap}+.fv-studio .fv-queue-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}+.fv-studio .fv-queue-text span{min-width:0;overflow:hidden;text-overflow:ellipsis}+.fv-studio .fv-queue-summary{color:var(--fv-ink)}.fv-studio .fv-queue-meta{color:var(--fv-muted)}+.fv-studio .fv-queue-item.fv-queue-moved{background:var(--fv-selected)}+.fv-studio .fv-queue-chip{flex:none;color:var(--fv-accent)}.fv-studio .fv-queue-item button{flex:none}.fv-studio .fv-status{min-height:22px;text-align:center;font-size:var(--fv-micro);color:var(--fv-muted);overflow-wrap:anywhere}.fv-studio .fv-status[data-error=true]{color:var(--fv-danger)}.fv-studio .fv-progress{width:100%;height:4px;accent-color:var(--fv-accent);border:0;margin:0 0 10px}.fv-studio .fv-budget,.fv-studio .fv-prewarm{text-align:center;font-size:var(--fv-micro);color:var(--fv-muted)}diff --git a/web/studio.js b/web/studio.jsindex 59b7ce6..04d1549 100644--- a/web/studio.js+++ b/web/studio.js@@ -1287,6 +1287,21 @@ export function openStudio(node, {extendFrom = null} = {}) {button.title = capturing ? t('Adding…', '正在添加…') : '';}}+ // The moved video keeps its place in view and is marked for a moment, so the list does not just look the same.+ let movedId = null, movedTimer = 0;+ function clearMoved() {+ clearTimeout(movedTimer); movedId = null;+ queueList.querySelectorAll('.fv-queue-moved').forEach(item => { item.classList.remove('fv-queue-moved'); item.querySelector('.fv-queue-chip')?.remove(); });+ }+ function showMoved() {+ const item = [...queueList.children].find(child => child.dataset.id === movedId);+ if (!item || item.classList.contains('fv-queue-moved')) return;+ item.classList.add('fv-queue-moved');+ const chip = el('span', t('Moved to front', '已排到最前'), 'fv-queue-chip');+ item.insertBefore(chip, item.querySelector('button'));+ queueList.scrollTop = 0;+ clearTimeout(movedTimer); movedTimer = setTimeout(clearMoved, 2800);+ }function renderQueue(state) {if (disposed) return;queueState = state;@@ -1306,7 +1321,12 @@ export function openStudio(node, {extendFrom = null} = {}) {queueList.dataset.signature = signature; queueList.replaceChildren();state.pending.forEach((row, index) => {const item = el('div', null, 'fv-queue-item');- const description = el('span', `${index + 1} · ${row.inputs.width} × ${row.inputs.height} · ${row.inputs.seconds} s`);+ item.dataset.id = row.id;+ // Waiting videos often share every setting; the start of the prompt tells them apart.+ const summary = String(row.inputs.text ?? '').replace(/\s+/g, ' ').trim();+ const description = el('div', null, 'fv-queue-text');+ if (summary) { const line = el('span', summary, 'fv-queue-summary'); line.title = summary; description.append(line); }+ description.append(el('span', `${index + 1} · ${row.inputs.width} × ${row.inputs.height} · ${row.inputs.seconds} s`, 'fv-queue-meta'));const remove = button(t('Remove', '移除'), async () => {remove.disabled = true;try { await queueController.cancel(row.id); }@@ -1317,8 +1337,9 @@ export function openStudio(node, {extendFrom = null} = {}) {if (index > 0) {const first = button(t('Move to front', '排到最前'), async () => {first.disabled = remove.disabled = true;- try { await queueController.moveFirst(row.id); }- catch (error) { showQueueError(error); first.disabled = remove.disabled = false; }+ movedId = row.id;+ try { await queueController.moveFirst(row.id); showMoved(); }+ catch (error) { movedId = null; showQueueError(error); first.disabled = remove.disabled = false; }}, 'fv-quiet');first.setAttribute('aria-label', t(`Move queued video ${index + 1} to front`, `把排队的第 ${index + 1} 个排到最前`));item.append(first);@@ -1326,6 +1347,7 @@ export function openStudio(node, {extendFrom = null} = {}) {item.append(remove); queueList.append(item);});}+ if (movedId && state.pending.some(row => row.id === movedId) && !queueList.querySelector('.fv-queue-moved')) showMoved();if (!busy) cancelling = false;if (state.error) showQueueError(state.error);updateRunButton();