Skip to content

Latest commit

 

History

History

requests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

API4AI fashion sample

This directory contains a minimalistic sample that sends requests to the API4AI Fashion API. The sample is implemented in python using requests module.

Overview

This Fashion API analyzes a picture and gives a list of possible clothes and accessories that could be present on that picture along with their probabilities.

Getting started

Preinstall dependencies before use:

pip3 install -r requirements.txt

Try sample with default args:

python3 sample.py

Try sample with your local image:

python3 sample.py image.jpg

About API keys

This demo by default sends requests to free endpoint at demo.api4ai.cloud. Demo endpoint is rate limited and should not be used in real projects.

Use RapidAPI marketplace to get the API key. The marketplace offers both free and paid subscriptions.

Contact us in case of any questions or to request a custom pricing plan that better meets your business requirements.

Links