cjwbw / diffedit-stable-diffusion

Diffusion-based semantic image editing with mask guidance

  • Public
  • 410 runs
  • T4
  • GitHub
  • Paper
  • License

Input

image
file

Input image

string
Shift + Return to add a new line

The prompt to guide the semantic mask generation using the method used in the DiffEdit paper

Default: "a bowl of fruits"

string
Shift + Return to add a new line

The prompt to guide the target image generation

Default: "a basket of fruits"

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 7.5

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

Run time and cost

This model costs approximately $0.063 to run on Replicate, or 15 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 5 minutes. The predict time for this model varies significantly based on the inputs.