Cloudflare Docs
Images
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.

​​ Export one or more images in the dashboard

  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.

​​ Export a single image via API

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

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

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.