Styles
Update a style
Changed onUpdate style properties. Currently supports updating the public visibility of a style you own.
patch/styles/{id}
Request
- Base URLhttps://api.krea.ai
- AuthHTTP 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
publicbecame not nullable
- breaking
- breaking
request property
publiclist-of-types was narrowed by removing typesnullfrom media typeapplication/json - breaking
the response property
titlebecame nullable for the status
2 more changes in this revision
- breaking