---
title: "Generate Scene Keyframes"
method: POST
path: "/api/projects/{project_id}/scenes/{scene_id}/keyframes/generate"
---

# Generate Scene Keyframes

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

Generate keyframe images for a scene's existing plan and propagate changes via Supabase Realtime.

- Parses the scene's stored LLM XML plan
- Generates keyframes sequentially (flat list, no shots)
- Saves each generated keyframe to DB (Supabase Realtime propagates changes to clients)

## Path parameters

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

## Query parameters

- `model` string, nullable

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