Use the Images binding to upload, list, retrieve, update, and delete images stored in Images directly from your Worker without managing API tokens or making HTTP requests.
The env.IMAGES.hosted namespace supports the following storage and management operations:
.upload(image, options)— Upload a new image to your account..list(options)— List images with pagination..image(imageId).details()— Get image metadata..image(imageId).bytes()— Stream the original image bytes..image(imageId).update(options)— Update metadata or access controls..image(imageId).delete()— Delete an image.
For example, you can upload an image from a request body and return its metadata:
const image = await env.IMAGES.hosted.upload(request.body, { filename: "upload.jpg", metadata: { source: "worker" },});
return Response.json(image);Or retrieve and serve the original bytes of a hosted image:
const bytes = await env.IMAGES.hosted.image("IMAGE_ID").bytes();return new Response(bytes);For more information, refer to the Images binding.
Source: Cloudflare
Latest Posts
- MWPro Weekly Change Intelligence | 20–26 July 2026

- Amazon Connect now supports audio optimization for Azure Virtual Desktop and Windows 365 Cloud PC

- Amazon EC2 Dedicated Hosts now support host resource groups without self-managed licenses

- Amazon Kinesis Data Streams now supports scaling down ingest capacity with warm throughput







