Get the curated generation vocabulary
const url = 'https://example.com/v1/spec-vocabulary';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/spec-vocabulary \ --header 'Authorization: Bearer <token>'Return the curated, free-text-capable suggestion vocabulary per generation
field — one list per field (ethnicities, body_types, age_ranges,
scene_types, moods, materials, patterns, lengths), each entry
{value, description}. Global reference data (no tenant scoping); static
config served read-through from studio. Colours are excluded — the SPA owns
its palette.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Successful Response
GET /v1/spec-vocabulary — one curated list per generation field.
Each list is ordered as curated by studio (e.g. ethnicities grouped by region) and is free-text-capable on the SPA side. Colours are excluded — the SPA owns its palette.
object
Model ethnicity / heritage suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Model body-type / build suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Model age-range bracket suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Background scene-type suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Background mood suggestions (description = meaning).
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Garment material suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Garment pattern suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Garment length suggestions.
One curated generation-vocabulary suggestion — a value + its description.
object
The terse attribute value the workflow request + catalog store.
The one-line grounding string for the value (for moods, exactly the UI meaning).
Example generated
{ "ethnicities": [ { "value": "example", "description": "example" } ], "body_types": [ { "value": "example", "description": "example" } ], "age_ranges": [ { "value": "example", "description": "example" } ], "scene_types": [ { "value": "example", "description": "example" } ], "moods": [ { "value": "example", "description": "example" } ], "materials": [ { "value": "example", "description": "example" } ], "patterns": [ { "value": "example", "description": "example" } ], "lengths": [ { "value": "example", "description": "example" } ]}Validation Error
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}