AI Background Removal Transparent AVIF Never Saved to Disk

AVIF Background Remover

Remove the background from a photo and download the cut-out as a transparent AVIF in one step. It takes AVIF files as they are, along with JPG, PNG, WebP, HEIC, HEIF and HIF, and writes the subject on a full alpha channel in the format that usually produces the smallest transparent file. Three images with no signup, 25 a month with a free account, processed in memory and never saved to disk.

How to remove the background from an AVIF image

  1. 1

    Drop the file in as it is: an .avif, or a JPG, PNG, WebP, HEIC, HEIF or HIF. Up to 3 per batch with no signup or a free account, 25 on Seller and Pro.

  2. 2

    The background is removed from each image and the subject is written out as an AVIF with a full alpha channel. There are no settings: one output, a transparent AVIF.

  3. 3

    Download the cut-outs. Nothing was converted to PNG along the way, so there is no second step.

Got an AVIF you cannot edit?

AVIF often arrives by accident. More sites serve it, saving an image from the browser then gives you an .avif, and plenty of software still will not open one. Windows 11 needs a Microsoft Store extension for AVIF previews in some setups, and many background removers either refuse the file or hand back a PNG. This page reads the .avif directly and returns an .avif. If what you actually need is a JPG copy, AVIF to JPG does that, and What is an AVIF file? explains where they come from.

Common Use Cases

  • Ecommerce product shots on a clean background
  • Hero images and cut-outs for your own site
  • Profile pictures and team avatars
  • Stickers, emotes & Discord assets
  • Logos and product cutouts for decks
  • Hero graphics and Open Graph images

Why AVIF for a cut-out

AVIF stores transparency as a second, grayscale AV1 image inside the same file (AVIF specification), so the transparency is compressed with the same tools as the picture itself. On cut-outs with large transparent or soft-edged areas, that usually makes AVIF the smallest transparent option, smaller than WebP and far smaller than PNG. The gain depends on the image, so read it as usually, not always. The trade is reach: AVIF works in every current major browser, but older apps and some image libraries still show a transparent AVIF on black.

Where a transparent AVIF works

On the web, serve it inside a <picture> element with a WebP or PNG fallback, and every current browser picks the smallest file it can display (browser support). Outside the browser, support is thinner: some viewers and thumbnail generators do not read the alpha channel, and marketplaces generally re-encode uploads as JPEG, which flattens any transparency. For a listing, use the WebP background remover or ask Magic Flow in the web app to "remove the background and put it on a white background". If a cut-out turns black or white somewhere, Do WebP and AVIF support transparency? covers the causes.

Removing a background on Windows, Mac or iPhone

The built-in tools work on one image at a time and none of them writes a transparent AVIF: Paint's Remove background on Windows 11 saves the cut-out as PNG, Preview's Remove Background on a Mac converts the image to PNG, and lifting a subject in iPhone Photos gives you a copied cut-out. Turning any of those into an AVIF is a separate conversion. This page does it in one step, for a batch, and accepts the AVIF those tools may not open.

Transparent cutout: choosing the right format

FormatTransparencyFile sizeBest for
AVIFYesUsually the smallestModern sites with a fallback
WebPYesSmallThe widest support for a transparent file on the web
PNGYesLargePrint, archive masters, older editors
JPEGNoSmallNot for cut-outs: the background is flattened

Bulk and automated background removal

Background removal is included on every plan, Free and the Day Pass too. Seller and Pro accounts process up to 25 files per batch at up to 75MB each, and a Day Pass gives you 100 uploads in 24 hours for $2 with no account. From an AI agent, use the hosted or local MCP server; from code, the REST API:

curl -X POST "https://api.mochify.app/v1/squish?removeBackground=true&type=avif" \
  -H "Authorization: Bearer $MOCHIFY_KEY" \
  --data-binary @product.avif \
  -o product-cutout.avif

Files travel over HTTPS to api.mochify.app, are processed in memory and discarded. Full parameter reference in the API documentation.

Frequently asked questions

Is the AVIF background remover free?

Yes. Background removal is included on every plan, including Free. Process 3 images a month with no signup, or 25 a month with a free account, at up to 20MB per file and 3 per batch. A $2 Day Pass covers 100 uploads in 24 hours with no account, and Seller and Pro plans take 25 files per batch at up to 75MB each.

Can AVIF files be transparent?

Yes. AVIF carries a full alpha channel, stored as a second image inside the file, so soft edges and shadows survive. The file this page returns has the removed background as that alpha channel. If it appears on black or white somewhere, the app showing it cannot read AVIF transparency, or the site re-encoded it.

Can I upload an AVIF file?

Yes. Drop the .avif in directly; it does not need converting first. JPG, PNG, WebP, HEIC, HEIF and HIF files are accepted too, and every cut-out comes back as a transparent AVIF.

Should I use AVIF or WebP for a cut-out?

AVIF is usually the smaller file; WebP opens in more apps and tools. For a website that can serve a fallback, AVIF. For anything going into an editor, a CMS you have not tested, or a document, WebP is the safer choice, and the WebP background remover does the same cut-out.

Can I get a white background instead of a transparent one?

Not on this page, which always returns transparency. Use Magic Flow in the web app and ask for it, for example "remove the background and put it on a white background", and you get the flattened image in any format you name. It works on every plan.

What photos work best?

Photos with one clear subject, such as a product, a person or an object, give the cleanest edges. Busy scenes with no obvious foreground, or a subject that matches its background, are harder and get a best estimate, so check those results.

Can I remove backgrounds from many images at once?

Yes. Free and no-signup batches are 3 files; Seller, Pro and the Day Pass take 25 per batch. For larger jobs, call the REST API with removeBackground=true and type=avif, or run it from an AI agent through the Mochify MCP server.

Do you keep my photos?

No. They travel over HTTPS to api.mochify.app, are processed in memory and discarded. Nothing is written to disk, nothing containing your files is logged, and nothing is used to train AI. Metadata, including GPS location, is stripped by default; to keep it, use the web app's Strip EXIF switch or stripExif=false on the API.

Also available