Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Generative Vision & Video: From GAN to Flow to DiT
Hot & New
New
Rating: 5.0 out of 5(29 ratings)
241 students

Mastering Generative Vision & Video: From GAN to Flow to DiT

VAEs · Diffusion · ControlNet · Flux · Sora-Style Video Generation · Audio-Visual Sync
Created byVinit Singh
Last updated 5/2026
English
English [Auto],

What you'll learn

  • Build VAEs, GANs and Vision Transformers from scratch, understanding reparameterisation, minimax training and patch embeddings that underpin Stable Diffusion
  • Implement DDPM, Latent Diffusion Models and Flow Matching, understanding ODE solvers and time-step formulations used in production systems like SD 3.5 and Flux
  • Control and accelerate image generation using ControlNet, IP-Adapters, Consistency Models and adversarial distillation techniques like SDXL Turbo & Flux Schnell
  • Build spatiotemporal video generation systems using Diffusion Transformers, temporal attention and optical flow, with reference to Sora, Veo 2 and Gen-3.

Course content

5 sections316 lectures31h 39m total length
  • Introduction to Module 04:03
  • 0.1 Autoencoders (AEs) and VAEs4:41
  • 0111 Autoencoders (AEs) vs. Variational Autoencoder10:08
  • 0112 Ambient Space (The Chaos), Manifold,Latent Space5:41
  • 0113 The Core of Gen AI: Manifold, Latent Space & Autoencoders6:05
  • 0114 The Decoder - From Blueprint Back to Image5:27
  • Code Eg 0.1 part 1 Explaination3:47

    Set up a coding notebook with numpy, matplotlib, PIL, torch, and torchvision; train a vanilla autoencoder and a variational autoencoder on MNIST, including training and test splits and sample visualization.

  • 0121 Autoencoder (AE) Architecture Overview2:11

    Explore autoencoder architecture with an encoder that downscales images to a latent space, and a decoder that upscales via deconvolution; compare latent space and loss to VAE.

  • 0122 Autoencoder Implementation & Limitations4:37

    Describe how autoencoders map discrete latent points, creating a discontinuous space that limits generation, and contrast with variational autoencoders using probabilistic latent distributions for diverse generation.

  • 0123 Autoencoder Loss function6:44

    Learn how autoencoders use mean squared error to minimize reconstruction error by comparing input and reconstructed pixel values, normalizing to 0 and 1, and updating weights via backpropagation.

  • Code Eg 0.1 part 2 Explaination4:40
  • 0131 Variational Auto-encoder (VAE) Architecture Overview2:25

    Explore variational autoencoders by contrasting VAEs with autoencoders, and learn how VAEs replace a deterministic latent space with a learned probability distribution for sampling to generate new images.

  • 0132 Variational Autoencoders The Probabilistic Revolution4:05

    Explain how variational autoencoders replace deterministic mapping with learning the probability distribution in the latent space. Show how sampling around the feature map with a normal distribution yields new variations.

  • 0133 The Reparameterization Trick in Generative Computer Vision (VAE)5:52
  • 0134 Understanding VAE Loss & The AE vs VAE Showdown5:02

    Understand how adding KL divergence to the VAE loss regularizes the latent space toward a standard normal distribution, improving generation while balancing reconstruction via beta tuning.

  • Code Eg 0.1 part 3 Explaination6:42
  • 0141 AE vs. VAE Comparison6:53
  • 0142 β-VAE Disentangled Representations5:21

    Tune the beta in beta-VAE's loss to balance reconstruction and disentanglement, revealing a sweet spot around 4–6 for controllable factors like rotation, color, age, and smile.

  • 0143 Conditional VAE (cVAE)6:04
  • 0144 Real-World Applications of AEs & VAEs4:05
  • Code Eg 0.1 part 4 Explaination4:51
  • 0.2 Generative Adversarial Networks (GANs) - Learning Objectives5:43
  • 0211 Generative Adversarial Networks (GANs)10:28
  • 0212 GAN Training Loop Path to Nash Equilibrium6:24
  • 0213 The Mathematical Engine - The Minimax Game5:40
  • Code Eg 0.2 part 1 Explaination5:41
  • 0221 DCGAN Architecture The Blueprint for Stable GANs11:10
  • 0222 GAN Training Choreography 1 Discriminator Training5:06
  • 0223 GAN Training Choreography Part 2 Generator Training3:23
  • 0224 The Complete Choreography3:06
  • Code Eg 0.2 part 2 Explaination7:56

    Train a dense-layer GAN on MNIST with a generator and discriminator, compare to DC GAN, and save weights as GAN_MNIST.pth while evaluating adversarial loss.

  • 0231 GAN Challenges - Mode Collapse & Vanishing Gradients3:54
  • 0232 The Solution - Wasserstein GAN (WGAN)5:33
  • 0233 Advantages of WGAN & Implementation Details2:16
  • Code Eg 0.2 part 3 Explaination6:27

    Detect mode collapse by analyzing the pixel standard deviation across 16 generated images and the average pairwise distance, revealing a low collapse risk with 0.3246 standard deviation and 18.75 distance.

  • 0241 StyleGAN Architecture The Disentangled Synthesis5:34
  • 0242 Advanced GAN Architectures StyleGAN4:10

    Explore style gan architecture, transforming noise into disentangled intermediate codes via an 8-layer mlp and addane, deriving style vectors from w to control pose, face shape, and hair color.

  • 0243 CycleGAN Unpaired Image to Image Translation2:21

    Learn CycleGAN for unpaired image-to-image translation between horses and zebras, using two GAN cycles that map each domain to the other and reconstruct originals to improve realism.

  • 0244 CycleGAN Translation Without Paired Data5:17
  • 0245 Evaluating the Unsupervised GAN Metrics6:58
  • Code Eg 0.2 part 4 Explaination5:13

    Demonstrate how interpolating between two latent space points yields a smooth sequence of generated images, showing latent space continuity, and survey dcgan, wgan, stylegan, cyclegan, with preview of vision transformers.

  • 0.3 Introduction to Vision Transformers (ViT) - Learning Objectives5:43
  • 0311 Vision Transformers (ViT) - The Paradigm Shift6:14

    Explore the paradigm shift to vision transformers (ViT), from cnn era to transformer era, and how patch embeddings with position encodings and self-retention enable global image understanding for classification.

  • 0312 The Vision Transformer ( ViT) Architecture7:58
  • 0313 Why Vision Needs a Global View8:18
  • 0314 CNN vs. ViT A Tale of Two Perspectives3:22
  • Code Eg 0.3 part 1 Explaination4:43
  • 0321 The Engine of Vision - Self-Attention Explained4:09
  • 0322 Self-Attention & Multi-head attention6:44

    Self-attention powers vision by letting image patches communicate globally through Q, K, and V projections, producing context-aware representations via dot-product similarities, softmaxed attention scores, weighted sums, and multiple heads.

  • 0323 From Pixels to Tokens - The ViT Patching Process4:05
  • 0324 Step 1 - Flattening Patches to Token Embeddings5:49
  • 0325 The Complete Pipeline3:23
  • 0326 Step -2 Linear Projection From Pixels to Visual Words5:02
  • Code Eg 0.3 part 2 Explaination8:34

    Demonstrate applying a ViT model to four ImageNet images by splitting 224×224 into 16×16 patches, predicting top-3 labels, and visualizing CLS token attention across layers to show evolving focus.

  • 0331 Step 3 - Positional Encoding Vision Spatial Memor9:01

    Explore how positional encoding turns patch embeddings into position-aware representations for vision transformers, enabling the transformer encoder to preserve spatial order and boost accuracy in VIT.

  • 0332 Step 4 - Transformer Encoder The Processing Core8:00
  • 0333 Layer Normalisation, MLP & Residual Connections7:34
  • Code Eg 0.3 part 3 Explaination6:36

    Compare convolutional networks and vision transformers, examining receptive fields and global context, then demonstrate using transformer embeddings for feature extraction and transfer learning.

  • 0341 Energy Landscape-Aware ViT (ELA-ViT)3:11

    Explore energy landscape aware ViT (ELA-ViT) and other vision transformer advances, showing how early layer energy stability enables efficient training and reduced computation.

  • 0342 Hypergraph Vision Transformer (HgVT)2:47
  • 0343 2025 Vision Transformer Innovations4:09

    Compare LAVIT and HGVT approaches to vision transformers, highlighting efficiency and semantic understanding. Explain LII-based layer freezing to reduce compute and HGVT's patch-based semantic grouping.

  • 0344 Data-efficient Image Transformer ( DeiT)9:47
  • 0345 Swin Transformer Hierarchial Vision Transformer8:02

    Demonstrates Swin Transformer, a hierarchical vision transformer, replacing full-patch attention with local window self-attention and shifted windows, reducing complexity from O(n^2) to O(n) and enabling pyramid feature maps.

  • Code Eg 0.3 part 4 Explaination3:20

