---
title: "Api Generate Overlay"
method: POST
path: "/api/overlays/generate"
---

# Api Generate Overlay

`POST /api/overlays/generate`

## Request

- Base URL: `https://sleipnir.tv` (the document declares no server; this is the origin it was published from)
- URL: `https://sleipnir.tv/api/overlays/generate`
- Auth: none declared

HTTP entry point to the shared overlay-generation callable (the MCP
tool reaches the SAME callable via /internal/generate-overlay). All logic
lives in _do_generate_overlay so the two transports cannot drift.

## Cookies

- `relay_session` string, nullable

## Request body

- GenerateOverlayBody
  - `prompt` string, required
  - `name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sleipnir/apis/relay-control-plane.md) · [All operations](https://skmtc.dev/sleipnir/apis/relay-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sleipnir/apis/relay-control-plane/revisions/79829f6945a4?raw)
