The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Studios: MiniMax H3's fast decoder carries its setup label wherever it is offered
Adarsh29fd7ad405db
diff --git a/src/lib/own-setup-controls.ts b/src/lib/own-setup-controls.tsindex 8df61ea1..79739f32 100644--- a/src/lib/own-setup-controls.ts+++ b/src/lib/own-setup-controls.ts@@ -1,4 +1,5 @@import type { Engine } from "./catalog/types";+import { H3_DECODER } from "./gpu/h3-tier";import { ownSetupOnly, type OwnSetup } from "./own-setup";/**@@ -9,6 +10,8 @@ import { ownSetupOnly, type OwnSetup } from "./own-setup";export function controlSetup(modelId: string | undefined, param: string, value: string | number): string | undefined {// Kandinsky 6.0 (open) at Pro quality.if (modelId === "oss-kandinsky6" && param === "quality" && value === "pro") return "oss-kandinsky6:pro";+ // MiniMax H3's fast decoder, whenever it is offered.+ if (param === H3_DECODER.param && value === "fast") return "h3:fast-decode";return undefined;}diff --git a/tests/own-setup-labels.test.ts b/tests/own-setup-labels.test.tsindex ec5fabbc..d47545be 100644--- a/tests/own-setup-labels.test.ts+++ b/tests/own-setup-labels.test.ts@@ -198,6 +198,17 @@ describe("beside a setting's value", () => {expect(requestSetupIds({ feature: "video", modelId: "oss-kandinsky6", op: "t2v", params: { extra: { quality: "pro" } } })).toContain("oss-kandinsky6:pro");expect(requestSetupIds({ feature: "video", modelId: "oss-kandinsky6", op: "t2v", params: { extra: { quality: "lite" } } })).not.toContain("oss-kandinsky6:pro");});++ it("MiniMax H3's fast decoder carries its label, and the server asks the run by the same id", async () => {+ const { controlSetup } = await import("@/lib/own-setup-controls");+ const { requestSetupIds } = await import("@/server/pool-own-setup");+ expect(controlSetup("oss-minimax-h3", "decoder", "fast")).toBe("h3:fast-decode");+ expect(controlSetup("oss-minimax-h3", "decoder", "standard")).toBeUndefined();+ expect(ownSetupOnly("h3:fast-decode")).not.toBeNull();+ expect(ownSetupLabel(ownSetupOnly("h3:fast-decode")!)).not.toMatch(REASON);+ expect(requestSetupIds({ feature: "video", modelId: "oss-minimax-h3", op: "t2v", params: { extra: { decoder: "fast" } } })).toContain("h3:fast-decode");+ expect(requestSetupIds({ feature: "video", modelId: "oss-minimax-h3", op: "t2v", params: { extra: { decoder: "standard" } } })).not.toContain("h3:fast-decode");+ });});describe("a cloud model a visitor runs on its own key only", () => {