← 一覧へ

A new, consistent language across Images interfaces

changelog / Media/Realtime / Cloudflare Images / 2026/11/18 09:00 JST

要約

Cloudflare Imagesの最適化指定の言語が、インターフェース間で統一された。Imagesはリサイズ、顔検出クロップ、背景除去など多彩な最適化を動的に適用できるサービスで、画像URLへの直接指定と、Workerの fetch() における cf.image オプション経由のプログラム指定の両方が可能。今回の変更で指定方法の表記ゆれが整理され、ドキュメントと実装の対応が分かりやすくなった。

Cloudflare ImagesMedia/Realtime 出典サイトのOGP画像 出典サイトで原文を開く →

出典サイトの説明: The Images URL interface and Workers cf.image options now share a consistent parameter structure.

Cloudflare Images lets you dynamically compose, manipulate, and encode images using a broad set of optimizations, including resizing , face cropping , and background removal . You can configure optimizations directly in an image URL or programmatically through the cf.image options on a Worker fetch() subrequest . We redesigned the Images API to provide a consistent, predictable, and intuitive language for developers and AI agents to optimize and manipulate images. Starting today, the URL interface and cf.image options in Workers use the same parameter structure to apply optimizations . A configurable optimization will have its corresponding settings nested underneath its top-level parameter. Existing syntax in URLs and Worker configurations continues to behave as before. This release also makes adding borders and overlays available in the URL interface. For example, you can now add a logo or text watermark directly in the URL instead of writing a Worker. What changed Optimization parameters are now represented in one of two ways: a compact form for single values and a structured form for related settings. For example, width=500 requests an exact width, while trim=color asks Images

出典: 公式ページ

この記事をシェア