Get Ban Words Prefilter List
POST
https://api.imaginepro.ai/api/v1/discord/banwords/save
Banwords Prefilter List
is a list of words that are pre-checked of the prompt before it is sent to Midjourney. This list is designed to prevent the generation of images that contain offensive or inappropriate content, and reduce the risk of your account being banned.
POST /api/v1/discord/banwords/save
Sample Request
{
"list": [
"ahegao",
"pinup",
"ballgag",
"Playboy",
"Bimbo",
"pleasure",
"bodily fluids"
]
}
Request Body
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
list | array | true | none | the list of ban words |
Sample Response
{
"list": [
"ahegao",
"pinup",
"ballgag",
"Playboy",
"Bimbo",
"pleasure",
"bodily fluids"
]
}
Response Body
Name | Type | Description |
---|---|---|
List | array | The updated list of banned words |
Examples
const axios = require("axios")
const config = {
method: "post",
url: "https://api.imaginepro.ai/api/v1/discord/banwords/save",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <your-token>",
},
data: {
cmd: "fast",
},
}
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data))
})
.catch(function (error) {
console.log(error)
})