v12

latestOpenAPI 3.1.02026-08-031000506.8 KB
Styles

Update a style

Update style properties. Currently supports updating the public visibility of a style you own.

patch/styles/{id}

Path parameters

idstring required

A unique identifier for a style

Example:a3c07abb-df0f-494d-865d-4171ed93e66c

A unique identifier for a style

Request body

publicboolean nullable
urlsstring[]
titlestring
cover_urlstring

Response

Style updated successfully

idstring required

Unique identifier for the style

titlestring nullable required

Name of the style

urlsstring[] required

Portrait-oriented preview URLs

publicboolean required

Whether the style is publicly visible

cover_urlstring uri nullable

Cover image URL

promptstring required

Suggested prompt for using this style

modelsstring[]

Compatible model names (e.g., flux_dev, wan)

like_countnumber required

Number of likes

created_atstring required

Creation timestamp