replicate/replicate-python

Support external cloud storage path as output

raheem-imcapsule opened this issue · 0 comments

request feature to support directly uploading output to provided s3 path(any cloud storage)

similar to below request:

replicate.run(
"stability-ai/stable-diffusion:27b93a2413e7f36cd83da926f3656280b2931564ff050bf9575f1fdf9bcd7478",
input={"prompt": "a 19th century portrait of a wombat gentleman"},
s3_key_id="AWS_ACCESS_KEY_ID",
s3_access_key="AWS_SECRET_ACCESS_KEY",
s3_output_base=""

)

current approach is download/pipe the replicate output to the hosted internal server and then upload to cloud storage - which makes bandwidth and time wasting.