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
  • URL: https://api.krea.ai/styles
  • Auth: HTTP bearer

Query parameters

cursorstring
limitinteger
idsstring
likedboolean
userstring
modelstring
filter'all' | 'user' | 'community' | 'krea' | 'shared' | 'unapproved' | 'editor' | 'gallery' | 'public'

Response

List of styles

next_cursorstring nullable required

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property 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

    • info

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