GenCAD is an image-conditional CAD generation model that generates parametric CAD command sequences, which can be converted to 3D solid models using a geometry kernel. The model uses a combination of autoregressive transformer encoder, contrastive learning-based model, latent diffusion model, and decoder model to generate CAD commands. GenCAD aims to provide more precise and modifiable 3D modeling from images, potentially enhancing automated design processes. The model can also retrieve CAD programs from a collection of existing programs based on an input image.