---
title: "Update Scene Motion"
method: PUT
path: "/api/projects/{project_id}/scenes/{scene_id}/plan/motion"
---

# Update Scene Motion

`PUT /api/projects/{project_id}/scenes/{scene_id}/plan/motion`

Update the motion/video (prompt/duration) for a specific video in a scene.
Returns the updated video record.

## Path parameters

- `project_id` string, required
- `scene_id` string, required

## Request body

- UpdateMotionRequest — Update a motion/video prompt and/or duration in a scene
  - `videoId` string, required
  - `prompt` string, nullable
  - `duration` integer, nullable — Duration in seconds

## 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)
