Readme
Qwen Image Edit 2509 – Multi‑Angle LoRA Edition
Camera-aware image editing built on Qwen/Qwen-Image-Edit-2509 with the Lightning adapter and the dx8152 multi-angle LoRA fused in by default. A single upload plus a few camera sliders are enough to rotate, tilt, or zoom the virtual camera while keeping subjects, lighting, and texture consistent.
———
What it does
- Accepts one source image (portrait, product, or scene) and optional text.
- Generates a camera instruction from four sliders—rotate_degrees, move_forward, vertical_tilt, use_wide_angle.
- Runs Qwen Image Edit 2509 in Lightning mode with the multi-angle LoRA enabled, so edits respect the implied camera move rather than hallucinating new content.
- Lets you add extra prompt text if you need style tweaks, lighting changes, etc.
The same pipeline can fall back to the 40-step base model (set go_fast=false) or disable the multi-angle adapter entirely (use_multiple_angles=false or multiple_angles_strength=0) when you just want a vanilla Qwen edit.
———
Key camera features
Multi-angle LoRA baked in
The pipeline loads the dx8152 Qwen-Edit-2509-Multiple-angles LoRA at weight 1.0. Combined with Lightning, it excels at smooth orbital moves, dolly zooms, and subtle tilt adjustments.
Four intuitive controls
| Control | Effect |
|---|---|
| rotate_degrees | Positive = rotate left, negative = rotate right (±180°). |
| move_forward | Push-in / zoom; higher values move the camera closer. |
| vertical_tilt | -1 = top-down, 0 = eye level, +1 = low-angle hero shot. |
| use_wide_angle | Toggles a wide lens instruction for exaggerated perspective. |
These build a bilingual (Chinese + English) camera directive that’s prepended to your prompt automatically. If you leave the prompt blank, the camera instruction alone drives the edit.
Lightning by default has go_fast true out of the box, so it handles denoising in 8 steps with LoRAs attached. Turn it off to run the 40-step base model with CFG 4.0 if you need the original slower look.
———
Inputs (API / Playground)
- image (Path, required) – single image upload (jpeg/png/gif/webp).
- prompt (optional) – extra styling or content guidance appended after the camera instruction.
- rotate_degrees, move_forward, vertical_tilt, use_wide_angle – the camera sliders described above.
- aspect_ratio – choose from presets (match_input_image, 1:1, 16:9, etc.). We pass width/height to the pipeline for you.
- go_fast – Lightning + LoRA fast path (default true).
- use_multiple_angles – keep it true to apply the multi-angle LoRA. Set to false to drop back to Lightning only.
- multiple_angles_strength – scale the LoRA weight (0–2). 0 effectively disables the adapter while keeping use_multiple_angles on.
- seed – optional RNG seed for reproducible edits.
- output_format, output_quality – choose webp, jpg, or png (quality applies to non-PNG formats).
- disable_safety_checker – leave at false; we run both Stable Diffusion and Falcon NSFW checks by default.
———
Example workflows
-
Rotate around a subject
image=@portrait.png rotate_degrees=30 move_forward=2 vertical_tilt=0 use_wide_angle=false prompt="keep lighting warm, add gentle rim light" -
Low-angle hero shot with wide lens
image=@product.png rotate_degrees=-15 move_forward=3 vertical_tilt=1 use_wide_angle=true prompt="dramatic studio lighting with coloured gels" -
Baseline Qwen edit (no LoRA)
go_fast=false use_multiple_angles=false prompt="convert to watercolour illustration style"
———
Tips for best results
- Start with the camera sliders before touching the prompt; most edits need no extra text.
- Keep go_fast=true for the multi-angle look—Lightning + LoRA were tuned together.
- Use multiple_angles_strength between 0.8 and 1.3 to fine-tune how strongly the camera move shows up.
- When you do add a prompt, use concise instructions like “add warm sunset light” or “switch to cinematic film grain.”
- Portraits respond especially well to small pitch (vertical_tilt) and roll (rotate_degrees) adjustments; avoid extreme values unless you want stylised distortion.
- For product shots, combine move_forward with use_wide_angle=true to mimic a close-up lens while keeping proportions believable.
———
References
- Base model: Qwen/Qwen-Image-Edit-2509 (https://huggingface.co/Qwen/Qwen-Image-Edit-2509)
- Multi-angle LoRA: dx8152/Qwen-Edit-2509-Multiple-angles (https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles)
- Source code: replicate/cog-qwen-edit-2509-multi-angle (https://github.com/replicate/cog-qwen-edit-2509-multi-angle)