latestOpenAPI 3.1.22026-08-10223187.9 KB

7610937217a4

Download

Download Output

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.

get/download/{process_id}

Path parameters

process_idstring uuid required

The UUID of the image processing job.

Response

Presigned download URL

download_urlstring required

The presigned URL for downloading the image. This URL is temporary and will expire after 1 hour.

head_urlstring required

The presigned URL for fetching the metadata of the image's file. Useful for retrieving the image's size before download. This URL is temporary and will expire after 1 hour.

expiryinteger required

The expiration time (in Unix epoch) of the presigned download link, set as 1 hour after download link generation. After this time, the link will no longer be valid.