Skip to main content
Glama

Set Layer Properties

photopea_set_layer_properties

Update layer opacity, blend mode, visibility, name, and lock status in Photopea. Modify specific attributes while preserving others to control transparency, blending effects, and editing access.

Instructions

Update one or more properties on a layer. Only specified properties are changed; others remain at their current values. Use get_layers to inspect current property values before modifying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesLayer name (string) or index (number)
opacityNoLayer opacity percentage (0 = fully transparent, 100 = fully opaque)
blendModeNoBlend mode (e.g. normal, multiply, screen, overlay, darken, lighten, color-dodge, color-burn)
visibleNoLayer visibility (true = visible, false = hidden)
nameNoNew display name for the layer
lockedNoWhether the layer is locked (true = prevent edits, false = allow edits)

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