---
title: "Api Generate Theme"
method: POST
path: "/api/overlay/theme-generate"
---

# Api Generate Theme

`POST /api/overlay/theme-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/overlay/theme-generate`
- Auth: none declared

Turn a free-text style description into a VALIDATED theme param set for
the chat-overlay URL. The model emits only theme tokens (JSON), never
HTML/JS, and the output is run through overlay_theme.clean_params, so nothing
executable or invalid can reach the overlay. Tier-gated + burst limited.

## Cookies

- `relay_session` 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)
