Skip to main content
POST
Generate an AI cover image

Authorizations

Authorization
string
header
required

A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.

Headers

Idempotency-Key
string

Unique key (max 64 characters) for safe retries. Replays carry the "Idempotency-Replayed" response header set to "true". Keys are retained for 24 hours.

Maximum string length: 64

Path Parameters

id
string
required

Body

application/json
style_id
string

A saved cover style id from GET /v1/cover-styles. Not accepted together with style_text.

Required string length: 1 - 64
style_text
string

Optional one-off style description steering the artwork. Not accepted together with style_id.

Maximum string length: 8000
attach
boolean
default:true
account_id
string

Response

The generated cover.

data
object
meta
object