Skip to main content
POST
Generate Appearance Palette

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json

Natural-language brief → coordinated StoreAppearance palette.

instruction covers both the first generation ("voglio un tema caldo…") and the refine ("più caldo", "meno saturo"). On refine the client also sends current — the palette currently in the form — which the server injects into the prompt as the base to modify. sector / store_name are optional brand context; when omitted the server resolves what it can.

instruction
string
obbligatorio
Maximum string length: 600
current
Current · object | null
sector
string | null
Maximum string length: 200
store_name
string | null
Maximum string length: 200

Risposta

Successful Response

data
PaletteResponse · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null