Skip to main content

Generate thumbnails for books in a scope

POST 

/api/v1/books/thumbnails/generate

This queues a fan-out task that enqueues individual thumbnail generation tasks for each book.

Scope priority:

  1. If book_ids is provided, only those specific books
  2. If series_ids is provided, only books in those specific series
  3. If series_id is provided, only books in that series
  4. If library_id is provided, only books in that library
  5. If none provided, all books in all libraries

Force behavior:

  • force: false (default): Only generates thumbnails for books that don't have one
  • force: true: Regenerates all thumbnails, replacing existing ones

Permission Required

  • tasks:write

Request

Responses

Thumbnail generation task queued