juergengunz/ultimate-portrait-upscale 🔢🖼️❓📝✓ → 🖼️

▶️ 49.9K runs 📅 Dec 2023 ⚙️ Cog 0.8.6
image-to-image image-upscaling portrait-enhancement

About

Upscale Portrait Images with ControlNet Tile

Example Output

Output

Example output

Performance Metrics

9.67s Prediction Time
9.69s Total Time
All Input Parameters
{
  "cfg": 8,
  "image": "https://replicate.delivery/pbxt/K1jy8x3lgsayBRp1SwKmFoQrFGoEOvQ56VcwGIHM6giTiyPm/test.png",
  "steps": 20,
  "denoise": 0.1,
  "upscaler": "4x-UltraSharp",
  "mask_blur": 8,
  "mode_type": "Linear",
  "scheduler": "normal",
  "tile_width": 512,
  "upscale_by": 2,
  "tile_height": 512,
  "sampler_name": "euler",
  "tile_padding": 32,
  "seam_fix_mode": "None",
  "seam_fix_width": 64,
  "negative_prompt": "cartoon, cgi, render, painting, illustration, drawing",
  "positive_prompt": "business portrait of a man, detailed skin, perfect skin, soft lighting, beautiful blue eyes, photorealistic",
  "seam_fix_denoise": 1,
  "seam_fix_padding": 16,
  "seam_fix_mask_blur": 8,
  "controlnet_strength": 1,
  "force_uniform_tiles": true,
  "use_controlnet_tile": true
}
Input Parameters
cfg Type: numberDefault: 8
CFG
seed Type: integer
Sampling seed, leave Empty for Random
image (required) Type: string
Input image
steps Type: integerDefault: 20
Steps
denoise Type: numberDefault: 0.1
Denoise
upscaler Default: 4x-UltraSharp
Upscaler
mask_blur Type: integerDefault: 8
Mask Blur
mode_type Default: Linear
Mode Type
scheduler Default: normal
Scheduler
tile_width Type: integerDefault: 512
Tile Width
upscale_by Type: numberDefault: 2
Upscale By
tile_height Type: integerDefault: 512
Tile Height
sampler_name Default: euler
Sampler
tile_padding Type: integerDefault: 32
Tile Padding
seam_fix_mode Default: None
Seam Fix Mode
seam_fix_width Type: integerDefault: 64
Seam Fix Width
negative_prompt Type: stringDefault: cartoon, cgi, render, painting, illustration, drawing
Negative Prompt
positive_prompt Type: stringDefault: business portrait, detailed skin, perfect skin, soft lighting, beautiful eyes, photorealistic, perfect teeth
Positive Prompt
seam_fix_denoise Type: numberDefault: 1
Seam Fix Denoise
seam_fix_padding Type: integerDefault: 16
Seam Fix Padding
seam_fix_mask_blur Type: integerDefault: 8
Seam Fix Mask Blur
controlnet_strength Type: numberDefault: 1
ControlNet Strength
force_uniform_tiles Type: booleanDefault: true
Force Uniform Tiles
use_controlnet_tile Type: booleanDefault: true
Use ControlNet Tile
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 1926293
Using ControlNet tile with Ultimate SD Upscale
got prompt
Canva size: 800x1072
Image size: 400x533
Scale factor: 3
Upscaling iteration 1 with scale factor 3
Tile size: 512x512
Tiles amount: 6
Grid: 3x2
Redraw enabled: True
Seams fix mode: NONE
Requested to load ControlNet
Loading 1 new model
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:00, 18.57it/s]
 25%|██▌       | 5/20 [00:00<00:00, 19.62it/s]
 40%|████      | 8/20 [00:00<00:00, 20.05it/s]
 50%|█████     | 10/20 [00:00<00:00, 19.82it/s]
 65%|██████▌   | 13/20 [00:00<00:00, 19.71it/s]
 75%|███████▌  | 15/20 [00:00<00:00, 19.76it/s]
 90%|█████████ | 18/20 [00:00<00:00, 20.00it/s]
