# Split into Layers

> Split an image into layers with AI: a clean background and a transparent PNG for every object. A tutorial and 8 real runs, from a product to a street.

Source: https://nodaro.ai/docs/apps/split-into-layers

**Split into Layers** is a Nodaro app that splits an image into layers with AI. It returns a clean background and a transparent PNG for every object in the picture. You add a picture and click **Split**. Each element, such as a product, a pet or a sign, comes back as its own file, ready to move, edit or reuse.

Open the app at [nodaro.ai/apps/image-split-into-layers](https://nodaro.ai/apps/image-split-into-layers).

## When to split an image into layers
- You want to move, resize or remove one object in a picture and keep the rest.
- You need a product, a person or a pet as a transparent PNG, and the empty scene behind it as well.
- You want to edit a design or a sign one element at a time, as if the picture had layers.
- You want to animate each element of a picture on its own.
- You want to extract objects from an image to reuse them in other pictures.

To cut out one subject and drop the background, use [Remove Background](https://nodaro.ai/docs/apps/remove-background). To remove one object and fill its place, use [Inpaint / Erase](https://nodaro.ai/docs/apps/inpaint-erase).

## How to split an image into layers
This tutorial splits a photo of a house into a background, the house and the tree. It takes 6 steps and about one minute. Every screenshot is from the app itself.

### Open the app

Open [Split into Layers](https://nodaro.ai/apps/image-split-into-layers). The panel on the left holds the picture, **Max layers**, **Size**, **What to separate** and the **Split** button. The large area on the right shows an example until you add a picture.

![The Split into Layers app before a picture is added: the panel with Add one image, Max layers 4, Size 1K, What to separate and Split, and an example of two people in an elevator split into 3 layers.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-start-b4ab5c858120.webp)

The app before you add a picture

### Add a picture

In **Add one image**, drag a picture onto the box. You can also click the upload button, or click the **Media** button to choose a picture you already have in Nodaro. The picture appears on the right. Once you are signed in, the **Split** button shows the price.

![The app with a photo of a two-story house with a tree on a lawn. The panel shows Your picture, Max layers 4, Size 1K and Split with its price.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-picture-02530036d2d5.webp)

The picture is added, and Split shows the price

### Set Max layers

Click **Max layers** and choose a number from 1 to 20. The app starts at 4. **Max layers** is the most layers a run can make. A run makes fewer when it finds fewer elements, and you pay only for the images it returns.

![The Max layers menu is open with the numbers 1 to 17 in view, and 4 is selected.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-max-layers-e0cc705f7bb4.webp)

The Max layers menu

A low number groups elements together. A high number keeps them apart. [Max layers and What to separate compared](#compare) shows the difference on the same picture.

### Choose the size

Click **Size** to choose **1K**, **1.5K**, **2K** or **Auto**. The app starts at 1K. 1K and 1.5K cost the same, and 2K and Auto cost more. The runs on this page used 1K.

![The Size menu is open with 1K, 1.5K, 2K and Auto, and 1K is selected.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-size-11719f365777.webp)

The Size menu

### Name what to separate

**What to separate** is optional. Leave it empty and the app finds the main elements itself. To choose the elements, name them in a few words. This tutorial uses "the house and the tree".

![The panel with Max layers 4, Size 1K, the words the house and the tree in What to separate, the note You're charged only for the images it returns, and Split with its price.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-words-460a359ea77e.webp)

The panel is ready

### Split and download the layers

Click **Split**. The runs for this page took from about 35 seconds to just over one minute. When the run ends, the app shows the result with a title such as **Background + 2 layers**. Each layer sits on a checkerboard, which marks its transparent area.

![The finished run, titled Background + 2 layers, saved to Library: the lawn with new trees where the house stood, the tree alone and the house alone on a checkerboard. Each tile has a download button and Use as reference.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/app-done-82fd60f22b0c.webp)

The result: the background and 2 layers

The first tile is the **Background**. The layers follow, from the bottom of the stack to the top. Each layer has a name that says what it shows, and a number, such as **layer 1**. You can:

- Click **Download all** to save the background and every layer as PNG files.
- Click the download button on a tile to save that one file.
- Click **Use as reference** to open [Create Image](https://nodaro.ai/docs/apps/create-image) with that layer in the prompt.
- Mark the run as a **Favorite**.

Every file is also saved to your Library. Every run stays in the app, in your list of runs.

## Examples
Every example below is a real run in the app, at **Size** 1K. Each result is the first take. Each source photo was made with [Generate Image](https://nodaro.ai/docs/nodes/image/generate-image) and is 1,448 × 1,086 pixels. The layers are transparent PNGs, shown on a checkerboard.

### A product photo
**Max layers** 4, no words. The run gave a background and 4 layers.

Comparison:
- Your picture: ![A clear glass perfume bottle with a gold cap on a marble counter, with towels, a vase and a soap dispenser around it](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-src-b2c41956e500.webp)
- Background: ![The same marble counter, window and mirror with nothing on the counter](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-background-928ab7415bda.webp)

Comparison:
- Layer 1: ![The perfume bottle alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-layer-1-2a278fca20ed.webp)
- Layer 2: ![The two stacked towels alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-layer-2-ea7af5ed1a78.webp)

Comparison:
- Layer 3: ![The glass vase with green leaves alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-layer-3-bdc155a194c5.webp)
- Layer 4: ![The marble tray with the soap dispenser and a small jar alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/perfume-layer-4-622905ba6b48.webp)

The bottle, the towels, the vase and the tray each became a layer. The background is an empty marble counter in the same light. The reflection of the bottle on the counter is in neither the layer nor the background. Add a shadow when you place the bottle on a new background.

### A pet on the beach
**Max layers** 4, no words. The run gave a background and 1 layer.

Comparison:
- Your picture: ![A golden retriever running on a beach toward the camera](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/dog-src-caaf5f1fcfe1.webp)
- Background: ![The same beach, sea and wet sand without the dog](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/dog-background-a00c96676bab.webp)

Comparison:
- Your picture, zoomed in: ![A zoomed part of the photo: the running dog with splashes of water and sand](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/dog-src-zoom-0b01f6a018eb.webp)
- Layer 1: ![The dog alone on a transparent background, with its fur and the splashes around its paws](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/dog-layer-1-0283c849bdb3.webp)

The app found one element, so the run made one layer and was charged for 2 images, not 5. The fur keeps its soft edge, and the splashes stay with the dog as small, half-transparent specks. The background is the beach with no dog.

### A cartoon character
**Max layers** 4, no words. The run gave a background and 3 layers.

Comparison:
- Your picture: ![A 3D cartoon fox with a blue scarf waving in a forest clearing with red mushrooms](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-src-16009245398d.webp)
- Background: ![The same forest with a dirt path where the fox stood, and no mushrooms](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-background-c8bf4bdc850c.webp)

Comparison:
- Layer 1: ![The cartoon fox alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-layer-1-982001b4fe72.webp)
- Layer 2: ![The group of red mushrooms and daisies from the left alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-layer-2-fa2f6a8b4b6c.webp)

Comparison:
- Your picture, zoomed in: ![A zoomed part of the picture: the small mushrooms at its bottom right corner](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-src-zoom-515b7c351b2a.webp)
- Layer 3: ![The mushrooms from the right alone on a transparent background, soft and cut at the right edge](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/fox-layer-3-57a41851a13e.webp)

The fox and two groups of mushrooms became layers, in the same cartoon style. In the background, the model drew a forest path where the fox stood. The mushrooms on the right were a small part of the picture, so their layer was enlarged and looks soft. They are also cut at the right edge, as in the picture.

### A shop sign with words
**Max layers** 4, no words. The run gave a background and 4 layers.

Comparison:
- Your picture: ![A bakery shop front with a wooden sign that reads Golden Crust Bakery, a display window with bread, an open door and a chalkboard](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-src-ee1bc392e20c.webp)
- Background: ![A plain stone wall with a lamp, a hanging basket, a flower box and two pots. The sign, the window, the door and the chalkboard are gone](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-background-279f6749faf2.webp)

Comparison:
- Layer 1: ![The wooden sign alone on a transparent background, with both lines of words](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-layer-1-fa9ebf7e1fe8.webp)
- Layer 4: ![The chalkboard with Open and the hours alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-layer-4-991878090fb8.webp)

Comparison:
- Layer 2: ![The display window with bread in its green frame alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-layer-2-1079f3c0c141.webp)
- Layer 3: ![The open green door with the shop inside alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/bakery-layer-3-6a1dddd75bc1.webp)

The sign keeps both lines of words exactly, so you can place it on another picture. The model removed the whole green shop front and drew a stone wall in its place. The lamp, the hanging basket, the flower box and the pots stay in the background. The window layer also holds the top of the flower box.

### Name the elements you want
**Max layers** 4. This is the tutorial run.

```
the house and the tree
```

Comparison:
- Your picture: ![A two-story house with red brick and beige siding, a tree on the left and a lawn with a walkway](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-src-c8709823bd20.webp)
- Background: ![The same lawn and walkway with new trees and a fence where the house stood](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-words-background-0dfd31398557.webp)

Comparison:
- Layer 1: ![The tree alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-words-layer-1-6b2943f63e74.webp)
- Layer 2: ![The house alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-words-layer-2-f7da513de252.webp)

The words named two elements, so the run made 2 layers and was charged for 3 images. The model drew new trees and a fence behind the place of the house. The lawn, the walkway and the flower beds stay in the background.

## Max layers and What to separate compared
Two pictures ran twice with one change. Each pair below shows the two backgrounds.

### The same house with and without words
Both runs used **Max layers** 4. One run had these words, and the other run had none.

```
the house and the tree
```

  - **With the words** · Max layers 4 · background + 2 layers · 3 images charged. The tree and the house became layers. The walkway and the flower beds stay in the background. ![The lawn and the walkway with new trees and a fence where the house stood.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-words-background-0dfd31398557.webp)
  - **No words** · Max layers 4 · background + 4 layers · 5 images charged. The tree, the house, the walkway and the flower beds became layers. The background is a bare lawn in front of a fence. ![A bare lawn in front of a wooden fence, with no house, walkway or flower beds.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-auto-background-4f9716f74dc1.webp)

Comparison:
- Layer 3, no words: ![The paved walkway alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-auto-layer-3-cf1699ece4fd.webp)
- Layer 4, no words: ![The flower beds alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/house-auto-layer-4-9291918770e7.webp)

With no words, the app chose the elements itself and filled all 4 layers. The walkway and the flower beds became layers of their own. Name the elements when you want to keep the rest of the scene in the background.

### The same street with 4 and 10 layers
Both runs used this street photo with no words. The only change is **Max layers**.

![A narrow street with cafes, awnings, an olive tree in a wicker planter, rattan chairs, a street lamp and parked bicycles.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-src-77e3bd298fb1.webp)

The street photo of both runs

  - **Max layers 4** · background + 3 layers · 44 credits. Three wide layers: the cafe seating on the left, the shop front on the right, and the paved street. Most of the chairs, planters and bicycles are still in the background. ![The street with most of its cafe chairs, planters and bicycles still in place.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-4-background-ff46851b6231.webp)
  - **Max layers 10** · background + 10 layers · 11 images charged. Ten separate objects, such as the awnings, the table set, the street lamp and the bicycles. The background is the street and the shop fronts. An olive tree stays on the left, with no planter under it. ![The street with its shop fronts and no awnings, cafe chairs, bicycles or street lamp. An olive tree stands on the left with no planter.](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-10-background-b43098baac44.webp)

Comparison:
- Max layers 4, layer 1: ![One layer that holds the awning, the olive tree in its planter, the cafe chairs and part of the shop front](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-4-layer-1-3f9aba3cfc72.webp)
- Max layers 10, layer 3: ![One layer that holds only the wooden table and the rattan chairs](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-10-layer-3-d5d3760ae4fd.webp)

Comparison:
- Max layers 10, layer 9: ![The parked bicycles alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-10-layer-9-def57471a095.webp)
- Max layers 10, layer 8: ![The black street lamp alone on a transparent background](https://cdn.nodaro.ai/site-media/docs/apps/split-into-layers/street-10-layer-8-c20aa773a199.webp)

| Run | Layers | Images charged | The background |
| --- | --- | --- | --- |
| House, "the house and the tree" | 2: the tree and the house | 3 | New trees and a fence where the house was. The walkway and the flower beds stay |
| House, no words | 4: the tree, the house, the walkway and the flower beds | 5 | A bare lawn and a fence |
| Street, Max layers 4 | 3 wide groups | 4 | Most of the chairs, planters and bicycles stay |
| Street, Max layers 10 | 10 single objects | 11 | The street and the shop fronts. An olive tree stays, with no planter |

In this test, a busy scene needed a high **Max layers** to clear the background. With 4, each layer held a whole side of the street, and the same things were still in the background. Words did the opposite on the house: they kept the walkway and the flower beds out of the layers.

## Where splitting an image into layers needs care
### The background is drawn, not uncovered
The app does not know what was behind an element. The model draws what could be there. Behind the house it drew new trees and a fence, and in place of the bakery's shop front it drew a stone wall. Check the background before you use it on its own.

### Few layers in a busy scene
On the street with **Max layers** 4, each layer held a large group, such as the awning, a tree, the chairs and part of the shop. Most of those things also stayed in the background, so a layer placed back on it shows some of them twice. Raise **Max layers** for a busy scene.

### Shadows and reflections
A layer holds the element itself. In the product example, the reflection of the bottle on the marble is in neither the bottle layer nor the background. Add a shadow or a reflection when you place a layer on a new background.

### Small elements and the size of the files
Each layer is cropped to its element and saved at about one megapixel at 1K. A small element is enlarged to that size, like the mushrooms on the right of the fox picture, so it can look soft. At 1K, the background of each 1,448 × 1,086 photo came back at 1,182 × 887 pixels, smaller than the photo. For larger files, choose **2K** or **Auto**, which cost more.

### The names of the layers
The model names each layer by what it shows, in English, such as "Square clear glass perfume bottle". A long name is cut on its tile. The name also goes into the file name when you download the layer.

## Tips
- **Name the elements you need.** "the house and the tree" gave exactly those 2 layers.
- **Raise Max layers for a busy scene.** 10 layers cleared most of the street. 4 layers left most of it in place.
- **Lower Max layers to group.** A low number puts several elements in one layer.
- **Check the background.** It is drawn by the model, so look at it before you use it alone.
- **Add a shadow when you place a layer.** The layers have no shadow or reflection.
- **Work on in other apps.** Click **Use as reference** to use a layer in Create Image. To split pictures inside a workflow, use the [Split into Layers](https://nodaro.ai/docs/nodes/image/split-into-layers) node in Flow.

## Credits
You pay for each image that a run returns: the background and each layer. The **Split** button shows the most a run can cost, the price of **Max layers** plus the background, as "up to" a number of credits. A run that returns fewer layers is charged less.

At 1K and 1.5K, a run that returns 3 layers is charged 44 credits, as in the fox and the street examples. With **Max layers** 5, the button shows up to 64 credits. With **Max layers** 9, it shows up to 104 credits. At 2K and **Auto**, a run that returns 3 layers is charged 74 credits. See [Credits](https://nodaro.ai/docs/concepts/credits).

## Frequently asked questions

### How do I split an image into layers?

Open Split into Layers, add your picture and click Split. The app returns a clean background and one transparent PNG for each element it finds. You can set Max layers and the Size, and name the elements you want in What to separate.

### What files does Split into Layers return?

A background with the elements taken out, and one transparent PNG layer for each element, cropped to the element. Every file is saved to your Library. Download all saves the background and every layer as PNG files.

### How many layers does a run make?

Up to Max layers, from 1 to 20. The app starts at 4. A run makes fewer layers when it finds fewer elements. In the tests on this page, a dog on a beach gave 1 layer and a cartoon fox gave 3.

### How many credits does Split into Layers cost?

You pay for each image a run returns, the background and every layer. The Split button shows the most a run can cost. For example, a run at 1K that returns 3 layers is charged 44 credits.

### Is the background the real scene behind the objects?

No. The model draws what could be behind each element it takes out. In the tests on this page, it drew new trees behind a house and a stone wall in place of a shop front. Check the background before you use it.

### Can I choose which objects become layers?

Yes. Describe them in What to separate, for example "the house and the tree". With these words, the house photo on this page gave 2 layers, the tree and the house. With no words, it also made layers of the walkway and the flower beds.
