cloudflare-images

Upload, transform, and deliver images via Cloudflare Images APIs.

22|1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/itechmeat/llm-code --skill cloudflare-images-itechmeat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-images
Source: https://github.com/itechmeat/llm-code/tree/main/skills/cloudflare-images
Command: npx skills add https://github.com/itechmeat/llm-code --skill cloudflare-images-itechmeat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Cloudflare Images provides a scalable, API-driven approach to store, transform, and deliver images at scale without maintaining separate image servers. It simplifies image optimization, access control, and delivery across devices with built-in support for variants, signed URLs, and edge caching.

Core Features & Use Cases

  • Upload images via API or Direct Creator Upload for centralized storage.
  • Transform images on the fly using URL parameters or Workers bindings for dynamic resizing and format changes.
  • Manage named variants and optional flexible variants for public or private image delivery.
  • Secure access with signed URLs and origin binding to protect private content.
  • Integrate with Cloudflare Images on R2 for origin storage and optimized delivery.
  • Polish options and billing insights for cost optimization.

Quick Start

Start by uploading an image via the API, then transform it via URL, and manage variants via the dashboard or API.

  • Upload an image via API: curl --request POST https://api.cloudflare.com/client/v4/accounts/{account_id}/images/v1 --header "Authorization: Bearer <API_TOKEN>" --form file=@./image.jpg
  • Transform via URL: https://<ZONE>/cdn-cgi/image/width=400,format=auto/<path-to-image>
  • Create or manage a variant via API: curl -X POST https://api.cloudflare.com/client/v4/accounts/{account_id}/images/v1/variants --header "Authorization: Bearer <API_TOKEN>" --header "Content-Type: application/json" --data '{"id":"thumb","options":{"width":200,"height":200},"neverRequireSignedURLs":false}'

Frequently Asked Questions about cloudflare-images

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and transform images at scale using Cloudflare Images?

Cloudflare Images handles storing, transforming, and delivering optimized images at scale via API. You upload images for centralized storage, then apply on-the-fly transformations using URL parameters or Workers bindings without maintaining separate image servers.

Can I perform on-the-fly image transformation with Cloudflare Workers bindings?

Yes, you can perform on-the-fly image transformation using Cloudflare Workers bindings. This allows you to dynamically resize and change image formats directly at the edge alongside standard URL parameter transformations.

What is the best way to secure private image delivery with signed URLs?

Securing private image delivery with signed URLs involves enabling origin binding and configuring variants to require signed URLs. This ensures access to your private content is protected while still leveraging edge caching and optimized delivery.

Does Cloudflare Images support direct upload and R2 integration for origin storage?

Yes, Cloudflare Images supports Direct Creator Upload for centralized storage and integrates with Cloudflare R2. Using R2 for origin storage enables scalable image storage and optimized delivery directly from your R2 buckets.

How do I manage image variants and flexible variants via the API?

You manage named variants by posting configuration options like width and height to the Cloudflare Images variants API endpoint. Optional flexible variants can also be managed for public or private delivery, allowing dynamic resizing without predefined dimensions.

When do I need signed URLs for Cloudflare Images delivery?

You need signed URLs for Cloudflare Images delivery when protecting private content from unauthorized access. Configuring variants to never require signed URLs allows public access, while enabling them secures your images with token-based authentication.