ai
0.05 credits per request
Make a request to the AI
textstring
text to pass in
textstring
text returned
Request
Response
{
"text": "\n\nLeonardo da Vinci was an Italian Renaissance architect, musician, inventor, engineer, and painter."
}
0.05 credits per request
Check or edit text/code
instructionstring
instruction hint e.g check the grammar
textstring
text/code to check
textstring
response output
Request
Response
{
"text": "What is the day of the week?\n"
}
0.05 credits per request
Moderate hate speech
textstring
text to check
categoriesobject
categories tested and identified
flaggedboolean
whether it was flagged or not
scoresobject
related scores
Request
Response
{
"flagged": true,
"categories": {
"hate": false,
"hate/threatening": false,
"self-harm": false,
"sexual": false,
"sexual/minors": false,
"violence": true,
"violence/graphic": false
},
"scores": {
"hate": 0.013155348598957062,
"hate/threatening": 0.0037288155872374773,
"self-harm": 0.0002420183882350102,
"sexual": 0.0005528798210434616,
"sexual/minors": 0.00009280459198635072,
"violence": 0.9706985354423523,
"violence/graphic": 0.0022974952589720488
}
}