logerzhu / ad-inpaint

Product advertising image generator

  • Public
  • 472.6K runs

Run time and cost

This model costs approximately $0.019 to run on Replicate, or 52 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 14 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Automatically generate product advertising image.

This is a Demo based on stable-diffusion-2-inpainting and ControlNet, repaint the product background.

  • It is recommended to use Product png images with a transparent background. Non-transparent image will use the product image extracted by Tracer-B7 Networks.

  • prompt / negative_prompt uses the compel library for embedding, supporting the format of “Weighting + - (word)0.9”.