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

# Create Keyframe

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

Create a new keyframe for a scene.
Similar to generating assets, but creates a keyframe for the scene.
Changes are propagated to clients via Supabase Realtime CDC.

Args:
    project_id: Project ID
    scene_id: Scene ID to add the keyframe to
    prompt: Text description of the keyframe to generate
    files: Optional list of reference images
    current_user: Authenticated user
    db: Database session
    
Returns:
    Created keyframe data with image URL

## Path parameters

- `project_id` string, required
- `scene_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)
