CamEdit: Continuous Camera Parameter Control for Photorealistic Image Editing

Xiaochun Cao (SUN YAT-SEN UNIVERSITY) · Fan Li (Northwestern Polytechnical University) · Haoyu Chen (Hong Kong University of Science and Technology (Guangzhou)) · Wenbo Li (JD Joy Future Academy) · Renjing Pei (Huawei Technologies Ltd.) · Zhixin Wang (Huawei Technologies Ltd.) · Xinran Qin (Sun Yat-sen University)
aperturecamedit50kcamera parameterscamera-aware visual manipulationcontinuous controlcontinuous parameter promptingdiffusion modelsfocal planehigh-fidelity image editingparameter-aware modulationphotorealistic image editingshutter speedsupervised learningtext-driven image editingvisual effects

Recent advances in diffusion models have substantially improved text-driven image editing. However, existing frameworks based on discrete textual tokens struggle to support continuous control over camera parameters and smooth transitions in visual effects. These limitations hinder their applications to realistic, camera-aware, and fine-grained editing tasks. In this paper, we present CamEdit, a diffusion-based framework for photorealistic image editing that enables continuous and semantically meaningful manipulation of common camera parameters such as aperture and shutter speed. CamEdit incorporates a continuous parameter prompting mechanism and a parameter-aware modulation module that guides the model in smoothly adjusting focal plane, aperture, and shutter speed, reflecting the effects of varying camera settings within the diffusion process. To support supervised learning in this setting, we introduce CamEdit50K, a dataset specifically designed for photorealistic image editing with continuous camera parameter settings. It contains over 50k image pairs combining real and synthetic data with dense camera parameter variations across diverse scenes. Extensive experiments demonstrate that CamEdit enables flexible, consistent, and high-fidelity image editing, achieving state-of-the-art performance in camera-aware visual manipulation and fine-grained photographic control.