latestOpenAPI 3.1.02026-08-171060561.9 KB

fbb6df88b341

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:f4ce5868-89d5-4b3e-9b4c-d73603f939ee

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