sontungpytn/comfyui-lora-upscaler 🔢📝❓🖼️ → ❓

▶️ 85.5K runs 📅 Dec 2023 ⚙️ Cog 0.9.3
image-to-image image-upscaling text-to-image

About

Example Output

Prompt:

"(best quality, masterpiece:1.2), (freckles:0.8), 1girl, solo, happy, smile, closed mouth, ultra-detailed, wallpaper, (add_detail:0.8), city, night light, moon, "

Output

Example output

Performance Metrics

15.30s Prediction Time
15.32s Total Time
All Input Parameters
{
  "width": 1920,
  "height": 1080,
  "prompt": "(best quality, masterpiece:1.2), (freckles:0.8), 1girl, solo, happy, smile, closed mouth, ultra-detailed, wallpaper,  (add_detail:0.8), city, night light, moon, ",
  "denoise": 1,
  "upscaler": "RealESRGAN_x4plus_anime_6B",
  "character": "paimondef",
  "scheduler": "normal",
  "sampler_name": "euler",
  "guidance_scale": 8,
  "negative_prompt": "worst quality, low quality:1.4), cropped, monochrome, zombie, bad anatomy, (((mutation)))), EasyNegative, badquality-embedding, bad face, simple background, bad hands, bad finger",
  "num_inference_steps": 25
}
Input Parameters
seed Type: integer
Sampling seed, leave Empty for Random
width Type: integerDefault: 512
Width
height Type: integerDefault: 512
Height
prompt Type: stringDefault: (best quality, masterpiece:1.2), (freckles:0.8), 1girl, solo, happy, smile, closed mouth, desktop wallpaper, wallpaper, ultra-detailed, sitting
Positive Prompt
denoise Type: numberDefault: 1
Denoise
lora_url Type: string
LoRA URLs. Can be safetensors format.
character Type: stringDefault: raidenshogundef
Character
image_num Type: integerDefault: 1
Number of output image
model_url Type: stringDefault:
model url. Can be safetensors format.
scheduler Default: karras
Scheduler
model_name Default: meinamix_meinaV11.safetensors
Checkpoint model
image_input Type: string
Input image
sampler_name Default: euler
Sampler
guidance_scale Type: numberDefault: 8
CFG
rescale_factor Default: 1
Rescale Factor
upscaler_model Default: RealESRGAN_x4plus_anime_6B
Upscaler
negative_prompt Type: stringDefault: (worst quality, low quality:1.4), cropped, monochrome, zombie, bad anatomy, (((mutation)))), EasyNegative, badquality-embedding, bad face, simple background
Negative Prompt
num_inference_steps Type: integerDefault: 20
Steps
dw_preprocessor_config Type: stringDefault: {}
open pose controlnet preprocessor config, JSON string
Output Schema

Output

