This API allows you to generate outfit information in text form, search for clothing items using the Flipkart API, and more. It's part of the Flipkart 5.0 Conversational Fashion Outfit Generator project.
The Flipkart 5.0 Conversational Fashion Outfit Generator API is built using FastAPI and is designed to provide users with outfit information and clothing item search results using the Flipkart API.
The API offers the following endpoints:
GET /
: Root endpoint that returns a "Hello World" message.GET /ok
: Endpoint that returns a simple "ok" message.GET /outfit_text
: Generates the overview of the outfit in text form.GET /items_flipkart_results
: Finds clothing items in the overview text and returns Flipkart search results.GET /flipkart_search
: Performs a search using the Flipkart API.
-
Clone the repository:
git clone https://github.com/UtkarshSingh5474/OutfitGeneratorAPI cd OutfitGeneratorAPI
-
Install the required dependencies
pip install -r requirements.txt
-
Running the API locally
uvicorn main:app --host 0.0.0.0 --port 8080
- Use the provided endpoints to interact with the API.
- Detailed descriptions of each endpoint can be found in the API documentation.