# Outpaint provenance Outpaint uses the existing Qwen Image 2.1 pipeline and a task adapter. It does not construct another base pipeline or call a third-party image endpoint. ## Model source - Adapter author/repository: `ausboss/Qwen-Image-2.1-Outpaint-LoRA`. - Pinned revision: `dca5bdc7eb328f6021f330140f64b00a820ae5cd`. - Weight: `qwen-image-2.1-outpaint-v2.safetensors`. - Hub-reported size: `159436576` bytes. - Hub LFS SHA-256: `3611a5ccae5f790405eeacf1dfb2c89285c1e4f2987b9abc88cd0161a60eca28`. - Model card: https://huggingface.co/ausboss/Qwen-Image-2.1-Outpaint-LoRA/raw/dca5bdc7eb328f6021f330140f64b00a820ae5cd/README.md The inspected safetensors header contains 384 BF16 tensors: rank-32 A/B pairs for six projections in each of 32 transformer blocks. There are no explicit alpha tensors. ComfyUI's fused `img_mlp.gate_up` has B shape `(24576, 32)`; split its rows into two 12288-row matrices for Diffusers `gate_layer` and `proj`, reusing A. The result targets 224 linear modules with 448 tensors. Keep task and acceleration adapters unfused. ## Recipe and trigger The author's baseline uses a flat RGB `(128, 128, 128)` padded canvas, one reference, 25 Euler steps and CFG 1. The task instruction begins the prompt: > Outpaint the image: replace the solid gray areas with a seamless continuation of the scene, keeping the existing picture unchanged. An optional `Scene:` description follows. The v2 training range is approximately 1–2 MP; its emphasis is ordinary extensions and people. Restore the resized source after generation, feathering 32 pixels only along edges adjoining generated content. No latent noise mask is used. Turbo uses the existing Viggle v0.2.1 adapter and six-step schedule. Combining Turbo with this task adapter is an app integration; the author's published outpaint recipe uses the base sampler. Base mode selects the outpaint adapter without Turbo and restores the original base scheduler configuration. ## Implementation references The inspected public reference implementation is `Oliver577/qwen-image-21-outpaint`, revision `58a9b8dade83d1d76e8ecbae821b38a31fa609e2`: https://huggingface.co/spaces/Oliver577/qwen-image-21-outpaint/raw/58a9b8dade83d1d76e8ecbae821b38a31fa609e2/app.py It provides implementation evidence for fused projection conversion, fixed-point canvas dimensions and source restoration. This integration uses the app's existing shared pipeline, worker, adapter lifecycle and controls. The existing Diffusers pin is `80c7ed262aeffbeb43ef13ae04baeb9b84515a69`. In that pipeline, `output_resolution=0` is **not** ComfyUI's preserve-resolution mode: it would resize the condition to zero dimensions. Pass a positive resolution and use a canvas whose dimensions are a fixed point of `calculate_dimensions(resolution**2, width / height)`, with explicit output width and height. https://raw.githubusercontent.com/huggingface/diffusers/80c7ed262aeffbeb43ef13ae04baeb9b84515a69/src/diffusers/pipelines/qwenimage21/pipeline_qwenimage21.py ## License The adapter model card specifies the Qwen Research License inherited from its base. The upstream license grants non-commercial research/evaluation use and requires a separate license for commercial use. https://huggingface.co/Qwen/Qwen-Image-2.1/raw/main/LICENSE Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved. Sources and header inspected on 2026-11-07. Reported weight hash is the Hub's LFS object hash; header inspection does not itself verify the full downloaded file's checksum.