{"openapi":"3.0.3","info":{"title":"Vehicle Imagery API","version":"1.2.0","description":"# Vehicle Imagery API\n\nStudio-quality car images for every make, model, year, variant, trim and view — delivered as **signed CDN URLs** with on-the-fly format, size, aspect-ratio, **paint color**, shadow, transparency, grounding and floor-mirroring.\n\n## Base URL\nAll endpoints live under `https://api.vehicleimagery.com`.\n\n## Authentication\nEvery request needs your API key in the **`x-api-key`** header:\n\n```bash\ncurl -H \"x-api-key: YOUR_API_KEY\" https://api.vehicleimagery.com/api/brands\n```\n\nWhat your key may do (formats, ratios, features, brands) is returned by **`/api/me`**. The docs endpoints (`/api/openapi.json`, `/api/docs`) are public and need no key.\n\n## How it works\n1. **Navigate the catalog** down to one car: `brand → model → year → variant → trim → view`, e.g. `GET /api/Abarth/124_Spider_Abarth/2016/Basis/base`.\n2. **Resolve an image** by adding the view + options: `GET /api/Abarth/124_Spider_Abarth/2016/Basis/base/front_left?format=webp&width=1200` → returns metadata plus a signed **`image_url`**.\n3. **Embed `image_url`** straight into your `<img>`. It is signed and transform-locked; the bytes are generated on first request and cached on the CDN for your plan's TTL (default 7 days).\n\n## API v2 add-on: studio sets, 360° spins and lifestyle *(new)*\nKeys with the **API v2 add-on** also get our new studio image sets — in the same catalog and with the same calls. Check `access` in **`/api/me`**: `v1` = standard images, `v2` = add-on, `all` = both. On the trim endpoint a car with add-on images lists **`groups`** next to `views`:\n\n- **Standard views** (`front`, `front_left` … `right`) — same URLs as always.\n- **Studio groups** — `…/{trim}/{group}` lists the images, `…/{trim}/{group}/{image}` resolves one:\n  - `hero` — hero shots, three-quarter views, some from ground level (8 images)\n  - `steered` — front wheels turned, from three camera heights (8 images)\n  - `extra` — more angles: every side and corner from eye level, high and low, corners also at 30° and 45° (56 images)\n  - `drone` — from above: angled shots, steep views and straight from the top (7 images)\n- **Image names** say where the camera is: the side (`front`, `front_left`, `left`, `rear_right` …) plus `_eye` (eye level), `_high` (above), `_low` (low), `_ground` (at ground level), `_30` / `_45` (corner view at 30° / 45°), `_steep` (steep from above) or `top` (straight down). Numbers per car can differ; `/api/getall` and the group endpoint show them.\n- **360° spins** — `…/{trim}/360` lists the rings (`eye_level`, `low`, `high`), `…/{trim}/360/{ring}` returns every frame with its own `image_url` (a spin needs all of them, in order).\n- **Lifestyle scenes** — `…/{trim}/lifestyle` lists the scenes, `…/lifestyle/{scene}` their images, `…/lifestyle/{scene}/{image}` resolves one.\n\nEvery reference endpoint knows the add-on: **`/api/search`** and **`/api/getall`** include add-on cars (getall with their `groups`), a car's **`/colors`**, **`/features`** and **`/all`** describe its add-on options, and **`/api/options`**, **`/api/sizes`**, **`/api/views`** and **`/api/me`** add an **`addon`** section. Everything also works by stable id (`/api/id/{id}/…`).\n\nAdd-on images take extra options: **`lights`**, **`background`** (white, transparent or any hex), **`color`** as hex (e.g. `c8102e`) or with a finish (e.g. `metallic_315fbf`, `matte_283b56`), **`windows=dark`**, **`plate`** (`blank`, your `logo` or your own `text`), **`fit`**, **`size`** and **`hotspots`** — see *Resolve a signed image URL*. Without the add-on these parameters are ignored and no groups are listed.\n\n**Names & ids:** all cars, standard and add-on, use the same catalogue naming (e.g. `Mercedes-Benz / C-Class`, `BMW / 5 series`). Names used before 5 October 2026 (e.g. `Mercedes / C-Klasse`) still resolve and answer with the current name. Names never contain a slash: where the catalogue writes one, the name has a hyphen (e.g. `Chevrolet / C-K`). Cars that exist only in the add-on have ids from `900000000`; `/api/id/{id}/…` works for them like for every other car.\n\n## Only v1 or only v2: `version`\nSend **`version=v1`** or **`version=v2`** with any catalog request (`/api/brands` down to a single view, `/api/id/…`, `/api/getall`, `/api/search`) to get results from one version only. `version=v2` returns only cars and images of the API v2 add-on — nothing falls back to the standard images. `version=v1` returns only the standard images and leaves out every add-on section. Without `version` you get everything your key allows, as before. A key that cannot use the requested version gets `403`, any other value `400`.\n\n## Have a real vehicle? *(Beta)*\nIf you know the car's VIN or registration number instead of its catalogue position, the lookup add-ons do both steps in one call: **`GET /vin/{vin}`** and **`GET /plate/{plate}`** decode the vehicle and return the closest catalogue match with signed image URLs alongside the decoded data. Both are opt-in per key — check `features.vin` and `features.plate` in **`/api/me`**; without the add-on they return `403`.\n\n## Image options\nAppend to any image request: `format`, `resolution`, `ratio`, `width`, `height`, `quality`, `color`, `shadow`, `transparency`, `ground`, `mirroring`. All options combine freely (e.g. `?color=wine_red&shadow=true&format=webp&width=1200`). The full plan-filtered set is in **`/api/options`**.\n\n## Paint colors\nCars can be repainted on demand — reflections, chrome, glass and interior stay untouched; only the paint changes, true to its finish (solid or metallic). **`/api/colors`** lists the whole catalog as `{ color_name, color_make }` pairs: the **house colors** (`black`, `white`, `blue`, `orange`, `wine_red` — `color_make: \"Vehicleimagery\"`) are available on every car; brand colors (e.g. Kia *Racing Red*) belong to cars of that brand. A car's own `/colors` endpoint lists what is shown for it (house colors + its brand's colors) — any active catalog color can still be requested on any car via `?color=`. Details: the *Paint colors* guide at `/info/guides/colors`.\n\n## Shadows, transparency & compositing\nStudio ground shadows (`shadow=true`), transparent cut-outs (`transparency=true`) and opaque white delivery are produced at delivery time for every exterior view — availability is uniform across the whole catalog.\n\n## Errornotes (non-fatal)\nWhen a request can't be served *exactly*, the API does **not** fail — it falls back to the closest valid value and adds a short code to the `errornotes` array (e.g. `Y01` = nearest year used, `S05` = shadow unavailable). The full list is in **`/api/errornotes`**.\n\n## Image delivery & caching\nThe returned `image_url` points at the CDN, carries a signature plus an expiry, and is locked to the exact transform — clients can't tamper with it. The first request produces and caches the bytes; every later request is served straight from cache. Just drop the URL into an `<img src>`.\n\nNew images are produced in a fair **queue**: plans with a higher priority go first, and identical requests that arrive at the same time are produced once. The first load of a new combination usually takes a few seconds; the response header **`X-Cache`** tells you where it came from (`MISS` = just produced, `HIT` / `HIT-R2` = cache, `ORIGINAL` = untouched source file), **`X-Queue-Wait-Ms`** how long it waited. If a very large number of new images is being produced at once, an image URL can answer **`503 busy`** with **`Retry-After: 5`** — just load it again a few seconds later.\n\n## Status codes\n- **`200`** — success. Always check `errornotes` for silent fallbacks.\n- **`401`** — missing or invalid `x-api-key`.\n- **`403`** — your plan doesn't allow the requested feature, format or brand.\n- **`404`** — no data for that path. The message names exactly what to check.\n- **`503`** — (image URLs only) many new images are being produced right now; retry after the seconds in `Retry-After`.\n\n## Conventions\n- Brand / model / variant / trim names are case-insensitive and accept common aliases.\n- Years snap to the nearest available generation.\n- Catalog endpoints return JSON; image bytes come only from the signed `image_url`.","contact":{"name":"Vehicle Imagery","url":"https://vehicleimagery.com"}},"externalDocs":{"description":"Interactive Swagger UI","url":"https://api.vehicleimagery.com/api/docs"},"servers":[{"url":"https://api.vehicleimagery.com","description":"API base URL"}],"security":[{"apiKey":[]}],"tags":[{"name":"Catalog","description":"Navigate the catalog: brand → model → year → variant → trim → view."},{"name":"Image","description":"Resolve a signed, transform-locked image URL for a single view."},{"name":"API v2 Add-on","description":"API v2 add-on (keys with v2 access): studio groups, 360° spins and lifestyle scenes, with their extra image options."},{"name":"Reference","description":"Static, plan-filtered option and code references."},{"name":"Account","description":"Your key's capabilities and service health."},{"name":"Meta","description":"Public endpoints — no API key required (health, machine-readable spec, interactive docs)."}],"x-tagGroups":[{"name":"Catalog & Images","tags":["Catalog","Image"]},{"name":"API v2 Add-on","tags":["API v2 Add-on"]},{"name":"References","tags":["Reference"]},{"name":"Account","tags":["Account"]},{"name":"Meta","tags":["Meta"]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your API key. Sent on every request except the public docs endpoints."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message."},"code":{"type":"string","description":"Stable error code, e.g. `trim_not_found`."},"not_found":{"type":"string","enum":["brand","model","year","variant","trim","view","ring","scene"],"description":"On `404` for a car path: the level that does not exist."},"alternatives":{"type":"object","description":"On `404` for a car path: what exists at that level instead, under the same key as the catalog endpoint (`brands`, `models`, `years`, `variants`, `trims`, `views`, `groups`, `rings`, `scenes`).","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"CarFeatures":{"type":"object","description":"Per-car feature availability. `true`/`false` if your plan allows it, `\"not_allowed\"` if the plan doesn't, `\"needs_transparent\"` when mirroring lacks a transparent source. Shadow, transparency and their combination are produced at delivery time and available for every exterior view.","properties":{"shadow":{"description":"Studio shadow available.","oneOf":[{"type":"boolean"},{"type":"string"}]},"transparent":{"description":"Transparent background available.","oneOf":[{"type":"boolean"},{"type":"string"}]},"shadow_and_transparent":{"description":"Both at once available.","oneOf":[{"type":"boolean"},{"type":"string"}]},"mirroring":{"description":"Floor reflection available.","oneOf":[{"type":"boolean"},{"type":"string"}]}}},"ImageResult":{"type":"object","properties":{"id":{"type":"integer","description":"Internal image id."},"brand":{"type":"string"},"model":{"type":"string"},"year":{"type":"integer"},"variant":{"type":"string"},"trim":{"type":"string"},"view":{"type":"string"},"resolution":{"type":"string","description":"Resolution preset applied."},"ratio":{"type":"string","description":"Aspect ratio applied (`default` = native)."},"format":{"type":"string","description":"Delivered format."},"version":{"type":"string","enum":["v1","v2"],"description":"Where the image comes from: `v1` = standard images, `v2` = API v2 add-on."},"settings":{"type":"object","description":"The effective settings used to build the URL (after plan fallbacks).","properties":{"color":{"type":"string","description":"Applied paint color (`default` = original paint)."},"color_id":{"type":"integer","nullable":true,"description":"Id of the applied color (see `/api/colors`). `0` = original paint, `null` = a hex color on add-on images."},"color_manufacture":{"type":"string","nullable":true,"description":"Brand the applied color belongs to, e.g. `Mercedes-Benz`, or `Vehicleimagery` for a house color. `null` without a catalog color (original paint or hex)."},"shadow":{"type":"boolean"},"transparency":{"type":"boolean"},"watermark":{"type":"boolean"},"ground":{"type":"boolean"},"mirroring":{"type":"boolean"},"width":{"type":"integer"},"lights":{"type":"string","description":"API v2 add-on: `on` or `off`."},"background":{"type":"string","description":"API v2 add-on: `white`, `transparent` or hex."},"windows":{"type":"string","description":"API v2 add-on: `see_through` or `dark`."},"plate":{"type":"string","description":"API v2 add-on: `none`, `blank`, `logo` or `text`."},"plate_text":{"type":"string","description":"API v2 add-on: the text on the plate, with `plate=text`."},"size":{"type":"string","description":"API v2 add-on: size preset, when requested."}}},"hotspots":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"x":{"type":"number"},"y":{"type":"number"}}},"description":"API v2 add-on with `hotspots=true`: points of interest (rims, headlights …) as fractions 0–1 of the image width/height."},"image_url":{"type":"string","format":"uri","description":"Signed, transform-locked CDN URL. Embed directly in an <img>."},"errornotes":{"type":"array","items":{"type":"string"},"description":"Non-fatal fallback codes (see /api/errornotes). Absent when none."}}}}},"paths":{"/api/brands":{"get":{"tags":["Catalog"],"operationId":"listBrands","summary":"List all brands","description":"All brands available to your key (alphabetical). Start here, then drill into a brand.","responses":{"200":{"description":"All brands.","content":{"application/json":{"schema":{"type":"object","properties":{"brands":{"type":"array","items":{"type":"string"}}}},"example":{"brands":["Abarth","Acura","Alfa_Romeo","Audi","BMW","Bentley","Ferrari","Ford","Porsche"]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/brands\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/brands\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}],"parameters":[{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}]}},"/api/{brand}":{"get":{"tags":["Catalog"],"operationId":"listModels","summary":"Models for a brand","description":"Every model under one brand. Drill into a model name to get its available years.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Models for the brand.","content":{"application/json":{"schema":{"type":"object"},"example":{"brand":"Abarth","resolution":"default","format":"png","models":["124_Spider_Abarth","500_Abarth","595_Abarth","695_Abarth"]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth\""}]}},"/api/{brand}/{model}":{"get":{"tags":["Catalog"],"operationId":"listYears","summary":"Years for a model","description":"Available model years (generations) for one model. A requested year you pass later snaps to the nearest one here.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias.","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Years for the model.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"brand":"Abarth","model":"124_Spider_Abarth","resolution":"default","format":"png","years":[2016]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth\""}]}},"/api/{brand}/{model}/{year}":{"get":{"tags":["Catalog"],"operationId":"listVariants","summary":"Variants for a year","description":"Body variants (e.g. saloon, coupé, cabrio) offered in that model year.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand.","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Variants.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"resolution":"default","format":"png","variants":["Basis"]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016\""}]}},"/api/{brand}/{model}/{year}/{variant}":{"get":{"tags":["Catalog"],"operationId":"listTrims","summary":"Trims for a variant","description":"Trim levels for that variant — the last catalog step before you pick a view and resolve an image.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand.","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Trims.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","resolution":"default","format":"png","trims":["base"]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}":{"get":{"tags":["Catalog"],"operationId":"listViews","summary":"Views for a config","description":"Which views exist for this exact car. `true` = available, `\"not_allowed\"` = the view exists but your key may not use it. Feed a view name into the image endpoint.\n\n**API v2 add-on:** for a car with add-on images a key with the add-on also gets **`groups`** — the studio groups, `360` and `lifestyle` with their number of images (see *API v2 Add-on*), e.g. `groups: [{ group: \"hero\", images: 8 }, { group: \"360\", images: 64 }, { group: \"lifestyle\", images: 14 }]`.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"base"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Views map.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","trim":"base","resolution":"default","format":"png","views":{"front":true,"front_left":true,"left":true,"rear_left":true,"rear":true,"rear_right":true,"right":true,"front_right":true}}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/colors":{"get":{"tags":["Catalog"],"operationId":"listConfigColors","summary":"Colors for a config","description":"Colors shown for this car, kept deliberately compact: the Vehicleimagery house colors (available on every car) plus the colors of this car's own brand. **Any** active catalog color can still be requested on any car. Pass a name as `?color=` or an id as `?color_id=` on the image endpoint. `colors` holds the plain names, `color_details` the same selection with `color_id`, `color_name` and `color_make`: names can exist more than once, ids are unique. The full catalog with brand pairing is at `/api/colors`; see also the *Paint colors* guide at `/info/guides/colors`.\n\nColors belong to the brand: if this exact configuration is not in the catalog (for example an unknown trim), the brand's colors are returned anyway, with `id: null` and `vehicle_found: false`. Only an unknown brand answers `404`.\n\n**API v2 add-on:** for a car with add-on images the response also has `any_hex_color: true` — its paint can additionally be set to any 6-digit hex colour, e.g. `?color=c8102e`.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"base"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Colors.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","trim":"base","resolution":"default","format":"png","colors":["default","black","white","blue","orange","wine_red"],"color_details":[{"color_id":0,"color_name":"default","color_make":"Vehicleimagery"},{"color_id":10926,"color_name":"black","color_make":"Vehicleimagery"}]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base/colors\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/features":{"get":{"tags":["Catalog"],"operationId":"getConfigFeatures","summary":"Features for a config","description":"Whether shadow / transparency / mirroring are available for this exact car (and allowed by your plan).\n\n**API v2 add-on:** for a car with add-on images `features.addon` tells which add-on options work on it — `lights`, `color_hex`, `background`, `windows_dark`, `plate`, `hotspots` — e.g. `{ shadow: true, transparent: true, shadow_and_transparent: true, mirroring: false, addon: { lights: true, color_hex: true, background: true, windows_dark: true, plate: true, hotspots: true } }`. A reflective floor (`mirroring`) is not available for add-on images yet.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"base"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Feature availability.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","trim":"base","resolution":"default","format":"png","features":{"shadow":true,"transparent":true,"shadow_and_transparent":true,"mirroring":true}}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base/features\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/all":{"get":{"tags":["Catalog"],"operationId":"getConfigAll","summary":"Everything for a config (one call)","description":"Views **+** features **+** colors for one car in a single response — saves three round-trips. The colors list is the car's shown set (house colors + its brand's colors), like the /colors endpoint, with `color_details` adding the id of each color.\n\n**API v2 add-on:** for a car with add-on images the response also has `groups` (studio groups, `360`, `lifestyle` with their number of images), `any_hex_color` and `features.addon`.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"base"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Combined overview.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","trim":"base","resolution":"default","format":"png","views":{"front":true,"front_left":true,"left":true,"rear":true,"right":true},"features":{"shadow":true,"transparent":true,"shadow_and_transparent":true,"mirroring":true},"colors":["default","black","white"]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base/all\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/{view}":{"get":{"tags":["Image"],"operationId":"resolveImage","summary":"Resolve a signed image URL","description":"The core endpoint. Returns metadata plus a signed **`image_url`** you embed directly in an `<img>`.\n\nAdd any option as a query param. Anything not available for the car or not allowed by your plan falls back to the closest valid value and is reported in `errornotes` (rather than failing).\n\n**Examples**\n- `?format=webp&width=1200` — WebP, 1200 px wide.\n- `?ratio=16:9&format=jpeg` — padded to 16:9.\n- `?mirroring=true` — car on a reflective showroom floor.\n- `?transparency=true&format=png` — cut-out on transparent background.\n- `?color=wine_red` — repainted in the wine_red house color.\n- `?color=Racing%20Red&shadow=true` — Kia catalog paint plus studio shadow.\n\n**API v2 add-on:** for cars with add-on images the extra options below apply (`lights`, `background`, hex `color`, `windows`, `plate`, `fit`, `size`, `hotspots`), e.g. `?color=c8102e&windows=dark&size=1080p`. With the add-on `{view}` can also be a studio group (`hero`, `steered`, `extra`, `drone`): that lists the group's images — see *API v2 Add-on*.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name or alias (case-insensitive).","schema":{"type":"string"},"example":"Abarth"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"124_Spider_Abarth"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2016},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"Basis"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"base"},{"name":"view","in":"path","required":true,"description":"View name — see /api/views (e.g. front, front_left, rear).","schema":{"type":"string"},"example":"front_left"},{"name":"format","in":"query","required":false,"description":"Delivery format. `auto` picks WebP. Original is PNG.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"webp"},{"name":"resolution","in":"query","required":false,"description":"Size/quality preset (overridden by explicit width/quality).","schema":{"type":"string","enum":["default","thumb","small","medium","large","full"]},"example":"medium"},{"name":"ratio","in":"query","required":false,"description":"Pad to an aspect ratio. `default` = native.","schema":{"type":"string","enum":["1:1","4:3","3:2","16:9","16:10","2:1","21:9","5:4","3:4","4:5","2:3","9:16"]},"example":"16:9"},{"name":"width","in":"query","required":false,"description":"Explicit width in px (snapped to the width ladder).","schema":{"type":"integer"},"example":1200},{"name":"height","in":"query","required":false,"description":"Explicit height in px.","schema":{"type":"integer"}},{"name":"quality","in":"query","required":false,"description":"Encoder quality (40–100).","schema":{"type":"integer","minimum":40,"maximum":100},"example":82},{"name":"color","in":"query","required":false,"description":"Paint color by name (case-insensitive; URL-encode spaces, e.g. `Racing%20Red`). The car is repainted on demand — finish-true, reflections and trim preserved. A car's `/colors` lists its shown set (house colors + its brand's colors); ANY active color from `/api/colors` can be requested. Unknown color → default paint + errornote `F04`. Combines with every other option. **API v2 add-on:** catalogue colours come with their real finish (metallic, pearl, matte, satin, chrome, aluminium, carbon). Also any 6-digit hex paint colour, e.g. `c8102e` (gloss), or a hex colour with a finish: `<finish>_<hex>`, e.g. `metallic_315fbf`, `matte_283b56`, `carbon_545454`, `chrome_eac972`; metallic, pearl and satin take an optional second colour for the effect, e.g. `metallic_315fbf_5693f9`. Finishes: `solid`, `metallic`, `pearl`, `satin`, `matte` (also `matt`), `chrome`, `aluminium`, `carbon`.","schema":{"type":"string"},"example":"wine_red"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`. Use it when a name exists more than once: the id is unique and never changes. Takes priority over `color`; `0` is the original paint. Unknown or inactive id → same as an unknown name (default paint + errornote `F04`).","schema":{"type":"integer"},"example":1544},{"name":"shadow","in":"query","required":false,"description":"Studio ground shadow — produced at delivery time, available for every exterior view. With `mirroring=true` this controls the underbody shadow instead.","schema":{"type":"string","enum":["true","false"]},"example":"true"},{"name":"transparency","in":"query","required":false,"description":"Transparent cut-out background — available for every exterior view (use with PNG/WebP).","schema":{"type":"string","enum":["true","false"]},"example":"true"},{"name":"ground","in":"query","required":false,"description":"Sit the car on the ground (needs a transparent variant).","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"mirroring","in":"query","required":false,"description":"Reflective floor. `true` = with underbody shadow, `clean` = reflection only. Needs a transparent variant.","schema":{"type":"string","enum":["true","clean"]},"example":"true"},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"background","in":"query","required":false,"description":"**API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`).","schema":{"type":"string"},"example":"f4f4f4"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"fit","in":"query","required":false,"description":"**API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover.","schema":{"type":"string","enum":["contain","cover"]},"example":"contain"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"hotspots","in":"query","required":false,"description":"**API v2 add-on:** add `hotspots` to the response — points of interest (rims, headlights …) as fractions 0–1 of the image, e.g. for interactive viewers.","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata including the signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":47456,"brand":"Abarth","model":"124_Spider_Abarth","year":2016,"variant":"Basis","trim":"base","version":"v1","view":"front_left","resolution":"default","ratio":"default","format":"webp","settings":{"color":"default","color_id":0,"color_manufacture":null,"shadow":false,"transparency":false,"watermark":false,"ground":false,"mirroring":false,"width":800},"image_url":"https://cdn.vehicleimagery.com/source/01KVJC5S0S639G46CASP7EK8HG?f=webp&q=82&w=800&verify=…&expire=…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base/front_left?format=webp&width=1200\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Abarth/124_Spider_Abarth/2016/Basis/base/front_left?format=webp&width=1200\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/hero":{"get":{"tags":["API v2 Add-on"],"operationId":"listGroupImages","summary":"Studio group: list its images","description":"**API v2 add-on — keys with v2 access.** The images of one studio group. `hero` stands for any studio group of the car; which ones a car has is in `groups` on the trim endpoint.\n\n| Group | What it shows | Image names (example car) |\n|---|---|---|\n| `hero` | Hero shots: three-quarter views, some taken from ground level | `front_left`, `front_left_ground`, `front_right`, `front_right_ground`, `left_ground`, `rear_left`, `rear_right`, `right_ground` (8) |\n| `steered` | Front wheels turned, from three camera heights | `front_left`, `front_left_eye`, `front_left_high`, `front_left_low`, `front_right`, … (8) |\n| `extra` | More angles: every side and corner from three camera heights, corners also at 30° and 45° | `front_eye`, `front_high`, `front_low`, `front_left_30`, `front_left_30_eye`, `front_left_45_high`, `rear_right_45_low`, `left_eye` … (56) |\n| `drone` | From above: angled shots, steep views and straight from the top | `front_left`, `front_right`, `front_steep`, `rear_left`, `rear_right`, `rear_steep`, `top` (7) |\n\n**Image names** are built from the side (`front`, `front_left`, `left`, `rear_right` …) plus suffixes: `_eye` = eye level, `_high` = camera above, `_low` = camera low, `_ground` = at ground level, `_30` / `_45` = corner view at 30° / 45°, `_steep` = steep from above, `top` = straight down. The exact list per car is always in `views` of this endpoint.\n\nPick an image from `views` and resolve it with *Resolve a studio group image*, e.g. `GET /api/Audi/Q9/2026/SUV/Default/hero/front_left`.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Images of the group.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","group":"hero","resolution":"default","format":"png","views":{"front_left":true,"front_left_ground":true,"front_right":true,"front_right_ground":true,"rear_left":true,"rear_right":true}}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/hero\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/steered\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/hero\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/{group}/{image}":{"get":{"tags":["API v2 Add-on"],"operationId":"resolveGroupImage","summary":"Resolve a studio group image","description":"**API v2 add-on — keys with v2 access.** One image of a studio group: `hero` (hero shots, some from ground level), `steered` (front wheels turned), `extra` (more angles from three camera heights, corners also at 30° and 45°), `drone` (from above). The groups and their image names are explained on *Studio group: list its images*.\n\n`GET …/{trim}` lists the groups a car has (`groups`), `GET …/{trim}/{group}` lists the images of one group (`views`). Then resolve one here. Takes every image option, including the add-on options (`lights`, `background`, hex `color`, `windows`, `plate`, `fit`, `size`, `hotspots`).\n\n**Example:** `GET /api/Audi/Q9/2026/SUV/Default/hero` → `{ group: \"hero\", views: { front_left: true, front_left_ground: true, … } }`, then `GET /api/Audi/Q9/2026/SUV/Default/hero/front_left?color=c8102e&size=1080p&format=webp`.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"group","in":"path","required":true,"description":"Studio group: hero, steered, extra, drone (see `groups` on the trim endpoint).","schema":{"type":"string"},"example":"hero"},{"name":"image","in":"path","required":true,"description":"Image of the group (see `views` of the group).","schema":{"type":"string"},"example":"front_left"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"webp"},{"name":"ratio","in":"query","required":false,"description":"Aspect ratio.","schema":{"type":"string","enum":["1:1","4:3","3:2","16:9","16:10","2:1","21:9","5:4","3:4","4:5","2:3","9:16"]},"example":"16:9"},{"name":"width","in":"query","required":false,"description":"Width in px.","schema":{"type":"integer"},"example":1200},{"name":"color","in":"query","required":false,"description":"Paint: catalog colour name, 6-digit hex or `<finish>_<hex>` (e.g. `metallic_315fbf`).","schema":{"type":"string"},"example":"c8102e"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`. Use it when a name exists more than once: the id is unique and never changes. Takes priority over `color`; `0` is the original paint. Unknown or inactive id → same as an unknown name (default paint + errornote `F04`).","schema":{"type":"integer"},"example":1544},{"name":"shadow","in":"query","required":false,"description":"Studio ground shadow.","schema":{"type":"string","enum":["true","false"]},"example":"true"},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"background","in":"query","required":false,"description":"**API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`).","schema":{"type":"string"},"example":"f4f4f4"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"fit","in":"query","required":false,"description":"**API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover.","schema":{"type":"string","enum":["contain","cover"]},"example":"contain"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"hotspots","in":"query","required":false,"description":"**API v2 add-on:** add `hotspots` to the response — points of interest (rims, headlights …) as fractions 0–1 of the image, e.g. for interactive viewers.","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata including the signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","version":"v2","view":"hero/front_left","resolution":"default","ratio":"default","format":"webp","settings":{"color":"c8102e","color_id":null,"color_manufacture":null,"shadow":false,"transparency":false,"watermark":false,"ground":false,"mirroring":false,"lights":"on","background":"white","windows":"see_through","plate":"none","size":"1080p"},"image_url":"https://api.vehicleimagery.com/image/3/hero/front-left.webp?color=c8102e&lights=on&h=1920&kid=…&v=…&exp=…&sig=…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/hero\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/hero/front_left?color=c8102e&size=1080p&format=webp\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/hero/front_left?color=c8102e&size=1080p&format=webp\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/360":{"get":{"tags":["API v2 Add-on"],"operationId":"listSpinRings","summary":"360° spin: rings","description":"**API v2 add-on — keys with v2 access.** The 360° rings of a car: `eye_level`, `low` and `high`, each with its number of frames. A spin starts at the front and turns to the left. Load all frames of a ring with *360° spin: all frames of a ring*.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Rings.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","group":"360","rings":[{"ring":"low","frames":16,"start":"front","direction":"left"},{"ring":"high","frames":16,"start":"front","direction":"left"},{"ring":"eye_level","frames":32,"start":"front","direction":"left"}]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/360\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/360\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/360/{ring}":{"get":{"tags":["API v2 Add-on"],"operationId":"getSpinFrames","summary":"360° spin: all frames of a ring","description":"**API v2 add-on — keys with v2 access.** Every frame of one ring in order, each with its own signed `image_url` and its angle — a spin viewer needs all of them. The image options (format, width, colour, background …) apply to every frame, so a spin is always consistent.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"ring","in":"path","required":true,"description":"Ring: eye_level, low or high (see *360° spin: rings*).","schema":{"type":"string"},"example":"eye_level"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"webp"},{"name":"width","in":"query","required":false,"description":"Width in px.","schema":{"type":"integer"},"example":800},{"name":"color","in":"query","required":false,"description":"Paint: catalog colour name, 6-digit hex or `<finish>_<hex>` (e.g. `metallic_315fbf`).","schema":{"type":"string"},"example":"c8102e"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`. Use it when a name exists more than once: the id is unique and never changes. Takes priority over `color`; `0` is the original paint. Unknown or inactive id → same as an unknown name (default paint + errornote `F04`).","schema":{"type":"integer"},"example":1544},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"background","in":"query","required":false,"description":"**API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`).","schema":{"type":"string"},"example":"f4f4f4"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"fit","in":"query","required":false,"description":"**API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover.","schema":{"type":"string","enum":["contain","cover"]},"example":"contain"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"All frames of the ring.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","group":"360","ring":"eye_level","frames":32,"start":"front","direction":"left","resolution":"default","ratio":"default","format":"webp","settings":{"color":"default","lights":"off","background":"white","windows":"see_through","plate":"none"},"images":[{"frame":1,"angle":0,"view":"360/eye_level/01","image_url":"https://api.vehicleimagery.com/image/3/360-eye-level/01-of-32.webp?…"},{"frame":2,"angle":11.25,"view":"360/eye_level/02","image_url":"https://api.vehicleimagery.com/image/3/360-eye-level/02-of-32.webp?…"}]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/360/eye_level?format=webp&width=800\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/360/eye_level?format=webp&width=800\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/lifestyle":{"get":{"tags":["API v2 Add-on"],"operationId":"listLifestyleScenes","summary":"Lifestyle: scenes","description":"**API v2 add-on — keys with v2 access.** The lifestyle scenes of a car — the car placed in a real-looking setting — with their number of images.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Scenes.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","group":"lifestyle","scenes":[{"scene":"garden_pavilion","images":14}]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/lifestyle\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/lifestyle/{scene}":{"get":{"tags":["API v2 Add-on"],"operationId":"listLifestyleImages","summary":"Lifestyle: images of a scene","description":"**API v2 add-on — keys with v2 access.** The images of one lifestyle scene (`views`). Resolve one with *Lifestyle: resolve an image*.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"scene","in":"path","required":true,"description":"Scene (see *Lifestyle: scenes*).","schema":{"type":"string"},"example":"garden_pavilion"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Images of the scene.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","group":"lifestyle","scene":"garden_pavilion","resolution":"default","format":"png","views":{"front_left_glass_wall":true,"front_left_leaves":true,"front_right_leaves":true,"front_rocks":true}}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/lifestyle/garden_pavilion\""}]}},"/api/{brand}/{model}/{year}/{variant}/{trim}/lifestyle/{scene}/{image}":{"get":{"tags":["API v2 Add-on"],"operationId":"resolveLifestyleImage","summary":"Lifestyle: resolve an image","description":"**API v2 add-on — keys with v2 access.** One lifestyle image with a signed `image_url`. Lifestyle images are full scenes: they always fill the frame (`fit=cover`), a `background` does not apply (errornote `B32`). Paint (`color`), `lights`, `size`, `ratio` and `format` work as everywhere.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name (updated catalog naming for add-on cars).","schema":{"type":"string"},"example":"Audi"},{"name":"model","in":"path","required":true,"description":"Model name.","schema":{"type":"string"},"example":"Q9"},{"name":"year","in":"path","required":true,"description":"Model year (4-digit). If the exact year is missing, the nearest available generation is used (errornote `Y01`).","schema":{"type":"integer"},"example":2026},{"name":"variant","in":"path","required":true,"description":"Body variant.","schema":{"type":"string"},"example":"SUV"},{"name":"trim","in":"path","required":true,"description":"Trim level.","schema":{"type":"string"},"example":"Default"},{"name":"scene","in":"path","required":true,"description":"Scene.","schema":{"type":"string"},"example":"garden_pavilion"},{"name":"image","in":"path","required":true,"description":"Image of the scene (see *Lifestyle: images of a scene*).","schema":{"type":"string"},"example":"front_left_glass_wall"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"jpeg"},{"name":"ratio","in":"query","required":false,"description":"Aspect ratio (cropped to fill).","schema":{"type":"string","enum":["1:1","4:3","3:2","16:9","16:10","2:1","21:9","5:4","3:4","4:5","2:3","9:16"]},"example":"16:9"},{"name":"color","in":"query","required":false,"description":"Paint: catalog colour name, 6-digit hex or `<finish>_<hex>` (e.g. `metallic_315fbf`).","schema":{"type":"string"},"example":"c8102e"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`. Use it when a name exists more than once: the id is unique and never changes. Takes priority over `color`; `0` is the original paint. Unknown or inactive id → same as an unknown name (default paint + errornote `F04`).","schema":{"type":"integer"},"example":1544},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"hotspots","in":"query","required":false,"description":"**API v2 add-on:** add `hotspots` to the response — points of interest (rims, headlights …) as fractions 0–1 of the image, e.g. for interactive viewers.","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata including the signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","version":"v2","view":"lifestyle/garden_pavilion/front_left_glass_wall","resolution":"default","ratio":"default","format":"jpeg","settings":{"color":"default","color_id":null,"color_manufacture":null,"shadow":false,"transparency":false,"watermark":false,"ground":false,"mirroring":false,"lights":"on","background":null,"windows":"see_through","plate":"none","fit":"cover"},"image_url":"https://api.vehicleimagery.com/image/3/lifestyle/garden-pavilion/front-left-glass-wall.jpeg?kid=…&v=…&exp=…&sig=…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Audi/Q9/2026/SUV/Default/lifestyle/garden_pavilion/front_left_glass_wall?format=jpeg&ratio=16:9\""}]}},"/api/id/{id}/{group}/{image}":{"get":{"tags":["API v2 Add-on"],"operationId":"resolveGroupImageById","summary":"Studio group image by id","description":"**API v2 add-on — keys with v2 access.** Same as *Resolve a studio group image*, addressed by the car's stable id instead of its names. `GET /api/id/{id}/{group}` lists the images of a group. Cars that exist only in the add-on have ids from `900000000`.","parameters":[{"name":"id","in":"path","required":true,"description":"Stable config id.","schema":{"type":"integer"},"example":900000003},{"name":"group","in":"path","required":true,"description":"Studio group: hero, steered, extra, drone.","schema":{"type":"string"},"example":"hero"},{"name":"image","in":"path","required":true,"description":"Image of the group.","schema":{"type":"string"},"example":"front_left"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"webp"},{"name":"color","in":"query","required":false,"description":"Paint: catalog colour name, 6-digit hex or `<finish>_<hex>` (e.g. `metallic_315fbf`).","schema":{"type":"string"},"example":"c8102e"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`. Use it when a name exists more than once: the id is unique and never changes. Takes priority over `color`; `0` is the original paint. Unknown or inactive id → same as an unknown name (default paint + errornote `F04`).","schema":{"type":"integer"},"example":1544},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"background","in":"query","required":false,"description":"**API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`).","schema":{"type":"string"},"example":"f4f4f4"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"fit","in":"query","required":false,"description":"**API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover.","schema":{"type":"string","enum":["contain","cover"]},"example":"contain"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"hotspots","in":"query","required":false,"description":"**API v2 add-on:** add `hotspots` to the response — points of interest (rims, headlights …) as fractions 0–1 of the image, e.g. for interactive viewers.","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata including the signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","version":"v2","view":"hero/front_left","resolution":"default","ratio":"default","format":"webp","settings":{"color":"c8102e","color_id":null,"color_manufacture":null,"shadow":false,"transparency":false,"watermark":false,"ground":false,"mirroring":false,"lights":"on","background":"white","windows":"see_through","plate":"none","size":"1080p"},"image_url":"https://api.vehicleimagery.com/image/3/hero/front-left.webp?color=c8102e&lights=on&h=1920&kid=…&v=…&exp=…&sig=…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/hero\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/hero/front_left?color=c8102e&size=1080p&format=webp\""}]}},"/api/id/{id}/360/{ring}":{"get":{"tags":["API v2 Add-on"],"operationId":"getSpinFramesById","summary":"360° spin by id","description":"**API v2 add-on — keys with v2 access.** Same as *360° spin: all frames of a ring*, addressed by the car's stable id. `GET /api/id/{id}/360` lists the rings.","parameters":[{"name":"id","in":"path","required":true,"description":"Stable config id.","schema":{"type":"integer"},"example":900000003},{"name":"ring","in":"path","required":true,"description":"Ring: eye_level, low or high.","schema":{"type":"string"},"example":"eye_level"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"webp"},{"name":"width","in":"query","required":false,"description":"Width in px.","schema":{"type":"integer"},"example":800},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"background","in":"query","required":false,"description":"**API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`).","schema":{"type":"string"},"example":"f4f4f4"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"fit","in":"query","required":false,"description":"**API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover.","schema":{"type":"string","enum":["contain","cover"]},"example":"contain"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"All frames of the ring.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":900000003,"group":"360","ring":"eye_level","frames":32,"start":"front","direction":"left","images":[{"frame":1,"angle":0,"view":"360/eye_level/01","image_url":"https://api.vehicleimagery.com/image/3/360-eye-level/01-of-32.webp?…"}]}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/360\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/360/eye_level?format=webp&width=800\""}]}},"/api/id/{id}/lifestyle/{scene}/{image}":{"get":{"tags":["API v2 Add-on"],"operationId":"resolveLifestyleImageById","summary":"Lifestyle image by id","description":"**API v2 add-on — keys with v2 access.** Same as *Lifestyle: resolve an image*, addressed by the car's stable id. `GET /api/id/{id}/lifestyle` lists the scenes, `GET /api/id/{id}/lifestyle/{scene}` their images.","parameters":[{"name":"id","in":"path","required":true,"description":"Stable config id.","schema":{"type":"integer"},"example":900000003},{"name":"scene","in":"path","required":true,"description":"Scene.","schema":{"type":"string"},"example":"garden_pavilion"},{"name":"image","in":"path","required":true,"description":"Image of the scene.","schema":{"type":"string"},"example":"front_left_glass_wall"},{"name":"format","in":"query","required":false,"description":"Delivery format.","schema":{"type":"string","enum":["png","webp","jpeg","avif","auto"]},"example":"jpeg"},{"name":"ratio","in":"query","required":false,"description":"Aspect ratio (cropped to fill).","schema":{"type":"string","enum":["1:1","4:3","3:2","16:9","16:10","2:1","21:9","5:4","3:4","4:5","2:3","9:16"]},"example":"16:9"},{"name":"lights","in":"query","required":false,"description":"**API v2 add-on:** headlights on or off. **Default `on`:** without the parameter the image comes with the lights on wherever the image has them; send `lights=off` for an image without lights. An image with no light variant simply comes without lights; with `lights=on` it also carries errornote `L26`.","schema":{"type":"string","enum":["on","off"]},"example":"off"},{"name":"windows","in":"query","required":false,"description":"**API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`.","schema":{"type":"string","enum":["see_through","dark"]},"example":"dark"},{"name":"plate","in":"query","required":false,"description":"**API v2 add-on:** licence plate — `none` = as in the image (default), `blank` = empty plate, `logo` = your logo on the plate (set up on your key; missing → blank + errornote `N30`), `text` = your own text from `plate_text` (must be enabled for your key, see `addon.plate_text` in `/api/me`; otherwise errornote `O31`).","schema":{"type":"string","enum":["none","blank","logo","text"]},"example":"blank"},{"name":"plate_text","in":"query","required":false,"description":"**API v2 add-on:** the text for `plate=text` — up to 10 characters: letters, digits, spaces and `-` `.` `&`. Written on the plate as sent (upper and lower case kept), centred and as large as the plate allows. Missing, too long or other characters → `400`.","schema":{"type":"string","maxLength":10},"example":"DRIVE 2026"},{"name":"size","in":"query","required":false,"description":"**API v2 add-on:** longest side — `2k` 2560 px, `1080p` 1920 px, `720p` 1280 px, `540p` 960 px, `360p` 640 px, `thumb` 320 px. `width` / `height` win over `size`.","schema":{"type":"string","enum":["2k","1080p","720p","540p","360p","thumb"]},"example":"1080p"},{"name":"hotspots","in":"query","required":false,"description":"**API v2 add-on:** add `hotspots` to the response — points of interest (rims, headlights …) as fractions 0–1 of the image, e.g. for interactive viewers.","schema":{"type":"string","enum":["true"]},"example":"true"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata including the signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":900000003,"brand":"Audi","model":"Q9","year":2026,"variant":"SUV","trim":"Default","version":"v2","view":"lifestyle/garden_pavilion/front_left_glass_wall","resolution":"default","ratio":"default","format":"jpeg","settings":{"color":"c8102e","color_id":null,"color_manufacture":null,"shadow":false,"transparency":false,"watermark":false,"ground":false,"mirroring":false,"lights":"on","background":"white","windows":"see_through","plate":"none","size":"1080p"},"image_url":"https://api.vehicleimagery.com/image/3/lifestyle/garden-pavilion/front-left-glass-wall.jpeg?kid=…&v=…&exp=…&sig=…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/lifestyle\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/900000003/lifestyle/garden_pavilion/front_left_glass_wall?format=jpeg&ratio=16:9\""}]}},"/api/getall":{"get":{"tags":["Catalog"],"operationId":"getAll","summary":"Bulk dump of all configurations","description":"Every configuration available to your key in one (large) response — one entry per car **and color** (each car lists the house colors plus its brand's colors). Plan-gated. Use for a one-off sync rather than per-request.\n\n**API v2 add-on:** with the add-on, cars with add-on images are included too and carry `groups`, e.g. `{ id: 900000003, path: \"Audi/Q9/2026/SUV/Default\", views: [\"front\", \"front_left\", …], groups: [{ group: \"hero\", images: 8 }, { group: \"360\", images: 64 }, { group: \"lifestyle\", images: 14 }] }`. Cars that exist only in the add-on have ids from `900000000`.","responses":{"200":{"description":"All configurations.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","variant":"Basis","trim":"base","year":2016,"resolution":"default","format":"png","color":"default"},{"id":911,"brand":"Abarth","model":"124_Spider_Abarth","variant":"Basis","trim":"base","year":2016,"resolution":"default","format":"png","color":"wine_red"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/getall\""}],"parameters":[{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}]}},"/vin/{vin}":{"get":{"tags":["Lookup"],"operationId":"lookupVin","summary":"Look up a real vehicle by VIN (Beta)","description":"> **Beta.** This endpoint is live and usable, but still evolving: response fields may change, and decoding coverage and catalogue matching are being improved. Feedback is welcome. Please do not build anything mission-critical on the exact response shape yet.\n\nDecode a 17-character VIN into vehicle data **and** get studio images of the matching car in one call.\n\n**Add-on**: must be enabled for your key. Check `features.vin` in `/api/me`; without it the endpoint returns `403`.\n\n**What you get back**\n1. The decoded vehicle, make, model, year, trim, body, engine, transmission, drivetrain.\n2. A `vehicle` block with the closest car from our catalogue and one signed image URL per view your plan allows.\n\n**Matching** is automatic: the decoded make/model/year/body is mapped onto our catalogue, picking the generation that covers the vehicle's year. Read `vehicle.confidence` to see how close the match is, and `vehicle.matched: false` when nothing suitable exists. The decoded data is still returned in that case.\n\nInvalid VINs are rejected with `400` before anything is charged. A VIN that cannot be decoded returns `404`.","parameters":[{"name":"vin","in":"path","required":true,"description":"17-character Vehicle Identification Number (letters I, O and Q are never used).","schema":{"type":"string"},"example":"WBA8E9G50GNT47251"}],"responses":{"200":{"description":"Decoded vehicle plus the matched catalogue car and its images.","content":{"application/json":{"schema":{"type":"object"},"example":{"vin":"WBA8E9G50GNT47251","make":"BMW","model":"3 Series","year":2016,"trim":"328i","body":"Sedan","engine":{"name":"328i","cylinders":4,"displacement_ccm":1997,"horsepower":240,"fuel":"premium unleaded","configuration":"inline"},"transmission":"AUTOMATIC","drivetrain":"rear wheel drive","doors":"4","vehicle":{"matched":true,"confidence":"high","id":993477403,"brand":"BMW","model":"3","year":2012,"variant":"Basis","trim":"base","color":"default","images":{"front":"https://cdn.vehicleimagery.com/…","front_left":"https://cdn.vehicleimagery.com/…"}}}}}},"400":{"description":"The VIN is not a valid 17-character VIN. Nothing is charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid VIN: expected 17 characters (letters I, O, Q are not used)."}}}},"403":{"description":"The VIN add-on is not enabled for your key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"The vin add-on is not enabled for your API key."}}}},"404":{"description":"No data could be found for this VIN.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"No data found for this VIN.","vin":"WBA8E9G50GNT47251"}}}},"502":{"description":"Lookup temporarily unavailable, retry shortly. Nothing is charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"VIN lookup temporarily unavailable."}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/vin/WBA8E9G50GNT47251\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/vin/WBA8E9G50GNT47251\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/plate/{plate}":{"get":{"tags":["Lookup"],"operationId":"lookupPlate","summary":"Look up a real vehicle by registration number (Beta)","description":"> **Beta.** This endpoint is live and usable, but still evolving: response fields may change, and country coverage and catalogue matching are being expanded. Feedback is welcome. Please do not build anything mission-critical on the exact response shape yet.\n\nTurn a registration number into vehicle data **and** studio images of that exact car, including its **real paint colour** where we carry a match.\n\n**Add-on**: must be enabled for your key. Check `features.plate` in `/api/me`; without it the endpoint returns `403`.\n\n**What you get back**\n1. The vehicle behind the plate: make, model, year, body, colour, engine, transmission, and its **VIN**.\n2. A `vehicle` block with the matched catalogue car and one signed image URL per view your plan allows.\n\n**Colour is applied automatically.** If the car is registered as white, the images come back in white. Colours we do not carry (e.g. silver, beige) fall back to the standard finish, `vehicle.color` always states what was actually used.\n\n**Coverage varies by country.** The UK, most of Europe, the USA and a number of other markets are supported; some countries restrict registration lookups by law. Spaces and hyphens in the plate are ignored.","parameters":[{"name":"plate","in":"path","required":true,"description":"Registration number. Spaces and hyphens are ignored.","schema":{"type":"string"},"example":"AB12CDE"},{"name":"country","in":"query","required":false,"description":"Country of registration. Defaults to the UK.","schema":{"type":"string"},"example":"uk"}],"responses":{"200":{"description":"Vehicle behind the plate plus the matched catalogue car and its images.","content":{"application/json":{"schema":{"type":"object"},"example":{"plate":"AB12CDE","make":"Vauxhall","model":"Astra SRI Turbo","year":2017,"body":"Hatchback","colour":"White","vin":"W0LBF6EC2HG138041","engine":{"displacement_ccm":1399,"fuel":"Petrol","code":"B 14 XFT"},"transmission":"Manual","doors":5,"seats":5,"vehicle":{"matched":true,"confidence":"medium","id":402118773,"brand":"Vauxhall","model":"Astra_Mk7","year":2015,"variant":"Basis","trim":"base","color":"white","images":{"front":"https://cdn.vehicleimagery.com/…","front_left":"https://cdn.vehicleimagery.com/…"}}}}}},"400":{"description":"The registration number is not usable. Nothing is charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid registration number."}}}},"403":{"description":"The plate add-on is not enabled for your key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"The plate add-on is not enabled for your API key."}}}},"404":{"description":"No vehicle found for this registration number.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"No data found for this registration number.","plate":"AB12CDE"}}}},"502":{"description":"Lookup temporarily unavailable, retry shortly. Nothing is charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Plate lookup temporarily unavailable."}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/plate/AB12CDE\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/plate/AB12CDE\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/id/{id}":{"get":{"tags":["Catalog"],"operationId":"resolveById","summary":"Everything by stable id","description":"Resolve a configuration by its **stable id** (returned by every catalog endpoint; never changes). Returns one entry per available view — each identical to the single-view image response, including the signed `image_url`. All image options (`format`, `color`, `shadow`, `width`, …) apply to every view.\n\n**API v2 add-on:** works the same for add-on cars (ids from `900000000`), and their groups are reachable by id too — see *Studio group image by id*, *360° spin by id* and *Lifestyle image by id*.","parameters":[{"name":"id","in":"path","required":true,"description":"Stable config id.","schema":{"type":"integer"},"example":671025573},{"name":"color","in":"query","required":false,"description":"Paint color by name, as on the image endpoint. A name can exist more than once; use `color_id` for exactly one color.","schema":{"type":"string"},"example":"wine_red"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`: unique and permanent. Takes priority over `color`; `0` is the original paint.","schema":{"type":"integer"},"example":1544},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"One entry per view.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":671025573,"brand":"BMW","model":"2","year":2021,"variant":"Basis","trim":"base","view":"front","resolution":"default","ratio":"default","format":"png","image_url":"https://cdn.vehicleimagery.com/…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/671025573?format=webp&width=800\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/671025573?color_id=1544\""}]}},"/api/id/{id}/{view}":{"get":{"tags":["Image"],"operationId":"resolveImageById","summary":"Single view by stable id","description":"Exactly the single-view image endpoint, addressed by the stable config id instead of names. All options and fallbacks behave identically.","parameters":[{"name":"id","in":"path","required":true,"description":"Stable config id.","schema":{"type":"integer"},"example":671025573},{"name":"view","in":"path","required":true,"description":"View name — see /api/views.","schema":{"type":"string"},"example":"front_left"},{"name":"color","in":"query","required":false,"description":"Paint color by name, as on the image endpoint. A name can exist more than once; use `color_id` for exactly one color.","schema":{"type":"string"},"example":"wine_red"},{"name":"color_id","in":"query","required":false,"description":"Paint color by its id from `/api/colors`: unique and permanent. Takes priority over `color`; `0` is the original paint.","schema":{"type":"integer"},"example":1544},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata incl. signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":671025573,"brand":"BMW","model":"2","year":2021,"variant":"Basis","trim":"base","version":"v1","view":"front_left","format":"webp","settings":{"color":"Fern Green Metallic","color_id":1544,"color_manufacture":"BMW"},"image_url":"https://cdn.vehicleimagery.com/…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/671025573/front_left?color=wine_red&format=webp&width=1200\""},{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/id/671025573/front_left?color_id=1544&format=webp&width=1200\""}]}},"/api/{brand}/{model}/image":{"get":{"tags":["Image"],"operationId":"getModelImage","summary":"One image per model","description":"A representative image of a model without knowing year, body style or trim — e.g. for a model picker. `/api/{brand}/{model}/modelimage` is the same endpoint.\n\nThe car is chosen by a fixed rule, so the same model always returns the same car: the newest year, the most common body style of that year, the base trim (otherwise the first), and the `front_left` view (otherwise the first exterior view your plan allows). Narrow it down with `year`, `variant` or `view`.\n\nThe response is exactly the single-view image response of the chosen car — `id`, `year`, `variant` and `trim` tell you which one, so you can continue with the catalog or `/api/id/{id}`. All image options (`format`, `width`, `color`, …) apply, and it counts like any single image.","parameters":[{"name":"brand","in":"path","required":true,"description":"Brand name — see /api/brands.","schema":{"type":"string"},"example":"Volkswagen"},{"name":"model","in":"path","required":true,"description":"Model name — see /api/{brand}.","schema":{"type":"string"},"example":"Golf"},{"name":"year","in":"query","required":false,"description":"Use the generation of this year instead of the newest (same rule as the catalog).","schema":{"type":"integer"},"example":2019},{"name":"variant","in":"query","required":false,"description":"Only this body style (equivalent names like `Kombi` / `Estate` work as in the catalog).","schema":{"type":"string"},"example":"Estate"},{"name":"view","in":"query","required":false,"description":"Another view than `front_left` — see /api/views.","schema":{"type":"string"},"example":"front"},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Image metadata incl. signed `image_url`.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImageResult"}},"example":[{"id":943320027,"brand":"Volkswagen","model":"Golf","year":2024,"variant":"Hatchback","trim":"Life","version":"v1","view":"front_left","resolution":"default","ratio":"default","format":"webp","image_url":"https://cdn.vehicleimagery.com/…"}]}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"Unknown brand or model, or no image for it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"No image found for this model — check /api/{brand} for valid models.","code":"model_image_not_found"}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/Volkswagen/Golf/image?format=webp&width=800\""},{"lang":"JavaScript","label":"fetch","source":"const res = await fetch(\n  \"https://api.vehicleimagery.com/api/Volkswagen/Golf/image?format=webp&width=800\",\n  { headers: { \"x-api-key\": \"YOUR_API_KEY\" } },\n);\nconst data = await res.json();"}]}},"/api/formats":{"get":{"tags":["Reference"],"operationId":"listFormats","summary":"Deliverable formats","description":"Image formats your plan can request.","responses":{"200":{"description":"Formats.","content":{"application/json":{"schema":{"type":"object"},"example":{"formats":["png","webp","jpeg","avif"]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/formats\""}]}},"/api/sizes":{"get":{"tags":["Reference"],"operationId":"listSizes","summary":"Width ladder + quality range","description":"Allowed widths (an explicit `width` snaps to the nearest of these) and the quality bounds. Also available at `/api/widths`.\n\n**API v2 add-on:** with the add-on the response adds `addon.sizes` — the `size` presets by longest side.","responses":{"200":{"description":"Sizes.","content":{"application/json":{"schema":{"type":"object"},"example":{"widths":[200,400,800,1200,1600,2000],"quality":{"min":40,"max":100,"default":82},"addon":{"sizes":{"2k":2560,"1080p":1920,"720p":1280,"540p":960,"360p":640,"thumb":320},"note":"API v2 add-on: `size` sets the longest side; width/height win over size."}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/sizes\""}]}},"/api/ratios":{"get":{"tags":["Reference"],"operationId":"listRatios","summary":"Aspect-ratio presets","description":"Ratios you can pass as `?ratio=`.","responses":{"200":{"description":"Ratios.","content":{"application/json":{"schema":{"type":"object"},"example":{"ratios":[{"ratio":"1:1","label":"Square (grid, Instagram)"},{"ratio":"4:3","label":"Classic"},{"ratio":"3:2","label":"Photo"},{"ratio":"16:9","label":"Widescreen"}]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/ratios\""}]}},"/api/resolutions":{"get":{"tags":["Reference"],"operationId":"listResolutions","summary":"Resolution presets","description":"Named size/quality presets you can pass as `?resolution=`.","responses":{"200":{"description":"Resolutions.","content":{"application/json":{"schema":{"type":"object"},"example":{"resolutions":["default","thumb","small","medium","large","full"],"presets":{"thumb":{"width":320,"quality":70,"label":"Thumbnail"},"medium":{"width":1024,"quality":82,"label":"Medium"},"full":{"width":2000,"quality":92,"label":"Full / zoom"}}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/resolutions\""}]}},"/api/options":{"get":{"tags":["Reference"],"operationId":"getOptions","summary":"All delivery options bundled","description":"Everything you can request, plan-filtered, in one call: formats, widths, quality, ratios, resolutions, the `color` option and the modifier flags (shadow/transparency/ground/mirroring/watermark) with whether your plan allows each.\n\n**API v2 add-on:** with the add-on the response adds an `addon` section: the add-on formats, every add-on option your key may use with its values (`lights`, `background`, `color`, `windows`, `plate`, `fit`, `size`, `hotspots`) and the groups.","responses":{"200":{"description":"Bundled options.","content":{"application/json":{"schema":{"type":"object"},"example":{"formats":["png","webp","jpeg","avif"],"widths":[200,400,800,1200,1600,2000],"quality":{"min":40,"max":100,"default":82},"modifiers":{"shadow":{"param":"shadow","values":["true","false"],"allowed":true},"mirroring":{"param":"mirroring","values":["true","clean"],"allowed":true,"note":"floor reflection; needs a transparent variant; shadow=false drops the underbody"}},"params":["format","resolution","ratio","width","height","quality","color","shadow","transparency","ground","mirroring"],"addon":{"formats":["png","webp","jpeg","avif"],"options":{"lights":{"param":"lights","values":["on","off"]},"windows":{"param":"windows","values":["see_through","dark"]},"size":{"param":"size","values":{"2k":2560,"1080p":1920,"720p":1280,"540p":960,"360p":640,"thumb":320}}},"groups":["hero","steered","extra","drone","360","lifestyle"]}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/options\""}]}},"/api/errornotes":{"get":{"tags":["Reference"],"operationId":"getErrornotes","summary":"Errornotes code reference","description":"Every non-fatal code the image endpoint can put into `errornotes`, with its plain-English meaning. Includes the codes of the API v2 add-on (`G23`, `M24`, `L26`, `W28`, `N29`, `N30`, `O31`, `B32`).","responses":{"200":{"description":"Codes.","content":{"application/json":{"schema":{"type":"object"},"example":{"errornotes":{"Y01":"Requested year is not available — used the nearest available generation.","S05":"Shadow is not available for this car or not allowed by your plan — delivered without shadow.","M20":"Mirroring needs a transparent variant which is missing for this car — mirroring skipped.","L26":"Lights are not available for this image — delivered with lights off.","W28":"Dark windows are not available for this image — delivered see-through."}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/errornotes\""}]}},"/api/views":{"get":{"tags":["Reference"],"operationId":"listAllViews","summary":"All view names","description":"Every view name in the catalog, tagged `flat` (front/rear/left/right), `three_quarter` (front_left…rear_right) or `other` (interior). Per-car availability is in the config /features or /views.\n\n**API v2 add-on:** with the add-on `addon.groups` lists the groups — `hero`, `steered`, `extra`, `drone` (type `studio`), `360` (`spin`) and `lifestyle` (`scene`).","responses":{"200":{"description":"Views.","content":{"application/json":{"schema":{"type":"object"},"example":{"views":[{"view":"front","type":"flat"},{"view":"front_left","type":"three_quarter"},{"view":"dashboard","type":"other"}],"note":"Per-car availability is in /features.","addon":{"groups":[{"group":"hero","type":"studio","description":"Hero shots: three-quarter views, some from ground level (_ground)"},{"group":"steered","type":"studio","description":"Front wheels turned, from three camera heights (_eye, _high, _low)"},{"group":"extra","type":"studio","description":"More angles: every side and corner from three camera heights (_eye, _high, _low), corners also at 30° and 45° (_30, _45)"},{"group":"drone","type":"studio","description":"From above: angled drone shots, steep views (_steep) and straight from the top (top)"},{"group":"360","type":"spin","description":"360° spins in rings (eye_level, low, high), every frame with its own image_url"},{"group":"lifestyle","type":"scene","description":"The car in real-looking settings, scenes with several images"}]}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/views\""}]}},"/api/colors":{"get":{"tags":["Reference"],"operationId":"listAllColors","summary":"All colors","description":"Every active catalog color as color_id + color_name + color_make, plan-filtered. Names can exist more than once, even within a brand; `color_id` is unique and never changes. Request a color with `?color=<name>` or `?color_id=<id>`, look up a single one at `/api/colors/{color_id}`. `default` (the original paint) has `color_id: 0`. Vehicleimagery colors (house colors) appear in every car's /colors; make colors only for cars of that make. Per-car visibility is in the config /colors endpoint.","responses":{"200":{"description":"Colors.","content":{"application/json":{"schema":{"type":"object"},"example":{"colors":[{"color_id":0,"color_name":"default","color_make":"Vehicleimagery"},{"color_id":4922,"color_name":"Bell Flower","color_make":"Hyundai"},{"color_id":10925,"color_name":"wine_red","color_make":"Vehicleimagery"}]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/colors\""}]}},"/api/colors/{color_id}":{"get":{"tags":["Reference"],"operationId":"getColorById","summary":"One color by id","description":"A single color by its `color_id` from `/api/colors`. `0` is `default`, the original paint. Unknown or inactive id → `404`; a color your plan does not allow → `403`.","parameters":[{"name":"color_id","in":"path","required":true,"description":"The color's unique id.","schema":{"type":"integer"},"example":1544}],"responses":{"200":{"description":"The color.","content":{"application/json":{"schema":{"type":"object"},"example":{"color_id":1544,"color_name":"Fern Green Metallic","color_make":"BMW"}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/colors/1544\""}]}},"/api/search":{"get":{"tags":["Catalog"],"operationId":"search","summary":"Fuzzy search brands + models","description":"Fuzzy-match a free-text query against all `brand model` combinations. **Pure worker + database — never starts the image container.** Returns ranked matches with a ready path to drill in.\n\n**API v2 add-on:** with the add-on, models that exist only as add-on cars are found too (e.g. `?q=q9` → `/api/Audi/Q9`).","parameters":[{"name":"q","in":"query","required":true,"description":"Free-text query, e.g. `bmw 3` or `mercedes c`.","schema":{"type":"string"},"example":"bmw 3"},{"name":"limit","in":"query","required":false,"description":"Max results (1–50, default 10).","schema":{"type":"integer"}},{"name":"version","in":"query","required":false,"description":"Results from one version only: `v1` = standard images, `v2` = API v2 add-on (no fallback to standard images). Without it: everything your key allows. Not allowed for your key → `403`.","schema":{"type":"string","enum":["v1","v2"]},"example":"v2"}],"responses":{"200":{"description":"Ranked matches.","content":{"application/json":{"schema":{"type":"object"},"example":{"query":"bmw 3","count":2,"results":[{"brand":"BMW","model":"3","score":0.95,"path":"/api/BMW/3"},{"brand":"BMW","model":"320i","score":0.8,"path":"/api/BMW/320i"}]}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/search?q=bmw%203\""}]}},"/api/me":{"get":{"tags":["Account"],"operationId":"getMe","summary":"What this key can do","description":"Your key's capabilities in one call: enabled features, allowed formats/resolutions/ratios/views/colors/brands, restrictions, and delivery info (CDN host + signed-URL TTL).\n\n`access` shows which API the key uses — `v1` standard images, `v2` add-on, `all` both — and `queue_priority` its priority for new images (`high`, `normal`, `low`).\n\n**API v2 add-on:** with the add-on the response adds `addon`: formats, groups, every add-on option with its values, brands, whether a plate logo is set up (`plate_logo`) and whether your key may write its own text on the plate (`plate_text`).","responses":{"200":{"description":"Key capabilities.","content":{"application/json":{"schema":{"type":"object"},"example":{"access":"all","queue_priority":"normal","addon":{"formats":["png","webp","jpeg","avif"],"groups":["hero","steered","extra","drone","360","lifestyle"],"options":{"lights":["on","off"],"windows":["see_through","dark"],"plate":["none","blank","logo","text"],"size":{"2k":2560,"1080p":1920,"720p":1280,"540p":960,"360p":640,"thumb":320}},"brands":["*"],"plate_logo":true,"plate_text":true},"features":{"shadow":true,"transparency":true,"mirroring":true,"grounding":true,"getall":true,"debug":false,"fallbacks":true,"watermark_forced":false},"allowed":{"formats":["*"],"resolutions":["*"],"ratios":["*"],"views":["*"],"colors":["*"],"brands":["*"]},"restrictions":{"blocked_brands":[],"year_range":null,"test_mode":false},"delivery":{"cdn":"cdn.vehicleimagery.com","signed_url_ttl_seconds":604800}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/me\""}]}},"/api/status":{"get":{"tags":["Account"],"operationId":"getStatus","summary":"Health check","description":"Lightweight liveness check for the API and its data stores.","responses":{"200":{"description":"Health.","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"time":"2026-06-24T17:47:22.908Z","bindings":{"database":true,"cache":true,"transform":true,"images":true}}}}},"401":{"description":"Missing or invalid `x-api-key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Invalid API key"}}}},"403":{"description":"Plan restriction (feature, format or brand not allowed) or blocked request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Mirroring is not allowed by your plan."}}}},"404":{"description":"No data for the requested path. For a car path, `not_found` names the level that does not exist and `alternatives` lists what exists there instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Model '9 series' not found for 'BMW' — check /api/BMW for valid models.","code":"model_not_found","not_found":"model","alternatives":{"models":["1 series","2 series","3 series","4 series","5 series"]}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -H \"x-api-key: YOUR_API_KEY\" \\\n  \"https://api.vehicleimagery.com/api/status\""}]}},"/":{"get":{"tags":["Meta"],"operationId":"health","summary":"Service root / health","security":[],"description":"Public liveness probe — no API key needed. Also served at `/health`.","responses":{"200":{"description":"Service is up.","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"api":"vehicleimagery","hint":"Endpoints: /api/... with header x-api-key. Documentation: /api/docs"}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/\""}]}},"/api/openapi.json":{"get":{"tags":["Meta"],"operationId":"getOpenApi","summary":"OpenAPI specification","security":[],"description":"This document — the machine-readable OpenAPI 3.0 spec. Public, so docs tools (Scalar, Redoc, Swagger UI, Postman) can load it without a key. Point your docs tool at this URL.","responses":{"200":{"description":"OpenAPI 3.0 document.","content":{"application/json":{"schema":{"type":"object"}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/api/openapi.json\""}]}},"/api/docs":{"get":{"tags":["Meta"],"operationId":"getDocs","summary":"Interactive docs (Swagger UI)","security":[],"description":"Browser docs built from the spec. Open in a browser, click **Authorize**, paste your `x-api-key`, then try any endpoint live.","responses":{"200":{"description":"HTML page (Swagger UI).","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/info":{"get":{"tags":["Meta"],"operationId":"getInfo","summary":"Docs index","security":[],"description":"Public index of the docs content (changelog, guides, spec, interactive docs). No key required.","responses":{"200":{"description":"Links.","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"links":{"changelog":"/info/changelog","guides":"/info/guides","openapi":"/api/openapi.json","docs":"/api/docs"}}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/info\""}]}},"/info/changelog":{"get":{"tags":["Meta"],"operationId":"getChangelog","summary":"Changelog","security":[],"description":"Public changelog, newest first. Each entry has a `date`, `title`, `summary` and grouped `changes` (Added / Improved / Fixed). Add `?format=md` for raw Markdown.","parameters":[{"name":"format","in":"query","required":false,"description":"Return raw Markdown instead of JSON.","schema":{"type":"string","enum":["md"]}}],"responses":{"200":{"description":"Changelog (newest first).","content":{"application/json":{"schema":{"type":"object"},"example":{"changelog":[{"date":"2026-06-24","title":"Discoverability & documentation","summary":"The API now describes itself — new reference endpoints, a full OpenAPI spec, interactive docs and this changelog.","changes":[{"type":"Added","items":["`/api/options` — all delivery options in one call.","`/api/me` — what your key can do."]},{"type":"Improved","items":["Clearer 404 messages."]}]}]}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/info/changelog\""}]}},"/info/guides":{"get":{"tags":["Meta"],"operationId":"listGuides","summary":"List guides","security":[],"description":"Public list of narrative guides (slug + title). Fetch one at `/info/guides/{slug}`.","responses":{"200":{"description":"Guides.","content":{"application/json":{"schema":{"type":"object"},"example":{"guides":[{"slug":"getting-started","title":"Getting started in 3 calls","updated":"2026-06-24"}]}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/info/guides\""}]}},"/info/guides/{slug}":{"get":{"tags":["Meta"],"operationId":"getGuide","summary":"Get a guide","security":[],"description":"A single guide as Markdown. Add `?format=md` for the raw Markdown body.","parameters":[{"name":"slug","in":"path","required":true,"description":"Guide slug (see /info/guides).","schema":{"type":"string"},"example":"getting-started"},{"name":"format","in":"query","required":false,"description":"Return raw Markdown instead of JSON.","schema":{"type":"string","enum":["md"]}}],"responses":{"200":{"description":"Guide.","content":{"application/json":{"schema":{"type":"object"},"example":{"slug":"getting-started","title":"Getting started in 3 calls","updated":"2026-06-24","markdown":"# Getting started\n…"}}}},"404":{"description":"No such guide.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"Guide 'xyz' not found — see /info/guides."}}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://api.vehicleimagery.com/info/guides/getting-started\""}]}}}}