API v2 Add-on
Studio group image by id
GET/api/id/{id}/{group}/{image}
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.
Path parameters
| Name | Type | Description |
|---|---|---|
id required | integer | Stable config id. |
group required | string | Studio group: hero, steered, extra, drone. |
image required | string | Image of the group. |
Query parameters
| Name | Type | Description |
|---|---|---|
format | string | Delivery format. pngwebpjpegavifauto |
color | string | Paint: catalog colour name, 6-digit hex or `<finish>_<hex>` (e.g. `metallic_315fbf`). |
color_id | integer | 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`). |
lights | string | **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`. onoff |
background | string | **API v2 add-on:** `white` (default), `transparent`, or a 6-digit hex colour like `f4f4f4`. Studio images only (lifestyle → errornote `B32`). |
windows | string | **API v2 add-on:** `see_through` = glass as in the image (default), `dark` = privacy glass you cannot see through. Not available → errornote `W28`. see_throughdark |
plate | string | **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`). noneblanklogotext |
plate_text | string | **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`. |
fit | string | **API v2 add-on:** how the car fills a `ratio` / `size` box — `contain` pads (default), `cover` crops. Lifestyle images always cover. containcover |
size | string | **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`. 2k1080p720p540p360pthumb |
hotspots | string | **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. true |
version | string | 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`. v1v2 |

