List published preset tiles
const url = 'https://example.com/v1/presets?kind=model';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/presets?kind=model' \ --header 'Authorization: Bearer <token>'List the published preset tiles a catalog-shot picker offers, for kind.
Each tile is {id, image_url, label} ONLY — a preset’s internal spec /
ShotInfo never crosses this boundary. model / background resolve from the
active catalog entries (GET /v1/catalog/{resource}); shot from studio’s
published (active) shot presets. The id is what a POST /v1/catalog-shots
request references as model_preset_id / background_preset_id /
shot_preset_id.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Which preset family to list: model | background | shot.
Which preset family to list: model | background | shot.
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
One published preset tile — the minimal shape a picker needs.
Deliberately ONLY {id, image_url, label}: the internal spec / ShotInfo (a
preset’s prompt-shaping directives) never crosses this boundary. id is the
preset’s ULID — what a POST /v1/catalog-shots request references as
model_preset_id / background_preset_id / shot_preset_id.
object
The preset’s ULID — referenced by a catalog-shot dispatch.
Short-lived presigned preview URL for the preset tile.
Human-readable preset label for the picker.
Examplegenerated
[ { "id": "example", "image_url": "example", "label": "example" }]Validation Error
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}