We introduce CameraAnything, the first unified framework for camera controlled video editing that enables joint control of both intrinsic and extrinsic camera parameters. Existing approaches either rely on expensive 3D reconstruction to achieve full camera functionality or restrict editing to extrinsic parameter manipulation. Moreover, the coupled influence of intrinsic and extrinsic parameters on video appearance makes disentangled modeling particularly challenging.
To address this, we adopt per-pixel PlΓΌcker ray injection alongside resolution-aware 3D RoPE in self-attention, building both camera conditioning and spatial positional encoding on the target latent to jointly control camera position, focal length, and native resolution editing without cropping or outpainting. To overcome the scarcity of paired training data, we further develop a scalable synthetic pipeline that constructs diverse dynamic scenes through structured multi-camera recording and generates synchronized videos with varied camera configurations.
With a tailored orthogonal training strategy, CameraAnything enables expressive video reshooting with arbitrary viewpoint control, focal length adjustment, resolution adaptation, and multi-shot transitions within a single generation process, offering strong practical value for cinematic video editing and cross-platform content adaptation in video production.
Extrinsics Editing
Re-shooting videos with novel camera trajectories, including single-shot smooth motion and multi-shot cinematic transitions.
Source Single continuous take
Result Multi-shot with camera cuts
Source Single continuous take
Result Multi-shot with camera cuts
Source Single continuous take
Result Multi-shot with camera cuts
Source Single continuous take
Result Single-shot camera motion
Focal Length Control
Changing the field-of-view while maintaining the same camera trajectory, simulating lens changes in post-production.
Source Original focal length
Result Focal length change
Source Original focal length
Result Focal length change
Source Original focal length
Result Focal length change
Source Original focal length
Result Focal length change
Resolution & Aspect Ratio Editing
Native resolution adaptation β converting a single source video to any target aspect ratio without masks or outpainting.
Source video β Original (16:9)
4:3 Landscape
1:1 Square
3:4 Portrait
9:16 Portrait
Combined Camera Edits
Simultaneously adjusting camera trajectory, focal length, and resolution in a single generation pass.
Source Original video
Result Trajectory + Focal length change
Source Original video
Result Trajectory + Focal length change
Source Original video
Result Multi-shot + Focal length change
Source Original video
Result Multi-shot + Focal length change + Portrait
Source Original video
Result Multi-shot + Focal length change + Portrait
Comparison with Baselines
Side-by-side comparisons on real-world videos. All methods receive the same source video and target camera trajectory. Due to the large camera displacement and wide angular range in our test cases, TrajectoryCrafter's point-cloud inpainting approach fails to produce plausible renderings. ReCamMaster generates reasonable visual quality but is unable to synthesize a first frame from a novel viewpoint different from the source, and does not support multi-shot transitions, resulting in weaker camera controllability compared to ours.
Source video β Camel (multi-shot extrinsics editing)
TrajectoryCrafter
ReCamMaster
Ours
Source video β Lucia (single-shot extrinsics editing)
TrajectoryCrafter
ReCamMaster
Ours
Dataset Samples
Examples from our structured multi-view, multi-focal, multi-shot synthetic dataset rendered with Unreal Engine 5.
Group A β Single-shot, fixed focal
Group B β Multi-shot transitions, fixed focal
Group C β Same extrinsics as Group A, different focal length
Group C β Same extrinsics as Group B, different focal length