
RawMoment Authors, arXiv:2611.35700 (Apache 2.0)
Share this post:
RawMoment: Open Source Generative RAW Deblurring VFX
Researchers released RawMoment on November 23, 2026 under the Apache 2.0 license, introducing a generative RAW to RGB restoration pipeline that jointly performs motion deblurring and camera image signal processing directly from sensor Bayer data. Built on a frozen Qwen-Image-2.1 backbone with a dedicated RAW encoder and sensor physics conditioning, it recovers sharp 16 bit plates from handheld or low light motion blur. You can test the model free in the embedded browser demo below with zero login.
Studio availability. Try the public Hugging Face demo below; RawMoment is not part of a paid AI FILMS Studio plan (use Clarity AI Pro Upscaler in the image workspace for example instead).
Try RawMoment Free in Your Browser
Upload a motion blurred DNG, CR2, NEF, ARW, or 16 bit PNG RAW file below, or select one of the included GoPro and RawMoment-Bench examples. The ZeroGPU demo compares a linear debayer preview against the restored sharp output and lets you download a 16 bit PNG.
Adjust sensor acquisition parameters in the lower accordion when restoring camera RAW files with non standard white balance or high ISO gain.
Architecture and Technical Design
Standard deblurring networks run on gamma compressed 8 bit sRGB frames, where highlight clipping and nonlinear tone curves have already destroyed physical blur trajectories. RawMoment operates directly in linear RAW mosaic space before demosaicing, preserving the additive physics of shutter integration.
Architecture diagram by RawMoment Authors (Apache 2.0)
Training runs in two stages across 100,000 steps per resolution checkpoint. Stage 1 trains a specialized RAW encoder (stage1-vae.safetensors) and quantization convolution to project 4 channel Bayer mosaics into the shared RGB latent space of Qwen-Image-2.1.
Stage 2 attaches attention LoRA layers and sensor physics conditioning modules (stage2-dit.safetensors) onto the frozen diffusion transformer. Passing ISO, read noise, shot noise, and white balance metadata lets the generator separate genuine motion blur from sensor noise.
Checkpoints ship at both 512 x 512 and 1024 x 1024 native training resolutions in FP32, giving VFX supervisors a clean commercial restoration option under Apache 2.0.
Hardware, VRAM, and License Matrix
| Checkpoint Pair | Native Resolution | Precision | Recommended VRAM | License |
|---|---|---|---|---|
512/stage1-vae + stage2-dit |
512 x 512 |
FP32 (runs BF16) | 16 GB to 24 GB | Apache 2.0 |
1024/stage1-vae + stage2-dit |
1024 x 1024 |
FP32 (runs BF16) | 24 GB+ | Apache 2.0 |
| Base Backbone | Qwen/Qwen-Image-2.1 |
BF16 / FP8 | Shared with DiT | Apache 2.0 / Base terms |
Always pair a stage1-vae and stage2-dit checkpoint trained at the exact same resolution (512 with 512, or 1024 with 1024).
Parameter Reference
| Parameter | Input / Default | Production Impact |
|---|---|---|
| Input format | DNG, CR2, NEF, ARW, PNG16 | Linear RAW preserves unclipped motion streaks for cleaner recovery |
| Sensor ISO & noise profile | Read from EXIF or manual | Prevents the denoiser from hallucinating texture over dark shadow grain |
| White balance gains | Camera EXIF RGB multipliers | Anchors accurate color rendering during joint RAW to RGB demosaicing |
| Output bit depth | 16 bit PNG | Retains wide grading latitude for DaVinci Resolve and Nuke compositing |
Local Python and CLI Setup
Clone the official RawMoment repository and download both resolution checkpoints via the Hugging Face CLI.
git clone https://github.com/script-Yang/rawmoment.git
cd rawmoment
pip install -r requirements.txt
hf download yscript/RawMoment --repo-type model --local-dir weights \
--include '512/*' '1024/*'
Follow the inference command in the repository README to batch process DNG sequences or blurred VFX clean plates directly into 16 bit sRGB outputs without leaving your local workstation.
Filmmaker Production Playbook
Low light documentary shoots, action unit stills, and handheld drone plates frequently suffer from accidental shutter drag that ruins an otherwise irreplaceable moment. Traditional sharpening filters amplify ringing halos without recovering true edge geometry.
Keep original camera RAW files (DNG, ARW, CR2, or NEF) rather than transcoded JPEGs whenever a production still or reference plate needs rescue. RawMoment's synthetic training pipeline pairs real video motion trajectories with calibrated sensor noise simulation, so linear RAW inputs yield dramatically cleaner micro texture.
Export the restored 16 bit PNG and match film grain back onto the plate inside Nuke or Resolve so the deblurred still blends naturally beside unblurred hero footage.
Data synthesis pipeline by RawMoment Authors (Apache 2.0)
For rapid cloud upscaling and detail enhancement on standard RGB stills, check out our AI image-to-image page.
Known Limitations and FAQ
Can RawMoment deblur standard 8 bit JPEG photos? It is trained specifically for linear RAW Bayer data (DNG, CR2, NEF, ARW, or 16 bit RAW PNG). Feeding standard 8 bit sRGB JPEGs bypasses the sensor physics conditioning that drives its accuracy.
Does it work on video clips frame by frame? Yes, if you capture CinemaDNG sequences, though running frame by frame without temporal smoothing can introduce minor high frequency flicker between frames.
Is RawMoment free for commercial VFX studios? Yes. Both the code and checkpoints are released under the Apache 2.0 license.
Related Reading
- Kandinsky ImageSR 2.0: Open Source 1 Step Image Upscaler
- PixelMatte: Open Source Pixel Space Image Matting
- Depth Pro 2: Open Source Metric Depth VFX for Video
- Explore hosted image enhancement on the AI image-to-image page.
Sources
Continue Reading
Video & LipSync
- Video Generator
- Text to Video
- Image to Video
- Start-End Frame to Video
- Draw to Video
- Motion Control
- Video Enhancer
- Video Upscaler
- Video Extend
- Video to Video LipSync
- Audio to Video LipSync
- Image to Video LipSync
- Video FaceSwap
- Seedance 2.5
- WAN 3.0
- Seedance 2
- FLUX 3
- Minimax H3
- Vidu Q3 Pro
- Grok Imagine Video 1.5
- Gemini Omni
- Google Veo 3.1
- Kling 3.0 Pro
- Luma Ray 3.2
- LTX 2.3
- Happy Horse 1.1
- Kling 3.0 Motion
- ByteDance Upscaler
- InfiniteTalk
- InsightFace
Image & Edit
- AI Character
- AI Actor
- Art Generator
- Text to Image
- Image to Image
- LoRA Image to Image
- Draw to Edit
- Image LoRA Training
- Remove Background
- Image Enhancer
- MidJourney 8.0
- Krea 2
- OpenAI GPT Image 2.0
- Nano Banana Pro Ultra
- Nano Banana 2 Lite
- Nano Banana Pro
- Minimax Image
- Clarity Pro
- Z-Image Turbo LoRA
- Krea 2 Turbo LoRA
- Z-Image LoRA Trainer
- Qwen Image LoRA Trainer
- Background Erase Network 2 (BEN2)



