Packs
Read a pack's style guide
The house style every visual generation in the pack follows unless it sends useStyleGuide: false: a palette, the author's notes, and reference pictures the look is read from. A pack with nothing set answers an empty guide.
/packs/{pack}/stylePath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
Response · 200
The guide.
packstringrequiredThe pack.
styleobjectrequiredThe guide.
enabledbooleanrequiredWhether generations follow it. Off keeps it without anything reading it.
notesstringrequiredThe author's own words about the look. May be empty.
palettearray of objectrequiredThe pack's colours. A visual generation paints in these.
hexstringrequired#rrggbb, lowercase.
namestringIts name, when it came from a named palette.
paletteNamestringThe named palette it came from, if any.
strictbooleanrequiredWhether finished pixels are snapped to the palette rather than only asked to use it.
imageIdsarray of stringrequiredReference pictures the look is read from, as referenceIds.
Error codes
Branch on error.code, never on the message.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
plan_required403The key is valid, but its account is on Starter. The API needs a paid plan.
not_found404No such pack, asset or job.