Using AI to Accelerate Used Car Sales Process

Using AI to Accelerate Used Car Sales Process

Overview: This project integrated OpenAI’s API into a simple command line based project following this tutorial. The goal is to use AI to auto-generate content to help the marketing of used cars. The AI is able to process information given a vehicle’s VIN and output features, make, model, and an AI-generated image.

Here are the reference links to this project:

View the demo here

Demo Overview: When prompted, the user inputs any command, in this case we asked for the car details of the VIN of WP0CA2A89KS211490. After a few seconds, the AI responds with key features from the VIN and also outputs an AI generated image in a new tab.

Get Started:

  • Create an OpenAI account and obtain the API key at Platform OpenAI
  • Create a new Python project and a venv
  • Download openai package and dotenv package (to hide the OpenAI key)
  • Create a simple ChatBot class in your Python file and fill in properties for model and messages.
  • The functions are all grouped in the ChatBot class
  • Refer to this GitHub or follow along with the Youtube Tutorial
2 Likes

this is amazing. It seems like the AI could be used to create a category of different cars and use the image as the thumbnail for the category. If there a multiple porsche speedsters, then instead of just saying “porsche speedster”, it could show a picture of a generic porsche speedster.

Getting all the descriptions from the VIN is amazing.

Nice work.


Using AI in the workflow, it’s possible to get entry-level staff who maintain the vehicles to produce the actual marketing site with just the VIN. The concept graphic shows the idea of using used car maintenance staff to build the site.

1 Like
git clone https://github.com/caitlynbakery/AIProject.git
cd AIProject
rm -rf venv 
python -m venv venv
source venv/bin/activate
pip install python-dotenv
pip install openai
pip install ipython

In .gitignore

venv/
.env
__pycache__/
*.pyc
*.pyo
*.pyd
*.pyw
*.pyz
*.log
*.log.*
*.log.*.*
*.log.*.*.*
*.log.*.*.*.*
*.log.*.*.*.*.*
*.log.*.*.*.*.*.*

create API key

Once you create the key, you will not be able to see it again. Copy it to a secure location. If you want to share it, use a secure mechanism. I am using Last Pass.

In .env

SECRET_KEY=key-goes-here

prepare VIN for testing

I went to AutoTrader and got a random VIN.

VIN: 7SAYGDEE7PF696669

response

USER:  VIN: 7SAYGDEE7PF696669
RESPONSE:  The VIN you provided is for a Tesla vehicle, and it appears to be a Model Y based on the structure of the VIN. Here's a breakdown of what each section of this VIN represents:

- **7SA**: This is part of the World Manufacturer Identifier (WMI) for Tesla.
- **Y**: Model Y.
- **GDEE**: These characters provide information about the vehicle's specifications, such as the body type, motor type, and restraint system.
- **7**: This is the check digit, which is used to validate the VIN.
- **P**: Model year. For Tesla, a character of "P" typically indicates the year 2023.
- **F**: Manufacturing plant. Tesla's Fremont, California plant is often represented by an "F".
- **696669**: This is the sequential production number.


### Tesla Model Y Overview

1. **Body Style and Design**:
   - The Model Y is a compact all-electric crossover SUV.
   - It features a sleek, aerodynamic design similar to the Model 3, but with increased interior space and higher seating position.
   - The vehicle offers a large glass roof, providing an open and airy feel within the cabin.

2. **Performance**:
   - The Model Y comes in different configurations, typically including Long Range and Performance versions.
   - It offers all-wheel drive with dual electric motors (one on each axle) for enhanced traction and control.
   - The Performance model provides exceptionally quick acceleration, going from 0 to 60 mph in just over 3 seconds.

3. **Range and Efficiency**:
   - Depending on the configuration, the Model Y can achieve an estimated range between 300 to 330+ miles on a single charge, according to EPA estimates.
   - Tesla's extensive Supercharger network allows for convenient long-distance travel.

4. **Interior and Features**:
   - The Model Y interior emphasizes minimalism, centered around a large touchscreen display that controls most vehicle functions.
   - It offers seating for up to seven passengers with an optional third-row seat.
   - The interior is equipped with features like advanced climate control, premium audio, and wireless software updates.

