> For the complete documentation index, see [llms.txt](https://artroomai.gitbook.io/tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://artroomai.gitbook.io/tutorials/resources/prompting-tutorials/negative-prompts.md).

# Negative Prompts

If not already obvious, prompts entered into this section will be avoided by the AI\
\
Convenient for limiting the AI from generating NSFW images, or just avoiding specific features that keep showing up in generated images.

The default negatives are used to avoid most common issues and improve quality.\
It's recommended to keep them unless trying for a very speceic result.<br>

Using this image, and these settings to give an example of what negative prompts will change.

<details>

<summary>Settings Used</summary>

{% code overflow="wrap" %}

```
"text_prompts": "trending on artstation, anime, woman, detailed eyes, blonde hair, bright dress",
"negative_prompts": "nude, nsfw, mutated, deformed, amateur drawing, lowres, text, error, signature, watermark, username, blurry, censorship, sketch, monochrome",
"strength": 0.21,
"init_image": "...",
"width": 768,
"height": 768,
"models_dir": "C:\\models\\Artroom",
"ckpt": "Models\\My Merges\\CGAI.safetensors",
"vae": "Anime2.vae.pt",
"loras": [],
"controlnet": "none",
"use_preprocessed_controlnet": false,
"remove_background": "face",
"use_removed_background": false,
"sampler": "euler_a",
"steps": 30,
"cfg_scale": 7,
"clip_skip": 1,
"seed": 2873736882,
"mask_image": "...",
"invert": false,
"palette_fix": false,
"image_save_path": "C:\\ArtroomOutputs\\negatives",
"n_iter": 1,
"save_grid": false,
"speed": "High",
"long_save_path": false,
"highres_fix": true,
"show_intermediates": true,
"id": "4210247162799945"
```

{% endcode %}

</details>

<figure><img src="/files/PR1T76DjUIyQmNIXsgMO" alt="" width="375"><figcaption></figcaption></figure>

Keeping the seed the same and changing the negatives to,

"**yellow dress**, nude, nsfw, mutated, deformed, amateur drawing, lowres, text, error, signature, watermark, username, blurry, censorship, sketch, monochrome",

will change the image to this,

<figure><img src="/files/WhvU7sOIxRkW2qthtSaq" alt="" width="375"><figcaption></figcaption></figure>

And changing to this set of negatives,

"**yellow dress, blue eyes**, nude, nsfw, mutated, deformed, amateur drawing, lowres, text, error, signature, watermark, username, blurry, censorship, sketch, monochrome",

will make the image change to this,

<figure><img src="/files/WQUNHf4ULBRmUrrELzMR" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://artroomai.gitbook.io/tutorials/resources/prompting-tutorials/negative-prompts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
