Run wzesk/littoral_segment using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"wzesk/littoral_segment:1211330f2b12248624b1c3e014c5a53a51ae5ed25d6ba7fff8eb4a4720580813",
input={
"image": "https://raw.githubusercontent.com/Wzesk/littoral_segment/45c82d810a1d3a85456b9ac6fb23d8de70829884/input.png"
}
)
# 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.
This model runs on A100 (80GB) hardware which costs $0.0014 per second
Choose a file from your machine
Hint: you can also drag files onto the input
Take a picture with your webcam
Copy
Show
Copy
Copy
Copy
Copy
Show
Copy
Copy
Copy
Show
Copy
Copy
Copy
Logs (7ren7cpsnxrj60cmeq7vkvngbm)
Succeeded
0: 640x608 1 island, 106.5ms
Speed: 6.3ms preprocess, 106.5ms inference, 343.2ms postprocess per image at shape (1, 3, 640, 608)