zylim0702 / sd_inpaint_vlpart_any_part

  • Public
  • 39 runs
  • A100 (80GB)
Iterate in playground

Input

Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Run zylim0702/sd_inpaint_vlpart_any_part using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

curl -s -X POST \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait" \
  -d $'{
    "version": "zylim0702/sd_inpaint_vlpart_any_part:42abc957c4e4864689cb09f7b518b57e98c0b410af60f496054ca134f8799454",
    "input": {
      "a_prompt": "best quality, extremely detailed",
      "n_prompt": "lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
      "ddim_steps": 5,
      "num_samples": 2,
      "image_resolution": 768
    }
  }' \
  https://api.replicate.com/v1/predictions

To learn more, take a look at Replicate’s HTTP API reference docs.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.0097 to run on Replicate, or 103 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 7 seconds.

Readme

This model doesn't have a readme.