lucataco/demofusion-enhance 🔢🖼️❓📝✓ → 🖼️

▶️ 11.1K runs 📅 Dec 2023 ⚙️ Cog 0.8.6 🔗 GitHub 📄 Paper ⚖️ License
image-to-image image-upscaling

About

Image to Image enhancer using DemoFusion

Example Output

Output

Example output

Performance Metrics

91.09s Prediction Time
353.58s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/K10dBMR5HkR2twsOHUImt6hch8oGy4AuSXnaQT70vayk5OVk/red-flower.jpg",
  "scale": 2,
  "sigma": 0.8,
  "stride": 64,
  "auto_prompt": true,
  "multi_decoder": false,
  "cosine_scale_1": 3,
  "cosine_scale_2": 1,
  "cosine_scale_3": 1,
  "guidance_scale": 8.5,
  "negative_prompt": "blurry, ugly, duplicate, poorly drawn, deformed, mosaic",
  "view_batch_size": 16,
  "num_inference_steps": 40
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
image (required) Type: string
Input image
scale Default: 2
Scale factor for input image
sigma Type: numberDefault: 0.8
The standard value of the Gaussian filter
prompt Type: stringDefault: A high resolution photo
Input prompt
stride Type: integerDefault: 64
The stride of moving local patches
auto_prompt Type: booleanDefault: false
Select to use auto-generated CLIP prompt instead of using the above custom prompt
multi_decoder Type: booleanDefault: false
Use multiple decoders
cosine_scale_1 Type: numberDefault: 3
Control the strength of skip-residual
cosine_scale_2 Type: numberDefault: 1
Control the strength of dilated sampling
cosine_scale_3 Type: numberDefault: 1
Control the strength of the Gaussian filter
guidance_scale Type: numberDefault: 8.5Range: 1 - 50
Scale for classifier-free guidance
negative_prompt Type: stringDefault: blurry, ugly, duplicate, poorly drawn, deformed, mosaic
Input Negative Prompt
view_batch_size Type: integerDefault: 16
The batch size for multiple denoising paths
num_inference_steps Type: integerDefault: 40Range: 1 - 500
Number of denoising steps
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 2613130750
  0%|          | 0/55 [00:00<?, ?it/s]
 45%|████▌     | 25/55 [00:00<00:00, 246.66it/s]
100%|██████████| 55/55 [00:00<00:00, 277.34it/s]
Flavor chain:   0%|          | 0/32 [00:00<?, ?it/s]
Flavor chain:   3%|▎         | 1/32 [00:01<00:58,  1.90s/it]
Flavor chain:   6%|▋         | 2/32 [00:03<00:58,  1.94s/it]
Flavor chain:   9%|▉         | 3/32 [00:05<00:56,  1.96s/it]
Flavor chain:  12%|█▎        | 4/32 [00:07<00:55,  1.98s/it]
Flavor chain:  16%|█▌        | 5/32 [00:09<00:54,  2.04s/it]
Flavor chain:  19%|█▉        | 6/32 [00:12<00:54,  2.08s/it]
Flavor chain:  22%|██▏       | 7/32 [00:14<00:53,  2.12s/it]
Flavor chain:  25%|██▌       | 8/32 [00:16<00:51,  2.16s/it]
Flavor chain:  28%|██▊       | 9/32 [00:19<00:52,  2.26s/it]
Flavor chain:  31%|███▏      | 10/32 [00:21<00:51,  2.35s/it]
Flavor chain:  31%|███▏      | 10/32 [00:24<00:53,  2.42s/it]
  0%|          | 0/55 [00:00<?, ?it/s]
 53%|█████▎    | 29/55 [00:00<00:00, 289.02it/s]
100%|██████████| 55/55 [00:00<00:00, 299.43it/s]
  0%|          | 0/6 [00:00<?, ?it/s]
100%|██████████| 6/6 [00:00<00:00, 237.93it/s]
  0%|          | 0/50 [00:00<?, ?it/s]
 64%|██████▍   | 32/50 [00:00<00:00, 310.52it/s]
100%|██████████| 50/50 [00:00<00:00, 313.61it/s]
Prompt:  there is a red flower that is on a black background, ultra high res, steven jung, chrysanthemum and hyacinth, 🌻🎹🎼, rich and deep colors, poppy, stunning and rich detail, “ ethereal, solid bacgkround, classic beauty
### Phase Encoding ###
  0%|          | 0/40 [00:00<?, ?it/s]
