This is a demo project showcasing the usage of the Oylan API to upload car images and get descriptions.
-
Clone the repository:
git clone https://github.com/IS2AI/oylan_car_demo cd oylan_car_demo
-
Install the dependencies:
npm install
To run this project, you need to set up the following environment variable:
NEXT_PUBLIC_OYLAN_API_KEY
: Your API key for the Oylan API.
You can obtain the API key from Oylan Documentation.
Create a .env.local
file in the root of your project and add the following line:
NEXT_PUBLIC_OYLAN_API_KEY=your_api_key_here
-
Replace the
assistant_id
value insrc/app/page.tsx
with your actual assistant ID obtained from the Oylan Documentation. -
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
. -
Upload a car image and get the description.
This project is licensed under the MIT License.