Url requests

Basic api request

POST https://ai-skin-server.herokuapp.com/url

This endpoint allows you to send an image url (that's on the web) and get a response.

Headers

NameTypeDescription

Authorization

string

Your api key

Request Body

NameTypeDescription

url

string

Send an image url that is publicly available

{
  "status": "ok",
  "type": "vitiligo",
  "confidence": 0.9997703433036804
}

Raw api request

POST https://ai-skin-server.herokuapp.com/v1/raw

Returns all the values of the skin conditions

Headers

NameTypeDescription

Authorization

string

Your api key

Request Body

NameTypeDescription

url

string

Send an image that is publicly available

{
  "status": "ok",
  "raw": {
    "vitiligo": 0.9997703433036804,
    "rosacea": 2.3592284119486104e-34,
    "ringworm": 4.94471153069222e-16,
    "psoriasis": 0.00022965249081607908,
    "normal": 2.319375709624629e-34,
    "melesma": 6.153275199487652e-24,
    "melanoma": 1.5619000884314893e-11,
    "measles": 7.129576934190558e-22,
    "lupus": 1.4820884225209564e-20,
    "Keratosis-pilaris": 4.028082500872617e-23,
    "Cold_sore": 4.820047897192353e-37,
    "Chickenpox": 1.2663368878067385e-16,
    "Cellulitis": 1.0321511423327934e-9,
    "Blister": 6.94588213251723e-20,
    "Basal Skin Cancer": 1.1606009178952223e-27,
    "Actinic Keratosis": 1.796371592669159e-15,
    "Acne": 1.7337670063727675e-14
  }
}

Last updated