Jasper Image

Turn a flat image into editable layers.

Separate objects and elements into downloadable layers, with reconstructed backgrounds that make flat creative assets editable again.

Clean green surface used behind the decomposed object layersGreen stationery flat lay with six separate objects before Decompose

Where Decompose fits

Pick the workflow that looks most like your backlog, then use the same model through Jasper Image API, Jasper-managed image pipelines, or sales-led solution design.

Swipe to explore
01

Recover editable pieces from flat images

Break a finished image into movable layers so teams can resize, re-layout, or adapt assets without rebuilding the original design file.

Useful when the source file is missing but the image still has production value.

02

Extract products from multi-object scenes

Pull selected products, accessories, props, or scene elements into separate layers for reuse across catalog and campaign work.

Each mask becomes a layer URL that can feed downstream editing or compositing.

03

Power advanced editing workflows

Use Decompose as a foundation for recolor, recomposition, dynamic layouts, or asset-library generation inside your product.

The response returns JSON with background and layer URLs, not a single flat image.

Layering use cases Decompose is built for

A smaller set of proof examples, chosen to show the cases a buyer or technical evaluator is most likely to care about.

Swipe to explore

Quickstart: image and masks to layer URLs

Enough technical detail to qualify the endpoint quickly, with the full reference one click away.

API facts

EndpointPOST /v1/image/decompose
image_fileSource image · 30MB / 16MP max. PNG, JPEG, or WebP
mask_filesOne mask per element · 1 to 10 masks, 30MB / 16MP max each, same dimensions as source
background_output_formatBackground layer format · jpg / png / webp · Default: Not specified
layers_output_formatObject layer format · png / webp · Default: Not specified

Response is JSON with layer URLs, not a single binary image. Download promptly; URLs may expire.

curl -X POST https://api.jasper.ai/v1/image/decompose \
  -H "X-API-Key: $JASPER_API_KEY" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "background_output_format=png" \
  -F "layers_output_format=png"
# → { "background": {"url": …}, "layers": [ {"url": …} ] }

Benchmark access for layer-quality evaluation

The full Decompose benchmark helps teams evaluate layer separation, background reconstruction, edge quality, and whether mask-driven decomposition fits their editing workflow.

Request access when you want to review examples against your own asset types or understand how layer URLs can power downstream product experiences.

Preview the full benchmark

See visual cases, methodology, output notes, and the model behavior that matters for your category.

Access benchmark

FAQ

AI image decomposition separates a flat image into editable visual layers. Jasper Decompose returns selected elements as individual image layers plus a reconstructed background for downstream editing and recomposition.

Background removal usually returns one subject cutout. Jasper Decompose can return multiple editable layers and rebuild the background behind them, making a flat creative asset useful for relayout, recoloring, resizing, animation, and recomposition.

Jasper Decompose returns JSON containing a downloadable reconstructed background URL and a separate downloadable URL for each decomposed layer.

You can submit between one and ten masks in a single Jasper Decompose API call. Each mask identifies an element that should be returned as a separate layer.

Yes. Each requested layer starts with a binary mask that matches the source dimensions. Jasper V2.1 combines the user mask with model segmentation, making rough brush masks more forgiving. If your product has no mask editor, Jasper can demonstrate a sales-led agentic workflow that creates and handles the masks.

Jasper Decompose V2.1 combines the user mask with instance segmentation before reconstructing the background. This improves separation around imperfect masks, nearby objects, and remnants that can be left behind when a layer is removed.

Jasper's key differentiator is cleaner background reconstruction behind each extracted layer, not just subject isolation. Teams can request the Decompose benchmark to evaluate layer quality, edge fidelity, and reconstructed backgrounds against their own editing requirements.

Jasper evaluated V2.1 with third-party human A/B review of extracted layers and reconstructed backgrounds, supported by automated segmentation metrics. The evaluation favored V2.1 over Jasper's previous production pipeline.

Remove Background returns one foreground cutout. Cleanup removes a masked object from a finished image. Jasper Decompose returns multiple editable layers plus the reconstructed background, which supports more advanced editing workflows.

Make flat images editable in your product

Bring your image set, production constraints, or benchmark questions. Jasper can help map the right API, app, agent, or pipeline path.