jagilley/controlnet-normal 🔢🖼️📝❓ → 🖼️

▶️ 330.7K runs 📅 Feb 2023 ⚙️ Cog 0.6.1 🔗 GitHub ⚖️ License
controlnet image-editing image-to-image

About

Modify images using normal maps

Example Output

Prompt:

"a cuddly teddy bear"

Output

Example outputExample output

Performance Metrics

22.48s Prediction Time
168.51s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/IKJDOSvDE4LwU5xGg9oRIW389oViZ5JCaxTrlAdAg5Ab8x8p/toy.png",
  "scale": 9,
  "prompt": "a cuddly teddy bear",
  "a_prompt": "best quality, extremely detailed",
  "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
  "ddim_steps": 20,
  "num_samples": "1",
  "image_resolution": "512",
  "detect_resolution": 512
}
Input Parameters
eta Type: numberDefault: 0
eta (DDIM)
seed Type: integer
Seed
image (required) Type: string
Input image
scale Type: numberDefault: 9Range: 0.1 - 30
Guidance Scale
prompt (required) Type: string
Prompt for the model
a_prompt Type: stringDefault: best quality, extremely detailed
Added Prompt
n_prompt Type: stringDefault: longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality
Negative Prompt
ddim_steps Type: integerDefault: 20
Steps
num_samples Default: 1
Number of samples (higher values may OOM)
bg_threshold Type: numberDefault: 0Range: 0 - 1
Background Threshold (only applicable when model type is 'normal')
image_resolution Default: 512
Image resolution to be generated
detect_resolution Type: integerDefault: 512Range: 128 - 1024
Resolution for detection)
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Global seed set to 715078
Data shape for DDIM sampling is (1, 4, 64, 64), eta 0.0
Running DDIM Sampling with 20 timesteps
DDIM Sampler:   0%|          | 0/20 [00:00<?, ?it/s]
DDIM Sampler:   5%|▌         | 1/20 [00:00<00:18,  1.05it/s]
DDIM Sampler:  10%|█         | 2/20 [00:01<00:15,  1.16it/s]
DDIM Sampler:  15%|█▌        | 3/20 [00:02<00:14,  1.21it/s]
DDIM Sampler:  20%|██        | 4/20 [00:03<00:13,  1.22it/s]
DDIM Sampler:  25%|██▌       | 5/20 [00:04<00:12,  1.24it/s]
DDIM Sampler:  30%|███       | 6/20 [00:04<00:11,  1.24it/s]
DDIM Sampler:  35%|███▌      | 7/20 [00:05<00:10,  1.24it/s]
DDIM Sampler:  40%|████      | 8/20 [00:06<00:09,  1.24it/s]
DDIM Sampler:  45%|████▌     | 9/20 [00:07<00:08,  1.24it/s]
DDIM Sampler:  50%|█████     | 10/20 [00:08<00:08,  1.24it/s]
DDIM Sampler:  55%|█████▌    | 11/20 [00:08<00:07,  1.23it/s]
DDIM Sampler:  60%|██████    | 12/20 [00:09<00:06,  1.23it/s]
DDIM Sampler:  65%|██████▌   | 13/20 [00:10<00:05,  1.23it/s]
DDIM Sampler:  70%|███████   | 14/20 [00:11<00:04,  1.22it/s]
DDIM Sampler:  75%|███████▌  | 15/20 [00:12<00:04,  1.22it/s]
DDIM Sampler:  80%|████████  | 16/20 [00:13<00:03,  1.22it/s]
DDIM Sampler:  85%|████████▌ | 17/20 [00:13<00:02,  1.22it/s]
DDIM Sampler:  90%|█████████ | 18/20 [00:14<00:01,  1.21it/s]
DDIM Sampler:  95%|█████████▌| 19/20 [00:15<00:00,  1.21it/s]
DDIM Sampler: 100%|██████████| 20/20 [00:16<00:00,  1.20it/s]
DDIM Sampler: 100%|██████████| 20/20 [00:16<00:00,  1.22it/s]
Version Details
Version ID
cc8066f617b6c99fdb134bc1195c5291cf2610875da4985a39de50ee1f46d81c
Version Created
February 16, 2023
Run on Replicate →