Documentation
Update Ban Words List

Get Ban Words Prefilter List

POST
https://api.mymidjourney.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

NameTypeRequiredRestrictionsDescription
listarraytruenonethe list of ban words

Sample Response

{
  "list": [
    "ahegao",
    "pinup",
    "ballgag",
    "Playboy",
    "Bimbo",
    "pleasure",
    "bodily fluids"
  ]
}

Response Body

NameTypeDescription
ListarrayThe updated list of banned words

Examples

const axios = require("axios")
 
const config = {
  method: "post",
  url: "https://api.mymidjourney.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)
  })