Requirements

  • Essential Technical Knowledge: Completion of a foundational computer vision course covering CNNs, image classification, and basic deep learning — or equivalent practical experience. This course is explicitly designed as a continuation of the "Mastering Computer Vision: From Pixel to Detection to Gen-CV" course and assumes that level of preparation. Solid Python programming skills including comfort with object-oriented programming, working with libraries, and writing training loops from scratch. Working knowledge of PyTorch or TensorFlow — students should be able to define a model, write a training loop, load data, and run inference without step-by-step guidance. Basic understanding of neural network fundamentals — forward pass, backpropagation, loss functions, gradient descent, and activation functions. Familiarity with Convolutional Neural Networks and how they process image data — feature maps, pooling, and spatial hierarchies.
  • Recommended but Not Strictly Required: Prior exposure to attention mechanisms and the Transformer architecture is helpful, as Module 0 covers Vision Transformers at an accelerated pace assuming some prior familiarity. Basic understanding of probability and statistics — particularly concepts like distributions, sampling, and KL divergence — will help with the diffusion and VAE modules. Familiarity with Jupyter Notebooks and running experiments on cloud GPU environments (Google Colab, Kaggle, or similar).
  • Hardware and Software: A computer capable of running Python 3.8 or higher with standard deep learning libraries installed. Access to a GPU environment for running labs — cloud GPU platforms are acceptable and recommended for students without local GPU resources. No specialized hardware is required beyond access to a free-tier cloud GPU for practical lab sessions.
  • This course is NOT suitable for: Complete beginners to deep learning or Python programming. Students with no prior exposure to convolutional neural networks or image classification. Those looking for a no-code or prompt-engineering course — this is an implementation and architecture-focused engineering course.

