microCMS

画像APIとは

最終更新日:2023年08月25日

microCMSには、画像の編集を行うことができる、画像APIという機能が備わっています。

アップロード時に編集を行わなくても、アップロード後の画像URLに対してパラメータを付与することで、様々な編集を行うことが可能です。

画像処理には、imgixRendering APIを利用しています。
こちらのドキュメントに記載しているパラメータ以外にも、利用可能なパラメータがございます。
APIに関して詳しく知りたい方は、imgixの公式リファレンスをご覧ください。

informationInformation

?auto=formatについては対応しておりません。あらかじめご了承ください。

利用可能な主な画像方式

  • JPEG
  • PNG
  • GIF
  • WebP

その他の利用可能な形式については、以下のSupported as input formatをご参照ください。

A Developer’s Guide to Understanding Image Types | imgix Documentation
https://docs.imgix.com/best-practices/guide-to-image-types#which-image-formats-can-be-served-with-imgix
informationInformation
  • SVG形式については、画像APIをご利用いただけません。
画像サイズ
https://document.microcms.io/image-api/size
品質
https://document.microcms.io/image-api/quality
解像度・画面サイズ
https://document.microcms.io/image-api/dpr
フォーマット
https://document.microcms.io/image-api/format
テキスト
https://document.microcms.io/image-api/text
枠線
https://document.microcms.io/image-api/border