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

▶️ 584.9K runs 📅 Feb 2023 ⚙️ Cog 0.6.1 🔗 GitHub ⚖️ License
image-editing image-style-transfer image-to-image

About

Modify images using HED maps

Example Output

Prompt:

"oil painting of handsome older gentleman, masterpiece"

Output

Example outputExample output

Performance Metrics

26.75s Prediction Time
26.81s Total Time
All Input Parameters
{
  "scale": 9,
  "prompt": "oil painting of handsome older gentleman, masterpiece",
  "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,
  "input_image": "https://replicate.delivery/pbxt/IJBChpRrky1GqjRBPmtMjtYciqUNgefsCk9fHAJ8QrN9vYBY/old.png",
  "num_samples": "1",
  "image_resolution": "512",
  "detect_resolution": 512
}
Input Parameters
eta Type: numberDefault: 0
eta (DDIM)
seed Type: integer
Seed
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
input_image (required) Type: string
Input image
num_samples Default: 1
Number of samples (higher values may OOM)
image_resolution Default: 512
Image resolution to be generated
detect_resolution Type: integerDefault: 512Range: 128 - 1024
Resolution for detection (only applicable when model type is 'HED')
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Global seed set to 134830
Data shape for DDIM sampling is (1, 4, 88, 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:01<00:23,  1.25s/it]
DDIM Sampler:  10%|█         | 2/20 [00:02<00:22,  1.23s/it]
DDIM Sampler:  15%|█▌        | 3/20 [00:03<00:20,  1.22s/it]
DDIM Sampler:  20%|██        | 4/20 [00:04<00:19,  1.22s/it]
DDIM Sampler:  25%|██▌       | 5/20 [00:06<00:18,  1.22s/it]
DDIM Sampler:  30%|███       | 6/20 [00:07<00:17,  1.22s/it]
DDIM Sampler:  35%|███▌      | 7/20 [00:08<00:15,  1.22s/it]
DDIM Sampler:  40%|████      | 8/20 [00:09<00:14,  1.22s/it]
DDIM Sampler:  45%|████▌     | 9/20 [00:10<00:13,  1.22s/it]
DDIM Sampler:  50%|█████     | 10/20 [00:12<00:12,  1.22s/it]
DDIM Sampler:  55%|█████▌    | 11/20 [00:13<00:11,  1.23s/it]
DDIM Sampler:  60%|██████    | 12/20 [00:14<00:09,  1.23s/it]
DDIM Sampler:  65%|██████▌   | 13/20 [00:15<00:08,  1.23s/it]
DDIM Sampler:  70%|███████   | 14/20 [00:17<00:07,  1.23s/it]
DDIM Sampler:  75%|███████▌  | 15/20 [00:18<00:06,  1.23s/it]
DDIM Sampler:  80%|████████  | 16/20 [00:19<00:04,  1.23s/it]
DDIM Sampler:  85%|████████▌ | 17/20 [00:20<00:03,  1.23s/it]
DDIM Sampler:  90%|█████████ | 18/20 [00:22<00:02,  1.23s/it]
DDIM Sampler:  95%|█████████▌| 19/20 [00:23<00:01,  1.24s/it]
DDIM Sampler: 100%|██████████| 20/20 [00:24<00:00,  1.24s/it]
DDIM Sampler: 100%|██████████| 20/20 [00:24<00:00,  1.23s/it]
Version Details
Version ID
cde353130c86f37d0af4060cd757ab3009cac68eb58df216768f907f0d0a0653
Version Created
February 13, 2023
Run on Replicate →