5. **Safety and Autopilot**:
   - Tesla vehicles are known for their strong safety features, and the Model Y includes multiple airbags, stability control, and the ability to receive over-the-air updates for new features and safety enhancements.
   - It comes with Tesla's Autopilot capabilities, which include features like adaptive cruise control and lane-keeping assistance. Full Self-Driving is an optional package that adds more advanced features.

6. **Technology**:
   - The car incorporates the latest Tesla technology, including a high-quality infotainment system, navigation, and a suite of sensors and cameras for semi-automated driving and security features (Tesla's Sentry Mode).

The Model Y has gained popularity for its combination of practicality, performance, and technology, making it a versatile choice for many drivers. If you have more specific questions or need information on a particular aspect of the vehicle, feel free to ask!
I'm unable to generate images directly. If you're looking for an image of the 2023 Tesla Model Y, you can find many available online through a search or by visiting the official Tesla website, where you can see high-quality images and explore various configurations.
Enter stop to exit, or input a new message

modified into Flask demo app.


Next Steps - Vehicle-specific APIs

1. Carfax API

  • Provides comprehensive vehicle history reports, including accident history, title issues, and service records.
  • Requires a business account.

2. AutoCheck API (Experian)

  • Offers detailed vehicle history, including accident records, odometer readings, and title history.
  • Requires a paid subscription.

3. VINData API

  • Provides vehicle history data, title brands, and odometer readings.
  • Supports bulk VIN lookups.

4. VinAudit API

  • A more affordable alternative to Carfax.
  • Provides title history, accident records, and odometer readings.

5. NHTSA Vehicle API

  • Free API provided by the U.S. government.
  • Limited to vehicle specifications (not history).

If you’re looking for a detailed history, Carfax, AutoCheck, or VinAudit would be the best choices, but they require paid access. If you only need basic specs and recall information, the NHTSA API is free.

Would you like help integrating one of these APIs into your project?

Cost Information

The cost to obtain information on a specific vehicle using its VIN varies depending on the service provider and the depth of information required. Here’s a breakdown of some popular options:

1. Carfax

  • Individual Reports: Carfax offers vehicle history reports for individual consumers at approximately $39.99 per report.
  • Dealer Accounts: For businesses, Carfax provides dealer accounts with subscription-based pricing. While specific rates can vary, discussions among industry professionals suggest costs ranging from $800 to $2,000 per month for access to a certain number of reports.

reddit.com

2. VinAudit

  • Subscription Model: VinAudit offers a cost-effective solution with a subscription fee of $20 per month and $1 per report. This service provides official reports sourced from the National Motor Vehicle Title Information System (NMVTIS).

vinaudit.com

3. Vehicle Databases

  • Competitive Pricing: Vehicle Databases offers an alternative to Carfax with competitive pricing models designed to be accessible for small and medium-sized enterprises. Specific pricing details are not publicly disclosed and may require direct contact for a quote.

vehicledatabases.com

4. VINI.AZ

  • Tiered Pricing: This service provides vehicle history reports with pricing based on volume. For example, purchasing between 1 to 49 reports costs approximately $5 per report, with discounts available for higher volumes.

vini.az

5. Car Simulcast

  • Integration Services: Car Simulcast offers API integration services, including website development for a one-time fee of $799 plus $9.99 per month for hosting. Specific pricing for individual vehicle reports is not detailed and may require direct inquiry.

connect.carsimulcast.com

6. VinAudit’s Vehicle Market Value API

  • Market Value Estimates: VinAudit provides an API that estimates vehicle market values based on extensive sales data. Pricing details for API access are not specified and likely require direct contact for more information.

vinaudit.com

7. VinAudit’s Vehicle Ownership Cost API

  • Ownership Cost Analysis: This API offers insights into long-term vehicle expenses, including depreciation, fuel, maintenance, insurance, and repairs. Pricing information is not publicly available and would necessitate direct communication with VinAudit.

vinaudit.com

8. VinAudit’s Vehicle Specifications API

  • Detailed Vehicle Data: Provides access to a comprehensive library of vehicle specifications, including attributes, color options, equipment details, recall information, warranties, and photos. Pricing details are not specified and would require contacting VinAudit directly.

vinaudit.ca

9. VinAudit’s Vehicle Images API

  • High-Quality Vehicle Images: Offers integration of original, high-quality vehicle images for any year, make, model, and trim into your product or website. Pricing information is not publicly disclosed and would require direct inquiry.

vinaudit.com

10. VinAudit’s Vehicle Background Removal Tool

  • Image Enhancement Service: Provides a tool to remove backgrounds from vehicle images, enhancing visual appeal and professionalism. Pricing details are not specified and would necessitate contacting VinAudit directly.

vinaudit.com

11. VinAudit’s Dealer Program

  • Dealer-Focused Services: VinAudit offers a dealer program with services such as official NMVTIS reports, exclusive independent coverage, 24/7 online and mobile access, and competitive pricing. Specific pricing details are available upon inquiry.

vinaudit.com

12. VinAudit’s Automotive Data Products

  • Comprehensive Data Solutions: VinAudit provides a range of automotive data products, including vehicle history API, vehicle specifications API, vehicle market value API, vehicle images API, and more. Pricing information is not publicly available and would require direct contact for details.

vinaudit.com

13. VinAudit’s Vehicle History API

  • Detailed Vehicle Insights: Offers access to comprehensive vehicle data from the VinAudit Vehicle History Report, sourced from NMVTIS and other trusted data partners. Pricing details are not specified and would require contacting VinAudit directly.

vinaudit.com

14. VinAudit’s Vehicle Specification API

  • Precise Vehicle Data Access: Provides access to detailed vehicle specifications by VIN from trusted sources, enabling real-time access to specifications such as engine details, dimensions, and model-specific features. Pricing information is not publicly disclosed and would require direct inquiry.

vinaudit.com

15. VinAudit’s Vehicle Background Removal Tool

  • Image Enhancement Service: Offers a tool to remove backgrounds from vehicle images, enhancing visual appeal and professionalism. Pricing details are not specified and would necessitate contacting VinAudit directly.

vinaudit.com

16. VinAudit’s Vehicle Market Value API

  • Market Value Estimates: Provides programmatic access to real-time data and analysis on used vehicle values, pricing trends, and market demand. Pricing information is not publicly available and would require direct contact for more information.

vinaudit.com

17. VinAudit’s Vehicle Ownership Cost API

  • Ownership Cost Analysis: This API estimates ownership costs for the next five years, covering expenses like maintenance and depreciation using a vehicle’s VIN. Pricing details are not specified and would require contacting VinAudit directly.

vinaudit.com

18. VinAudit’s Vehicle Specifications API

  • Detailed Vehicle Data: Provides access to a library of vehicle specifications data covering attributes, color options, equipment details, recall information, warranties, and photos. Pricing information is not publicly disclosed and would require direct inquiry.

vinaudit.ca

19. VinAudit’s Vehicle Images API

  • High-Quality Vehicle Images: Integrates original, high-quality vehicle images for any year, make, model, and trim into your product or website.

Object Identification Test

Using GPT-4o

Starting point - Input Image

AI-identified media console

Not accurate. I would prefer better placement of arrow. The AI generated the arrow, not a human.

AI-generated description based on image input only

The media console in the image appears to be a touchscreen infotainment system with a modern UI. It displays a digital radio interface tuned to 93.20 FM, with various function buttons on the screen, likely for navigation, media control, and other vehicle settings.

From the design and branding visible in the image, this dashboard belongs to a Wuling vehicle, a brand known for manufacturing affordable cars, particularly in the Chinese and Southeast Asian markets. The infotainment system is likely an OEM (Original Equipment Manufacturer) unit provided by Wuling, featuring standard features like Bluetooth, radio, and possibly smartphone connectivity.


matching pictures of dashboards with cars

The image showcases two BMW dashboards, one from an older model and another from a more modern BMW. Based on their design:

  1. Top Image: This is likely from an E30 BMW 3 Series (1980s-1990s). The simple analog gauges, classic four-spoke steering wheel, and cassette player with physical buttons are indicative of the era.
  2. Bottom Image: This belongs to a modern BMW 3 Series (G20, 2019-present). It features a digital instrument cluster, a multifunction steering wheel, an advanced infotainment system with a widescreen display, and a more premium center console with an electronic gear shifter.

Using AI to generate video clip from VIN.

1 Like

AI - Generated Media for Market Expansion

Concept: Expand minivan market to include young people who want to carry large sports equipment such as mountain bikes and surfboards.

This shows AI to generate concept videos for niche markets or more provocative ideas such as showing young people in swimming suits.

fishing concept