Generate AI book cover (Pro only)

Generates a book cover image using FLUX from a description or a title (either is sufficient). Pro tier required — free-tier keys receive 403. Returns a base64-encoded JPEG.

post/generate-cover

Request

  • Base URL: https://epublys.com/v1
  • URL: https://epublys.com/v1/generate-cover
  • Auth: HTTP bearer

Request body

descriptionstring

Visual description of the cover (subject, mood, style)

titlestring
authorstring
genre'fantasy' | 'romance' | 'thriller' | 'sci-fi' | 'literary' | 'non-fiction' | 'horror' | 'children' | 'poetry' | 'minimalist'

Book genre — affects style and composition

seedinteger

Optional seed for reproducible output

Response

Generated cover + monthly quota state

successboolean
imagestring

Base64-encoded JPEG

contentTypestring
usedinteger
capinteger
remaininginteger

Changes

No recorded changes to this operation across all 1 revision of this API.