Publish Seedance 2.5 draft mode and video updates

- Add the 样片模式 flow: 480p draft generation, a linkable draft task ID, and pre-flight verification before the 1080p final request.

- Allow reference images and audio in video edit/extend requests, matching the provider's 2.5 contract.

- Move 主模型 and 样片模式 ahead of 生成模式, default 主模型 to seedance 2.5, and migrate saved widget values.

- Refresh the video panel, asset API response logs, and LLM node handling; cover the new behavior with offline tests.
This commit is contained in:
Jony
2026-10-21 20:13:55 +08:00
parent 532d4a9541
commit ff1cf830fa
27 changed files with 1810 additions and 341 deletions
@@ -40,9 +40,12 @@ assert.match(source, /value: "manual", label: "手动"/);
assert.match(source, /makeField\("素材创建", assetCreation\)/);
assert.match(source, /assetCreationField\.style\.display = isSeedance \? "grid" : "none"/);
assert.match(source, /assetCreation\._trigger\.disabled = !assetModeAvailable/);
assert.match(source, /imageIdField\.style\.display = manualAssets \? "grid" : "none"/);
assert.match(source, /videoIdField\.style\.display = manualAssets && activeMode === "multimodal"/);
assert.match(source, /asset_creation_mode: manualAssets \? "manual" : "auto"/);
assert.match(source, /imageIdField\.style\.display = manualAssets && activeModeResolved === "multimodal" \? "grid" : "none"/);
assert.match(source, /videoIdField\.style\.display = manualAssets && showsVideo \? "grid" : "none"/);
assert.match(source, /asset_creation_mode: manualAssets \? "manual" : \(assetCreation\.value === "auto" \? "auto" : "direct"\)/);
assert.match(source, /\{ value: "edit", label: "视频编辑"/);
assert.match(source, /\{ value: "extend", label: "视频延长"/);
assert.match(source, /\{ value: "direct", label: "直接上传"/);
assert.match(source, /assets: manualAssets \? manualRequestAssets : \{\}/);
assert.match(source, /function requestForRetry\(node\)/);
assert.match(source, /request\.asset_creation_mode !== "auto"/);
@@ -116,8 +119,8 @@ assert.doesNotMatch(multimodalSource, /添加\$\{source\.shortTitle\}/);
assert.doesNotMatch(multimodalSource, /sourceInput|source\.input/);
assert.match(source, /\.o1vg-multimodal-assets \.o1vg-add\{min-width:58px;height:29px;gap:4px;padding:0 10px;[^}]*font-size:11px;font-weight:600/);
assert.match(source, /mediaHost\.append\(firstSection, lastSection, multimodalSection\)/);
assert.match(source, /multimodalSection\.style\.display = !manualAssets && activeMode === "multimodal" \? "flex" : "none"/);
assert.match(source, /automaticHeights = \{ text: 679, first_frame: 824, first_last_frame: 964, multimodal: 824 \}/);
assert.match(source, /multimodalSection\.style\.display = !manualAssets && showsVideo \? "flex" : "none"/);
assert.match(source, /automaticHeights = \{ text: 679, first_frame: 824, first_last_frame: 964, multimodal: 824, edit: 824, extend: 824 \}/);
assert.match(source, /widget\(node, "generation_mode"\)\?\.value \|\| "multimodal"/);
assert.match(source, /const restore = \(\) =>/);
assert.match(source, /mode\.value = value\("generation_mode", "multimodal"\)/);