Run mattrothenberg/pamplemousse-test-123 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"mattrothenberg/pamplemousse-test-123",
input={}
)
# 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())