BazaarLinkBazaarLink
로그인
문서API 레퍼런스SDK 레퍼런스에이전트 사용법AI 스킬
이미지

캐시된 이미지 가져오기

생성된 이미지의 원시 바이트를 반환합니다. 생성 응답의 image-cached 이벤트와 data[].url 값이 여기를 가리킵니다. 토큰 자체가 접근 자격 증명이며(API 키 불필요) 1시간 후 만료되고, 만료 후에는 404를 반환합니다.

GET/api/v1/images/proxy/:token

경로 파라미터

token필수
string

생성 응답에서 발급된 이미지 토큰. UUID v4 형식만 허용되며 그 외에는 404를 반환합니다.

UUID v4

심층 가이드 →

GET /api/v1/images/proxy/:token
curl -o result.png \
  https://bazaarlink.ai/api/v1/images/proxy/9f1c2d3e-4a5b-4c6d-8e7f-0a1b2c3d4e5f
응답 예시

성공. 이미지 원시 바이트를 반환합니다(JSON 아님). Content-Type은 이미지의 MIME이며(SVG는 동일 출처 스크립트 실행 방지를 위해 application/octet-stream으로 변경) 1시간 immutable 캐시 헤더가 붙습니다.

HTTP/1.1 200 OK
Content-Type: image/png
Content-Length: 428381
Cache-Control: public, max-age=3600, immutable
X-Content-Type-Options: nosniff
Content-Security-Policy: sandbox

<binary image bytes>
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
캐시된 이미지 가져오기 — BazaarLink API