cjwbw/stable-diffusion-v2-inpainting 🖼️🔢📝 → 🖼️

▶️ 204.0K runs 📅 Dec 2022 ⚙️ Cog 0.5.0
image-editing image-inpainting

About

stable-diffusion-v2-inpainting

Example Output

Prompt:

"face of a ginger cat, high resolution, sitting on a park bench"

Output

Example output

Performance Metrics

4.19s Prediction Time
4.22s Total Time
All Input Parameters
{
  "mask": "https://replicate.delivery/pbxt/HszfSoPGhMEvXf9Gf5gA564aMMyuki3TLSlQQmCepokDJy47/mask.png",
  "image": "https://replicate.delivery/pbxt/HszfS11BnkFTWHKv6sa5kQgrGGcLk0r1ihgUVAZp2bQJ0Yq9/dog.png",
  "prompt": "face of a ginger cat, high resolution, sitting on a park bench",
  "num_outputs": 1,
  "guidance_scale": 7.5,
  "prompt_strength": 0.8,
  "num_inference_steps": 50
}
Input Parameters
mask (required) Type: string
Black and white image to use as mask for inpainting over the image provided. Black pixels are inpainted and white pixels are preserved
seed Type: integer
Random seed. Leave blank to randomize the seed
image (required) Type: string
Inital image to generate variations of. Supproting images size with 512x512
prompt Type: stringDefault: a photo of an astronaut riding a horse on mars
Input prompt
num_outputs Type: integerDefault: 1Range: 1 - 8
Number of images to output. Higher number of outputs may OOM.
guidance_scale Type: numberDefault: 7.5Range: 1 - 20
Scale for classifier-free guidance
prompt_strength Type: numberDefault: 0.8
Prompt strength when using init image. 1.0 corresponds to full destruction of information in init image
num_inference_steps Type: integerDefault: 50Range: 1 - 500
Number of denoising steps
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 15524
  0%|          | 0/51 [00:00<?, ?it/s]
  4%|▍         | 2/51 [00:00<00:03, 14.35it/s]
  8%|▊         | 4/51 [00:00<00:02, 15.70it/s]
 12%|█▏        | 6/51 [00:00<00:02, 16.20it/s]
 16%|█▌        | 8/51 [00:00<00:02, 16.51it/s]
 20%|█▉        | 10/51 [00:00<00:02, 16.53it/s]
 24%|██▎       | 12/51 [00:00<00:02, 16.22it/s]
 27%|██▋       | 14/51 [00:00<00:02, 16.36it/s]
 31%|███▏      | 16/51 [00:00<00:02, 16.47it/s]
 35%|███▌      | 18/51 [00:01<00:02, 16.50it/s]
 39%|███▉      | 20/51 [00:01<00:01, 16.54it/s]
 43%|████▎     | 22/51 [00:01<00:01, 16.52it/s]
 47%|████▋     | 24/51 [00:01<00:01, 16.52it/s]
 51%|█████     | 26/51 [00:01<00:01, 16.54it/s]
 55%|█████▍    | 28/51 [00:01<00:01, 16.37it/s]
 59%|█████▉    | 30/51 [00:01<00:01, 16.47it/s]
 63%|██████▎   | 32/51 [00:01<00:01, 16.54it/s]
 67%|██████▋   | 34/51 [00:02<00:01, 16.58it/s]
 71%|███████   | 36/51 [00:02<00:00, 16.56it/s]
 75%|███████▍  | 38/51 [00:02<00:00, 16.54it/s]
 78%|███████▊  | 40/51 [00:02<00:00, 16.59it/s]
 82%|████████▏ | 42/51 [00:02<00:00, 16.65it/s]
 86%|████████▋ | 44/51 [00:02<00:00, 16.65it/s]
 90%|█████████ | 46/51 [00:02<00:00, 16.66it/s]
 94%|█████████▍| 48/51 [00:02<00:00, 16.68it/s]
 98%|█████████▊| 50/51 [00:03<00:00, 16.68it/s]
100%|██████████| 51/51 [00:03<00:00, 16.49it/s]
Version Details
Version ID
f9bb0632bfdceb83196e85521b9b55895f8ff3d1d3b487fd1973210c0eb30bec
Version Created
December 2, 2022
Run on Replicate →