zf-kbot/inpaint-and-guess-prompt 🔢🖼️📝❓ → ❓
Performance
4.7sTypical run time
741.0KTotal runs
About
Use a mask to inpaint the image or generate a prompt based on the mask.
Example Output
Prompt:
"white hair"
Output
{"type":"standard","image":"https://replicate.delivery/xezq/o42hNGIUs4YIJBrO6PATqdgIYeGirEEHvHXYkDl0RtzzXMJKA/output.png"}
Performance Metrics
4.65s
Prediction Time
4.66s
Total Time
All Input Parameters
{
"cfg": 5,
"mask": "https://replicate.delivery/pbxt/MYJY7ENusmrLv2bdygK666ZsxI5xlFTjbIlTx3SEKSlM7oGe/45988b42-c522-4732-a122-cde32497caca-mask.jpg",
"seed": 0,
"image": "https://replicate.delivery/pbxt/MYJY7k5z525kc9Ichp76uuU6WX8CwXeQQ3cDiFp9QGLLbK3J/mom_1.jpg",
"steps": 20,
"prompt": "white hair",
"sampler": "euler_ancestral",
"fine_edge": "disable",
"grow_size": 1,
"scheduler": "karras",
"predict_type": "standard",
"edge_strength": 0.55,
"color_strength": 0.55,
"negative_prompt": "",
"inpaint_strength": 1
}
Input Parameters
- cfg
- CFG
- mask (required)
- Mask Image
- seed
- Random seed
- image (required)
- Input Image
- steps
- Steps
- prompt
- Prompt
- sampler
- Sampler
- fine_edge
- Fine Edge
- grow_size
- Grow Size
- scheduler
- Scheduler
- predict_type
- Predict Type
- edge_strength
- Edge Strength
- color_strength
- Color Strength
- negative_prompt
- Negative Prompt
- inpaint_strength
- Inpaint Strength
Output Schema
Output
Example Execution Logs
standard mode Requested to load SD1ClipModel Loading 1 new model Apply edge controlnet Base model type: SD1.5 BrushNet image.shape = torch.Size([1, 1024, 1024, 3]) mask.shape = torch.Size([1, 1024, 1024]) BrushNet CL: image_latents shape = torch.Size([1, 4, 128, 128]) interpolated_mask shape = torch.Size([1, 1, 128, 128]) Requested to load BaseModel Loading 1 new model BrushNet inference: do_classifier_free_guidance is True BrushNet inference, step = 0: image batch = 1, got 2 latents, starting from 0 BrushNet inference: sample torch.Size([2, 4, 128, 128]) , CL torch.Size([2, 5, 128, 128]) dtype torch.float16 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.53it/s] 10%|█ | 2/20 [00:00<00:02, 6.49it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.49it/s] 20%|██ | 4/20 [00:00<00:02, 6.47it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.47it/s] 30%|███ | 6/20 [00:00<00:02, 6.47it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.46it/s] 40%|████ | 8/20 [00:01<00:01, 6.44it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.45it/s] 50%|█████ | 10/20 [00:01<00:01, 6.45it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.45it/s] 60%|██████ | 12/20 [00:01<00:01, 6.45it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.45it/s] 70%|███████ | 14/20 [00:02<00:00, 6.44it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.45it/s] 80%|████████ | 16/20 [00:02<00:00, 6.44it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.44it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.44it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.45it/s] 100%|██████████| 20/20 [00:03<00:00, 6.44it/s] 100%|██████████| 20/20 [00:03<00:00, 6.45it/s]
Version Details
- Version ID
c3044b0dd1f7abe4f5f095039ab46b85d5e1d55f3837594261a472b2dc311dbb- Version Created
- February 19, 2025