Files
comfyui_o1key/docs/decisions/0018-minimax-model-order-and-multimodal-default.md

1.5 KiB

0018: MiniMax model order and multimodal default

  • Status: Accepted
  • Date: 2026-11-17
  • Owners: Maintainers

Context

The user requested the MiniMax model above generation mode and renamed the reference-material mode to 多模态生视频, with that mode as the default. Saved workflows use positional widget values and previously kept the model after duration, so a schema-only change would misassign saved parameters.

Decision

Use 提示词, 模型, 生成模式, 分辨率, 时长, seed as the schema order. Place 多模态生视频 first in DynamicCombo options to select it for new nodes. Keep node/input IDs and the execution signature stable. Migrate missing model/seed defaults first, then move the trailing model to index 1 and rename the old mode. Keep 参考素材生视频 as a backend execution/payload alias.

Consequences

Existing workflows preserve their mode, references, duration, seed, and seed control rather than inheriting the new default. Migration applies to root and subgraph nodes and must remain idempotent. H3 Max continues to switch to text mode because it does not support multimodal references.

Alternatives considered

Moving only the displayed widget would leave schema and serialized order inconsistent. Changing the schema without migration would break saved graphs.

Validation

tests/test_minimax_h3.py covers schema order, default mode, and the old alias. tests/test_o1key_image_generator_frontend.mjs covers old/current workflow layouts, all four models, seed controls, subgraphs, and repeat migration.