1. Configure S3 Bucket Policy
First, change your S3 Bucket Policy configuration to the following format (replace${BucketName} with your bucket name):
2. Enable Custom Storage in V3 APIs
For V3 API endpoints, Novita AI provides thecustom_storage parameter in the request body, allowing you to configure your custom S3 bucket for storing generated images.
Here’s an example using the txt2img API endpoint: