按 OpenAI 官方放开 GIF+参考图,SVG 仍仅文生图;有蒙版禁用 GIF/SVG

This commit is contained in:
Jony
2026-11-09 11:41:31 +08:00
parent 81a0e50b2d
commit 7d6e7fa5d8
12 changed files with 190 additions and 31 deletions
@@ -4880,7 +4880,15 @@ const nanoThinkingSource = fs.readFileSync(new URL("../web/js/nanoBananaThinking
assert.equal(node._o1igFrameDurationField.style.display, "");
node._o1igReferences = [{ name: "a.png", subfolder: "", type: "input" }];
syncGptOutputOptions(node);
assert.equal(node._o1igOutputFormat._o1igOptions.some((option) => option.value === "gif"), true);
assert.equal(node._o1igOutputFormat._o1igOptions.some((option) => option.value === "svg"), false);
assert.equal(node._o1igOutputFormat.value, "gif");
assert.equal(node._o1igFrameCountField.style.display, "");
assert.equal(node._o1igFrameDurationField.style.display, "");
node._o1igMask = { name: "mask.png", subfolder: "", type: "input" };
syncGptOutputOptions(node);
assert.equal(node._o1igOutputFormat._o1igOptions.some((option) => option.value === "gif"), false);
assert.equal(node._o1igOutputFormat._o1igOptions.some((option) => option.value === "svg"), false);
}
{