Readme
This model doesn't have a readme.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run zylim0702/sd_inpaint_vlpart_any_part using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"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
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
No output yet! Press "Submit" to start a prediction.
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.
This model doesn't have a readme.