Download

Access presigned URLs for downloading input or processed images. These endpoints allow you to securely retrieve the input or the processed image with an expiring URL.

Download Output

get

A presigned download link to the image is provided in the response, as well as an expiration time (in Unix time). If the image is not ready, this request will fail with a conflict error. Images are stored for 7 days after the image has been processed.

Authorizations
X-API-KeystringRequired

Authentication via the Topaz generated key in the X-API-Key header.

Path parameters
process_idstring · uuidRequired

The UUID of the image processing job.

Responses
200

Presigned download URL

application/json
get
/download/{process_id}
GET /image/v1/download/{process_id} HTTP/1.1
Host: api.topazlabs.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
  "download_url": "https://<...>/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?<presigned_headers>",
  "head_url": "https://<...>/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?<presigned_headers>",
  "expiry": 1617220000
}

Download Input

get

A presigned download link to the input image is provided in the response, as well as an expiration time (in Unix time). Input images are stored for 7 days after the image has been uploaded.

Authorizations
X-API-KeystringRequired

Authentication via the Topaz generated key in the X-API-Key header.

Path parameters
process_idstring · uuidRequired

The UUID of the image processing job.

Responses
200

Presigned download URL

application/json
get
/download/input/{process_id}
GET /image/v1/download/input/{process_id} HTTP/1.1
Host: api.topazlabs.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
  "download_url": "https://<...>/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?<presigned_headers>",
  "head_url": "https://<...>/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?<presigned_headers>",
  "expiry": 1617220000
}

Last updated