Skip to main content
Glama

Duplicate Layer

photopea_duplicate_layer

Create a copy of any layer in your active Photopea document. The duplicate appears above the original as the new active layer, with optional renaming to distinguish it from the source.

Instructions

Create a copy of a layer in the active document. The duplicate becomes the active layer and is placed above the original. Use newName to distinguish the copy from the original.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesLayer name (string) or index (number)
newNameNoDisplay name for the duplicated layer (defaults to 'original name copy')

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attalla1/photopea-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server