anotherjesse/controlnet-inpaint-test 🖼️🔢❓📝✓ → 🖼️
About
controlnet_v11p_sd15_inpainting demo
Example Output
Prompt:
"a handsome man with ray-ban sunglasses"
Output
Performance Metrics
5.72s
Prediction Time
117.96s
Total Time
All Input Parameters
{
"mask": "https://replicate.delivery/pbxt/J70YfPyVE2xFVDHK0kdmMhiuaNrKxOBnDbMzvC6SfbCv2iWs/mask.png",
"width": 512,
"height": 512,
"prompt": "a handsome man with ray-ban sunglasses",
"scheduler": "DPMSolverMultistep",
"num_outputs": 1,
"control_image": "https://replicate.delivery/pbxt/J70YfER9vhcJsFsJ2Jw5MAdC97mB97bNrh7eU84t7XEkaCpa/control.png",
"guidance_scale": 7.5,
"num_inference_steps": 50
}
Input Parameters
- mask
- Mask to use for control inpainting
- seed
- Random seed. Leave blank to randomize the seed
- width
- Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
- height
- Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
- prompt
- Input prompt
- scheduler
- Choose a scheduler.
- num_outputs
- Number of images to output.
- control_image
- Optional Image to use for guidance based on inpainting
- guidance_scale
- Scale for classifier-free guidance
- negative_prompt
- Specify things to not see in the output
- num_inference_steps
- Number of denoising steps
- disable_safety_check
- Disable safety check. Use at your own risk!
Output Schema
Output
Example Execution Logs
Using ControlNet inpaint
(512, 512, 3)
(512, 512)
Using seed: 8466
/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/diffusers/configuration_utils.py:135: FutureWarning: Accessing config attribute `use_karras_sigmas` directly via 'HeunDiscreteScheduler' object attribute is deprecated. Please access 'use_karras_sigmas' over 'HeunDiscreteScheduler's config object instead, e.g. 'scheduler.config.use_karras_sigmas'.
deprecate("direct config name access", "1.0.0", deprecation_message, standard_warn=False)
parsed prompt: Conjunction:[FlattenedPrompt:[Fragment:'a handsome man with ray-ban sunglasses'@1.0]] | type AND | weights [1.0] | loras []
/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/diffusers/image_processor.py:204: FutureWarning: Passing `image` as torch tensor with value range in [-1,1] is deprecated. The expected value range for image tensor is [0,1] when passing as pytorch tensor or numpy Array. You passed `image` with value range [-1.0,1.0]
warnings.warn(
0%| | 0/50 [00:00<?, ?it/s]
2%|▏ | 1/50 [00:00<00:07, 6.25it/s]
8%|▊ | 4/50 [00:00<00:02, 15.66it/s]
14%|█▍ | 7/50 [00:00<00:02, 19.33it/s]
20%|██ | 10/50 [00:00<00:01, 21.16it/s]
26%|██▌ | 13/50 [00:00<00:01, 22.23it/s]
32%|███▏ | 16/50 [00:00<00:01, 22.89it/s]
38%|███▊ | 19/50 [00:00<00:01, 23.32it/s]
44%|████▍ | 22/50 [00:01<00:01, 23.60it/s]
50%|█████ | 25/50 [00:01<00:01, 23.79it/s]
56%|█████▌ | 28/50 [00:01<00:00, 23.91it/s]
62%|██████▏ | 31/50 [00:01<00:00, 24.00it/s]
68%|██████▊ | 34/50 [00:01<00:00, 24.06it/s]
74%|███████▍ | 37/50 [00:01<00:00, 24.11it/s]
80%|████████ | 40/50 [00:01<00:00, 24.13it/s]
86%|████████▌ | 43/50 [00:01<00:00, 24.13it/s]
92%|█████████▏| 46/50 [00:02<00:00, 24.14it/s]
98%|█████████▊| 49/50 [00:02<00:00, 24.14it/s]
100%|██████████| 50/50 [00:02<00:00, 22.87it/s]
Version Details
- Version ID
3a294336beb5dcaba6c5baf1418058171298d559e4eef8dafed1e0a8c3594984- Version Created
- July 4, 2023