Cloudflare Docs
Cloudflare Image Optimization
Visit Cloudflare Image Optimization on GitHub
Set theme to dark (⇧+D)

Export images

Cloudflare Images supports image exports. This feature is available both in the Cloudflare dashboard and via API.

  1. Log in to the Cloudflare dashboard and select your account.
  2. Select Images.
  3. Find the image or images you want to export.
  4. If you want to export a single image, select Export. If you need to export several images, first select the checkbox on the images you want to export and then select Export selected.

Your images will be downloaded to your computer.

To download an image via API, the syntax is as follows:

GET accounts/<ACCOUNT_ID>/images/v1/<IMAGE_ID>/blob

<IMAGE_ID> must be fully URL encoded in the API call URL.

Example:

$ curl -X GET "https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/images/v1/ZxR0pLaXRldlBtaFhhO2FiZGVnaA/blob" \
-H "X-Auth-Email: user@example.com" \
-H "X-Auth-Key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41"

Refer to the API documentation for more information.