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