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.
Word a part length that is too short or too long in the length panel
Bowen Xuef7f838ba7430
diff --git a/web/length_plan.js b/web/length_plan.jsindex d1b28ea..d296b63 100644--- a/web/length_plan.js+++ b/web/length_plan.js@@ -33,7 +33,8 @@ export function readLengthPlan(reply) {export function classifyPlanError(reply) {if (reply?.code === 'device_limit') return 'continuation_unavailable';if (reply?.code === 'too_long' || ['too_many_parts', 'too_many_short_parts'].includes(reply?.code)) return 'too_long';- if (['block_too_long', 'block_too_short', 'too_short', 'invalid'].includes(reply?.code)) return 'other';+ if (reply?.code === 'block_too_short' || reply?.code === 'block_too_long') return reply.code;+ if (['too_short', 'invalid'].includes(reply?.code)) return 'other';const value = reply?.error;const message = reply?.code || (typeof value === 'string' ? value : value?.code || value?.message || '');if (/single.*(?:limit|long|cannot|unavailable|impossible)|force.*single|强制单次/i.test(message)) return 'single_unavailable';diff --git a/web/studio_chain.js b/web/studio_chain.jsindex c6440c0..0f81278 100644--- a/web/studio_chain.js+++ b/web/studio_chain.js@@ -1,5 +1,5 @@import {chainRoute, createPoller} from './chain_support.js';-import {buildChainRequest} from './length_plan.js?v=20261011-length';+import {buildChainRequest} from './length_plan.js?v=20261027-length';export const CHAIN_PROPERTY = 'freevideo_chain';const activeStates = new Set(['queued', 'running', 'cancelling']);diff --git a/web/studio_length.js b/web/studio_length.jsindex 5c58d77..a558ee3 100644--- a/web/studio_length.js+++ b/web/studio_length.js@@ -1,6 +1,6 @@import {capabilityPoints, interpolate} from './chain_support.js';import {issueButton} from './issue_button.js';-import {buildPlanRequest, readLengthPlan, classifyPlanError, singleLimitSeconds, defaultBlockSeconds} from './length_plan.js?v=20261011-length';+import {buildPlanRequest, readLengthPlan, classifyPlanError, singleLimitSeconds, defaultBlockSeconds} from './length_plan.js?v=20261027-length';export const LENGTH_PROPERTIES = Object.freeze({seconds: 'freevideo_seconds', single: 'freevideo_single', block: 'freevideo_block_seconds'});const positive = value => typeof value === 'number' && Number.isFinite(value) && value > 0;@@ -133,6 +133,8 @@ export function createStudioLength({api, node, seconds, advanced, fields, t, fiecontinuation_unavailable: noParts ? NO_PARTS: t('Choose a smaller picture size to make a longer video.', '如需生成更长的视频,请选择更小的画面大小。'),too_long: TOO_LONG() + storyboardText(),+ block_too_short: t('This part length is too short. Lengthen the part length.', '每段时长过短,请加长每段时长。'),+ block_too_long: t('One run cannot make a part this long at this size. Shorten the part length.', '当前画面大小下单次生成不了这么长的分段,请缩短每段时长。'),other: t('Could not plan this video. Try again.', '暂时无法安排这条视频的分段,请重试。')}[kind];}function invalidate() {