Styles

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

patch/styles/{id}

Request

  • Base URL: https://api.krea.ai
  • URL: https://api.krea.ai/styles/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

A unique identifier for a style

Example:0bfe7d87-48b8-45a3-8c62-fe276e42a70a

Request body

publicboolean
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

Changes

    • breaking

      the request property became not nullable

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the response property became nullable for the status

    • info

      the request property became nullable

    • info

      response property title list-of-types was narrowed by removing types null from media type application/json of response 200