Example Execution Logs
Using seed: 7357756
Using upscaler
{'3': {'inputs': {'seed': 7357756, 'steps': 25, 'cfg': 8.0, 'sampler_name': 'euler', 'scheduler': 'normal', 'denoise': 1.0, 'model': ['10', 0], 'positive': ['6', 0], 'negative': ['7', 0], 'latent_image': ['5', 0]}, 'class_type': 'KSampler'}, '4': {'inputs': {'ckpt_name': 'meinamix_meinaV11.safetensors'}, 'class_type': 'CheckpointLoaderSimple'}, '5': {'inputs': {'width': 960, 'height': 512, 'batch_size': 1}, 'class_type': 'EmptyLatentImage'}, '6': {'inputs': {'text': 'paimondef, 1girl, , wallpaper, desktop wallpaper, ultra-detailed, (best quality, masterpiece:1.2), (freckles:0.8), 1girl, solo, happy, smile, closed mouth, ultra-detailed, wallpaper,  (add_detail:0.8), city, night light, moon, ', 'clip': ['10', 1]}, 'class_type': 'CLIPTextEncode'}, '7': {'inputs': {'text': 'worst quality, low quality:1.4), cropped, monochrome, zombie, bad anatomy, (((mutation)))), EasyNegative, badquality-embedding, bad face, simple background, bad hands, bad finger', 'clip': ['10', 1]}, 'class_type': 'CLIPTextEncode'}, '8': {'inputs': {'samples': ['3', 0], 'vae': ['4', 2]}, 'class_type': 'VAEDecode'}, '9': {'inputs': {'filename_prefix': 'ComfyUI', 'images': ['13', 0]}, 'class_type': 'SaveImage'}, '10': {'inputs': {'lora_name': 'paimon.safetensors', 'strength_model': 1, 'strength_clip': 1, 'model': ['4', 0], 'clip': ['4', 1]}, 'class_type': 'LoraLoader'}, '12': {'inputs': {'model_name': 'RealESRGAN_x4plus_anime_6B.pth'}, 'class_type': 'UpscaleModelLoader'}, '13': {'inputs': {'upscale_model': ['12', 0], 'image': ['8', 0]}, 'class_type': 'ImageUpscaleWithModel'}}
got prompt
validate prompt {"3": {"inputs": {"seed": 7357756, "steps": 25, "cfg": 8.0, "sampler_name": "euler", "scheduler": "normal", "denoise": 1.0, "model": ["10", 0], "positive": ["6", 0], "negative": ["7", 0], "latent_image": ["5", 0]}, "class_type": "KSampler"}, "4": {"inputs": {"ckpt_name": "meinamix_meinaV11.safetensors"}, "class_type": "CheckpointLoaderSimple"}, "5": {"inputs": {"width": 960, "height": 512, "batch_size": 1}, "class_type": "EmptyLatentImage"}, "6": {"inputs": {"text": "paimondef, 1girl, , wallpaper, desktop wallpaper, ultra-detailed, (best quality, masterpiece:1.2), (freckles:0.8), 1girl, solo, happy, smile, closed mouth, ultra-detailed, wallpaper,  (add_detail:0.8), city, night light, moon, ", "clip": ["10", 1]}, "class_type": "CLIPTextEncode"}, "7": {"inputs": {"text": "worst quality, low quality:1.4), cropped, monochrome, zombie, bad anatomy, (((mutation)))), EasyNegative, badquality-embedding, bad face, simple background, bad hands, bad finger", "clip": ["10", 1]}, "class_type": "CLIPTextEncode"}, "8": {"inputs": {"samples": ["3", 0], "vae": ["4", 2]}, "class_type": "VAEDecode"}, "9": {"inputs": {"filename_prefix": "ComfyUI", "images": ["13", 0]}, "class_type": "SaveImage"}, "10": {"inputs": {"lora_name": "paimon.safetensors", "strength_model": 1, "strength_clip": 1, "model": ["4", 0], "clip": ["4", 1]}, "class_type": "LoraLoader"}, "12": {"inputs": {"model_name": "RealESRGAN_x4plus_anime_6B.pth"}, "class_type": "UpscaleModelLoader"}, "13": {"inputs": {"upscale_model": ["12", 0], "image": ["8", 0]}, "class_type": "ImageUpscaleWithModel"}}
  0%|          | 0/25 [00:00<?, ?it/s]
  4%|▍         | 1/25 [00:00<00:02,  9.77it/s]
  8%|▊         | 2/25 [00:00<00:05,  4.16it/s]
 12%|█▏        | 3/25 [00:00<00:05,  3.72it/s]
 16%|█▌        | 4/25 [00:01<00:05,  3.54it/s]
 20%|██        | 5/25 [00:01<00:05,  3.43it/s]
 24%|██▍       | 6/25 [00:01<00:05,  3.38it/s]
 28%|██▊       | 7/25 [00:01<00:05,  3.35it/s]
 32%|███▏      | 8/25 [00:02<00:05,  3.32it/s]
 36%|███▌      | 9/25 [00:02<00:04,  3.31it/s]
 40%|████      | 10/25 [00:02<00:04,  3.31it/s]
 44%|████▍     | 11/25 [00:03<00:04,  3.30it/s]
 48%|████▊     | 12/25 [00:03<00:03,  3.30it/s]
 52%|█████▏    | 13/25 [00:03<00:03,  3.30it/s]
 56%|█████▌    | 14/25 [00:04<00:03,  3.30it/s]
 60%|██████    | 15/25 [00:04<00:03,  3.30it/s]
 64%|██████▍   | 16/25 [00:04<00:02,  3.30it/s]
 68%|██████▊   | 17/25 [00:04<00:02,  3.30it/s]
 72%|███████▏  | 18/25 [00:05<00:02,  3.29it/s]
 76%|███████▌  | 19/25 [00:05<00:01,  3.27it/s]
 80%|████████  | 20/25 [00:05<00:01,  3.26it/s]
 84%|████████▍ | 21/25 [00:06<00:01,  3.26it/s]
 88%|████████▊ | 22/25 [00:06<00:00,  3.25it/s]
 92%|█████████▏| 23/25 [00:06<00:00,  3.27it/s]
 96%|█████████▌| 24/25 [00:07<00:00,  3.27it/s]
100%|██████████| 25/25 [00:07<00:00,  3.27it/s]
100%|██████████| 25/25 [00:07<00:00,  3.36it/s]
Prompt executed in 11.88 seconds
node output:  {'images': [{'filename': 'ComfyUI_00053_.png', 'subfolder': '', 'type': 'output'}]}
output
Version Details
Version ID
1e6a8b5fba1d02f3ed2e4b51568857d11b38cac8be04dc8272890c97a0010733
Version Created
January 20, 2024
Run on Replicate →