--- title: Qwen 2.1 Turbo | Relight | Camera Angle | Face Swap | MOSS emoji: ๐ŸŽจ colorFrom: purple colorTo: pink sdk: gradio sdk_version: 6.24.0 python_version: "3.12" app_file: app.py hf_oauth: true pinned: true short_description: Turbo, Relight, Camera, Face Swap, MOSS, Outpaint, Enhance startup_duration_timeout: 1h license: other license_name: combined-model-licenses license_link: https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE tags: - image-to-image - image-editing - outpainting - uncrop - detail-enhancer - qwen-detail-enhancer - image-enhancement - qwen-face-swap - face-swap - qwen-image-2.1 - qwen-image-edit - viggle-turbo - dmd2 - bfs-head-v1.1 - moss-image-edit - relighting - camera-control - multiple-angles - zerogpu models: - Qwen/Qwen-Image-2.1 - Viggle/Qwen-Image-2.1-viggle-turbo - linoyts/Qwen-Image-2.1-DMD2-2steps - Alissonerdx/BFS-Best-Face-Swap - ausboss/Qwen-Image-2.1-Outpaint-LoRA - reverentelusarca/elusarcas-qwen-2.1-detail-enhancer-lora - OpenMOSS-Team/MOSS-Image-SFT - chinoll/Moss-Image-Edit - akhaliq/Qwen-Image-2.1-Multiple-Angles-LoRA --- # Qwen 2.1 Turbo Studio - Relight - Camera Angle - Face Swap - MOSS - Outpaint - Detail Enhancer Seven image tools in one Studio, with a shared image workspace, LoRA library, output sizes, and Simple / Pro controls. Relight and Camera Angle use visual controls; the other tools retain Prompt Improvement and LoRA suggestions. **MOSS Edit fixed ยท 13 Nov 2026** โ€” corrected input/output sizing and cropping during image preparation. | Mode | What it does | Starting settings | | --- | --- | --- | | **Qwen Edit** | Edit reference images, or create an image from a written prompt | Viggle Turbo: 6 steps, DMD2 v1.5: 2 steps, Base: 30 steps. All default to CFG 1 | | **Qwen Outpaint** | Extend a photo left, right, up, or down, then blend the original back into the result | Outpaint v2; Turbo 6 steps or Base 25 steps, CFG 1 | | **Qwen Detail Enhancer** | Add fine detail to an uploaded photo or illustration while following its composition and style | Elusarca Detail Enhancer v1, strength 1; Turbo 6 or Base 25 steps, CFG 1 | | **Qwen Face Swap** | Transfer the face/head from Image 2 into the body and scene of Image 1 | BFS Head **v1.1**, Turbo 6 steps, strength 1; optional Base mode | | **MOSS Edit** | **Image-to-image editing** using the supplied photo(s) | MOSS SFT + the MOSS Edit adapter; 30 steps, CFG 4 | | **Relight** | Tap an illustrated lighting look and a light position | Viggle Turbo 6 steps by default; DMD2 v1.5 2 steps or Base 30 steps also available | | **Camera Angle โ€” BETA TEST** | Tap a camera on the orbit diagram and choose its height | Multiple Angles v2 at strength 0.5, native Qwen sampler, 40 steps, CFG 1 | Relight and Camera Angle are separate modes inside this Space, sharing the existing Qwen Image 2.1 model. Relight has illustrated presets, light-position buttons and colour swatches. Camera Angle has an orbit picker, elevation diagrams and close-up. No written prompt is required. Heretic and prompt-LoRA suggestions are hidden in these two modes. Both keep the source aspect ratio at 0.5-2 MP (1 MP by default). Pro exposes manual LoRAs, strength and advanced sampling settings. **Camera Angle is a BETA TEST.** It uses the pinned v2 checkpoint recommended by its author with the author's native recipe: no speed LoRA, 40 steps (10-50 in Pro) and CFG 1. **Fixed 17 Nov 2026:** the previous two-step DMD2 recipe mostly kept the original view (often only the head turned). The native sampler turns the camera to real side and back views. Adapter strength 1 often turned real photos into plain studio renders, so the default strength is 0.5 (0.3-1.5 in Pro). Old profiles saved with the former default of 1 load at 0.5, and old two-step settings load at 40 steps. Some subjects ignored left-side captions and still turned right, so left views are rendered as the mirror image of the matching right view of the mirrored photo. Unseen sides are invented, and large turns can still simplify the background. Relight uses no task adapter and retains all three choices. See `RELIGHT_PROVENANCE.md`, `CAMERA_PROVENANCE.md` and `QWEN_TOOLS_VALIDATION.md` for results and limits. MOSS Edit requires an input image and accepts up to four references. Its editing adapter stays active. It is not a separate text-to-image tool in this Studio. **Match Image 1** with **0 MP** saves the original dimensions up to the output limit of 4 MP and 4096 pixels per side. MOSS edits on a shared reference/output canvas with a long side of up to 1024 pixels and restores the saved dimensions without cropping the original frame. Fixed and custom ratios fit the full image. ## Quick start 1. Choose a tool at the top, including **Relight** and **Camera Angle**. 2. Upload the image(s). For Face Swap, **Image 1 is the target body/scene** and **Image 2 is the reference face**. 3. For Relight or Camera Angle, tap the visual controls. For other tools, describe the change; **Improve Prompt** can also prepare optional LoRAs. 4. Choose **Generate**. In **Qwen Edit**, the visible **Qwen Image Edit model** selector offers **Viggle Turbo (6 steps)**, **DMD2 v1.5 (2 steps)** and **Base (30 steps, no Viggle)** in both Simple and Pro. DMD2 supports text-to-image and multi-image editing at the selected output size. It uses its own fixed two-step schedule and CFG 1. Optional Qwen Image 2.1 LoRAs can be selected. Switching modes sets the matching step count, and the selected mode is saved in profiles. Viggle Turbo remains the default. For 512 px previews while typing, open the [author's Realtime demo](https://huggingface.co/spaces/linoyts/qwen-image-2-1-realtime). Qwen Face Swap, Qwen Outpaint, and Qwen Detail Enhancer also offer **DMD2 v1.5 (2 steps)** in Simple and Pro. DMD2 combines with each tool's own LoRA and uses fixed CFG 1. These combinations are experimental and can produce different results from Viggle or Base. Face Swap defaults to 30 Base steps, and Outpaint and Detail Enhancer to 25. **Negative prompt** is available in Simple and Pro for Viggle Turbo, Base, and MOSS. It is empty by default. Entering exclusions automatically raises CFG from 1 to **1.1**, while keeping a higher value you chose. MOSS keeps its default CFG 4. Removing the negative prompt returns the automatic 1.1 setting to 1. Negative guidance uses an additional model pass, which the time estimate accounts for. Turbo with negative guidance is an optional departure from its original CFG 1 recipe. Open **More Settings โ†’ Pro** for the LoRA library, manual LoRA slots, sampling, custom sizes, profiles, and import/export. Pro refers to the controls shown here; it does not require a paid Hugging Face subscription. ## LoRA libraries **Active LoRAs** shows the built-in and selected adapters by name, with authors and strengths, in Simple and Pro. Named checkboxes let you choose suggestions. **Refresh LoRAs** reloads the current model's catalogue and cycles through five more relevant suggestions while keeping selected adapters, strengths, and prompt. Selecting suggestions updates the slots and their trigger words together. Refresh uses no GPU generation or AI request. - Qwen Edit, Qwen Outpaint, Qwen Face Swap, and Detail Enhancer share `amisima/qwen2.1-lora/library.json`. - MOSS Edit uses its own `amisima/moss-lora/library.json`. - The MOSS catalogue includes the imported collector links, authors, triggers, dates, and recommended strengths. Selected weights download and undergo tensor compatibility checks before GPU allocation. - Changing the mode selects its compatible catalogue; Qwen LoRAs are not sent to MOSS. - Library refresh reads metadata without a GPU generation. Trigger words and default strengths are carried into the prepared setup and can be edited. - Three optional manual slots accept supported adapter references or uploads. - MOSS weight compatibility is checked separately from its declared model tag. A compatible tensor layout does not guarantee that every adapter combination will produce a good edit. The required Viggle Turbo, DMD2, Outpaint, Detail Enhancer, and BFS Head/MOSS Edit adapters are handled by the chosen mode. Their required weights do not consume an optional user slot. ## Prompt Improvement The existing Qwen helper supports Bulgarian, transliterated Bulgarian, and English ideas, reference images, and compatible LoRA selection. A preparation request can return the prompt, LoRA choices, and strengths together. The result remains editable. Refresh suggestions is local and does not submit another AI request. Visitor identity and an optional visitor-supplied HF token are used for the helper; the Studio owner's token is not a paid fallback for visitors. Tokens are not saved in profiles. Generation does not automatically retry after a failure. ## Runtime All seven generation modes run inside this Space. Relight, Camera Angle, Face Swap, Detail Enhancer, and Outpaint share the Qwen model with Qwen Edit. MOSS downloads its own model files and loads its components in stages for each generation, keeping only the needed stage active at a time. The first MOSS request can take longer while model files are cached. ZeroGPU reservations are estimates, separate from measured generation time and charged allowance. The shared generation worker uses the xlarge slice. MOSS has more sampling steps than Turbo and should not be assumed to cost the same. Profiles preserve the chosen operation and its settings, including portable LoRA references. Uploaded photos and uploaded LoRA files are not embedded in profiles. ## Credits and licensing - Qwen Image 2.1, Viggle Turbo and [DMD2 v1.5 by linoyts](https://huggingface.co/linoyts/Qwen-Image-2.1-DMD2-2steps): Qwen Research License (non-commercial research/evaluation). - BFS Head v1.1: `Alissonerdx/BFS-Best-Face-Swap` and its applicable model terms. - Outpaint v2: `ausboss/Qwen-Image-2.1-Outpaint-LoRA`, under the Qwen Research License. - Detail Enhancer: `reverentelusarca/elusarcas-qwen-2.1-detail-enhancer-lora`; workflow adapted from the linked Matejstein Space. See `DETAIL_PROVENANCE.md` for pinned sources and terms. - MOSS Image SFT: `OpenMOSS-Team/MOSS-Image-SFT` and its applicable model terms. - MOSS Edit adapter/runtime: `chinoll/Moss-Image-Edit`. - MOSS ZeroGPU implementation adapted from `akhaliq/moss-image-edit-workflow`. See the bundled MOSS provenance and license files for the upstream code notices. The licenses of the individual weights and adapters still apply to their use.