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
  • Auth
    HTTP bearer

Path parameters

id, string required

A unique identifier for a style

Example:816ce72a-3535-44f4-8803-b2ab9ade0749

Request body

object required
public, boolean
urls, string[]
title, string
cover_url, string

Response

Style updated successfully

object required

Style response schema

id, string required

Unique identifier for the style

title, string nullable required

Name of the style

urls, string[] required

Portrait-oriented preview URLs

public, boolean required

Whether the style is publicly visible

cover_url, string uri nullable

Cover image URL

prompt, string required

Suggested prompt for using this style

models, string[]

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

owner, object nullable required

Style creator info (null for Krea-official styles)

like_count, number required

Number of likes

created_at, string required

Creation timestamp

Changes

    • breaking

      the request property public became not nullable

    • breaking

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

    • breaking

      the response property title became nullable for the status

    2 more changes in this revision