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 vetkastar/rem-bg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"vetkastar/rem-bg:03556f3ce0b34634ce275346b83a28b25bc385e8d51199aca761b8a95deaf9df",
input={
"object_type": "hairs-like",
"seg_mask_size": 640,
"trimap_erosion": 5,
"trimap_dilation": 30
}
)
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 runs on Nvidia T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.