wolverinn/simple-background 🔢🖼️📝 → 🖼️

▶️ 4.6K runs 📅 Aug 2023 ⚙️ Cog 0.8.6 🔗 GitHub
background-replacement controlnet image-editing image-processing stable-diffusion

About

Replace background with stable diffusion

Example Output

Prompt:

"RAW photo, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3, on the table with flowers"

Output

Example output

Performance Metrics

26.13s Prediction Time
26.12s Total Time
All Input Parameters
{
  "seed": -1,
  "image": "https://replicate.delivery/pbxt/JRXAIbNxcGVgFXQCQm3HDAP9QmmFRZpFM16ZXp1CV3HYgsun/photography-result.png",
  "prompt": "RAW photo, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3, on the table with flowers",
  "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation"
}
Input Parameters
seed Type: integerDefault: -1
seed
image (required) Type: string
Image to replace background
prompt Type: stringDefault: RAW photo, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
prompt en
negative_prompt Type: stringDefault: (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation
negative prompt
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
2023-08-30 23:52:36,913 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_canny [d14c016b]
2023-08-30 23:52:36,934 - ControlNet - INFO - Loading preprocessor: canny
2023-08-30 23:52:36,934 - ControlNet - INFO - preprocessor resolution = 700
  0%|          | 0/16 [00:00<?, ?it/s]
Total progress: 145it [18:28, 16.17s/it]
  6%|▋         | 1/16 [00:00<00:05,  2.70it/s]
Total progress: 146it [18:28, 11.43s/it]
 12%|█▎        | 2/16 [00:00<00:05,  2.70it/s]
Total progress: 147it [18:28,  8.11s/it]
 19%|█▉        | 3/16 [00:01<00:04,  2.72it/s]
Total progress: 148it [18:29,  5.79s/it]
 25%|██▌       | 4/16 [00:01<00:04,  2.73it/s]
Total progress: 149it [18:29,  4.16s/it]
 31%|███▏      | 5/16 [00:01<00:04,  2.74it/s]
Total progress: 150it [18:29,  3.02s/it]
 38%|███▊      | 6/16 [00:02<00:03,  2.74it/s]
Total progress: 151it [18:30,  2.23s/it]
 44%|████▍     | 7/16 [00:02<00:03,  2.71it/s]
Total progress: 152it [18:30,  1.67s/it]
 50%|█████     | 8/16 [00:02<00:02,  2.72it/s]
Total progress: 153it [18:31,  1.28s/it]
 56%|█████▋    | 9/16 [00:03<00:02,  2.73it/s]
Total progress: 154it [18:31,  1.00s/it]
 62%|██████▎   | 10/16 [00:03<00:02,  2.72it/s]
Total progress: 155it [18:31,  1.23it/s]
 69%|██████▉   | 11/16 [00:04<00:01,  2.72it/s]
Total progress: 156it [18:32,  1.47it/s]
 75%|███████▌  | 12/16 [00:04<00:01,  2.72it/s]
Total progress: 157it [18:32,  1.70it/s]
 81%|████████▏ | 13/16 [00:04<00:01,  2.71it/s]
Total progress: 158it [18:32,  1.92it/s]
 88%|████████▊ | 14/16 [00:05<00:00,  2.73it/s]
Total progress: 159it [18:33,  2.11it/s]
 94%|█████████▍| 15/16 [00:05<00:00,  2.75it/s]
100%|██████████| 16/16 [00:05<00:00,  3.21it/s]
100%|██████████| 16/16 [00:05<00:00,  2.81it/s]
Total progress: 160it [18:33,  2.26it/s]
Version Details
Version ID
39402535c8c38ce4df606880aea97e4581f1605bbab202cd658cdc7d26048873
Version Created
August 30, 2023
Run on Replicate →