You can use any S3 compatible service like Cloudflare R2, Digital Ocean Spaces, AWS S3, Google Cloud Storage, Alibaba OSS, Backblaze, etc.
You need to give PutObjectAcl on S3 bucket. Else you won’t be able to upload images to S3 bucket.
Here is link to stackoverflow on how to do it:
https://stackoverflow.com/questions/36272286/getting-access-denied-when-calling-the-putobject-operation-with-bucket-level-per
Request
Send aPOST
request to below endpoint. You have to pass the below listed request body parameters to update the S3 details.
curl
Body
json
Google Cloud Example
json
Body Attributes
Your enterprise API Key of the particular server deploy type you want to add S3 details for.
This is the server type you want to add the S3 details for. Options:
text_to_image
, image_editing
, voice_cloning
, text_to_3d
, video
, face_gen
, deepfake
, realtime
, super_resolution
, flux
, flux_headshot
, interior
. Default: text_to_image
.A public URL on which images can be accessed. Ensure your bucket is publicly accessible.
S3 region name.
S3 endpoint URL.
S3 bucket access key.
S3 bucket secret key.
Directory inside the S3 bucket to store images (e.g.,
generations
). Ensure it is publicly accessible to access images via direct links.