Generate Tesla Model S/3/X/Y 3D photo visualizations

Usage no npm install needed!

<script type="module">
  import teslaImages from 'https://cdn.skypack.dev/tesla-images';



Last version Coverage Status NPM Status

Generate Tesla Model S/3/X/Y 3D photo visualizations.


$ npm install tesla-images --save


There are two ways for getting Tesla stock images:

  • Tesla sells some vehicles under CPO terms and they have real pictures of it.
  • Tesla has an internal API for generating a 3D visualization of any vehicle (used by their website).

This library combines both techniques providers, fallbacking one in the other one in case stock images are missing (that is the most probable thing).

const getImages = require('tesla-images')

;(async () => {
  const images = await getImages({
    vin: '5YJSA7H21FF084652',
    modelLetter: 'S',
    optionCodes: ['ADPX2', 'AU01', 'DA02', 'APH1', 'APD2', 'X028']


tesla-images © Tesla Hunt, released under the MIT License.
Authored and maintained by Tesla Hunt with help from contributors.

teslahunt.io · GitHub Tesla Hunt · Twitter @teslahunt