Qwen-Image-2.1 LoRA Lets Developers Rotate Any Subject With Camera Prompts
A new camera-control adapter for Qwen-Image-2.1 lets you reshoot any photo from 72 preset framings using a simple prompt grammar.
Takeaways
- First camera-control LoRA for Qwen-Image-2.1, released under Apache-2.0.
- Supports 72 framings via a tiny
<mva>prompt grammar covering 12 azimuths and 4 elevations. - v2 doubles rank to 64, uses bf16, trained on 13,328 pairs; step 1,500 recommended.
- Works with diffusers, ComfyUI, and a Gradio Space at strength 0.8 to 1.0.
- Generalizes to real photos; fine fur and identity detail soften on OOD subjects.
- Author flags that CLIP cosine benchmarks fail to measure actual pose change.
Rotating a subject in an AI-generated image often requires repeated prompts that change its identity or composition. A new Multiple-Angles LoRA for Qwen-Image-2.1 adds explicit camera control: provide a reference image, choose an azimuth and elevation, and generate the subject from that viewpoint. The base model handles generation and editing in one pipeline and supports RGBA output, including alpha transparency.
A LoRA is a compact set of adapter weights loaded alongside a base model. This 319 MB adapter changes how Qwen-Image-2.1 interprets viewpoint prompts while attempting to preserve the reference subject and scene.
| Item | Details |
|---|---|
| Recommended release | V2, rank 64, checkpoint step 1,500 |
| Input | Reference image plus named camera labels |
| Training resolution | 512 × 512 pixels |
| Interfaces | Diffusers, ComfyUI, and Gradio |
| License | Apache-2.0 |
Camera control through fixed labels
The adapter treats camera direction as a controlled prompt vocabulary. Every prompt begins with <mva>, followed by an azimuth label for the horizontal position around the subject and an elevation label for the camera height. Examples include back-left quarter view, eye-level shot, high-angle shot, and the optional close-up modifier.
The model card reports 36 base poses and 72 framings with close-ups. It describes 12 azimuths at 30-degree intervals crossed with four elevations, which produces 48 base combinations before adding close-up variants. Those counts do not reconcile, so integrations should expose combinations explicitly documented by the author; support for the full Cartesian product remains unclear.
Minimal diffusers call
# pipe is a QwenImage21Pipeline in edit mode with the v2 LoRA loaded
image = pipe(
prompt="<mva> back view, eye-level shot",
image=input_image,
num_inference_steps=40,
true_cfg_scale=1.0,
).images[0]
The image argument supplies the reference, while the prompt selects the requested view. The adapter was trained on fixed phrases, so the labels function as learned vocabulary rather than a deterministic camera API.
V2 spends more capacity on identity
The author recommends V2 for character work and subjects outside the synthetic training distribution. Its changes target the identity drift and missing detail documented for V1:
- Training data increased from 5,028 to 13,328 image pairs, combining character-prioritized Dome-Objaverse renders with 1,986 license-filtered rigged characters.
- LoRA rank increased from 32 to 64, giving the adapter more capacity to learn viewpoint changes and identity features.
- Training precision changed from int8 to bf16, reducing quantization at the cost of higher memory use.
- Timestep sampling changed from shifted to weighted sampling, altering which noise levels receive the most training emphasis.
Training continued for 2,500 steps, although the author recommends the checkpoint from step 1,500. Suggested LoRA strength ranges from 0.8 to 1.0 in both ComfyUI and diffusers.
Real photos reveal the trade-offs
The training set centers on Objaverse-style 3D renders, while the model card also demonstrates photographs of a golden retriever, a cat, and an apple. In those published examples, the requested viewpoint changes and the broad scene composition remains recognizable. Fine fur, small features, and identity cues can soften at difficult angles.
A single reference image contains no evidence for hidden surfaces, so the model must invent the unseen side of a subject. Logos, text, clothing details, geometry, and markings may change between views. The output suits visual exploration and approximate turnarounds, but it does not provide the geometric consistency of a 3D asset.
Why CLIP favors static views
The author reports a held-out benchmark covering 24 objects. The adapted model scores slightly below the unmodified base model on mean CLIP image-to-image cosine similarity:
| System | Mean CLIP similarity |
|---|---|
| Qwen-Image-2.1 base | 0.857 |
| Base with V2 LoRA | 0.832 |
CLIP image similarity rewards shared subject appearance, composition, and background while responding weakly to camera pose. Two views of the same object can score between 0.8 and 0.95 even when their viewpoints differ. The base model often retains a front-facing composition for a rear-view prompt, which can raise global similarity while failing the requested camera instruction.
The author proposes pose-retrieval accuracy as a better test: compare each generated image with all six ground-truth poses and record whether the requested pose receives the highest score. That evaluation has not been published, leaving camera-control accuracy unmeasured by the current benchmark. The dataset and protocol are available for independent reproduction.
Rebuilding the adapter
The training dataset and recipe document the main settings needed for replication:
- Toolkit: ai-toolkit with the
qwen_image_2architecture. - Conditioning: block-causal reference attention, which lets the generated image attend to features from the source image.
- Optimizer: AdamW8bit with a learning rate of
1e-4. - Caption dropout:
0.05, omitting caption conditioning for 5% of training examples. - Resolution: 512 × 512 pixels.
- Schedule: 2,500 training steps with checkpoints every 250 steps.
Constraints to plan around
- Behavior above 512 × 512 pixels is extrapolation and may lose detail or consistency.
- The author reports reasonable interpolation between trained 30-degree positions, but arbitrary numeric azimuths are not parsed reliably.
- Real photographs can lose fine fur, facial features, and small identity details at difficult poses.
- Generated views are visually inferred and do not preserve exact dimensions, topology, or hidden-surface details.
Choosing the right workflow
Developers can test or integrate the adapter through three published paths:
- The hosted workflow demo provides a canvas and camera controls.
- ComfyUI users can add the checkpoint to a Qwen-Image-2.1 workflow and set LoRA strength between 0.8 and 1.0.
- Python applications can load it with the diffusers
QwenImage21Pipelinein edit mode.
The adapter’s Apache-2.0 license permits commercial use subject to its terms. Deployments must also comply with the base model license and the rights attached to reference images, training assets, and generated content.
Suitable applications include product concept views, character turnarounds, storyboard references, and architectural previews. Workflows that require exact measurements or consistent geometry across many angles still need a 3D representation or another geometry-aware system.
The prompt vocabulary credits fal’s earlier adapter for Qwen-Image-Edit-2511. Their shared <mva> trigger and camera labels give Qwen-family tools a common prompt form, although each adapter retains separate weights and behavior.