You may want to prevent the overuse of your API quota and limit the rate at which images are generated.
Rate Limit - Limit image generation by IP address
Max Quota - Prevent over-use of your API quota by setting a maximum value
Note: You may want to disable this for some freedom when testing
For more security, consider trying Signed URLs instead.