Background Removal & Masking Guide

Plain-English guide on how and when to use AI cutout (BRIA), Shape Masking, Flood-fill, Edge Feathering, or No Removal across garments and print products.

Overview

When creating merch designs and AI filters, you choose how the generated image should be cut and placed onto the physical product.

Depending on your goal, you can:

  • Cut out the main character cleanly so only the person or mascot prints on fabric.
  • Crop into a clean geometric shape (like a circle or badge) using a template mask.
  • Soften harsh rectangular borders on paper prints and posters.
  • Print the full rectangular picture with its background scenery intact.

Quick Comparison Table

MethodWhat it doesBest forSafe for T-Shirts & Hoodies?
BRIA AI Cutout (bria)Smart AI isolates the person, character, or object and deletes the entire background scene.Apparel & Garments (T-shirts, hoodies, crewnecks), stickers.YES (Recommended)
Shape Mask (maskImageUrl)Stamps a fixed shape (circle, badge, oval) over the artwork like a cookie cutter.Badge/circle designs on apparel or posters with plenty of empty margin around the subject.YES (With safe margins)
None (none)Keeps the full rectangular image with 100% of the background scenery.Posters, canvas prints, framed wall art, full-box graphics.YES (Prints full box)
Flood-Fill Only (flood-fill-only)Erases a solid, single-color background from the corners with crisp, sharp edges.Simple flat-color backdrops with strong contrast. Lines can be jagged.CAUTION
Flood-Fill + Edge (flood-fill+edge)Erases a solid background and softly blurs/fades all the outer edges.Posters and paper prints where art fades into a light background.❌ FORBIDDEN (Ruins fabric print)
Edge Feather Only (edge-only)Keeps the full picture inside, but softly fades the 4 outer border lines.Posters and wall prints to avoid harsh rectangular border cuts.❌ FORBIDDEN (Ruins fabric print)

Decision Flowchart


The Methods Explained

1. BRIA AI Cutout (bria) — Smart Figure Cutout

What it does: An AI vision model inspects the image, recognizes the main subject (humans, cartoon characters, pets, or key objects), and removes the entire surrounding background.

When to use:

  • Always use this for apparel (T-shirts, sweatshirts, hoodies) when you want the character printed directly on fabric.
  • For stickers, badges, or designs where you only want the character silhouette.
  • Whenever the background has complex elements (scenery, lighting, textures, furniture) that simple color erasers cannot separate.

Pros:

  • Smart and organic: accurately traces hair, clothing contours, arms, and fine details.
  • Leaves no background boxes or stray background artifacts.

2. Template Masking (maskImageUrl) — Fixed Geometric Shape Cut

What it does: Acts like a physical cookie cutter stamped on top of the image. It cuts the artwork into a pre-designed shape (such as a circle, arched badge, diamond, or rounded rectangle) and turns everything outside that shape transparent.

When to use:

  • Clean emblem-style designs on t-shirts, hoodies, mugs, or posters where you want the art contained inside a sharp geometric frame.

3. Flood-Fill Only (flood-fill-only) — Solid Color Eraser

What it does: Starts from the 4 outer corners of the image and deletes flat background color inwards until it hits the subject. It creates hard, unsmoothed edges with no fading or blur.

When to use:

  • Only when the prompt generates a flat, 100% solid, uniform studio background (e.g. solid white or bright green) with sharp color contrast against the subject.

Limitations & Warnings:

  • Imperfect edges: AI-generated backgrounds have subtle color noise and compression dithering. This causes jagged, stair-stepped, or rough lines along the subject's outline.
  • Accidental erasures: If the character wears clothes similar in color to the backdrop, parts of the clothes will be deleted.
  • Trapped corners: If the character touches any border, the color fill gets blocked and leaves uncleared background patches.

4. Flood-Fill + Edge Feather (flood-fill+edge) — Knockout with Soft Fade

What it does: Erases flat background color from the corners, and applies a soft blur/feather to all the outer edges so the design melts into a soft vignette.

When to use:

  • Posters, art prints, postcards, and web graphics where you want artwork to fade dreamily into a white or light-colored background.

5. Edge Feather Only (edge-only) — Soft Border Fade (No Subject Cut)

What it does: Keeps the entire picture and background intact in the center, but softly blurs and fades the 4 outer perimeter lines so there are no hard rectangular box edges.

When to use:

  • Posters, framed wall art, and photo plaques where you want the full landscape or background scene, but want the image borders to melt smoothly into the paper.

6. None (none) — Full Opaque Image

What it does: The default setting. Preserves 100% of the image exactly as generated, with no transparency and full rectangular borders.

When to use:

  • Full-bleed posters, canvas gallery wraps, framed wall art.
  • Products where the background scenery (mountains, cityscapes, abstract patterns) is a core part of the piece.
  • All-over print (AOP) merchandise.

Summary Rules

  1. For T-Shirts & Hoodies with isolated characters: Always use BRIA.
  2. For T-Shirts & Hoodies with circular or emblem shapes: Use a Template Mask with a wide safety margin around the subject.
  3. Never use flood-fill+edge or edge-only on apparel: Soft faded transparency creates ugly white/grey underbase halos on fabric.
  4. For Posters & Canvas prints with full scenes: Use None (none) or Edge Feather Only (edge-only).
  5. Background removal is opt-in: If no mode is selected, it defaults to none.