Text as Input
Text Classification
Run the distilbert-base-uncased-finetuned-sentiment-amazon
model to classify input text.
POST
Authorizations
Provide your API key as Key your-key-here
in the Authorization
header.
Body
application/json
Input text to classify.
Example:
"The Eiffel Tower is amazing."
Response
200 - application/json
Successful response with the classification.
Classification label.