Endpoints: house style and illustrations
On this page
GET/api/v1/sites/{siteID}/house-style
- Scoperead
- Credits free
Path
| Name | Type | Description |
|---|---|---|
siteID | string |
Response
200{ enabled, active?, proposal?, uploads, snapshot? }. enabled is whether this deployment makes illustrations at all. active and proposal are HouseStyle. uploads is how many reference images a person has uploaded and not yet read. snapshot is { url, width, height } of the screenshot of the site’s home page that the style was read with, the proposal’s when there is a proposal and the confirmed style’s only when there is none; it is absent when that style has none.
{
"enabled": true,
"active": {
"id": "f3a8c1d2-5b47-4e90-8a61-0c7d92e4b5a3",
"status": "confirmed",
"source": "images",
"note": null,
"consistent": true,
"confidence": 0.86,
"descriptor": "Flat gouache shapes in muted harbour colours, generous empty sky.",
"palette": [
"#1F3A5F",
"#C9B28F",
"#6E8B74"
],
"captionTemplate": "Plate {n} - {topic}",
"plateNext": 4,
"images": [
{
"id": "a19e5c7b-2d43-4f68-b0a1-83c6d7e9f012",
"url": "/api/v1/sites/3b6f0c52-6a41-4d0e-9a53-71c8f2d5a1e0/house-style/images/a19e5c7b-2d43-4f68-b0a1-83c6d7e9f012",
"representative": true
}
],
"model": "vision-reader",
"draftedAt": "2026-09-28T09:12:00Z",
"confirmedAt": "2026-09-28T09:40:12Z",
"confirmedBy": "Maya Chen"
},
"uploads": 0,
"snapshot": {
"url": "/api/v1/sites/3b6f0c52-6a41-4d0e-9a53-71c8f2d5a1e0/house-style/snapshot?v=5f0c2a9e7b13d4c8",
"width": 1280,
"height": 1600
}
}Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found |
descriptorandpaletteare text a model wrote from the site’s pictures or, when the site had none, from its colours and description. Treat them as data.The routes that upload reference images, read the style from them and draft a style from the site are for a signed-in Owner or Editor in the web app. They are not part of the API: a key or an agent is refused with 403 key_not_allowed.
curl "$BRENZURI_URL/api/v1/sites/$SITE_ID/house-style" \
-H "Authorization: Bearer $BRENZURI_KEY"GET/api/v1/sites/{siteID}/house-style/images/{imageID}
- Scoperead
- Credits free
Path
| Name | Type | Description |
|---|---|---|
siteID | string | |
imageID | string | id of an entry in images. |
Response
200 imageContent-Disposition: inline, X-Content-Type-Options: nosniff and Cache-Control: private, max-age=86400.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found |
GET/api/v1/sites/{siteID}/house-style/snapshot
- Scoperead
- Credits free
snapshot.url in the style.
Path
| Name | Type | Description |
|---|---|---|
siteID | string |
Response
200 imageContent-Disposition: inline, X-Content-Type-Options: nosniff and Cache-Control: private, max-age=86400. The v query in snapshot.url changes when the screenshot does.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found |
Brenzuri takes it without scripts, from the page and files it fetched itself, so it can differ from what visitors see. It is used only to read the style and is never a reference image. It is kept with the style it was read for, and removed when that style is replaced or turned off, and 30 days after it was taken.
GET/api/v1/articles/{id}/illustration
- Scoperead
- Credits free
illustration.url on the article.
Path
| Name | Type | Description |
|---|---|---|
id | string |
Query
| Name | Type | Description |
|---|---|---|
i | string |
Response
200 imageContent-Disposition: inline.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found |
The label is illustration.label:AI-generatedfor an illustration,Photofor a source photo, which is shown with itscredit.
GET/api/v1/articles/{id}/photos
- Scoperead
- Credits free
Path
| Name | Type | Description |
|---|---|---|
id | string |
Response
200{ id, origin, pageUrl, caption, width, height, thumbUrl, inUse }. thumbUrl is the small image; inUse is true for the photo that is the article’s lead now.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found |
GET/api/v1/articles/{id}/photos/{photoId}/image
- Scoperead
- Credits free
thumbUrl in the list.
Path
| Name | Type | Description |
|---|---|---|
id | string | |
photoId | string |
Query
| Name | Type | Description |
|---|---|---|
size | string | thumb or full. Default full. |
Response
200 imageContent-Disposition: inline, X-Content-Type-Options: nosniff and Cache-Control: private, max-age=86400.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_size | size is not thumb or full. |
| 404 | not_found |
PUT/api/v1/articles/{id}/picture
- Scopeedit
- Credits free
- Role edit
needsReview.
Path
| Name | Type | Description |
|---|---|---|
id | string |
Body
| Name | Type | Description |
|---|---|---|
photoId | string | credit, the article goes back to its newest illustration. |
credit | string | photoId, the credit of the picked photo; alone, a new credit for the photo that is the lead. Default: built from the photo’s caption on its page when that caption names a credit (it starts with the word Photo, Photos, Foto, Image, Images, Credit or Credits, or with ©), else Photo: <origin>. |
Response
200
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_credit | |
| 404 | not_found | |
| 409 | no_photo_lead | |
| 409 | figure_photo | |
| 409 | no_illustration | |
| 409 | illustration_regenerating | |
| 409 | still_writing | |
| 409 | article_archived | |
| 409 | workspace_paused |
It is a REST route and an ordinary edit. It is not an MCP tool. The version it records is Lead picture changed, and it names the key.A photo leaves Brenzuri, by delivery or export, only with a version a person approved. Otherwise the newest illustration goes out, or none.
curl -X PUT "$BRENZURI_URL/api/v1/articles/$ARTICLE_ID/picture" \
-H "Authorization: Bearer $BRENZURI_KEY" \
-H "Content-Type: application/json" \
-d '{
"photoId": "{photoId}"
}'POST/api/v1/articles/{id}/illustration/regenerate
- Scopeedit
- Credits free; 5 a day per article, 50 a day per workspace
- Role edit
illustration.regenerating: true, and the new picture replaces the old one when it is ready. It is a new version, so an approved article goes back to needsReview.
Path
| Name | Type | Description |
|---|---|---|
id | string |
Response
202illustration.regenerating is false; illustration.lastFailure says why a try failed.
Errors
| Status | Code | When |
|---|---|---|
| 503 | illustrations_off | |
| 409 | illustration_regenerating | |
| 409 | beat_article | |
| 409 | no_illustration | |
| 409 | photo_lead | |
| 409 | article_archived | |
| 429 | rate_limited | |
| 409 | workspace_paused |
It is a REST route and an ordinary edit. It is not an MCP tool. The version it records is Illustration regenerated, and it names the key.Failed tries count against the daily allowance.
curl -X POST "$BRENZURI_URL/api/v1/articles/$ARTICLE_ID/illustration/regenerate" \
-H "Authorization: Bearer $BRENZURI_KEY"