---
title: "Generate World For Keyframe"
method: POST
path: "/api/projects/{project_id}/keyframes/{keyframe_id}/generate-world"
---

# Generate World For Keyframe

`POST /api/projects/{project_id}/keyframes/{keyframe_id}/generate-world`

Generate (or return cached) 3D world from a keyframe image via World Labs.
Returns spz_url for client-side rendering with SparkJS.

The splat cache is cleared when the keyframe image URL changes for any reason
other than world-capture, so captures from this explorer reuse the same world.

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