---
title: "Update a style"
method: PATCH
path: "/styles/{id}"
tags: ["Styles"]
---

# Update a style

`PATCH /styles/{id}`

Update style properties. Currently supports updating the public visibility of a style you own.

## Path parameters

- `id` string, required — A unique identifier for a style

## Request body

- object
  - `public` boolean, nullable
  - `urls` string[]
  - `title` string
  - `cover_url` string

## Response `200`

Style updated successfully

- object — 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)
    - `id` string, uuid, required
    - `name` string, required
    - `avatar_url` string, uri, nullable
  - `like_count` number, required — Number of likes
  - `created_at` string, required — Creation timestamp

## Other responses

- `400` — No valid fields to update
- `401` — Unauthorized
- `404` — Style not found or you are not the owner

---

[API](https://skmtc.net/krea/apis/krea-api.md) · [All operations](https://skmtc.net/krea/apis/krea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/krea/krea-api/versions/01eead867917/schema)
