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
Originals O10: the open try-on model carries the try-on LoRA, so its switch applies there too
Claude95971f2f02cf
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex 42292174..3e78c2e4 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -45,6 +45,11 @@ const VIDEO_UPSCALE_TIERS = ["720p", "1080p", "1440p", "2160p"];// ---------------------------------------------------------------------------// Open source · ComfyUI+/** Fuobe Try-On's LoRA (research adapterLoras): xocialize's try-on LoRA for FLUX.2 [klein] 4B, Apache-2.0. */+const TRYON_LORA = loraEntry("tryon-klein-4b");+/** The try-on LoRA card's own instruction, for a run with no words. */+export const TRYON_PROMPT = "a full-body photo of a person. Replace the outfit with the top and bottom as shown in the reference images. The final image is a full body shot.";+type OpenSpec = Omit<ModelDef, "engine" | "badges"> & { badges?: ModelDef["badges"] };const o = (m: OpenSpec): ModelDef => ({ ...m, engine: "open", badges: ["open", ...(m.badges ?? [])] });@@ -1378,7 +1383,8 @@ const open: ModelDef[] = [tagline: "Dresses the person in image 1 in the garment in image 2 (a top, dress or outfit) and an optional bottom in image 3 · 10 GB GPU · Apache-2.0",badges: ["new", "fast"],routes: [comfy("edit", "tryon-flux2-klein-4b", "try-on LoRA; old outfit masked out first")],- options: { maxImages: 3, seed: true, requires: { images: 2, msg: "Add a photo of the person, then the garment" } },+ // The graph loads the try-on LoRA itself; carrying it here lets Settings → Models & licences switch it off (as Fuobe Try-On's).+ options: { maxImages: 3, seed: true, requires: { images: 2, msg: "Add a photo of the person, then the garment" }, ...(TRYON_LORA && { loras: [loraRef(TRYON_LORA)] }) },}),// Product shot (the open route of the Product shot app): cut out, on white, relit into the scene you describe.o({@@ -1566,11 +1572,6 @@ const DOP_OPTIONS: ModelOptions = {/** Soul's options on both engines (research §4.3): 7 shapes, a 720p (about 1 MP) and a 1080p (about 2 MP) tier, 1–4 images. */const SOUL_OPTIONS: ModelOptions = { aspectRatios: SOUL_ASPECTS, resolutions: SOUL_TIERS, seed: true, maxOutputs: 4 };-/** Fuobe Try-On's LoRA (research adapterLoras): xocialize's try-on LoRA for FLUX.2 [klein] 4B, Apache-2.0. */-const TRYON_LORA = loraEntry("tryon-klein-4b");-/** The try-on LoRA card's own instruction, for a run with no words. */-export const TRYON_PROMPT = "a full-body photo of a person. Replace the outfit with the top and bottom as shown in the reference images. The final image is a full body shot.";-/** Fuobe Soul, Soul HD and Soul Cinema (src/lib/catalog/soul.ts applies the look). */const originals: ModelDef[] = [original({diff --git a/tests/open-engine.test.ts b/tests/open-engine.test.tsindex a282f096..08045ee6 100644--- a/tests/open-engine.test.ts+++ b/tests/open-engine.test.ts@@ -186,6 +186,9 @@ describe("round-3 open models", () => {expect(p.open).toMatchObject({ modelId: "oss-tryon-klein", op: "edit" });expect(p.parity).toMatch(/try-on LoRA/);const plan = planGeneration({ feature: "app", presetId: p.id, modelId: "oss-tryon-klein", inputs: { images: ["/me.png", "/dress.png"] } }, getModel, getPreset);- expect(plan.prompt).toMatch(/^A full-body photo of a person/);+ // The LoRA's trigger leads the words (the graph's own prefix would add it too), and the run carries the LoRA so+ // Settings → Models & licences can switch it off; the graph doesn't load it twice (injectLoras).+ expect(plan.prompt).toMatch(/^TRYON A full-body photo of a person/);+ expect(plan.loras.map((l) => l.file)).toEqual(["tryon-klein-4b.safetensors"]);});});