Prompt Check
POST
/api/v1/nova/prompt-checkThe API to verify if prompt contains ban words or invalid parameter. It does not exactly match the rule from MJ but can avoid most of the bad cases.
Request
Body Params application/json
prompt
string
required
Prompt to be checked
Example
{
"prompt": "Trump dancing"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
enum<string>
required
The status of the promtp checked.
Allowed values:
SUCCESSFAIL
message
string
optional
The error message if check failed.
Example
Success
{
"status": "SUCCESS"
}
Last modified: 1 个月前