0%|          | 0/40 [00:00<?, ?it/s]
### Phase 1 Denoising ###
  0%|          | 0/40 [00:00<?, ?it/s]
  2%|▎         | 1/40 [00:00<00:09,  4.21it/s]
  5%|▌         | 2/40 [00:00<00:08,  4.32it/s]
  8%|▊         | 3/40 [00:00<00:08,  4.36it/s]
 10%|█         | 4/40 [00:00<00:08,  4.38it/s]
 12%|█▎        | 5/40 [00:01<00:07,  4.39it/s]
 15%|█▌        | 6/40 [00:01<00:07,  4.39it/s]
 18%|█▊        | 7/40 [00:01<00:07,  4.40it/s]
 20%|██        | 8/40 [00:01<00:07,  4.40it/s]
 22%|██▎       | 9/40 [00:02<00:07,  4.40it/s]
 25%|██▌       | 10/40 [00:02<00:06,  4.40it/s]
 28%|██▊       | 11/40 [00:02<00:06,  4.40it/s]
 30%|███       | 12/40 [00:02<00:06,  4.40it/s]
 32%|███▎      | 13/40 [00:02<00:06,  4.40it/s]
 35%|███▌      | 14/40 [00:03<00:05,  4.40it/s]
 38%|███▊      | 15/40 [00:03<00:05,  4.40it/s]
 40%|████      | 16/40 [00:03<00:05,  4.40it/s]
 42%|████▎     | 17/40 [00:03<00:05,  4.40it/s]
 45%|████▌     | 18/40 [00:04<00:04,  4.40it/s]
 48%|████▊     | 19/40 [00:04<00:04,  4.40it/s]
 50%|█████     | 20/40 [00:04<00:04,  4.40it/s]
 52%|█████▎    | 21/40 [00:04<00:04,  4.40it/s]
 55%|█████▌    | 22/40 [00:05<00:04,  4.40it/s]
 57%|█████▊    | 23/40 [00:05<00:03,  4.40it/s]
 60%|██████    | 24/40 [00:05<00:03,  4.40it/s]
 62%|██████▎   | 25/40 [00:05<00:03,  4.40it/s]
 65%|██████▌   | 26/40 [00:05<00:03,  4.40it/s]
 68%|██████▊   | 27/40 [00:06<00:02,  4.40it/s]
 70%|███████   | 28/40 [00:06<00:02,  4.40it/s]
 72%|███████▎  | 29/40 [00:06<00:02,  4.40it/s]
 75%|███████▌  | 30/40 [00:06<00:02,  4.40it/s]
 78%|███████▊  | 31/40 [00:07<00:02,  4.40it/s]
 80%|████████  | 32/40 [00:07<00:01,  4.40it/s]
 82%|████████▎ | 33/40 [00:07<00:01,  4.40it/s]
 85%|████████▌ | 34/40 [00:07<00:01,  4.40it/s]
 88%|████████▊ | 35/40 [00:07<00:01,  4.40it/s]
 90%|█████████ | 36/40 [00:08<00:00,  4.40it/s]
 92%|█████████▎| 37/40 [00:08<00:00,  4.40it/s]
 95%|█████████▌| 38/40 [00:08<00:00,  4.40it/s]
 98%|█████████▊| 39/40 [00:08<00:00,  4.40it/s]
### Phase 1 Decoding ###
100%|██████████| 40/40 [00:09<00:00,  4.40it/s]
100%|██████████| 40/40 [00:09<00:00,  4.29it/s]
### Phase 2 Denoising ###
  0%|          | 0/40 [00:00<?, ?it/s]
  2%|▎         | 1/40 [00:01<00:50,  1.29s/it]
  5%|▌         | 2/40 [00:02<00:48,  1.29s/it]
  8%|▊         | 3/40 [00:03<00:47,  1.29s/it]
 10%|█         | 4/40 [00:05<00:46,  1.29s/it]
 12%|█▎        | 5/40 [00:06<00:45,  1.29s/it]
 15%|█▌        | 6/40 [00:07<00:43,  1.29s/it]
 18%|█▊        | 7/40 [00:09<00:42,  1.29s/it]
 20%|██        | 8/40 [00:10<00:41,  1.29s/it]
 22%|██▎       | 9/40 [00:11<00:39,  1.29s/it]
 25%|██▌       | 10/40 [00:12<00:38,  1.29s/it]
 28%|██▊       | 11/40 [00:14<00:37,  1.29s/it]
 30%|███       | 12/40 [00:15<00:36,  1.29s/it]
 32%|███▎      | 13/40 [00:16<00:34,  1.29s/it]
 35%|███▌      | 14/40 [00:18<00:33,  1.29s/it]
 38%|███▊      | 15/40 [00:19<00:32,  1.29s/it]
 40%|████      | 16/40 [00:20<00:30,  1.29s/it]
 42%|████▎     | 17/40 [00:21<00:29,  1.29s/it]
 45%|████▌     | 18/40 [00:23<00:28,  1.29s/it]
 48%|████▊     | 19/40 [00:24<00:27,  1.29s/it]
 50%|█████     | 20/40 [00:25<00:25,  1.29s/it]
 52%|█████▎    | 21/40 [00:27<00:24,  1.29s/it]
 55%|█████▌    | 22/40 [00:28<00:23,  1.29s/it]
 57%|█████▊    | 23/40 [00:29<00:21,  1.29s/it]
 60%|██████    | 24/40 [00:30<00:20,  1.29s/it]
 62%|██████▎   | 25/40 [00:32<00:19,  1.29s/it]
 65%|██████▌   | 26/40 [00:33<00:18,  1.29s/it]
 68%|██████▊   | 27/40 [00:34<00:16,  1.29s/it]
 70%|███████   | 28/40 [00:36<00:15,  1.29s/it]
 72%|███████▎  | 29/40 [00:37<00:14,  1.29s/it]
 75%|███████▌  | 30/40 [00:38<00:12,  1.29s/it]
 78%|███████▊  | 31/40 [00:39<00:11,  1.29s/it]
 80%|████████  | 32/40 [00:41<00:10,  1.29s/it]
 82%|████████▎ | 33/40 [00:42<00:09,  1.29s/it]
 85%|████████▌ | 34/40 [00:43<00:07,  1.29s/it]
 88%|████████▊ | 35/40 [00:45<00:06,  1.29s/it]
 90%|█████████ | 36/40 [00:46<00:05,  1.29s/it]
 92%|█████████▎| 37/40 [00:47<00:03,  1.29s/it]
 95%|█████████▌| 38/40 [00:49<00:02,  1.29s/it]
 98%|█████████▊| 39/40 [00:50<00:01,  1.29s/it]
### Phase 2 Decoding ###
100%|██████████| 40/40 [00:51<00:00,  1.29s/it]
100%|██████████| 40/40 [00:52<00:00,  1.32s/it]
Version Details
Version ID
5bcfe11066c820e8c08232c6efa3c8a7ab2cd667ad136ca173633f352170691e
Version Created
December 8, 2023
Run on Replicate →