Car Image API
Documentation

Quickstart

Your first image in two minutes.

1. Get an API key

Sign in and you start with 100 free credits — no card. Create a key in the dashboard, or let the CLI do it through a browser-approved device code:

bash
npx @meterapp/car-image login

2. Request an image

One request returns the bytes. make, model and year are validated against the vehicle catalog; view picks one of six camera angles.

bash
curl --fail-with-body \
  -H "Authorization: Bearer $CAR_IMAGE_API_KEY" \
  "https://car-imgs.vercel.app/api/v1/images/car?make=porsche&model=911&year=2024&view=front-3-4&color=red" \
  --output porsche-911.png

The first request for a vehicle, color and angle nobody has asked for yet renders it (about ten seconds). It is cached forever after that and served in milliseconds — for the same single credit.

3. Read the response headers

Every image response tells you what it cost and where it came from:

HeaderExampleMeaning
X-Credits-Charged1Always 1 for a delivered image.
X-Credits-Remaining99Your balance after this request.
X-Image-Sourcecachecache or generated — the price is identical.
X-Image-Width / X-Image-Height1024Delivered pixel dimensions.
ETag"9f2a…c41d"Send it back as If-None-Match to get a free 304.
X-Request-Idreq_01j…Quote it when you report a problem.

4. Go further