---
title: "Edit Layer Project Level"
method: POST
path: "/api/projects/{project_id}/keyframes/{keyframe_id}/layer-edit"
---

# Edit Layer Project Level

`POST /api/projects/{project_id}/keyframes/{keyframe_id}/layer-edit`

Edit a layer or masked region on a project-level keyframe (no scene_id required).

This is the video-centric version that doesn't require scene_id.
For mask edits: Draws a red rectangle on the image at mask_bounds.
For layer edits: Crops to the layer bounds, composites on green background.

## Path parameters

- `project_id` string, required
- `keyframe_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