Description

Mastering Generative Vision and Video: From GAN to Flow to DiT

The Complete Engineering Guide to Modern Generative AI — Images, Video, and Audio-Visual Synthesis

Generative AI is no longer a research curiosity. It is the engine behind billion-dollar products, production pipelines at studios and startups, and the most sought-after engineering skillset in the AI job market today. Stable Diffusion, Sora, DALL-E, Runway, Midjourney, Kling, and Veo — every one of these systems is built on the architectural foundations this course teaches from first principles to production implementation.

This course picks up exactly where classical computer vision ends. You already understand CNNs, segmentation, and detection. Now it is time to master the generative side — the models that do not just recognize the visual world, but create, transform, and synthesize it.

"Mastering Generative Vision and Video: From GAN to Flow to DiT" is the only course that takes you through the complete evolution of generative architectures in a single, coherent learning journey. You will start with the foundational building blocks — Variational Autoencoders, GANs, and Vision Transformers — and progressively advance through Latent Diffusion Models, Flow Matching, ControlNet, Consistency Models, and finally Diffusion Transformers (DiT), the architecture powering Sora and the next generation of video generation systems.

The curriculum is structured around five modules covering 19 lectures of hands-on, implementation-focused content.


Module 0 ensures every student has the right foundation with VAEs, GANs, and ViT before entering the diffusion world.

Module 1 takes you from DDPM probability theory all the way to Flow Matching and ODE solvers.

Module 2 dives deep into control and acceleration — ControlNet, IP-Adapters, LCM Distillation, SDXL Turbo, and Flux Schnell.

Module 3 introduces spatiotemporal generation for video, covering DiT-based architectures, Sora, Veo 2, temporal attention, optical flow, and frame interpolation.

Module 4 closes the loop with generative audio-visual synchronization — neural audio synthesis with AudioLM and MusicGen, unified AV generation with Veo, lip-sync architectures with Wav2Lip, and latent audio-video alignment metrics.

This is not a course about prompting or using AI tools. This is an engineering course. You will understand the mathematics, implement the architectures, and build systems capable of generating images, videos, and synchronized audio-visual content.

Whether you are an AI engineer wanting to work on foundation model teams, a researcher building the next generation of generative systems, a developer integrating generative capabilities into production pipelines, or a technical entrepreneur building a generative AI product, this course gives you the complete, rigorous, and practical foundation to do it.

The demand for engineers who understand these systems at an architectural level is growing faster than the supply. This course is your path to becoming one of them.

Who this course is for:

  • 1. AI engineers and developers who want to move beyond recognition tasks and build generative image, video, and audio-visual systems using diffusion models, flow matching, and transformer architectures.
  • 2. Students who have completed a foundational computer vision course and are ready to advance into generative AI, learning the architectures behind Stable Diffusion, Sora, ControlNet, and Veo.
  • 3. Machine learning researchers and practitioners who want hands-on implementation experience with state-of-the-art generative models including DiT, LCM, SDXL, Flux, and audio-visual synthesis systems.
  • 4. Software developers and technical entrepreneurs building generative AI products who need architectural understanding beyond prompt engineering to integrate and customize foundation models.
  • 5. Data scientists and deep learning engineers looking to specialize in generative vision and video, one of the fastest growing and highest paying areas in the current AI job market.