---
title: "Create Video"
method: POST
path: "/api/projects/{project_id}/scenes/{scene_id}/videos"
---

# Create Video

`POST /api/projects/{project_id}/scenes/{scene_id}/videos`

Create a new video/motion for a scene.

Args:
    project_id: Project ID
    scene_id: Scene ID to add the video to
    request: JSON body with 'prompt' and 'duration' fields
    current_user: Authenticated user
    db: Database session
    
Returns:
    Created video data

## Path parameters

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

## Request body

- object

## 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/f8e2de87ddae/schema)
