---
title: "Set Chapter Cover"
method: POST
path: "/api/mcp/set_cover"
tags: ["mcp"]
---

# Set Chapter Cover

`POST /api/mcp/set_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/set_cover`
- Auth: none declared

Persist a chosen generated image as the chapter's cover.

`image` is an object returned by get_cover_image_status (`result.image`).
Returns `{chapter, cover}`. Overwrites any existing cover for the chapter.

## Request body

- SetChapterCoverInput
  - `job_id` string, required
  - `chapter` integer, required
  - `image` object, required: A generated image object (from get_cover_image_status result.image) to set as the 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)
