Compressed Image Generation with Denoising Diffusion Codebook Models