catacolabs/sdxl-ad-inpaint 🔢🖼️📝❓✓ → 🖼️

▶️ 401.4K runs 📅 Sep 2023 ⚙️ Cog 0.8.6 🔗 GitHub ⚖️ License
image-editing image-to-image product-advertising

About

Product advertising image generator using SDXL

Example Output

Prompt:

"a modern sofa in a contemporary living room, stylish decor"

Output

Example output

Performance Metrics

17.76s Prediction Time
17.76s Total Time
All Input Parameters
{
  "seed": 24603,
  "image": "https://replicate.delivery/pbxt/JX7yjB7jAgeCC1tUmWUUZlWg3IDWW9vLqIjwqWOlj9p6zyyn/sofa.png",
  "prompt": "a modern sofa in a contemporary living room, stylish decor",
  "img_size": "1024, 1024",
  "apply_img": false,
  "scheduler": "K_EULER",
  "product_fill": "80",
  "guidance_scale": 7.5,
  "condition_scale": 0.8,
  "negative_prompt": "",
  "num_refine_steps": 20,
  "num_inference_steps": 40
}
Input Parameters
seed Type: integer
Empty or 0 for a random image
image (required) Type: string
Remove background from this image
prompt (required) Type: string
Describe the new setting for your product
img_size Default: 1024, 1024
Possible SDXL image sizes
apply_img Type: booleanDefault: true
Applies the original product image to the final result
scheduler Default: K_EULER
scheduler
product_fill Default: Original
What percentage of the image width to fill with product
guidance_scale Type: numberDefault: 7.5
Guidance Scale
condition_scale Type: numberDefault: 0.9Range: 0.3 - 0.9
controlnet conditioning scale for generalization
negative_prompt Type: stringDefault: low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement
Describe what you do not want in your setting
num_refine_steps Type: integerDefault: 10Range: 0 - 40
Number of steps to refine
num_inference_steps Type: integerDefault: 40
Inference Steps
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 24603
Product img W:666, H:375
Scale factor: 0.8
Final img W: 1024, H:1024
  0%|          | 0/40 [00:00<?, ?it/s]
  2%|▎         | 1/40 [00:00<00:11,  3.38it/s]
  5%|▌         | 2/40 [00:00<00:11,  3.38it/s]
  8%|▊         | 3/40 [00:00<00:10,  3.38it/s]
 10%|█         | 4/40 [00:01<00:10,  3.37it/s]
 12%|█▎        | 5/40 [00:01<00:10,  3.37it/s]
 15%|█▌        | 6/40 [00:01<00:10,  3.37it/s]
 18%|█▊        | 7/40 [00:02<00:09,  3.37it/s]
 20%|██        | 8/40 [00:02<00:09,  3.37it/s]
 22%|██▎       | 9/40 [00:02<00:09,  3.37it/s]
 25%|██▌       | 10/40 [00:02<00:08,  3.36it/s]
 28%|██▊       | 11/40 [00:03<00:08,  3.36it/s]
 30%|███       | 12/40 [00:03<00:08,  3.36it/s]
 32%|███▎      | 13/40 [00:03<00:08,  3.36it/s]
 35%|███▌      | 14/40 [00:04<00:07,  3.36it/s]
 38%|███▊      | 15/40 [00:04<00:07,  3.32it/s]
 40%|████      | 16/40 [00:04<00:07,  3.32it/s]
 42%|████▎     | 17/40 [00:05<00:06,  3.33it/s]
 45%|████▌     | 18/40 [00:05<00:06,  3.33it/s]
 48%|████▊     | 19/40 [00:05<00:06,  3.34it/s]
 50%|█████     | 20/40 [00:05<00:05,  3.34it/s]
 52%|█████▎    | 21/40 [00:06<00:05,  3.34it/s]
 55%|█████▌    | 22/40 [00:06<00:05,  3.35it/s]
 57%|█████▊    | 23/40 [00:06<00:05,  3.34it/s]
 60%|██████    | 24/40 [00:07<00:04,  3.34it/s]
 62%|██████▎   | 25/40 [00:07<00:04,  3.34it/s]
 65%|██████▌   | 26/40 [00:07<00:04,  3.34it/s]
 68%|██████▊   | 27/40 [00:08<00:03,  3.34it/s]
 70%|███████   | 28/40 [00:08<00:03,  3.34it/s]
 72%|███████▎  | 29/40 [00:08<00:03,  3.34it/s]
 75%|███████▌  | 30/40 [00:08<00:02,  3.34it/s]
 78%|███████▊  | 31/40 [00:09<00:02,  3.35it/s]
 80%|████████  | 32/40 [00:09<00:02,  3.34it/s]
 82%|████████▎ | 33/40 [00:09<00:02,  3.34it/s]
 85%|████████▌ | 34/40 [00:10<00:01,  3.34it/s]
 88%|████████▊ | 35/40 [00:10<00:01,  3.34it/s]
 90%|█████████ | 36/40 [00:10<00:01,  3.34it/s]
 92%|█████████▎| 37/40 [00:11<00:00,  3.34it/s]
 95%|█████████▌| 38/40 [00:11<00:00,  3.34it/s]
 98%|█████████▊| 39/40 [00:11<00:00,  3.34it/s]
100%|██████████| 40/40 [00:11<00:00,  3.34it/s]
100%|██████████| 40/40 [00:11<00:00,  3.35it/s]
  0%|          | 0/6 [00:00<?, ?it/s]
 17%|█▋        | 1/6 [00:00<00:01,  4.31it/s]
 33%|███▎      | 2/6 [00:00<00:00,  4.30it/s]
 50%|█████     | 3/6 [00:00<00:00,  4.30it/s]
 67%|██████▋   | 4/6 [00:00<00:00,  4.28it/s]
 83%|████████▎ | 5/6 [00:01<00:00,  4.29it/s]
100%|██████████| 6/6 [00:01<00:00,  4.28it/s]
100%|██████████| 6/6 [00:01<00:00,  4.29it/s]
Version Details
Version ID
9c0cb4c579c54432431d96c70924afcca18983de872e8a221777fb1416253359
Version Created
September 15, 2023
Run on Replicate →