logerzhu/ad-inpaint ❓🔢📝🖼️ → 🖼️
Performance
18.4sTypical run time
~114sCold start (first call)
630.3KTotal runs
About
Product advertising image generator
Example Output
Prompt:
"modern sofa+ in a contemporary living room, filled with stylish decor+;modern, contemporary, sofa, living room, stylish decor"
Output




Performance Metrics
18.41s
Prediction Time
113.57s
Total Time
All Input Parameters
{
"pixel": "512 * 512",
"scale": 3,
"prompt": "modern sofa+ in a contemporary living room, filled with stylish decor+;modern, contemporary, sofa, living room, stylish decor",
"image_num": 4,
"image_path": "https://replicate.delivery/pbxt/JAIk0rFAOUG00uetuiLOHPz42lBcf7QfX3xWi7TVaxMXXD4n/sofa1.png",
"manual_seed": -1,
"product_size": "0.5 * width",
"guidance_scale": 7.5,
"negative_prompt": "illustration, 3d, sepia, painting, cartoons, sketch, (worst quality:2)",
"num_inference_steps": 20
}
Input Parameters
- pixel
- image total pixel
- scale
- Factor to scale image by (maximum: 4)
- prompt (required)
- Product name or prompt
- api_key
- OpenAI api_key, enhance prompt with ChatGPT if provided
- image_num
- Number of image to generate
- image_path (required)
- input image
- manual_seed
- Manual Seed
- product_size
- Max product size
- guidance_scale
- Guidance Scale
- negative_prompt
- Anything you don't want in the photo
- num_inference_steps
- Inference Steps
Output Schema
Output
Example Execution Logs
1. Image matting: (2040, 1128) 2. Generate ad images Seed: 10401463081148911623 0%| | 0/5 [00:00<?, ?it/s] 20%|██ | 1/5 [00:00<00:00, 4.66it/s] 60%|██████ | 3/5 [00:00<00:00, 5.76it/s] 100%|██████████| 5/5 [00:00<00:00, 8.13it/s] 100%|██████████| 5/5 [00:00<00:00, 7.32it/s] 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:04, 4.67it/s] 10%|█ | 2/20 [00:00<00:03, 5.66it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.07it/s] 20%|██ | 4/20 [00:00<00:02, 6.28it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.41it/s] 30%|███ | 6/20 [00:00<00:02, 6.49it/s] 35%|███▌ | 7/20 [00:01<00:01, 6.54it/s] 40%|████ | 8/20 [00:01<00:01, 6.57it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.60it/s] 50%|█████ | 10/20 [00:01<00:01, 6.61it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.63it/s] 60%|██████ | 12/20 [00:01<00:01, 6.64it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.64it/s] 70%|███████ | 14/20 [00:02<00:00, 6.65it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.65it/s] 80%|████████ | 16/20 [00:02<00:00, 6.65it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.65it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.65it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.65it/s] 100%|██████████| 20/20 [00:03<00:00, 6.66it/s] 100%|██████████| 20/20 [00:03<00:00, 6.51it/s] 4. Super resolution image - image 0 - image 1 - image 2 - image 3
Version Details
- Version ID
b1c17d148455c1fda435ababe9ab1e03bc0d917cc3cf4251916f22c45c83c7df- Version Created
- July 26, 2023