Run kharioki/blur-faces using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"kharioki/blur-faces:bdcc18be6a02a8f2efce1a3f7489f74a1d6729caea9b53061358fe75c93799d2",
input={
"blur": 5,
"image": "https://replicate.delivery/pbxt/J1sfRLwQpduwTZtdBV6o15BzrEpF7aAJl6FatWNX8vmX6otU/Namor%20dans%20Black%20Panther%20Wakanda%20Forever.jpeg"
}
)
# To access the file URL:print(output.url())
#=> "http://example.com"# To write the file to disk:withopen("my-image.png", "wb") as file:
file.write(output.read())
This model is not yet booted but ready for API calls. Your first API call will boot the model and may take longer, but after that subsequent responses will be fast.