diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts index e5a14c3f8a..59f40f2d23 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts @@ -368,7 +368,9 @@ export const buildCanvasSDXLImageToImageGraph = ( // Add Refiner if enabled if (shouldUseSDXLRefiner) { addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // optionally add custom VAE diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLInpaintGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLInpaintGraph.ts index 4b2ffdb7ca..5320d41518 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLInpaintGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLInpaintGraph.ts @@ -630,7 +630,9 @@ export const buildCanvasSDXLInpaintGraph = ( CANVAS_COHERENCE_DENOISE_LATENTS, modelLoaderNodeId ); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // optionally add custom VAE diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLOutpaintGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLOutpaintGraph.ts index 0c075beb4a..aae4fb7eea 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLOutpaintGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLOutpaintGraph.ts @@ -768,7 +768,9 @@ export const buildCanvasSDXLOutpaintGraph = ( CANVAS_COHERENCE_DENOISE_LATENTS, modelLoaderNodeId ); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // optionally add custom VAE diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLTextToImageGraph.ts index afefa53645..c46538f67b 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLTextToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLTextToImageGraph.ts @@ -348,7 +348,9 @@ export const buildCanvasSDXLTextToImageGraph = ( // Add Refiner if enabled if (shouldUseSDXLRefiner) { addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // add LoRA support diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLImageToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLImageToImageGraph.ts index 17f1052384..08e411d4c5 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLImageToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLImageToImageGraph.ts @@ -368,7 +368,9 @@ export const buildLinearSDXLImageToImageGraph = ( // Add Refiner if enabled if (shouldUseSDXLRefiner) { addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // optionally add custom VAE diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLTextToImageGraph.ts index 2af37fd905..96e38090d6 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLTextToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildLinearSDXLTextToImageGraph.ts @@ -261,7 +261,9 @@ export const buildLinearSDXLTextToImageGraph = ( // Add Refiner if enabled if (shouldUseSDXLRefiner) { addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS); - modelLoaderNodeId = REFINER_SEAMLESS; + if (seamlessXAxis || seamlessYAxis) { + modelLoaderNodeId = REFINER_SEAMLESS; + } } // optionally add custom VAE