cjwbw/supir-v0q 🔢🖼️📝✓❓ → 🖼️

▶️ 118.2K runs 📅 Feb 2024 ⚙️ Cog 0.9.4 🔗 GitHub 📄 Paper ⚖️ License
image-restoration image-upscaling

About

Practicing Model Scaling for Photo-Realistic Image Restoration In the Wild. This is the SUPIR-v0Q model and does NOT use LLaVA-13b.

Example Output

Output

Example output

Performance Metrics

22.21s Prediction Time
79.87s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/KSFlHUahItvQz4u9IZ9JZCQgra7IcGze7MLBsAQtl6isttyr/05.png",
  "s_cfg": 7.5,
  "s_churn": 5,
  "s_noise": 1.003,
  "upscale": 1,
  "a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
  "min_size": 1024,
  "n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
  "s_stage1": -1,
  "s_stage2": 1,
  "edm_steps": 50,
  "linear_CFG": false,
  "color_fix_type": "Wavelet",
  "spt_linear_CFG": 1,
  "linear_s_stage2": false,
  "spt_linear_s_stage2": 0
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
image (required) Type: string
Low quality input image.
s_cfg Type: numberDefault: 7.5Range: 1 - 20
Classifier-free guidance scale for prompts.
s_churn Type: numberDefault: 5
Original churn hy-param of EDM.
s_noise Type: numberDefault: 1.003
Original noise hy-param of EDM.
upscale Type: integerDefault: 1
Upsampling ratio of given inputs.
a_prompt Type: stringDefault: Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.
Additive positive prompt for the inputs.
min_size Type: numberDefault: 1024
Minimum resolution of output images.
n_prompt Type: stringDefault: painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth
Negative prompt for the inputs.
s_stage1 Type: integerDefault: -1
Control Strength of Stage1 (negative means invalid).
s_stage2 Type: numberDefault: 1
Control Strength of Stage2.
edm_steps Type: integerDefault: 50Range: 1 - 500
Number of steps for EDM Sampling Schedule.
linear_CFG Type: booleanDefault: false
Linearly (with sigma) increase CFG from 'spt_linear_CFG' to s_cfg.
color_fix_type Default: Wavelet
Color Fixing Type..
spt_linear_CFG Type: numberDefault: 1
Start point of linearly increasing CFG.
linear_s_stage2 Type: booleanDefault: false
Linearly (with sigma) increase s_stage2 from 'spt_linear_s_stage2' to s_stage2.
spt_linear_s_stage2 Type: numberDefault: 0
Start point of linearly increasing s_stage2.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 51388
Seed set to 51388
Version Details
Version ID
ede69f6a5ae7d09f769d683347325b08d2f83a93d136ed89747941205e0a71da
Version Created
February 23, 2024
Run on Replicate →