visoar/product-photo ❓🔢📝🖼️ → 🖼️

▶️ 7.9K runs 📅 Sep 2023 ⚙️ Cog 0.8.6
image-consistant-object-generation image-editing image-to-image product-photography

About

generate product images - PixMiller.com

Example Output

Prompt:

"a bag on a magnificent display stand+, with many exquisite decorations+ around it-, creating an elegant and sophisticated atmosphere"

Output

Example outputExample outputExample outputExample outputExample output

Performance Metrics

18.14s Prediction Time
18.11s Total Time
All Input Parameters
{
  "pixel": "512 * 512",
  "scale": 3,
  "prompt": "a bag on a magnificent display stand+, with many exquisite decorations+ around it-, creating an elegant and sophisticated atmosphere",
  "image_num": 4,
  "image_path": "https://replicate.delivery/pbxt/JTPv8xPOK858n7BCcix1FBzLT7P5zOf4qucTTCr9SmPbcD94/0f8212ebeda2e0e10b4ff93bc5aa6821.png",
  "manual_seed": -1,
  "product_size": "0.5 * width",
  "guidance_scale": 7.5,
  "negative_prompt": "low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement",
  "num_inference_steps": 20
}
Input Parameters
pixel Default: 512 * 512
image total pixel
scale Type: integerDefault: 3Range: 0 - 4
Factor to scale image by (maximum: 4)
prompt (required) Type: string
Product name or prompt
api_key Type: string
OpenAI api_key, enhance prompt with ChatGPT if provided
image_num Type: integerDefault: 1Range: 0 - 4
Number of image to generate
image_path (required) Type: string
input image
manual_seed Type: integerDefault: -1
Seed
product_size Default: 0.6 * width
Max product size
guidance_scale Type: numberDefault: 7.5
Guidance Scale
negative_prompt Type: stringDefault: low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement
Anything you don't want in the photo
num_inference_steps Type: integerDefault: 20
Inference Steps
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
1. Image matting: (1536, 1536)
2. Generate ad images
Seed: 9719030385797665062
  0%|          | 0/5 [00:00<?, ?it/s]
 40%|████      | 2/5 [00:00<00:00, 12.59it/s]
 80%|████████  | 4/5 [00:00<00:00, 12.52it/s]
100%|██████████| 5/5 [00:00<00:00, 12.51it/s]
  0%|          | 0/20 [00:00<?, ?it/s]
  5%|▌         | 1/20 [00:00<00:04,  4.12it/s]
 10%|█         | 2/20 [00:00<00:04,  4.10it/s]
 15%|█▌        | 3/20 [00:00<00:04,  4.09it/s]
 20%|██        | 4/20 [00:00<00:03,  4.09it/s]
 25%|██▌       | 5/20 [00:01<00:03,  4.08it/s]
 30%|███       | 6/20 [00:01<00:03,  4.08it/s]
 35%|███▌      | 7/20 [00:01<00:03,  4.08it/s]
 40%|████      | 8/20 [00:01<00:02,  4.08it/s]
 45%|████▌     | 9/20 [00:02<00:02,  4.08it/s]
 50%|█████     | 10/20 [00:02<00:02,  4.08it/s]
 55%|█████▌    | 11/20 [00:02<00:02,  4.08it/s]
 60%|██████    | 12/20 [00:02<00:01,  4.08it/s]
 65%|██████▌   | 13/20 [00:03<00:01,  4.09it/s]
 70%|███████   | 14/20 [00:03<00:01,  4.09it/s]
 75%|███████▌  | 15/20 [00:03<00:01,  4.09it/s]
 80%|████████  | 16/20 [00:03<00:00,  4.09it/s]
 85%|████████▌ | 17/20 [00:04<00:00,  4.09it/s]
 90%|█████████ | 18/20 [00:04<00:00,  4.09it/s]
 95%|█████████▌| 19/20 [00:04<00:00,  4.09it/s]
100%|██████████| 20/20 [00:04<00:00,  4.09it/s]
100%|██████████| 20/20 [00:04<00:00,  4.09it/s]
4. Super resolution image
- image 0
- image 1
- image 2
- image 3
Version Details
Version ID
a7be6f87f2d2cd77b134c91a28c18dcfe9754f486437c887920b10adedab6abb
Version Created
December 12, 2023
Run on Replicate →