# Repository Briefing: nv-tlabs/GEN3C
> Source: https://repoforai.com/repo/nv-tlabs/GEN3C (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/nv-tlabs/GEN3C
- **Official Docs / Website**: https://research.nvidia.com/labs/toronto-ai/GEN3C/
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Jupyter Notebook
- **License**: Apache-2.0
- **Engineering Health**: B (52/100 · Maintenance 12/35 · Adoption 14/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, GPU, CLI
- **Momentum**: 1,466 ★ total (+1 24h / +6 7d) · 82 forks
- **Topics**: `3d-graphics`, `camera-control`, `video-diffusion-model`
- **When to Use**: Best for: GPU-equipped research and production teams prototyping controlled camera moves from single images, sparse views, or video with estimated geometry. Skip if: You need lightweight inference, a managed API, deterministic 3D assets, or a workflow that accepts arbitrary video without estimating depth and camera poses.

## Overview
```text
### Architecture & Core Mechanics
GEN3C uses a depth-derived point-cloud cache as spatial memory for video generation. It predicts per-pixel depth from seed images or previously generated frames and renders the cache along the requested camera trajectory. Those 2D renderings condition the diffusion model, so it does not have to reconstruct the visible layout from camera parameters alone. The generative stage fills in unseen regions and advances the scene over time.

The implementation is organized under `cosmos_predict1/`, with separate inference entrypoints for single images, dynamic video, and multiview inputs. The published checkpoint is GEN3C-Cosmos-7B. The Python stack pins PyTorch 2.6.0, Diffusers 0.32.2, and Warp 1.7.2. ViPE and VGGT are upstream options for obtaining geometry and camera data, not interchangeable inference backends.

### Key Capabilities & Differentiators
Single-image inference can produce a 121-frame clip. For dynamic video, the pipeline needs depth, camera intrinsics, and extrinsics; ViPE outputs can be passed through `--vipe_path`, with `--vipe_starting_frame_idx` selecting the source offset. The multiview example reads an `.npz` and requests 361 frames at 1280×704 with `--filter_points_threshold 0.05`. These values describe the example, not a performance result or a general output limit.

Camera controls separate path, orientation, and distance. The CLI offers lateral and vertical moves, zooms, and orbits, along with center-facing, fixed, and trajectory-aligned rotation. The GUI supports 3D input inspection and custom paths. Longer clips use `--num_video_frames` autoregressively, with documented examples of 241 and 361 frames. Use those examples when sizing jobs: the printed `121 * N - 1` pattern does not match them.

### Trade-offs & Limitations
Compared with video models that take camera poses only as network inputs, GEN3C supplies an explicit rendering for each target viewpoint. That is a better fit when keeping objects in plausible positions across a camera move matters more than minimizing setup. The cost is dependence on the quality of depth and camera estimates, plus a preprocessing step for video and multiview inputs. The cache is not a complete 3D scene asset: content outside observed views remains generated rather than recovered.

Only A100 and H100 were tested. The reported maximum inference memory with full offloading was about 43 GB, and that configuration also disables the guardrail and prompt encoder. Do not treat it as a baseline for normal settings or as assurance that a given GPU will fit. Moving modules off GPU trades VRAM for data transfers; no throughput figure establishes the cost. Check checkpoint terms separately from the repository's Apache-2.0 license.

### Hardware & Deployment Guide
Start with `INSTALL.md`, then fetch the required checkpoints from Hugging Face using a read token and `scripts/download_gen3c_checkpoints.py --checkpoint_dir checkpoints`. The CLI examples run from the repository root with `CUDA_HOME=$CONDA_PREFIX` and `PYTHONPATH=$(pwd)`, using Python for one GPU or `torchrun` for the eight-GPU examples. Keep ViPE in a separate Conda environment because its environment is incompatible with GEN3C's.

The Dockerfile starts from `nvcr.io/nvidia/pytorch:24.10-py3` and installs system tools including FFmpeg. Plan on GPU-enabled self-hosting via CLI or GUI; a managed inference API is not specified. No GitHub release is listed, so pin the source revision and record checkpoint versions when reproducibility matters rather than assuming a tagged release binds them together.
```

## Key Capabilities
```text
- Spatial conditioning: Depth-derived point clouds are rendered along the target path before video diffusion.
- Model artifacts: GEN3C-Cosmos-7B checkpoints are distributed through Hugging Face and fetched with `scripts/download_gen3c_checkpoints.py`.
- Input modes: Separate workflows handle single images, dynamic video, and sparse multiview images.
- Camera authoring: The CLI exposes eight trajectory presets and three rotation modes; the GUI supports custom paths.
- Diagnostics: `--save_buffer` saves intermediate images alongside the output video for inspection.
- Execution: Single-GPU and eight-GPU `torchrun` examples are provided; the documented full-offload run peaked at about 43 GB of VRAM.
```

## Quick Start / Clone
```bash
huggingface-cli login
```
