medigan is a modular open-source Python library that provides an interface to multiple generative models and automates synthetic dataset generation.