Need help with Custom Stickers Prompt

Hello

My use case is in n8n to take input from user what kind of stickers they want and then in prompt I am adding background of different Color to that subject and then custom code to remove the background to get transparent sticker

It works most of time however still at times banana generates the sticker having almost similar background colour as of subject so the custom code removes the pixel from subject as well

Please help how I make sure that banana chooses different background colour every time which is not in subject

Create a clean clip-art of {{ $json.sanitized_prompt }}. \n\nRULES: \n- Must be fully original. Do NOT match any real person or copyrighted/franchise character. If the prompt suggests one, replace with a fictional, safe alternative. \n- No logos, trademarks, brands, or recognisable commercial designs. \n- Only safe, family-friendly content. \n\STICKER REQUIREMENTS: \n- Single subject, centered, no extra elements. \n- No drop shadows, cast shadows, ground shadows, reflections, glows,
or halos. \n= No
borders, no outlines, no frames, no text. \n= Clean, sharp edges with bold, high-contrast colors. \n\BACKGROUND REQUIREMENTS – CRITICAL: \n= FIRST: Analyze all colors present in the subject/character. \n= THEN: Choose a background color from this list that does NOT appear in the subject: hot pink (#FF1493), electric purple (#9D00FF), neon cyan (#005FF), obsidian violet (#33753), iron blue-grey (#51606D), dusklavender slate (#6A5D89), mossed silver green (#7D8C7A), burnt umber neutral (#715D4E) , smoky hyacinth grey (#A8A0C3), deep carbon blue-black (#1A1F29),pale antique gold (#C7B37C). \n= The background MUST be a single flat color with ZERO variation. \n= Absolutely NO gradients, NO shading, NO lighting effects, NO noise, NO texture. \n- The background color must be COMPLETELY ABSENT from the subject – not even in small details. \n-Background must fill the entire canvas edge-to-edge with no padding or margins. Choose the color with the strongest contrast to all colors in the subject. \n \nIf the user requests anything unsafe or copyrighted, rewrite it silently into the closest safe substitute.

Leave a Reply