Here's a quick example to get started:

In Pkg-mode:

add https://github.com/paul-vdl/ImageGenerationDiffusionModels.jl

Then in REPL:

using ImageGenerationDiffusionModels
demo()

It will call the other functions (except train) but you can also call them one by one:

img = generate_grid()
noisy_img = apply_noise(img)
denoised_img = denoise_image(img)
new_img = generate_image()

You can also train a model with a dataset (not recommended, it takes a lot of time)

train("SyntheticImages500.mat")