---
title: "Plan Style Previews"
method: POST
path: "/api/plan/style-previews"
---

# Plan Style Previews

`POST /api/plan/style-previews`

## Request

- Base URL: `https://api.kdpcoloringbook.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kdpcoloringbook.com/api/plan/style-previews`
- Auth: HTTP bearer

Render the one shared scene in each invented style so the user can pick a look.

Free users get one lifetime rendered preview (their first pick); past that
they fall back to choosing from the text descriptions, and asking for more
rendered styles raises the subscriber gate. Subscribers preview every
requested style at one ``style_suggest`` credit each.

## Request body

- StylePreviewRequest
  - `theme` string, required
  - `sample_scene` string, required
  - `styles` StyleCandidate[], required
    - `key` string, nullable
    - `name` string, required
    - `description` string, required
    - `name_local` string, nullable
    - `description_local` string, nullable

## Response `200`

Successful Response

- StylePreviewResponse
  - `previews` StylePreview[], required
    - `key` string, required
    - `name` string, required
    - `description` string, required
    - `url` string, required
    - `name_local` string, nullable
    - `description_local` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api.md) · [All operations](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api/revisions/f330c566ffc2?raw)
