The image-to-layers tool

Image to layers

Turn a flat PNG or JPEG into separate layers with AI. Upload once and get a base image plus one transparent layer per element — text, subjects, decorations, background — then download them individually or export a layered PSD.

  • Named layers
  • Transparent PNG
  • Layered PSD export
See image-to-layers examples

See an image separated into layers

A real Magic Layers task: one magazine cover split into a flattened base image plus the runner, barcode and masthead text as transparent PNG layers.

Flat image in
See an image separated into layers

Base image — The flattened magazine cover as it was uploaded

Layers out (4)

Real output from an image-to-layers task. Every layer comes back as a separate image you can preview, download or export in a layered PSD.

What you get back

Not a folder of anonymous crops. Every separated element arrives ready to use in the tools you already work in.

Transparent PNG layers

Each element comes back as a PNG with a clean alpha channel, ready to drop into Photoshop, Figma, Canva, a slide deck, or a game engine.

Named and described

The AI labels every layer it finds — "Gold circle", "Headline", "Product bottle" — so you know what a file is before you open it.

Position for every layer

Each layer keeps its detected position and stacking order. Click a layer to highlight exactly where it sits in the original image.

You steer the split

Describe what you want back — every person, just the clothes, the headline — and pick the target count from 2 to 15 images. You pay only for what comes back.

How to separate an image into layers

Upload, submit, and return for your layers.

  1. Upload your image

    Drop in a PNG or JPEG. Large images are resized automatically before upload. Your file stays private.

  2. Choose your layers and submit

    Choose a target of 2–15 images and optionally describe the split. Submit the task; after confirmation, you can leave the page. Tasks run one at a time per account.

  3. Return to review and download

    Follow progress in My tasks. When a task completes, preview individual layers, download them or export a layered PSD. PSD export uses existing results and no extra credits.

What is image layer separation?

Image layer separation is the process of taking one flat, already-rendered image and splitting it back into its individual visual elements — background, subject, text, and decorations — as separate images with transparency.

Magic Layers does this automatically. You upload a single PNG or JPEG, optionally describe what to separate — for example all the people in a photo or the clothes on a model — and get back a base image plus one transparent PNG per element, each with a name, a short description, and the position it occupied in the original. Nothing about the source file is needed: the separation is inferred from the pixels, so it works on images you no longer have the project file for.

Input
One PNG or JPEG per job, up to 10 MB (larger images are downscaled automatically), at least 512×512 px
Output
A base image and named image layers, with layered PSD export
Layers per job
You choose the target, from 2 to 15 images (1 base + the rest as layers); billed per image actually returned
Cost
20 credits per layer, including the base image
Storage
Successful source images and generated layers are stored privately in R2 until you delete the history record; unfinished uploads expire after 7 days
Works with
Photoshop, Figma, Canva, slide decks, game engines

More than background removal

A background remover gives you one subject on a transparent background. Magic Layers separates every major element, so you can move, replace, or restyle any part of the image.

Background remover

  • One subject, one cutout
  • Everything else is discarded
  • Text and decorations stay flattened
  • Rebuild the rest by hand

Magic Layers

  • Every major element separated
  • Each layer named and described
  • Text, subject, and decorations split apart
  • Download only the layers you need

What people use image layer separation for

Anywhere a finished visual needs to become editable again.

Marketing creative variations

Split a finished campaign visual into background, headline, product, and badges — then test new copy and layouts without hunting for the lost source file.

Social posts and thumbnails

Recompose one thumbnail for vertical stories, square posts, and wide video covers instead of masking the subject out by hand every time.

Presentation assets

Pull charts, icons, labels, and shapes out of a flat slide screenshot and rebuild it as a clean, editable composition.

Game and UI prototyping

Turn flattened concept art and interface mockups into separate characters, panels, and props for parallax scenes and clickable prototypes.

E-commerce imagery

Separate the product, price label, and background surface so you can restage a shot for a new placement or marketplace.

Studying a design

See how a visual is built by stepping through its layers — useful for learning composition and planning your own original version.

Image to layers: frequently asked questions

How the conversion works, layer counts, formats, credits, and storage.

How do I convert an image to layers?

Upload a PNG or JPEG, choose how many images you want back (from 2 to 15, including one base image), optionally describe what to separate, and submit the task. The model returns a base image plus one transparent PNG per element, each with a name and its position in the original. You can preview every layer, download it, or export all of them as a layered PSD.

What does “image to layers” mean?

It means splitting one flat, already-rendered picture back into the separate images it was built from — background, subject, text, decorations — so each element can be moved, recolored, or reused on its own. The separation is inferred from the pixels by an AI model, so it also works on images whose original project file no longer exists.

Which images can I turn into layers?

One PNG or JPEG per job, up to 10 MB and 4096 × 4096 total pixels, with at least 512 × 512 total pixels. Larger images are resized automatically in your browser before upload. Logos and flattened exports are the most common inputs.

How many layers will I get?

You choose the target, from 2 to 15 images in total, counting one base image. The target is a request, not a guarantee: the model decides how to split the picture and can return fewer or more images. You are billed per image actually returned.

How much does image to layers cost?

20 credits per image actually returned, including the base image. A job needs a balance of at least the target count multiplied by 20 credits to start. If the model returns more images than the target, the extras are also charged. Failed jobs are never charged.

Can I leave the page while the task runs?

Yes. Once submission is confirmed, processing continues in the background — you can close the tab and come back later. Each account runs one task at a time and can hold up to 10 unfinished tasks; follow everything under My tasks.

Can I export the layers as a PSD file?

Yes. One click exports all returned images as a new layered PSD for Photoshop and compatible editors. The PSD contains raster layers — it does not recover editable text, vectors, or the original source document, and layers without positioning data need manual placement.

What happens to my images?

Successful source images and generated layers are stored privately until you delete the task or your account; unfinished uploads expire automatically after 7 days. The image is sent to a processing provider to perform the separation.

Separate your first image

Upload a PNG or JPEG and get editable layers back in a few minutes.

Upload an image

Notes and sources

The claims on this page about file formats and transparency come from the published specifications, not from our own benchmarks. The references below are where to check them.

“Indexed-color, greyscale, and truecolor images are supported, plus an optional alpha channel.”

— W3C, Portable Network Graphics (PNG) Specification (Third Edition)

This optional alpha channel is what lets every separated element sit on a transparent background instead of a solid rectangle.

  1. Portable Network Graphics (PNG) Specification (Third Edition) — W3C. Defines the alpha channel that makes a transparent PNG layer possible.
  2. Image file type and format guide — MDN Web Docs. States that JPEG does not support an alpha channel — which is why a JPEG upload always comes back as PNG layers.
  3. Explore the layers panel — Figma Help Center. The layer model that separated PNGs slot into once they are back in a design tool.

Page last updated