anhappdev/test 🔢🖼️❓📝✓ → 🖼️

▶️ 4.0K runs 📅 Mar 2023 ⚙️ Cog 0.6.1
image-inpainting image-object-removal

About

Image Inpainting

Example Output

Prompt:

"a black leather couch"

Output

Example outputExample outputExample outputExample output

Performance Metrics

15.46s Prediction Time
15.54s Total Time
All Input Parameters
{
  "seed": 12345,
  "image": "https://replicate.delivery/pbxt/Ia2E3MUrVDVXITRVSKCHcCYi9WMYGoTpqxtqZ0PuqRoaY3FW/1.jpg",
  "method": "replace",
  "prompt": "a black leather couch",
  "mask_image": "https://replicate.delivery/pbxt/Ia2E2SDOE51oEfLeToezFAIYKw84oX0wHJYNVO5GUr6YMFMi/1_mask.jpg",
  "num_outputs": 3,
  "guidance_scale": 5,
  "num_inference_steps": 20,
  "preview_input_image": true
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
image (required) Type: string
The image which will be inpainted.Parts of the image will be masked out with `mask_image` and repainted according to `prompt`.
method Default: remove
The method to use
prompt Type: stringDefault: a photo of an astronaut++ riding a horse on mars
The prompt to guide the image generation. Use ++ to emphasize and -- to de-emphasize parts of the sentence
mask_image (required) Type: string
A black and white image to use as mask for inpainting over the image provided. White pixels in the mask will be repainted, while black pixels will be preserved
num_outputs Type: integerDefault: 3Range: 1 - 8
Number of images to output. Higher number of outputs may cause OOM.
guidance_scale Type: numberDefault: 5Range: 1 - 20
Scale for classifier-free guidance
negative_prompt Type: stringDefault:
Specify things to not see in the output
num_inference_steps Type: integerDefault: 30Range: 1 - 50
The number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference
preview_input_image Type: booleanDefault: false
Include the input image with mask overlay in the output
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
2023-05-14 03:54:42,165 [INFO] :: Using seed: 12345
  0%|          | 0/20 [00:00<?, ?it/s]
  5%|▌         | 1/20 [00:00<00:04,  4.11it/s]
 10%|█         | 2/20 [00:00<00:03,  5.28it/s]
 15%|█▌        | 3/20 [00:00<00:02,  5.81it/s]
 20%|██        | 4/20 [00:00<00:02,  6.11it/s]
 25%|██▌       | 5/20 [00:00<00:02,  6.27it/s]
 30%|███       | 6/20 [00:01<00:02,  6.38it/s]
 35%|███▌      | 7/20 [00:01<00:02,  6.45it/s]
 40%|████      | 8/20 [00:01<00:01,  6.52it/s]
 45%|████▌     | 9/20 [00:01<00:01,  6.53it/s]
 50%|█████     | 10/20 [00:01<00:01,  6.56it/s]
 55%|█████▌    | 11/20 [00:01<00:01,  6.58it/s]
 60%|██████    | 12/20 [00:01<00:01,  6.59it/s]
 65%|██████▌   | 13/20 [00:02<00:01,  6.59it/s]
 70%|███████   | 14/20 [00:02<00:00,  6.59it/s]
 75%|███████▌  | 15/20 [00:02<00:00,  6.59it/s]
 80%|████████  | 16/20 [00:02<00:00,  6.58it/s]
 85%|████████▌ | 17/20 [00:02<00:00,  6.59it/s]
 90%|█████████ | 18/20 [00:02<00:00,  6.59it/s]
 95%|█████████▌| 19/20 [00:02<00:00,  6.58it/s]
100%|██████████| 20/20 [00:03<00:00,  6.60it/s]
100%|██████████| 20/20 [00:03<00:00,  6.41it/s]
Version Details
Version ID
cb08e051a7ca58867efff571ac440027a55979e49b2d97008dcdc63ee32687ac
Version Created
May 11, 2023
Run on Replicate →