POST /analyze/extract_label
Extracts a label (list of ingredients) from an arbitrary text block
Body Required
POST /analyze/extract_label
curl \
-X POST https://api.cosmily.com/api/v1/analyze/extract_label \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"input_text":"string"}'
Request example
{
"input_text": "string"
}
Request examples
{
"input_text": "string"
}
Response examples (200)
{
"label": [
"string"
]
}
Response examples (200)
{
"label": [
"string"
]
}