AKOOL API로 얼굴 교체 기능을 개발중인데 막힌 문제가 있어 도움이나 조언을 얻고 싶어 글을 올립니다. POST https://openapi.akool.com/api/open/v3/faceswap/highquality/specifyimage 결과를 받는 데까지는 성공했습니다. 결과는 아래의 JSON 형식인데요. { "code": 1000, // Interface returns business status code "msg": "Please be patient! If your results are not generated in three hours, please check your input image.", // Interface returns status information "data": { "_id": "6593c94c0ef703e8c055e3c8", // Interface returns data "url": "https://***.cloudfront.net/final_71688047459_.pic-1704184129269-4947-f8abc658-fa82-420f-b1b3-c747d7f18e14-8535.jpg", // faceswwap result url "job_id": "20240102082900592-5653" // Task processing unique id } } 여기서 "url" 프로퍼티 값이 결과 이미지 url입니다.. 그런데 이 url을 다운로드 시도를 하면 Access Denied나 Forbidden 에러가 떨어집니다. Authorization Bearer 해더에 토큰을 널고 GET으로 접속하면 응답이 Access Denied로 나오고, POST로 접속하면 Forbidden(403)으로 나옵니다. Forbidden 에러로 나올 때 메시지가 아래와 같은데요. The request could not be satisfied. This distribution is not configured to allow the HTTP request method that was used for this request. The distribution supports only cachable requests. 어떻게 해결해야 할까요? 도움과 조언을 구합니다. 감사합니다.
165
2
0
sonaki84·2024-07-19
응답 메시지를 보면 "Please be patient! If your results are not generated in three hours, please check your input image" 라고 되어있는데, 좀 더 시간을 기다렸다가 다시 접속해 보면 어떠실지요?