text: Today we are gonna create Images with a Diffusion model. I am gonna feed you some information about it.
  
  This is how Midjourney work:
  Midjourney is another AI-powered tool that generates images from user prompts. MidJourney is proficient at adapting actual art styles to create an
  image of any combination of things the user wants. It excels at creating environments, especially fantasy and sci-fi scenes, with dramatic lighting
  that looks like rendered concept art from a video game. How does Midjourney work?
  Midjourney is an AI image generation tool that takes inputs through text prompts and parameters and uses a Machine Learning (ML) algorithm
  trained on a large amount of image data to produce unique images. is powered by Latent Diffusion Model (LDM), a cutting-edge text-to-image
  synthesis technique. Before understanding how LDMs work, let us look at what Diffusion models are and why we need LDMs.
  Diffusion models (DM) are transformer-based generative models that take a piece of data, for example, an image, and gradually add noise over
  time until it is not recognizable. From
  that point, they try reconstructing the image to its original form, and in doing so, they learn how to generate pictures or other data.
  The issue with DMs is that the powerful ones often consume hundreds of GPU days, and inference is quite expensive due to sequential
  evaluations. To enable DM training on limited computational resources without compromising their quality as well as flexibility, DMs are applied in
  the latent space of powerful p