{"id":257,"date":"2024-02-20T09:23:14","date_gmt":"2024-02-20T09:23:14","guid":{"rendered":"https:\/\/www.weshop.ai\/blog\/?p=257"},"modified":"2024-08-02T06:36:21","modified_gmt":"2024-08-02T06:36:21","slug":"erase-objects-by-negative-prompt-with-ai","status":"publish","type":"post","link":"https:\/\/www.weshop.ai\/blog\/erase-objects-by-negative-prompt-with-ai\/","title":{"rendered":"Erase Objects by Negative Prompt with AI"},"content":{"rendered":"\n<p>We often hear from our users that sometimes when generating images, unwanted details mysteriously appear, or the original image contains elements like hats or glasses that they want to remove. However, simply writing &#8220;remove watch, remove hat&#8221; in the text description doesn&#8217;t seem to work well with AI. The reason behind is that the content written in the text description section is what the AI should generate in the image.<\/p>\n\n\n\n<p>To communicate with AI effectively, especially regarding what should not be included in the generated content, it&#8217;s essential to use a different approach. This is where the prompt feature comes into play, located right next to the text description and quick templates.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img  loading=\"eager\" fetchpriority=\"high\"src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d-1024x534.jpeg\" alt=\"\" class=\"wp-image-258\" width=\"709\" height=\"370\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d-1024x534.jpeg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d-300x157.jpeg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d-768x401.jpeg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d-1536x801.jpeg 1536w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/2f62af86-3d9f-4314-ac28-a44ddc5b426d.jpeg 1606w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to write Negative Prompt?<\/h2>\n\n\n\n<p>When you access this feature, you&#8217;ll notice a slightly different interface. Firstly, there&#8217;s an option for algorithm preference. &#8220;Free Play&#8221; allows AI to freely interpret your instructions, while &#8220;Refer to Original Image&#8221; instructs AI to generate content more closely resembling the original image.<\/p>\n\n\n\n<p>Next, you&#8217;ll find fields for positive and negative prompt. Positive prompt indicates what you want AI to generate, which aligns with what you&#8217;d typically describe in the text description. Negative prompt, on the other hand, specify what you don&#8217;t want AI to generate.<\/p>\n\n\n\n<p>It&#8217;s crucial to note that negative prompt should specify what you want to exclude. For example, if you don&#8217;t want hats in the image, simply write &#8220;hat&#8221; in the negative prompt box. Do not write &#8220;do not include hats,&#8221; as this would confuse AI.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1<\/h3>\n\n\n\n<p>Let&#8217;s consider an example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/c63ac2d6-8465-427a-8f0a-3c61e78a3adc-771x1024.png\" alt=\"\" class=\"wp-image-261\" width=\"437\" height=\"580\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/c63ac2d6-8465-427a-8f0a-3c61e78a3adc-771x1024.png 771w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/c63ac2d6-8465-427a-8f0a-3c61e78a3adc-226x300.png 226w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/c63ac2d6-8465-427a-8f0a-3c61e78a3adc-768x1020.png 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/c63ac2d6-8465-427a-8f0a-3c61e78a3adc.png 928w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<p><br>If I don&#8217;t want the boy to wear the hat, I would enter &#8220;Male adult on the street of New York, curly hair&#8221; in the positive prompt box and &#8220;hat&#8221; in the negative prompt box. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"436\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg-1024x436.jpg\" alt=\"\" class=\"wp-image-263\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg-1024x436.jpg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg-300x128.jpg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg-768x327.jpg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg-1536x654.jpg 1536w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/img_v3_0288_89adabc7-80b9-4664-b50e-3f0dd6afadfg.jpg 1612w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s check out the AI generated results:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/e12b74c6-a633-40d2-b9c7-0dfa6113e75b-1024x681.jpeg\" alt=\"\" class=\"wp-image-264\" width=\"813\" height=\"540\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/e12b74c6-a633-40d2-b9c7-0dfa6113e75b-1024x681.jpeg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/e12b74c6-a633-40d2-b9c7-0dfa6113e75b-300x199.jpeg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/e12b74c6-a633-40d2-b9c7-0dfa6113e75b-768x511.jpeg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/e12b74c6-a633-40d2-b9c7-0dfa6113e75b.jpeg 1426w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/figure>\n\n\n\n<p>This looks terrific! Let&#8217;s try another image.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/image.png\" alt=\"\" class=\"wp-image-265\" width=\"404\" height=\"537\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/image.png 669w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/image-226x300.png 226w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s try remove this man&#8217;s hat. When you edit the mask area, only choose his garments. Then, choose prompt, beside text decription and template. I write asian man, forest, (black hair:1.5) in the positive prompt, and (hat:1.5) in the negative prompt. Adding parentheses after a word or phrase indicates emphasis, while adding a colon and a number after a word indicates the degree of emphasis. If AI still doesn&#8217;t remove the hat the first time, you can add a number like this after the word, Just as what I did.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5-1024x433.jpeg\" alt=\"\" class=\"wp-image-266\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5-1024x433.jpeg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5-300x127.jpeg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5-768x324.jpeg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5-1536x649.jpeg 1536w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/52a981c6-ebcb-4e95-b880-4ccc39d08db5.jpeg 1624w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">remove the man&#8217;s hat<\/figcaption><\/figure>\n\n\n\n<p>Let&#8217;s see the result. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/184af1f0-9cc0-4a85-b582-269e5f2d88a3-1024x682.jpeg\" alt=\"\" class=\"wp-image-267\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/184af1f0-9cc0-4a85-b582-269e5f2d88a3-1024x682.jpeg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/184af1f0-9cc0-4a85-b582-269e5f2d88a3-300x200.jpeg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/184af1f0-9cc0-4a85-b582-269e5f2d88a3-768x512.jpeg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/184af1f0-9cc0-4a85-b582-269e5f2d88a3.jpeg 1426w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This looks stunning! WeShop AI removed his hat just as what we demanded. Let&#8217;s quickly see the last example. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 3<\/h3>\n\n\n\n<p>I&#8217;d like to remove the glasses, so that I write &#8216;asian woman, mountain trails, beautiful eyes&#8217; in the positive prompt, and &#8216;(glasses:1.5)&#8217; in the negative prompt. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"784\" src=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/3baedc0e-799c-4cd6-b68f-1c4abe4e9f4a-1024x784.jpeg\" alt=\"\" class=\"wp-image-268\" srcset=\"https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/3baedc0e-799c-4cd6-b68f-1c4abe4e9f4a-1024x784.jpeg 1024w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/3baedc0e-799c-4cd6-b68f-1c4abe4e9f4a-300x230.jpeg 300w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/3baedc0e-799c-4cd6-b68f-1c4abe4e9f4a-768x588.jpeg 768w, https:\/\/www.weshop.ai\/blog\/wp-content\/uploads\/2024\/02\/3baedc0e-799c-4cd6-b68f-1c4abe4e9f4a.jpeg 1238w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>WeShop AI (<a href=\"http:\/\/www.weshop.ai\/\">www.weshop.ai<\/a>) <\/strong>is a cutting-edge platform that offers a game-changing solution to e-commerce businesses seeking high-quality images at a fraction of the cost. By harnessing the power of artificial intelligence, WeShop AI has developed a groundbreaking AI-Powered E-commerce and Photo Tool, empowering businesses to take their product visuals to new heights. With just a few clicks, you can produce visually striking images that captivate your audience and boost sales.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Author Intro<\/h4>\n\n\n\n<p>Baby G specializes in using AI tools to create stunning images. With a wealth of experience, she is a seasoned user of WeShop AI, possessing a deep understanding of various image generation techniques. Known for her expertise, she enjoys sharing his knowledge and insights with others.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have difficulties when the original image contains elements like hats or glasses that you want to remove? Here are tricks of how to erase items and get a stunning effect with WeShop AI. <\/p>\n","protected":false},"author":3,"featured_media":264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1],"tags":[21,22],"class_list":["post-257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-weshopai","tag-product-updates","tag-weshop-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":4,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":797,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/posts\/257\/revisions\/797"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/media\/264"}],"wp:attachment":[{"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weshop.ai\/blog\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}