nicholascelestin / latent-diffusion

High-Resolution Image Synthesis with Latent Diffusion Models

  • Public
  • 5.6K runs
  • T4
  • GitHub
  • Paper
  • License
Iterate in playground

Input

*string
Shift + Return to add a new line

Image prompt

number

Unconditional guidance, increase for improved quality and less diversity

Default: 5

integer

Number of diffusion steps

Default: 50

number

ddim_eta (recommend leaving at default of 0 for faster sampling)

Default: 0

boolean

Sampling method requiring fewer steps (e.g. 25) to get good quality images

Default: true

integer

Number of images to generate per batch

Default: 4

integer

Number of batches

Default: 1

integer

Width of images (use a multiple of 8 e.g. 256)

Default: 256

integer

Height of images (use a multiple of 8 e.g. 256)

Default: 256

Output

outputoutputoutputoutput
Generated in

Run time and cost

This model costs approximately $0.014 to run on Replicate, or 71 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 62 seconds. The predict time for this model varies significantly based on the inputs.