---
title: "Generate Chapter Cover"
method: POST
path: "/api/mcp/generate_cover"
tags: ["mcp"]
---

# Generate Chapter Cover

`POST /api/mcp/generate_cover`

## Request

- Base URL: `https://writer.swapp1990.org` (the document declares no server; this is the origin it was published from)
- URL: `https://writer.swapp1990.org/api/mcp/generate_cover`
- Auth: none declared

Generate a non-spoiler cover image for a chapter.

Reads the chapter, plans an establishing scene that sets the chapter up
without revealing its climax or twist, grounds it on the featured cast's
reference art (gpt-image-2 multi-reference edit — pose sheet preferred
per character), and renders it through DesignForYou.
Returns `{cover_job_id, status: "running"}` — poll
`get_chapter_cover_status` until terminal. The generated cover is saved
on the chapter (`output_artifacts.chapters[n].cover`).

## Request body

- GenerateChapterCoverInput
  - `job_id` string, required: The story job id.
  - `chapter` integer, required: 1-based chapter number to cover.

## Response `200`

Successful Response

- GenericToolResponse: Fallback for tools whose payload is still being tightened.
  - `story_url` string, nullable
  - `article_url` string, nullable
  - `job_id` string, nullable
  - `status` string, nullable
  - `is_terminal` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api.md) · [All operations](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/revisions/ce5e2a89ab4d?raw)
