How to detect the main color of a product by image URL by using GPT4 Vision API

Farid Movsumov
4 min readNov 8, 2023
How to build an API to extract color from product image URLs?

OpenAI published GPT4 vision API, which has amazing image analyzing capabilities that developers have been waiting for a long time.

I just made a simple prompt to extract the main color of the product, and it gives amazing results.

--

--