Emotion Detection

Available Providers
ProviderVersionPriceBilling unit
vernaiv12.0 (per 1000 request)1 request
Log in to see full request history
Body Params
string
Defaults to [object Object]

A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {"google" : "google_model", "ibm": "ibm_model"...}.

providers
array of strings
required

It can be one (ex: 'amazon' or 'google') or multiple provider(s) (ex: 'amazon,microsoft,google') that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: 'amazon/model1, amazon/model2, google/model3')

providers*
fallback_providers
array of strings
length ≤ 5
Defaults to

Providers in this list will be used as fallback if the call to provider in providers parameter fails.
To use this feature, you must input only one provider in the providers parameter. but you can put up to 5 fallbacks.

They will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.

Doesn't work with async subfeatures.

fallback_providers
boolean
Defaults to true

Optional : When set to true (default), the response is an object of responses with providers names as keys :

{"google" : { "status": "success", ... }, }

When set to false the response structure is a list of response objects :

[{"status": "success", "provider": "google" ... }, ].

boolean
Defaults to false

Optional : When set to false (default) the structure of the extracted items is list of objects having different attributes :

{'items': [{"attribute_1": "x1","attribute_2": "y2"}, ... ]}

When it is set to true, the response contains an object with each attribute as a list :

{ "attribute_1": ["x1","x2", ...], "attribute_2": [y1, y2, ...]}

boolean
Defaults to true
boolean
Defaults to false

Optional : Shows the original response of the provider.

When set to true, a new attribute original_response will appear in the response object.

string
required
length ≥ 1

Text to analyze

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json