Automatically resize the image if it is more than 20MB, and rename it.
Invalid 'choices' format in response. response_body: Object {"error": Object {"code": String("image_too_large"), "message": String("You uploaded an unsupported image. Please make sure your image is below 20 MB in size and is of one the following formats: ['png', 'jpeg', 'gif', 'webp']."), "param": Null, "type": String("invalid_request_error")}}