Styles

List styles with pagination and filtering. Returns public styles, user-created styles, or shared styles based on the filter parameter.

get/styles

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Query parameters

cursor, string
limit, integer
ids, string
liked, boolean
user, string
model, string
filter, 'all' | 'user' | 'community' | 'krea' | 'shared' | 'unapproved' | 'editor' | 'gallery' | 'public'

Response

List of styles

object required
items, object[] required
next_cursor, string nullable required

Changes

    • breaking

      the response property items/items/title became nullable for the status

    • breaking

      the response property next_cursor became nullable for the status

    • info

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

    1 more change in this revision