Skip to main content
GET
/
styles
Search styles
curl --request GET \
  --url https://api.krea.ai/styles \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "title": "<string>",
      "urls": [
        "<string>"
      ],
      "public": true,
      "prompt": "<string>",
      "owner": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "avatar_url": "<string>"
      },
      "like_count": 123,
      "created_at": "<string>",
      "cover_url": "<string>",
      "models": [
        "<string>"
      ]
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string
limit
integer
Required range: 1 <= x <= 1000
ids
string
liked
boolean
default:false
user
string
model
string
filter
enum<string>
default:all
Available options:
all,
user,
community,
krea,
shared,
unapproved,
editor,
gallery,
public

Response

List of styles

items
object[]
required
nextCursor
string | null
required