AeroModel

AeroModel

Documentation

resolution

Width preset. Mutually exclusive with width.

Values

PresetWidth (px)Typical use case
thumb512Thumbnails, lists, mobile
card1024Cards, product sheets
hd2048Hero sections, Retina displays
ultra4096Print, user zoom

API examples

GET https://api.aeromodel.dash-systems.fr/v1/images/plane?api-key=YOUR_KEY&plane=A320&airline=AF&resolution=thumb
GET https://api.aeromodel.dash-systems.fr/v1/images/plane?api-key=YOUR_KEY&plane=A320&airline=AF&resolution=card
GET https://api.aeromodel.dash-systems.fr/v1/images/plane?api-key=YOUR_KEY&plane=A320&airline=AF&resolution=hd
GET https://api.aeromodel.dash-systems.fr/v1/images/plane?api-key=YOUR_KEY&plane=A320&airline=AF&resolution=ultra
thumb 512card 1024hd 2048ultra 4096

Why prefer presets

  • Cache hit ratio: every client wanting a "card" hits the same URL → a single cache slot.
  • Stable over time: if we remap card to 1100 px tomorrow (to match a new design), your URLs don't change.
  • Shorter: ?resolution=hd < ?width=2048.

Approximate PNG sizes

PresetTypical PNG size
thumb30-80 KB
card80-200 KB
hd200-600 KB
ultra800 KB-2 MB

WebP: ~50% lighter. JPG: ~70% lighter (no alpha).

Errors

CaseResponse
resolution=xxl400 resolution must be one of thumb, card, hd, ultra
resolution=hd&width=2048400 resolution and width cannot be combined

See also