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.

Use one sentence shape for white-model scene failures

Bowen Xuefa025b9986f1
diff --git a/web/autopilot_chat.js b/web/autopilot_chat.js
index 8731fa0..72568ff 100644
--- a/web/autopilot_chat.js
+++ b/web/autopilot_chat.js
@@ -311,7 +311,10 @@ export function agentChat(t, api, {open, edit, shown = () => true, changed = ()
try {
const id = await startScene(api, preset, session);
const result = id ? await watchScene(api, id, {stopped: () => stopped, onState: value => { if (value.status === 'rendering') say(t(...SCENE_TEXT.rendering)); }}) : {status: 'ready'};
- if (result.status === 'failed') { sceneWaiting = false; say(t(...SCENE_TEXT.failed) + (result.error || '').replace(/[.。]+$/, '') + t(...SCENE_TEXT.retry)); }
+ if (result.status === 'failed') {
+ sceneWaiting = false; const why = (result.error || '').replace(/[.。]+$/, '');
+ say(why ? t(...SCENE_TEXT.failed) + why + t(...SCENE_TEXT.retry) : t(...SCENE_TEXT.bare));
+ }
else if (result.status === 'timeout') {
sceneWaiting = false;
say(t(...(result.last === 'rendering' ? SCENE_TEXT.timeout : result.page_open ? SCENE_TEXT.notStarted : SCENE_TEXT.noPage)));
diff --git a/web/whitebox_scenes.js b/web/whitebox_scenes.js
index f098620..0a77075 100644
--- a/web/whitebox_scenes.js
+++ b/web/whitebox_scenes.js
@@ -7,9 +7,10 @@ export const SCENE_TEXT = Object.freeze({
label: ['Ready-made', '现成场景'], name: ['Start from a ready-made white-model scene', '用现成的白模场景开始'],
preparing: ['Preparing the white model…', '正在准备白模…'], failed: ['The white model could not be made: ', '白模没有做成:'],
rendering: ['Rendering the white model…', '正在渲染白模…'], retry: ['. Try again.', '。请重试。'],
- noPage: ['The white-model renderer is not running in this page, so nothing was made. Reload the page and try again.', '这个页面里的白模渲染没有运行,没有做成。请刷新页面后重试。'],
- notStarted: ['Rendering did not start within 3 minutes, so no white model was made. Try again.', '等了三分钟渲染仍没有开始,没有做成白模。请重试。'],
- timeout: ['Rendering did not finish within 3 minutes, so no white model was made. Try again.', '渲染三分钟内没有完成,没有做成白模。请重试。'],
+ bare: ['The white model could not be made. Try again.', '白模没有做成。请重试。'],
+ noPage: ['The white model could not be made: the renderer is not running in this page. Reload the page and try again.', '白模没有做成:这个页面里的渲染没有运行。请刷新页面后重试。'],
+ notStarted: ['The white model could not be made: rendering did not start within 3 minutes. Try again.', '白模没有做成:三分钟内渲染没有开始。请重试。'],
+ timeout: ['The white model could not be made: rendering did not finish within 3 minutes. Try again.', '白模没有做成:渲染三分钟内没有完成。请重试。'],
});
export async function sceneList(api) {