Run ahm3texe/mdx-23 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"ahm3texe/mdx-23:5e21e6f55f62f2e783e0b2d6dc8a4b4a44c6463dc22a74c3163c1e1a59e2afbe",
input={}
)
# To access the file URL:print(output[0].url())
#=> "http://example.com"# To write the file to disk:withopen("my-image.png", "wb") as file:
file.write(output[0].read())