100%|██████████| 20/20 [00:01<00:00, 19.94it/s]
100%|██████████| 20/20 [00:01<00:00, 19.83it/s]
Requested to load ControlNet
Loading 1 new model
unload clone 2
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:00, 19.90it/s]
 25%|██▌       | 5/20 [00:00<00:00, 20.09it/s]
 40%|████      | 8/20 [00:00<00:00, 20.15it/s]
 55%|█████▌    | 11/20 [00:00<00:00, 20.27it/s]
 70%|███████   | 14/20 [00:00<00:00, 20.35it/s]
 85%|████████▌ | 17/20 [00:00<00:00, 19.85it/s]
100%|██████████| 20/20 [00:00<00:00, 20.09it/s]
100%|██████████| 20/20 [00:00<00:00, 20.11it/s]
Requested to load ControlNet
Loading 1 new model
unload clone 2
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:00, 19.61it/s]
 25%|██▌       | 5/20 [00:00<00:00, 20.10it/s]
 40%|████      | 8/20 [00:00<00:00, 20.25it/s]
 55%|█████▌    | 11/20 [00:00<00:00, 19.64it/s]
 70%|███████   | 14/20 [00:00<00:00, 19.94it/s]
 85%|████████▌ | 17/20 [00:00<00:00, 20.07it/s]
100%|██████████| 20/20 [00:00<00:00, 20.17it/s]
100%|██████████| 20/20 [00:00<00:00, 20.05it/s]
Requested to load ControlNet
Loading 1 new model
unload clone 2
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:01, 17.92it/s]
 20%|██        | 4/20 [00:00<00:00, 18.92it/s]
 35%|███▌      | 7/20 [00:00<00:00, 19.76it/s]
 50%|█████     | 10/20 [00:00<00:00, 19.95it/s]
 65%|██████▌   | 13/20 [00:00<00:00, 20.15it/s]
 80%|████████  | 16/20 [00:00<00:00, 20.17it/s]
 95%|█████████▌| 19/20 [00:00<00:00, 20.24it/s]
100%|██████████| 20/20 [00:01<00:00, 19.98it/s]
Requested to load ControlNet
Loading 1 new model
unload clone 2
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:00, 19.62it/s]
 25%|██▌       | 5/20 [00:00<00:00, 19.91it/s]
 40%|████      | 8/20 [00:00<00:00, 20.07it/s]
 55%|█████▌    | 11/20 [00:00<00:00, 20.25it/s]
 70%|███████   | 14/20 [00:00<00:00, 20.28it/s]
 85%|████████▌ | 17/20 [00:00<00:00, 20.21it/s]
100%|██████████| 20/20 [00:00<00:00, 20.15it/s]
100%|██████████| 20/20 [00:00<00:00, 20.14it/s]
Requested to load ControlNet
Loading 1 new model
unload clone 2
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:00, 19.84it/s]
 25%|██▌       | 5/20 [00:00<00:00, 20.24it/s]
 40%|████      | 8/20 [00:00<00:00, 20.12it/s]
 55%|█████▌    | 11/20 [00:00<00:00, 19.81it/s]
 70%|███████   | 14/20 [00:00<00:00, 20.08it/s]
 85%|████████▌ | 17/20 [00:00<00:00, 20.20it/s]
100%|██████████| 20/20 [00:00<00:00, 20.25it/s]
100%|██████████| 20/20 [00:00<00:00, 20.15it/s]
Prompt executed in 8.69 seconds
node output:  {'images': [{'filename': 'ComfyUI_00035_.png', 'subfolder': '', 'type': 'output'}]}
output
Version Details
Version ID
f7fdace4ec7adab7fa02688a160eee8057f070ead7fbb84e0904864fd2324be5
Version Created
December 10, 2023
Run on Replicate →