---
title: "Generate theme colors"
method: POST
path: "/api/v3/theme/generate"
tags: ["V3 Theme"]
---

# Generate theme colors

`POST /api/v3/theme/generate`

Generates a complete theme color palette from optional seed colors. Provide any combination of `primary`, `background`, `accent_1`, `accent_2`, `text_1`, and `text_2`; missing colors are derived automatically. The response contains presentation-ready colors for backgrounds, text, cards, strokes, and graph series.

## Headers

- `Authorization` string, required — Bearer JWT or API Key

## Request body

- GenerateThemeRequestV3
  - `primary` string, nullable
  - `background` string, nullable
  - `accent_1` string, nullable
  - `accent_2` string, nullable
  - `text_1` string, nullable
  - `text_2` string, nullable

## Response `200`

Theme color palette generated successfully.

- ThemeData
  - `primary` string, required
  - `background` string, required
  - `card` string, required
  - `stroke` string, required
  - `primary_text` string, required
  - `background_text` string, required
  - `graph_0` string, required
  - `graph_1` string, required
  - `graph_2` string, required
  - `graph_3` string, required
  - `graph_4` string, required
  - `graph_5` string, required
  - `graph_6` string, required
  - `graph_7` string, required
  - `graph_8` string, required
  - `graph_9` string, required

## Other responses

- `401` — Authentication is required.
- `422` — Validation Error

---

[API](https://skmtc.dev/presenton/apis/fastapi.md) · [All operations](https://skmtc.dev/presenton/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/presenton/fastapi/revisions/5dae3adc4ee8/schema)
