Reference

Width ladder + quality range

GET/api/sizes

Allowed widths (an explicit width snaps to the nearest of these) and the quality bounds. Also available at /api/widths.

API v2 add-on: with the add-on the response adds addon.sizes — the size presets by longest side.