---
title: "Delayer Image"
method: POST
path: "/{visual_id}/image_to_psd"
tags: ["Image Editing"]
---

# Delayer Image

`POST /{visual_id}/image_to_psd`

**Description**

***Note: This API route requires the image to be registered via the `/register` route.***
**It will be replaced soon with isolated version, that doesn't require image registration.**


The *Image to PSD Route* is used to create a layered PSD file from any image.

The image is divided into different layers (depending on the image): a background layer with all identified objects removed, a foreground layer without the background, and a layer for each object. 

You can also use this route on a modified image by providing the sid from the response of the previously used route.

## Path parameters

- `visual_id` string, required

## Query parameters

- `sid` string

## Headers

- `api_token` string, required

## Response `200`

Successful operation.

- object
  - `image_res` string — URL that represents the updated visual created in the request. It is a temporary URL that will expire

## Other responses

- `400` — Bad request.
- `404` — Specified Image does not exist.
- `405` — Method not allowed.
- `429` — Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
- `500` — Internal server error.
- `506` — Insufficient data. The given input is not supported by the Bria API.

---

[API](https://skmtc.net/bria-ai/apis/the-bria-api.md) · [All operations](https://skmtc.net/bria-ai/apis/the-bria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/the-bria-api/revisions/2768230345a5/schema)
