zf-kbot / inpaint-and-guess-prompt

Use a mask to inpaint the image or generate a prompt based on the mask.

  • Public
  • 53.3K runs

Run time and cost

This model costs approximately $0.0078 to run on Replicate, or 128 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 L40S GPU hardware. Predictions typically complete within 9 seconds.

Readme

Overview 🌈

This model supports two modes, image inpaint and prompt generation

Using in Website 🖥️

Home: Remaker AI

Web Features: Photo Editor

Getting Started 🚀

Inpaint

  1. “predict_type” param selection “standard” for inpaint mode
  2. Upload your image to “image” param
  3. Upload the mask image to “mask” param
  4. Input the inpaint prompt
  5. Get image!

Guess Prompt

  1. “predict_type” param selection “guess” for guess mode
  2. Upload your image to “image” param
  3. Upload the mask image to “mask” param
  4. Get prompt! (The model will guess the final prompt based on the image position marked by the mask)