@nodaro/prompts 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +719 -255
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +390 -2
- package/dist/index.d.ts +390 -2
- package/dist/index.js +689 -257
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/adult-only-ratchet.test.ts +110 -0
- package/src/__tests__/age-floor.test.ts +347 -0
- package/src/__tests__/catalog-id-guard.test.ts +146 -0
- package/src/__tests__/catalog-overlay.test.ts +163 -0
- package/src/__tests__/dod-replace-pack-acceptance.test.ts +17 -0
- package/src/__tests__/fixtures/parameter-hint-golden.json +2 -2
- package/src/__tests__/minor-age-floor.test.ts +136 -0
- package/src/__tests__/multi-picker-spec.test.ts +21 -1
- package/src/__tests__/person-pack-adult-only.test.ts +45 -0
- package/src/__tests__/person-regional-aesthetic.test.ts +2 -1
- package/src/__tests__/picker-analyzer-registry.test.ts +14 -0
- package/src/__tests__/provider-prompt-doctrine.test.ts +39 -0
- package/src/action-fx.ts +2 -1
- package/src/aesthetic.ts +2 -1
- package/src/age-floor.ts +296 -0
- package/src/age-signal.ts +36 -0
- package/src/atmosphere.ts +2 -1
- package/src/backdrop.ts +2 -1
- package/src/camera-format.ts +2 -1
- package/src/camera-motions.ts +2 -1
- package/src/catalog-id-guard.ts +189 -0
- package/src/catalog-overlay.ts +148 -0
- package/src/catalog-packs.ts +27 -2
- package/src/character-fx.ts +2 -1
- package/src/color-look.ts +2 -1
- package/src/composition-effects.ts +2 -1
- package/src/era.ts +2 -1
- package/src/exposure-settings.ts +2 -1
- package/src/framing.ts +2 -1
- package/src/gemini-omni-inputs.ts +11 -3
- package/src/held-prop.ts +3 -1
- package/src/index.ts +4 -0
- package/src/instrumentation.ts +5 -4
- package/src/lens.ts +2 -1
- package/src/lighting.ts +2 -1
- package/src/loop-subject.ts +3 -1
- package/src/materials.ts +2 -1
- package/src/mood.ts +16 -5
- package/src/music-genre.ts +5 -4
- package/src/music-mood.ts +4 -3
- package/src/parameter-prompt-hint.ts +13 -57
- package/src/person-packs.ts +14 -2
- package/src/person.ts +75 -38
- package/src/photo-genre.ts +14 -3
- package/src/photographer.ts +2 -1
- package/src/picker-analyzer-registry.ts +46 -0
- package/src/picker-catalogs.ts +11 -0
- package/src/pose.ts +17 -6
- package/src/post-process-effects.ts +2 -1
- package/src/prompt-builder.ts +3 -3
- package/src/prompt-wizard-categories.ts +6 -0
- package/src/provider-prompt-doctrine.ts +51 -2
- package/src/render-quality.ts +2 -1
- package/src/setting.ts +3 -1
- package/src/shared-catalog-overlay.ts +83 -0
- package/src/style.ts +17 -1
- package/src/styling.ts +62 -30
- package/src/subject-registry.ts +2 -2
- package/src/temporal.ts +2 -1
- package/src/transitions.ts +2 -1
- package/src/voice-character.ts +6 -5
- package/src/voice-delivery.ts +4 -3
package/dist/index.cjs
CHANGED
|
@@ -107,6 +107,148 @@ function resolveTerm(entry) {
|
|
|
107
107
|
if (entry.promptHint === "") return "";
|
|
108
108
|
return entry.term ?? deriveTerm(entry.label);
|
|
109
109
|
}
|
|
110
|
+
function withTerm(o) {
|
|
111
|
+
return { ...o, term: resolveTerm(o) };
|
|
112
|
+
}
|
|
113
|
+
var packs = [];
|
|
114
|
+
var version = 0;
|
|
115
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
116
|
+
function bump() {
|
|
117
|
+
version++;
|
|
118
|
+
for (const l of listeners) l();
|
|
119
|
+
}
|
|
120
|
+
function registerCatalogPack(pack) {
|
|
121
|
+
if (packs.some((p) => p.id === pack.id)) throw new Error(`duplicate catalog pack id "${pack.id}"`);
|
|
122
|
+
packs = [...packs, pack];
|
|
123
|
+
shared.registerCatalogSidecars(pack.catalogId, pack.sidecars);
|
|
124
|
+
bump();
|
|
125
|
+
}
|
|
126
|
+
function getRegisteredCatalogPacks() {
|
|
127
|
+
return packs;
|
|
128
|
+
}
|
|
129
|
+
function resetCatalogPacks() {
|
|
130
|
+
packs = [];
|
|
131
|
+
shared.resetCatalogSidecars();
|
|
132
|
+
bump();
|
|
133
|
+
}
|
|
134
|
+
function catalogPacksVersion() {
|
|
135
|
+
return version;
|
|
136
|
+
}
|
|
137
|
+
function hasCatalogPacksFor(catalogId) {
|
|
138
|
+
return packs.some((p) => p.catalogId === catalogId);
|
|
139
|
+
}
|
|
140
|
+
function subscribeCatalogPacks(listener) {
|
|
141
|
+
listeners.add(listener);
|
|
142
|
+
return () => {
|
|
143
|
+
listeners.delete(listener);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
function cloneCatalog(c) {
|
|
147
|
+
return {
|
|
148
|
+
...c,
|
|
149
|
+
options: c.options ? c.options.map(withTerm) : void 0,
|
|
150
|
+
dimensions: c.dimensions ? c.dimensions.map((d) => ({ ...d, options: d.options.map(withTerm) })) : void 0
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function applyExtend(c, pack) {
|
|
154
|
+
if (c.kind === "single") {
|
|
155
|
+
return { ...c, options: [...c.options ?? [], ...(pack.options ?? []).map(withTerm)] };
|
|
156
|
+
}
|
|
157
|
+
const byField = new Map((c.dimensions ?? []).map((d) => [d.field, { ...d, options: [...d.options] }]));
|
|
158
|
+
for (const dim of pack.dimensions ?? []) {
|
|
159
|
+
const added = dim.options.map(withTerm);
|
|
160
|
+
const existing = byField.get(dim.field);
|
|
161
|
+
if (existing) existing.options = [...existing.options, ...added];
|
|
162
|
+
else byField.set(dim.field, { ...dim, options: added });
|
|
163
|
+
}
|
|
164
|
+
const dims = [...byField.values()];
|
|
165
|
+
return { ...c, dimensions: dims, fields: dims.map((d) => d.field) };
|
|
166
|
+
}
|
|
167
|
+
function applyDeny(c, denyIds) {
|
|
168
|
+
const deny = new Set(denyIds);
|
|
169
|
+
if (c.kind === "single") return { ...c, options: (c.options ?? []).filter((o) => !deny.has(o.id)) };
|
|
170
|
+
return { ...c, dimensions: (c.dimensions ?? []).map((d) => ({ ...d, options: d.options.filter((o) => !deny.has(o.id)) })) };
|
|
171
|
+
}
|
|
172
|
+
function composePickerCatalogs(base, activePacks) {
|
|
173
|
+
const known = new Set(base.map((c) => c.catalogId));
|
|
174
|
+
for (const pack of activePacks) {
|
|
175
|
+
if (!known.has(pack.catalogId)) throw new Error(`catalog pack "${pack.id}" targets unknown catalog id "${pack.catalogId}"`);
|
|
176
|
+
}
|
|
177
|
+
return base.map((c) => {
|
|
178
|
+
let out = cloneCatalog(c);
|
|
179
|
+
for (const pack of activePacks) {
|
|
180
|
+
if (pack.catalogId !== c.catalogId) continue;
|
|
181
|
+
if (pack.mode === "replace" && pack.catalog) out = cloneCatalog(pack.catalog);
|
|
182
|
+
else if (pack.mode === "extend") out = applyExtend(out, pack);
|
|
183
|
+
else if (pack.mode === "deny") out = applyDeny(out, pack.denyIds ?? []);
|
|
184
|
+
}
|
|
185
|
+
return out;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// src/catalog-overlay.ts
|
|
190
|
+
var resolver = null;
|
|
191
|
+
function setComposedCatalogResolver(fn) {
|
|
192
|
+
resolver = fn;
|
|
193
|
+
}
|
|
194
|
+
var memo = null;
|
|
195
|
+
function composedOptionIndex(catalogId) {
|
|
196
|
+
const v = catalogPacksVersion();
|
|
197
|
+
if (!memo || memo.v !== v) memo = { v, byCatalog: /* @__PURE__ */ new Map() };
|
|
198
|
+
const hit = memo.byCatalog.get(catalogId);
|
|
199
|
+
if (hit) return hit;
|
|
200
|
+
if (!resolver) {
|
|
201
|
+
throw new Error(
|
|
202
|
+
`[catalog-overlay] catalog "${catalogId}" is curated by a pack but the composed-catalog resolver is not installed \u2014 refusing to resolve against the stock catalog`
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
const cat = resolver(catalogId);
|
|
206
|
+
const index = /* @__PURE__ */ new Map();
|
|
207
|
+
if (cat) {
|
|
208
|
+
for (const o of cat.options ?? []) index.set(o.id, o);
|
|
209
|
+
for (const d of cat.dimensions ?? []) for (const o of d.options) if (!index.has(o.id)) index.set(o.id, o);
|
|
210
|
+
}
|
|
211
|
+
memo.byCatalog.set(catalogId, index);
|
|
212
|
+
return index;
|
|
213
|
+
}
|
|
214
|
+
function overlayEntry(catalogId, id, base) {
|
|
215
|
+
if (!hasCatalogPacksFor(catalogId)) return base;
|
|
216
|
+
const opt = composedOptionIndex(catalogId).get(id);
|
|
217
|
+
if (!opt) return void 0;
|
|
218
|
+
if (!base) return opt;
|
|
219
|
+
return {
|
|
220
|
+
...base,
|
|
221
|
+
label: opt.label,
|
|
222
|
+
promptHint: opt.promptHint,
|
|
223
|
+
term: opt.term,
|
|
224
|
+
...opt.description !== void 0 ? { description: opt.description } : {},
|
|
225
|
+
...opt.category !== void 0 ? { category: opt.category } : {}
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
function composedHas(catalogId, id) {
|
|
229
|
+
if (!hasCatalogPacksFor(catalogId)) return true;
|
|
230
|
+
return composedOptionIndex(catalogId).has(id);
|
|
231
|
+
}
|
|
232
|
+
function composedOption(catalogId, id) {
|
|
233
|
+
if (!hasCatalogPacksFor(catalogId)) return void 0;
|
|
234
|
+
return composedOptionIndex(catalogId).get(id);
|
|
235
|
+
}
|
|
236
|
+
function curateEntries(catalogId, base) {
|
|
237
|
+
if (!hasCatalogPacksFor(catalogId)) return base;
|
|
238
|
+
const index = composedOptionIndex(catalogId);
|
|
239
|
+
const out = [];
|
|
240
|
+
for (const e of base) {
|
|
241
|
+
const opt = index.get(e.id);
|
|
242
|
+
if (!opt) continue;
|
|
243
|
+
out.push({
|
|
244
|
+
...e,
|
|
245
|
+
label: opt.label,
|
|
246
|
+
...opt.description !== void 0 ? { description: opt.description } : {},
|
|
247
|
+
..."promptHint" in e && opt.promptHint !== void 0 ? { promptHint: opt.promptHint } : {}
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
return out;
|
|
251
|
+
}
|
|
110
252
|
|
|
111
253
|
// src/framing.ts
|
|
112
254
|
var FRAMINGS = [
|
|
@@ -631,7 +773,7 @@ var FRAMING_CATEGORY_LABELS = {
|
|
|
631
773
|
var framingById = new Map(FRAMINGS.map((f) => [f.id, f]));
|
|
632
774
|
function getFraming(id) {
|
|
633
775
|
if (!id) return void 0;
|
|
634
|
-
return framingById.get(id);
|
|
776
|
+
return overlayEntry("framing", id, framingById.get(id));
|
|
635
777
|
}
|
|
636
778
|
function getFramingLabel(id, fallback) {
|
|
637
779
|
const f = getFraming(id);
|
|
@@ -802,7 +944,7 @@ var LIGHTING_CATEGORY_LABELS = {
|
|
|
802
944
|
var lightingById = new Map(LIGHTINGS.map((l) => [l.id, l]));
|
|
803
945
|
function getLighting(id) {
|
|
804
946
|
if (!id) return void 0;
|
|
805
|
-
return lightingById.get(id);
|
|
947
|
+
return overlayEntry("lighting", id, lightingById.get(id));
|
|
806
948
|
}
|
|
807
949
|
function getLightingLabel(id, fallback) {
|
|
808
950
|
const l = getLighting(id);
|
|
@@ -886,7 +1028,7 @@ var LENSES = [
|
|
|
886
1028
|
var lensById = new Map(LENSES.map((l) => [l.id, l]));
|
|
887
1029
|
function getLens(id) {
|
|
888
1030
|
if (!id) return void 0;
|
|
889
|
-
return lensById.get(id);
|
|
1031
|
+
return overlayEntry("lens", id, lensById.get(id));
|
|
890
1032
|
}
|
|
891
1033
|
function getLensLabel(id, fallback) {
|
|
892
1034
|
const l = getLens(id);
|
|
@@ -944,7 +1086,7 @@ var CAMERA_FORMATS = [
|
|
|
944
1086
|
var formatById = new Map(CAMERA_FORMATS.map((f) => [f.id, f]));
|
|
945
1087
|
function getCameraFormat(id) {
|
|
946
1088
|
if (!id) return void 0;
|
|
947
|
-
return formatById.get(id);
|
|
1089
|
+
return overlayEntry("camera-format", id, formatById.get(id));
|
|
948
1090
|
}
|
|
949
1091
|
function getCameraFormatLabel(id, fallback) {
|
|
950
1092
|
const f = getCameraFormat(id);
|
|
@@ -1020,7 +1162,7 @@ var COLOR_LOOK_CATEGORY_LABELS = {
|
|
|
1020
1162
|
var colorLookById = new Map(COLOR_LOOKS.map((c) => [c.id, c]));
|
|
1021
1163
|
function getColorLook(id) {
|
|
1022
1164
|
if (!id) return void 0;
|
|
1023
|
-
return colorLookById.get(id);
|
|
1165
|
+
return overlayEntry("color-look", id, colorLookById.get(id));
|
|
1024
1166
|
}
|
|
1025
1167
|
function getColorLookLabel(id, fallback) {
|
|
1026
1168
|
const c = getColorLook(id);
|
|
@@ -1082,7 +1224,7 @@ var ATMOSPHERES = [
|
|
|
1082
1224
|
var atmosphereById = new Map(ATMOSPHERES.map((a) => [a.id, a]));
|
|
1083
1225
|
function getAtmosphere(id) {
|
|
1084
1226
|
if (!id) return void 0;
|
|
1085
|
-
return atmosphereById.get(id);
|
|
1227
|
+
return overlayEntry("atmosphere", id, atmosphereById.get(id));
|
|
1086
1228
|
}
|
|
1087
1229
|
function getAtmosphereLabel(id, fallback) {
|
|
1088
1230
|
const a = getAtmosphere(id);
|
|
@@ -1671,7 +1813,7 @@ var ACTION_FX_IDS = ACTION_FX.map((fx) => fx.id);
|
|
|
1671
1813
|
var actionFxById = new Map(ACTION_FX.map((fx) => [fx.id, fx]));
|
|
1672
1814
|
function getActionFx(id) {
|
|
1673
1815
|
if (!id) return void 0;
|
|
1674
|
-
return actionFxById.get(id);
|
|
1816
|
+
return overlayEntry("action-fx", id, actionFxById.get(id));
|
|
1675
1817
|
}
|
|
1676
1818
|
function getActionFxLabel(id, fallback) {
|
|
1677
1819
|
const fx = getActionFx(id);
|
|
@@ -1766,12 +1908,17 @@ var STYLES = [
|
|
|
1766
1908
|
{ id: "pastel", label: "Pastel", description: "Degas-era soft chalk pastel", promptHint: "rendered as a soft chalk pastel drawing, dry powdery pigment laid in feathered strokes on tinted paper with luminous dusty colors, gently blended edges and the dreamy Degas-era atmosphere of dancers in stage light", term: "soft pastel drawing" },
|
|
1767
1909
|
{ id: "acrylic-paint", label: "Acrylic Paint", description: "Fast-drying opaque acrylic on canvas", promptHint: "rendered as an acrylic painting on canvas, fast-drying opaque pigment with crisp sharp edges, confident quick brush strokes, high-key saturated color and a flatter more graphic finish than traditional oil paint", term: "acrylic painting" },
|
|
1768
1910
|
{ id: "mixed-media", label: "Mixed Media", description: "Collage + paint + ink hybrid", promptHint: "rendered as a mixed-media artwork combining torn paper collage, acrylic paint, ink and graphite on a layered substrate, heterogeneous textures, visible tape and stitching, and an exuberant hand-assembled studio-art quality" },
|
|
1769
|
-
{ id: "manga", label: "Manga", description: "Inked B&W Japanese comic panel", promptHint: "rendered as inked manga panel art, crisp black ink on white with confident line weight variation, screen-tone dot patterns for shading, dramatic speed lines and the distinctly Japanese black-and-white comic aesthetic \u2014 separate from full-color anime" }
|
|
1911
|
+
{ id: "manga", label: "Manga", description: "Inked B&W Japanese comic panel", promptHint: "rendered as inked manga panel art, crisp black ink on white with confident line weight variation, screen-tone dot patterns for shading, dramatic speed lines and the distinctly Japanese black-and-white comic aesthetic \u2014 separate from full-color anime" },
|
|
1912
|
+
{ id: "early-color-photo", label: "Early Color Photo", description: "Prokudin-Gorsky / autochrome early-1900s color", promptHint: "rendered as an early-1900s color photograph in the Prokudin-Gorsky / autochrome tradition \u2014 soft three-colour-separation registration, muted dye-toned palette, fine grain and a gentle antique warmth", term: "early autochrome color photograph" }
|
|
1770
1913
|
];
|
|
1771
1914
|
var styleById = new Map(STYLES.map((s) => [s.id, s]));
|
|
1772
1915
|
function getStyle(id) {
|
|
1773
1916
|
if (!id) return void 0;
|
|
1774
|
-
return styleById.get(id);
|
|
1917
|
+
return overlayEntry("style", id, styleById.get(id));
|
|
1918
|
+
}
|
|
1919
|
+
function isDeniedStyleId(value) {
|
|
1920
|
+
if (!value) return false;
|
|
1921
|
+
return styleById.has(value) && getStyle(value) === void 0;
|
|
1775
1922
|
}
|
|
1776
1923
|
function getStyleLabel(id, fallback) {
|
|
1777
1924
|
const s = getStyle(id);
|
|
@@ -1832,6 +1979,7 @@ var SETTINGS = [
|
|
|
1832
1979
|
{ id: "parking-lot", label: "Parking Lot", category: "urban", description: "Suburban parking lot at dusk", promptHint: "set in an empty suburban parking lot at dusk with sodium-vapor lamps casting orange pools, scattered shopping carts and painted lane lines" },
|
|
1833
1980
|
{ id: "penthouse", label: "Penthouse", category: "urban", description: "Luxury penthouse with skyline view", promptHint: "set in a luxury penthouse interior with panoramic skyline views, marble floors, modernist furniture and low warm ambient light" },
|
|
1834
1981
|
{ id: "gas-station", label: "Gas Station", category: "urban", description: "Lonely highway gas station at night", promptHint: "set at a lonely highway gas station at night with a fluorescent canopy, bug-swarmed sodium lamps and cracked asphalt" },
|
|
1982
|
+
{ id: "open-air-market", label: "Open-Air Market", category: "urban", description: "Bustling market of vendor stalls under canopies", term: "open-air market", promptHint: "set in a bustling open-air market \u2014 rows of vendor stalls under thatched and canvas canopies, produce piled high, warm dusty light and crowds moving between the stalls" },
|
|
1835
1983
|
// -------------------- Nature --------------------
|
|
1836
1984
|
{ id: "forest", label: "Forest Clearing", category: "nature", description: "Sunlit mossy clearing", promptHint: "set in a sunlit forest clearing with moss-covered stones, dappled light through tall trees and a soft carpet of fallen leaves" },
|
|
1837
1985
|
{ id: "beach", label: "Beach", category: "nature", description: "Wide sandy beach with surf", promptHint: "set on a wide sandy beach with gentle breaking surf, footprints in wet sand and a pastel horizon" },
|
|
@@ -1860,7 +2008,7 @@ var SETTINGS = [
|
|
|
1860
2008
|
var settingById = new Map(SETTINGS.map((s) => [s.id, s]));
|
|
1861
2009
|
function getSetting(id) {
|
|
1862
2010
|
if (!id) return void 0;
|
|
1863
|
-
return settingById.get(id);
|
|
2011
|
+
return overlayEntry("setting", id, settingById.get(id));
|
|
1864
2012
|
}
|
|
1865
2013
|
function getSettingLabel(id, fallback) {
|
|
1866
2014
|
const s = getSetting(id);
|
|
@@ -2122,7 +2270,8 @@ var LOOP_SUBJECTS = [
|
|
|
2122
2270
|
}
|
|
2123
2271
|
];
|
|
2124
2272
|
function getLoopSubject(id) {
|
|
2125
|
-
|
|
2273
|
+
if (!id) return void 0;
|
|
2274
|
+
return overlayEntry("loop-subject", id, LOOP_SUBJECTS.find((s) => s.id === id));
|
|
2126
2275
|
}
|
|
2127
2276
|
function getLoopSubjectLabel(id) {
|
|
2128
2277
|
return getLoopSubject(id)?.label ?? id;
|
|
@@ -2133,70 +2282,6 @@ function getLoopSubjectPromptHint(id) {
|
|
|
2133
2282
|
function getLoopSubjectTerm(id) {
|
|
2134
2283
|
return resolveTerm(getLoopSubject(id));
|
|
2135
2284
|
}
|
|
2136
|
-
function withTerm(o) {
|
|
2137
|
-
return { ...o, term: resolveTerm(o) };
|
|
2138
|
-
}
|
|
2139
|
-
var packs = [];
|
|
2140
|
-
var version = 0;
|
|
2141
|
-
function registerCatalogPack(pack) {
|
|
2142
|
-
if (packs.some((p) => p.id === pack.id)) throw new Error(`duplicate catalog pack id "${pack.id}"`);
|
|
2143
|
-
packs = [...packs, pack];
|
|
2144
|
-
version++;
|
|
2145
|
-
shared.registerCatalogSidecars(pack.catalogId, pack.sidecars);
|
|
2146
|
-
}
|
|
2147
|
-
function getRegisteredCatalogPacks() {
|
|
2148
|
-
return packs;
|
|
2149
|
-
}
|
|
2150
|
-
function resetCatalogPacks() {
|
|
2151
|
-
packs = [];
|
|
2152
|
-
version++;
|
|
2153
|
-
shared.resetCatalogSidecars();
|
|
2154
|
-
}
|
|
2155
|
-
function catalogPacksVersion() {
|
|
2156
|
-
return version;
|
|
2157
|
-
}
|
|
2158
|
-
function cloneCatalog(c) {
|
|
2159
|
-
return {
|
|
2160
|
-
...c,
|
|
2161
|
-
options: c.options ? c.options.map(withTerm) : void 0,
|
|
2162
|
-
dimensions: c.dimensions ? c.dimensions.map((d) => ({ ...d, options: d.options.map(withTerm) })) : void 0
|
|
2163
|
-
};
|
|
2164
|
-
}
|
|
2165
|
-
function applyExtend(c, pack) {
|
|
2166
|
-
if (c.kind === "single") {
|
|
2167
|
-
return { ...c, options: [...c.options ?? [], ...(pack.options ?? []).map(withTerm)] };
|
|
2168
|
-
}
|
|
2169
|
-
const byField = new Map((c.dimensions ?? []).map((d) => [d.field, { ...d, options: [...d.options] }]));
|
|
2170
|
-
for (const dim of pack.dimensions ?? []) {
|
|
2171
|
-
const added = dim.options.map(withTerm);
|
|
2172
|
-
const existing = byField.get(dim.field);
|
|
2173
|
-
if (existing) existing.options = [...existing.options, ...added];
|
|
2174
|
-
else byField.set(dim.field, { ...dim, options: added });
|
|
2175
|
-
}
|
|
2176
|
-
const dims = [...byField.values()];
|
|
2177
|
-
return { ...c, dimensions: dims, fields: dims.map((d) => d.field) };
|
|
2178
|
-
}
|
|
2179
|
-
function applyDeny(c, denyIds) {
|
|
2180
|
-
const deny = new Set(denyIds);
|
|
2181
|
-
if (c.kind === "single") return { ...c, options: (c.options ?? []).filter((o) => !deny.has(o.id)) };
|
|
2182
|
-
return { ...c, dimensions: (c.dimensions ?? []).map((d) => ({ ...d, options: d.options.filter((o) => !deny.has(o.id)) })) };
|
|
2183
|
-
}
|
|
2184
|
-
function composePickerCatalogs(base, activePacks) {
|
|
2185
|
-
const known = new Set(base.map((c) => c.catalogId));
|
|
2186
|
-
for (const pack of activePacks) {
|
|
2187
|
-
if (!known.has(pack.catalogId)) throw new Error(`catalog pack "${pack.id}" targets unknown catalog id "${pack.catalogId}"`);
|
|
2188
|
-
}
|
|
2189
|
-
return base.map((c) => {
|
|
2190
|
-
let out = cloneCatalog(c);
|
|
2191
|
-
for (const pack of activePacks) {
|
|
2192
|
-
if (pack.catalogId !== c.catalogId) continue;
|
|
2193
|
-
if (pack.mode === "replace" && pack.catalog) out = cloneCatalog(pack.catalog);
|
|
2194
|
-
else if (pack.mode === "extend") out = applyExtend(out, pack);
|
|
2195
|
-
else if (pack.mode === "deny") out = applyDeny(out, pack.denyIds ?? []);
|
|
2196
|
-
}
|
|
2197
|
-
return out;
|
|
2198
|
-
});
|
|
2199
|
-
}
|
|
2200
2285
|
var personPacks = [];
|
|
2201
2286
|
var version2 = 0;
|
|
2202
2287
|
function syncPersonPackFields() {
|
|
@@ -2219,7 +2304,8 @@ function registerPersonPack(pack) {
|
|
|
2219
2304
|
description: e.description,
|
|
2220
2305
|
category: e.group,
|
|
2221
2306
|
promptHint: e.promptHint,
|
|
2222
|
-
term: resolveTerm(e)
|
|
2307
|
+
term: resolveTerm(e),
|
|
2308
|
+
adultOnly: e.adultOnly
|
|
2223
2309
|
};
|
|
2224
2310
|
const existing = byField.get(dim.field);
|
|
2225
2311
|
if (existing) existing.options.push(opt);
|
|
@@ -2241,7 +2327,7 @@ function resetPersonPacks() {
|
|
|
2241
2327
|
syncPersonPackFields();
|
|
2242
2328
|
}
|
|
2243
2329
|
function personPacksVersion() {
|
|
2244
|
-
return version2;
|
|
2330
|
+
return version2 * 1000003 + catalogPacksVersion();
|
|
2245
2331
|
}
|
|
2246
2332
|
function dimensionByField() {
|
|
2247
2333
|
const out = {};
|
|
@@ -2261,7 +2347,8 @@ function personEntriesFromDims(dims) {
|
|
|
2261
2347
|
description: o.description ?? "",
|
|
2262
2348
|
group: o.category,
|
|
2263
2349
|
promptHint: o.promptHint,
|
|
2264
|
-
dimension
|
|
2350
|
+
dimension,
|
|
2351
|
+
adultOnly: o.adultOnly
|
|
2265
2352
|
});
|
|
2266
2353
|
}
|
|
2267
2354
|
}
|
|
@@ -2298,6 +2385,36 @@ function getRegisteredPersonDimensionLabels() {
|
|
|
2298
2385
|
return extra.length === 0 ? PERSON_DIMENSION_LABELS : { ...PERSON_DIMENSION_LABELS, ...Object.fromEntries(extra) };
|
|
2299
2386
|
}
|
|
2300
2387
|
|
|
2388
|
+
// src/age-signal.ts
|
|
2389
|
+
var ADULT_ONLY_FLAG = "adultOnly";
|
|
2390
|
+
var ADULT_AGE_IDS = /* @__PURE__ */ new Set([
|
|
2391
|
+
"age-early-20s",
|
|
2392
|
+
"age-late-20s",
|
|
2393
|
+
"age-20s",
|
|
2394
|
+
"age-30s",
|
|
2395
|
+
"age-40s",
|
|
2396
|
+
"age-50s",
|
|
2397
|
+
"age-60s",
|
|
2398
|
+
"age-elderly"
|
|
2399
|
+
]);
|
|
2400
|
+
var MINOR_IMPLYING_TYPE_IDS = /* @__PURE__ */ new Set([
|
|
2401
|
+
"alice-wonderland",
|
|
2402
|
+
"dorothy-oz",
|
|
2403
|
+
"peter-pan",
|
|
2404
|
+
"magical-girl",
|
|
2405
|
+
"prince",
|
|
2406
|
+
"princess"
|
|
2407
|
+
]);
|
|
2408
|
+
function isMinorAge(value) {
|
|
2409
|
+
if (!value) return false;
|
|
2410
|
+
const { age, customAge, type } = value;
|
|
2411
|
+
if (typeof age === "string" && age.length > 0) {
|
|
2412
|
+
if (age === "age-custom") return !(typeof customAge === "number" && Number.isFinite(customAge) && customAge >= 20);
|
|
2413
|
+
return !ADULT_AGE_IDS.has(age);
|
|
2414
|
+
}
|
|
2415
|
+
return typeof type === "string" && MINOR_IMPLYING_TYPE_IDS.has(type);
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2301
2418
|
// src/person.ts
|
|
2302
2419
|
var PEOPLE = [
|
|
2303
2420
|
// -------------------- Type (primary subject descriptor) --------------------
|
|
@@ -2334,7 +2451,7 @@ var PEOPLE = [
|
|
|
2334
2451
|
{ id: "stylish-influencer", label: "Stylish Influencer", group: "Realistic \u2014 Style", dimension: "type", description: "Polished social-media tastemaker", promptHint: "a stylish social-media influencer \u2014 polished personal-brand styling, trend-forward outfit, expressive natural posing for the camera, the curated put-together look of a content creator" },
|
|
2335
2452
|
{ id: "stunning-model", label: "Stunning Model", group: "Realistic \u2014 Style", dimension: "type", description: "Fashion-model aesthetic", promptHint: "a stunning fashion model with editorial poise, refined features, and high-fashion presence" },
|
|
2336
2453
|
{ id: "supermodel", label: "Supermodel", group: "Realistic \u2014 Style", dimension: "type", description: "Iconic, top-tier runway and cover star", promptHint: "a supermodel \u2014 iconic top-tier presence with magnetic statement features, a striking silhouette and the unmistakable runway-and-cover aura that commands attention" },
|
|
2337
|
-
{ id: "femme-fatale", label: "Femme Fatale", group: "Realistic \u2014 Style", dimension: "type", description: "Alluring, dangerous noir seductress", promptHint: "a femme fatale \u2014 alluring, mysterious, and dangerous with classic noir seduction" },
|
|
2454
|
+
{ id: "femme-fatale", label: "Femme Fatale", group: "Realistic \u2014 Style", dimension: "type", description: "Alluring, dangerous noir seductress", promptHint: "a femme fatale \u2014 alluring, mysterious, and dangerous with classic noir seduction", adultOnly: true },
|
|
2338
2455
|
{ id: "tough-guy", label: "Tough Guy", group: "Realistic \u2014 Style", dimension: "type", description: "Hardened, tough man", promptHint: "a tough, hardened man" },
|
|
2339
2456
|
// Aesthetic archetypes that traditionally read older — hints kept gender +
|
|
2340
2457
|
// look-focused so the Age dimension stays in control of the literal age.
|
|
@@ -2345,7 +2462,7 @@ var PEOPLE = [
|
|
|
2345
2462
|
{ id: "twink", label: "Twink", group: "Realistic \u2014 Style", dimension: "type", description: "Slim, smooth, soft gay-male type", promptHint: "a twink \u2014 slim, smooth, soft masculine presence with a delicate, gender-fluid vibe" },
|
|
2346
2463
|
{ id: "soft-butch", label: "Soft Butch", group: "Realistic \u2014 Style", dimension: "type", description: "Gentle masculine-of-center woman", promptHint: "a soft-butch woman \u2014 gentle masculine-of-center styling and energy" },
|
|
2347
2464
|
{ id: "tomboy", label: "Tomboy", group: "Realistic \u2014 Style", dimension: "type", description: "Boyish styling and energy on a feminine body", promptHint: "a tomboy \u2014 boyish styling and energy on a feminine body" },
|
|
2348
|
-
{ id: "thick", label: "Thick", group: "Realistic \u2014 Style", dimension: "type", description: "Voluptuous body-positive figure with curves", promptHint: "a thick, voluptuous body-positive figure with full curves", term: "thick voluptuous figure" },
|
|
2465
|
+
{ id: "thick", label: "Thick", group: "Realistic \u2014 Style", dimension: "type", description: "Voluptuous body-positive figure with curves", promptHint: "a thick, voluptuous body-positive figure with full curves", term: "thick voluptuous figure", adultOnly: true },
|
|
2349
2466
|
{ id: "androgynous", label: "Androgynous", group: "Realistic \u2014 Style", dimension: "type", description: "Deliberately blended masculine + feminine cues", promptHint: "an androgynous figure with deliberately blended masculine and feminine cues", term: "androgynous figure" },
|
|
2350
2467
|
{ id: "goth", label: "Goth", group: "Realistic \u2014 Style", dimension: "type", description: "Goth subculture aesthetic \u2014 dark, romantic, dramatic", promptHint: "a goth figure with a dark romantic dramatic subculture aesthetic" },
|
|
2351
2468
|
{ id: "bear", label: "Bear", group: "Realistic \u2014 Style", dimension: "type", description: "Big, bearded, hairy masculine type", promptHint: "a bear \u2014 a big, bearded, hairy man with a warm masculine presence", term: "big bearded hairy man" },
|
|
@@ -2353,7 +2470,7 @@ var PEOPLE = [
|
|
|
2353
2470
|
{ id: "caveman", label: "Caveman", group: "Primitive / Wild", dimension: "type", description: "Stone Age primitive man", promptHint: "a caveman \u2014 Stone Age primitive in animal furs, with shaggy hair, a heavy brow and a sturdy frame" },
|
|
2354
2471
|
{ id: "cavewoman", label: "Cavewoman", group: "Primitive / Wild", dimension: "type", description: "Stone Age primitive woman", promptHint: "a cavewoman \u2014 Stone Age primitive in animal furs, with shaggy hair and a sturdy frame" },
|
|
2355
2472
|
{ id: "apeman", label: "Apeman", group: "Primitive / Wild", dimension: "type", description: "Half-human half-ape hybrid", promptHint: "an apeman \u2014 half-human half-ape hybrid with simian features, broad shoulders and a heavy stooped build" },
|
|
2356
|
-
{ id: "feral-wildman", label: "Feral Wild-Human", group: "Primitive / Wild", dimension: "type", description: "Overgrown, primal feral human", promptHint: "a feral wild-human \u2014 overgrown matted hair, primal eyes and a near-naked, bestial bearing" },
|
|
2473
|
+
{ id: "feral-wildman", label: "Feral Wild-Human", group: "Primitive / Wild", dimension: "type", description: "Overgrown, primal feral human", promptHint: "a feral wild-human \u2014 overgrown matted hair, primal eyes and a near-naked, bestial bearing", adultOnly: true },
|
|
2357
2474
|
{ id: "neanderthal", label: "Neanderthal", group: "Primitive / Wild", dimension: "type", description: "Pre-modern human species", promptHint: "a neanderthal \u2014 heavy brow, broad nose, stocky pre-modern human build with weather-toughened skin" },
|
|
2358
2475
|
// ----- Fantasy (humanoid) -----
|
|
2359
2476
|
{ id: "elf-man", label: "Elf (Male)", group: "Fantasy", dimension: "type", description: "Masculine pointed-ear humanoid", promptHint: "a male elf \u2014 slender masculine humanoid with delicately pointed ears, fine sharp features and an ethereal poise", term: "male elf" },
|
|
@@ -2367,7 +2484,7 @@ var PEOPLE = [
|
|
|
2367
2484
|
{ id: "faun", label: "Faun / Satyr", group: "Fantasy", dimension: "type", description: "Goat-legged horned humanoid", promptHint: "a faun \u2014 humanoid with goat legs, small curling horns and a woodland presence", term: "faun" },
|
|
2368
2485
|
{ id: "centaur", label: "Centaur", group: "Fantasy", dimension: "type", description: "Human torso on a horse body", promptHint: "a centaur \u2014 human torso fused to the body of a horse" },
|
|
2369
2486
|
{ id: "vampire-man", label: "Vampire (Male)", group: "Fantasy", dimension: "type", description: "Masculine fanged immortal", promptHint: "a male vampire \u2014 pale, fanged immortal man in formal evening wear with gothic elegance and a quiet predatory poise", term: "male vampire" },
|
|
2370
|
-
{ id: "vampire-woman", label: "Vampire (Female)", group: "Fantasy", dimension: "type", description: "Feminine fanged immortal", promptHint: "a female vampire \u2014 pale, fanged immortal woman in flowing gothic attire with seductive elegance and a quiet predatory poise", term: "female vampire" },
|
|
2487
|
+
{ id: "vampire-woman", label: "Vampire (Female)", group: "Fantasy", dimension: "type", description: "Feminine fanged immortal", promptHint: "a female vampire \u2014 pale, fanged immortal woman in flowing gothic attire with seductive elegance and a quiet predatory poise", term: "female vampire", adultOnly: true },
|
|
2371
2488
|
{ id: "vampire", label: "Vampire", group: "Fantasy", dimension: "type", description: "Pale, fanged immortal", promptHint: "a vampire \u2014 pale, fanged immortal with a pristine gothic elegance and a quiet predatory poise" },
|
|
2372
2489
|
{ id: "werewolf", label: "Werewolf", group: "Fantasy", dimension: "type", description: "Partially transformed lycanthrope", promptHint: "a werewolf \u2014 partially transformed humanoid with wolfish snout, fur, claws and a feral musculature" },
|
|
2373
2490
|
{ id: "mermaid", label: "Mermaid", group: "Fantasy", dimension: "type", description: "Female humanoid with a fish tail", promptHint: "a mermaid \u2014 humanoid woman from the waist up with a long iridescent fish tail below" },
|
|
@@ -2599,22 +2716,22 @@ var PEOPLE = [
|
|
|
2599
2716
|
{ id: "mass-full", label: "Full", dimension: "body-mass", description: "Full-figured", promptHint: "full-figured", term: "full-figured" },
|
|
2600
2717
|
{ id: "mass-heavy", label: "Heavy", dimension: "body-mass", description: "Heavy-set, large build", promptHint: "heavy-set build", term: "heavy-set build" },
|
|
2601
2718
|
// ----- Bust (applicable subjects; ungated like Facial Hair, neutral = no-op) -----
|
|
2602
|
-
{ id: "bust-small", label: "Small", dimension: "bust", description: "Small bust", promptHint: "small bust", term: "small bust" },
|
|
2719
|
+
{ id: "bust-small", label: "Small", dimension: "bust", description: "Small bust", promptHint: "small bust", term: "small bust", adultOnly: true },
|
|
2603
2720
|
{ id: "bust-average", label: "Average", dimension: "bust", description: "Average bust", promptHint: "" },
|
|
2604
|
-
{ id: "bust-full", label: "Full", dimension: "bust", description: "Full bust", promptHint: "full bust", term: "full bust" },
|
|
2605
|
-
{ id: "bust-very-full", label: "Very Full", dimension: "bust", description: "Very full bust", promptHint: "very full bust", term: "very full bust" },
|
|
2721
|
+
{ id: "bust-full", label: "Full", dimension: "bust", description: "Full bust", promptHint: "full bust", term: "full bust", adultOnly: true },
|
|
2722
|
+
{ id: "bust-very-full", label: "Very Full", dimension: "bust", description: "Very full bust", promptHint: "very full bust", term: "very full bust", adultOnly: true },
|
|
2606
2723
|
// ----- Waist -----
|
|
2607
|
-
{ id: "waist-defined", label: "Defined", dimension: "waist", description: "Defined, cinched waist", promptHint: "defined waist", term: "defined waist" },
|
|
2724
|
+
{ id: "waist-defined", label: "Defined", dimension: "waist", description: "Defined, cinched waist", promptHint: "defined waist", term: "defined waist", adultOnly: true },
|
|
2608
2725
|
{ id: "waist-average", label: "Average", dimension: "waist", description: "Average waist", promptHint: "" },
|
|
2609
|
-
{ id: "waist-straight", label: "Straight", dimension: "waist", description: "Straight, undefined waist", promptHint: "straight waistline", term: "straight waistline" },
|
|
2726
|
+
{ id: "waist-straight", label: "Straight", dimension: "waist", description: "Straight, undefined waist", promptHint: "straight waistline", term: "straight waistline", adultOnly: true },
|
|
2610
2727
|
// ----- Hips -----
|
|
2611
|
-
{ id: "hips-narrow", label: "Narrow", dimension: "hips", description: "Narrow hips", promptHint: "narrow hips", term: "narrow hips" },
|
|
2728
|
+
{ id: "hips-narrow", label: "Narrow", dimension: "hips", description: "Narrow hips", promptHint: "narrow hips", term: "narrow hips", adultOnly: true },
|
|
2612
2729
|
{ id: "hips-balanced", label: "Balanced", dimension: "hips", description: "Balanced hips", promptHint: "" },
|
|
2613
|
-
{ id: "hips-wide", label: "Wide", dimension: "hips", description: "Wide hips", promptHint: "wide hips", term: "wide hips" },
|
|
2730
|
+
{ id: "hips-wide", label: "Wide", dimension: "hips", description: "Wide hips", promptHint: "wide hips", term: "wide hips", adultOnly: true },
|
|
2614
2731
|
// ----- Silhouette (overall body shape; optional, no neutral) -----
|
|
2615
|
-
{ id: "silhouette-hourglass", label: "Hourglass", dimension: "silhouette", description: "Balanced bust + hips, defined waist", promptHint: "hourglass silhouette", term: "hourglass silhouette" },
|
|
2732
|
+
{ id: "silhouette-hourglass", label: "Hourglass", dimension: "silhouette", description: "Balanced bust + hips, defined waist", promptHint: "hourglass silhouette", term: "hourglass silhouette", adultOnly: true },
|
|
2616
2733
|
{ id: "silhouette-rectangular", label: "Rectangular", dimension: "silhouette", description: "Straight up-and-down silhouette", promptHint: "rectangular silhouette", term: "rectangular silhouette" },
|
|
2617
|
-
{ id: "silhouette-pear", label: "Pear", dimension: "silhouette", description: "Hips wider than shoulders", promptHint: "pear-shaped silhouette", term: "pear-shaped silhouette" },
|
|
2734
|
+
{ id: "silhouette-pear", label: "Pear", dimension: "silhouette", description: "Hips wider than shoulders", promptHint: "pear-shaped silhouette", term: "pear-shaped silhouette", adultOnly: true },
|
|
2618
2735
|
{ id: "silhouette-inverted", label: "Inverted Triangle", dimension: "silhouette", description: "Broad shoulders, narrow hips", promptHint: "inverted-triangle silhouette", term: "inverted-triangle silhouette" },
|
|
2619
2736
|
{ id: "silhouette-athletic", label: "Athletic", dimension: "silhouette", description: "Lean, toned, V-taper", promptHint: "athletic silhouette", term: "athletic silhouette" },
|
|
2620
2737
|
// -------------------- Face Shape --------------------
|
|
@@ -2701,17 +2818,17 @@ var PEOPLE = [
|
|
|
2701
2818
|
{ id: "lips-small", label: "Small", dimension: "lip-shape", description: "Petite mouth", promptHint: "a small petite mouth", term: "small petite mouth" },
|
|
2702
2819
|
// -------------------- Lip State (what the lips are doing / wearing) --------------------
|
|
2703
2820
|
{ id: "lip-state-chapped", label: "Chapped", dimension: "lip-state", description: "Cracked, dry, weather-worn lips", promptHint: "with chapped, cracked, weather-worn dry lips", term: "chapped dry lips" },
|
|
2704
|
-
{ id: "lip-state-glossy", label: "Glossy", dimension: "lip-state", description: "High-shine, wet-look lips", promptHint: "with high-shine glossy wet-look lips", term: "glossy wet-look lips" },
|
|
2821
|
+
{ id: "lip-state-glossy", label: "Glossy", dimension: "lip-state", description: "High-shine, wet-look lips", promptHint: "with high-shine glossy wet-look lips", term: "glossy wet-look lips", adultOnly: true },
|
|
2705
2822
|
{ id: "lip-state-bare", label: "Bare", dimension: "lip-state", description: "Natural, untreated, no makeup", promptHint: "with bare, natural, untreated lips", term: "bare natural lips" },
|
|
2706
2823
|
{ id: "lip-state-bold-red", label: "Bold Red", dimension: "lip-state", description: "Saturated red lipstick statement", promptHint: "with a bold, saturated red lipstick statement", term: "bold red lipstick" },
|
|
2707
|
-
{ id: "lip-state-bitten", label: "Bitten", dimension: "lip-state", description: "Slight playful lip-bite, lower lip caught", promptHint: "playfully biting the lower lip", term: "biting the lower lip" },
|
|
2708
|
-
{ id: "lip-state-parted", label: "Parted", dimension: "lip-state", description: "Lips slightly parted, breath of air", promptHint: "with lips slightly parted, taking a soft breath", term: "lips slightly parted" },
|
|
2824
|
+
{ id: "lip-state-bitten", label: "Bitten", dimension: "lip-state", description: "Slight playful lip-bite, lower lip caught", promptHint: "playfully biting the lower lip", term: "biting the lower lip", adultOnly: true },
|
|
2825
|
+
{ id: "lip-state-parted", label: "Parted", dimension: "lip-state", description: "Lips slightly parted, breath of air", promptHint: "with lips slightly parted, taking a soft breath", term: "lips slightly parted", adultOnly: true },
|
|
2709
2826
|
{ id: "lip-state-pursed", label: "Pursed", dimension: "lip-state", description: "Lips pressed and pushed forward", promptHint: "with lips pursed, pressed and pushed forward", term: "pursed lips" },
|
|
2710
2827
|
{ id: "lip-state-bold-black", label: "Bold Black", dimension: "lip-state", description: "Saturated black lipstick statement (goth / avant-garde)", promptHint: "with a bold, saturated black lipstick statement, goth / avant-garde", term: "bold black lipstick" },
|
|
2711
2828
|
{ id: "lip-state-burgundy", label: "Burgundy", dimension: "lip-state", description: "Deep wine-red lipstick", promptHint: "with deep wine-red burgundy lipstick", term: "burgundy lipstick" },
|
|
2712
2829
|
{ id: "lip-state-plum", label: "Plum", dimension: "lip-state", description: "Dark purple-toned lipstick", promptHint: "with dark purple-toned plum lipstick", term: "plum lipstick" },
|
|
2713
2830
|
{ id: "lip-state-mauve", label: "Mauve", dimension: "lip-state", description: "Muted mauve / dusty-pink lipstick", promptHint: "with muted mauve, dusty-pink lipstick", term: "mauve lipstick" },
|
|
2714
|
-
{ id: "lip-state-pouting", label: "Pouting", dimension: "lip-state", description: "Full pout", promptHint: "with a full pouting expression", term: "full pouting expression" },
|
|
2831
|
+
{ id: "lip-state-pouting", label: "Pouting", dimension: "lip-state", description: "Full pout", promptHint: "with a full pouting expression", term: "full pouting expression", adultOnly: true },
|
|
2715
2832
|
// -------------------- Hair Color --------------------
|
|
2716
2833
|
// Blonde family (light → warm → cool)
|
|
2717
2834
|
{ id: "hair-platinum", label: "Platinum", dimension: "hair-color", description: "Very pale, icy platinum", promptHint: "platinum blonde hair, very pale and icy", term: "platinum blonde hair" },
|
|
@@ -2818,7 +2935,7 @@ var PEOPLE = [
|
|
|
2818
2935
|
{ id: "eyes-black", label: "Black", dimension: "eye-color", description: "Truly black iris (deeper than brown)", promptHint: "jet-black eyes with a truly black iris, deeper than brown", term: "jet-black eyes" },
|
|
2819
2936
|
// -------------------- Eye State (what the eyes are doing / where they look) --------------------
|
|
2820
2937
|
{ id: "eye-state-closed", label: "Closed", dimension: "eye-state", description: "Eyes fully closed, peaceful", promptHint: "with eyes fully closed in a peaceful expression", term: "eyes fully closed" },
|
|
2821
|
-
{ id: "eye-state-half-lidded", label: "Half-lidded", dimension: "eye-state", description: "Heavy-lidded sleepy gaze", promptHint: "with heavy half-lidded sleepy eyes", term: "half-lidded sleepy eyes" },
|
|
2938
|
+
{ id: "eye-state-half-lidded", label: "Half-lidded", dimension: "eye-state", description: "Heavy-lidded sleepy gaze", promptHint: "with heavy half-lidded sleepy eyes", term: "half-lidded sleepy eyes", adultOnly: true },
|
|
2822
2939
|
{ id: "eye-state-wide-eyed", label: "Wide-eyed", dimension: "eye-state", description: "Eyes wide open, alert / surprised", promptHint: "with eyes wide open, alert and surprised" },
|
|
2823
2940
|
{ id: "eye-state-staring-camera", label: "Staring at Camera", dimension: "eye-state", description: "Direct unbroken eye contact with the lens", promptHint: "staring directly at the camera with unbroken eye contact" },
|
|
2824
2941
|
{ id: "eye-state-gazing-away", label: "Gazing Away", dimension: "eye-state", description: "Looking off-camera, contemplative", promptHint: "gazing off-camera with a contemplative expression", term: "gazing off-camera" },
|
|
@@ -2838,20 +2955,20 @@ var PEOPLE = [
|
|
|
2838
2955
|
{ id: "texture-wrinkled", label: "Wrinkled", dimension: "skin-texture", description: "Aged, deeply lined skin", promptHint: "with deep wrinkles and aged skin texture", term: "deeply wrinkled aged skin" },
|
|
2839
2956
|
{ id: "texture-goosebumps", label: "Goosebumps", dimension: "skin-texture", description: "Raised goosebumps on skin", promptHint: "with goosebumps raised on the skin" },
|
|
2840
2957
|
{ id: "texture-dewy", label: "Dewy", dimension: "skin-texture", description: "Glowing, dewy fresh skin", promptHint: "with dewy, glowing skin and a fresh sheen", term: "dewy glowing skin" },
|
|
2841
|
-
{ id: "texture-glistening", label: "Glistening", dimension: "skin-texture", description: "Sweat or oil sheen", promptHint: "with glistening skin, sweat or oil catching the light", term: "glistening skin" },
|
|
2958
|
+
{ id: "texture-glistening", label: "Glistening", dimension: "skin-texture", description: "Sweat or oil sheen", promptHint: "with glistening skin, sweat or oil catching the light", term: "glistening skin", adultOnly: true },
|
|
2842
2959
|
{ id: "texture-weathered", label: "Weathered", dimension: "skin-texture", description: "Sun-aged rough skin", promptHint: "with weathered, sun-worn rough skin", term: "weathered sun-worn skin" },
|
|
2843
2960
|
{ id: "texture-porcelain", label: "Porcelain", dimension: "skin-texture", description: "Flawless near-translucent porcelain", promptHint: "with flawless, near-translucent porcelain skin", term: "porcelain skin" },
|
|
2844
2961
|
{ id: "texture-sun-kissed", label: "Sun-kissed", dimension: "skin-texture", description: "Warm tan with healthy glow", promptHint: "with sun-kissed skin, warmly tanned with a healthy glow", term: "sun-kissed skin" },
|
|
2845
2962
|
{ id: "texture-tanned", label: "Tanned", dimension: "skin-texture", description: "Deeply, evenly tanned skin", promptHint: "with deeply, evenly bronzed tanned skin", term: "deeply tanned skin" },
|
|
2846
|
-
{ id: "texture-tan-lines", label: "Tan Lines", dimension: "skin-texture", description: "Visible tan lines from swimwear", promptHint: "with visible swimwear tan lines on the skin", term: "visible swimwear tan lines" },
|
|
2963
|
+
{ id: "texture-tan-lines", label: "Tan Lines", dimension: "skin-texture", description: "Visible tan lines from swimwear", promptHint: "with visible swimwear tan lines on the skin", term: "visible swimwear tan lines", adultOnly: true },
|
|
2847
2964
|
{ id: "texture-freckled", label: "Freckled", dimension: "skin-texture", description: "Freckles across cheeks and nose", promptHint: "with visible freckles scattered across cheeks and the bridge of the nose", term: "freckled skin" },
|
|
2848
2965
|
{ id: "texture-ruddy", label: "Ruddy", dimension: "skin-texture", description: "Pink-flushed cheeks and nose", promptHint: "with ruddy, warm pink-flushed cheeks and nose", term: "ruddy flushed complexion" },
|
|
2849
2966
|
{ id: "texture-ashen", label: "Ashen / Pale", dimension: "skin-texture", description: "Cool pale, near-bloodless undertone", promptHint: "with ashen, cool pale, near-bloodless skin", term: "ashen pale skin" },
|
|
2850
|
-
{ id: "texture-oily", label: "Oily / Shiny", dimension: "skin-texture", description: "Slight oil sheen on T-zone", promptHint: "with a slight oily sheen across the T-zone", term: "oily shiny skin" },
|
|
2967
|
+
{ id: "texture-oily", label: "Oily / Shiny", dimension: "skin-texture", description: "Slight oil sheen on T-zone", promptHint: "with a slight oily sheen across the T-zone", term: "oily shiny skin", adultOnly: true },
|
|
2851
2968
|
{ id: "texture-matte", label: "Matte", dimension: "skin-texture", description: "Poreless matte finish", promptHint: "with a poreless, matte skin finish", term: "matte skin finish" },
|
|
2852
2969
|
{ id: "texture-blemished", label: "Blemished", dimension: "skin-texture", description: "Visible blemishes, real-skin imperfections", promptHint: "with visible blemishes and natural real-skin imperfections", term: "blemished skin" },
|
|
2853
2970
|
{ id: "texture-baby-soft", label: "Baby-soft", dimension: "skin-texture", description: "Smooth, fine-pored youthful skin", promptHint: "with baby-soft, fine-pored, youthful smooth skin", term: "baby-soft skin" },
|
|
2854
|
-
{ id: "texture-shower-fresh-wet", label: "Shower-Fresh Wet", dimension: "skin-texture", description: "Just-out-of-shower wet skin with water beads", promptHint: "with just-out-of-the-shower wet skin, water beading on the surface and rolling in slow droplets down the curves of the body", term: "shower-fresh wet skin" },
|
|
2971
|
+
{ id: "texture-shower-fresh-wet", label: "Shower-Fresh Wet", dimension: "skin-texture", description: "Just-out-of-shower wet skin with water beads", promptHint: "with just-out-of-the-shower wet skin, water beading on the surface and rolling in slow droplets down the curves of the body", term: "shower-fresh wet skin", adultOnly: true },
|
|
2855
2972
|
{ id: "texture-acne-scarred", label: "Acne-scarred", dimension: "skin-texture", description: "Visible acne scarring (distinct from blemished \u2014 healed scar pattern)", promptHint: "with visible acne scarring, healed pitted-skin texture and uneven surface from past breakouts", term: "acne-scarred skin" },
|
|
2856
2973
|
// -------------------- Distinctive Features --------------------
|
|
2857
2974
|
{ id: "feature-glasses", label: "Glasses", dimension: "distinctive-features", description: "Wears glasses", promptHint: "wearing glasses", term: "wearing glasses" },
|
|
@@ -2872,18 +2989,18 @@ var PEOPLE = [
|
|
|
2872
2989
|
{ id: "feature-sleeve-tattoo", label: "Sleeve Tattoo", dimension: "distinctive-features", description: "Full one-arm tattoo sleeve", promptHint: "with a full tattoo sleeve covering one arm in intricate ink" },
|
|
2873
2990
|
{ id: "feature-face-tattoo", label: "Face Tattoo", dimension: "distinctive-features", description: "Small face tattoo near eye or cheekbone", promptHint: "with a small face tattoo near the eye or cheekbone" },
|
|
2874
2991
|
{ id: "feature-hand-tattoos", label: "Hand Tattoos", dimension: "distinctive-features", description: "Knuckle / finger tattoos", promptHint: "with hand tattoos across knuckles and fingers" },
|
|
2875
|
-
{ id: "feature-back-tattoo", label: "Back Tattoo", dimension: "distinctive-features", description: "Large piece across the back", promptHint: "with a large back-piece tattoo across the upper back" },
|
|
2876
|
-
{ id: "feature-chest-tattoo", label: "Chest Tattoo", dimension: "distinctive-features", description: "Tattoo across chest / d\xE9colletage", promptHint: "with a tattoo across the chest and d\xE9colletage" },
|
|
2877
|
-
{ id: "feature-leg-tattoo", label: "Leg Tattoo", dimension: "distinctive-features", description: "Visible tattoo on leg / calf / thigh", promptHint: "with a visible tattoo on the leg, running across the calf or thigh" },
|
|
2992
|
+
{ id: "feature-back-tattoo", label: "Back Tattoo", dimension: "distinctive-features", description: "Large piece across the back", promptHint: "with a large back-piece tattoo across the upper back", adultOnly: true },
|
|
2993
|
+
{ id: "feature-chest-tattoo", label: "Chest Tattoo", dimension: "distinctive-features", description: "Tattoo across chest / d\xE9colletage", promptHint: "with a tattoo across the chest and d\xE9colletage", adultOnly: true },
|
|
2994
|
+
{ id: "feature-leg-tattoo", label: "Leg Tattoo", dimension: "distinctive-features", description: "Visible tattoo on leg / calf / thigh", promptHint: "with a visible tattoo on the leg, running across the calf or thigh", adultOnly: true },
|
|
2878
2995
|
{ id: "feature-forearm-tattoo", label: "Forearm Tattoo", dimension: "distinctive-features", description: "Tattoo on inner or outer forearm", promptHint: "with a tattoo on the forearm, visible on the inner or outer side" },
|
|
2879
2996
|
{ id: "feature-visible-piercings", label: "Visible Piercings", dimension: "distinctive-features", description: "Multiple visible piercings (septum, nose, lip, multi-ear)", promptHint: "with multiple visible piercings \u2014 septum, nose, lip, and multi-ear", term: "multiple visible piercings" },
|
|
2880
2997
|
{ id: "feature-ear-piercings", label: "Ear Piercings", dimension: "distinctive-features", description: "Multiple stacked ear piercings (cartilage, helix, conch)", promptHint: "with multiple stacked ear piercings \u2014 cartilage, helix, and conch", term: "multiple stacked ear piercings" },
|
|
2881
2998
|
{ id: "feature-lip-piercing", label: "Lip Piercing", dimension: "distinctive-features", description: "Lip ring / labret stud", promptHint: "with a lip piercing, a small ring or labret stud at the lip" },
|
|
2882
2999
|
{ id: "feature-nostril-piercing", label: "Nostril Piercing", dimension: "distinctive-features", description: "Single nostril stud or ring", promptHint: "with a single nostril piercing, a small stud or ring at the nostril" },
|
|
2883
|
-
{ id: "feature-bare-shoulders", label: "Bare Shoulders", dimension: "distinctive-features", description: "Bare shoulders exposed", promptHint: "with bare shoulders exposed, the line of the collarbone and shoulder muscles uncovered" },
|
|
2884
|
-
{ id: "feature-collarbone-visible", label: "Collarbone Visible", dimension: "distinctive-features", description: "Prominent collarbone catching light", promptHint: "with a prominent collarbone clearly defined and catching the light", term: "visible collarbone" },
|
|
2885
|
-
{ id: "feature-midriff-visible", label: "Midriff Visible", dimension: "distinctive-features", description: "Exposed midriff between top and bottom", promptHint: "wearing a cropped style with the midriff visible", term: "visible midriff" },
|
|
2886
|
-
{ id: "feature-navel-visible", label: "Navel Visible", dimension: "distinctive-features", description: "Visible navel on bare stomach", promptHint: "with the navel visible", term: "visible navel" },
|
|
3000
|
+
{ id: "feature-bare-shoulders", label: "Bare Shoulders", dimension: "distinctive-features", description: "Bare shoulders exposed", promptHint: "with bare shoulders exposed, the line of the collarbone and shoulder muscles uncovered", adultOnly: true },
|
|
3001
|
+
{ id: "feature-collarbone-visible", label: "Collarbone Visible", dimension: "distinctive-features", description: "Prominent collarbone catching light", promptHint: "with a prominent collarbone clearly defined and catching the light", term: "visible collarbone", adultOnly: true },
|
|
3002
|
+
{ id: "feature-midriff-visible", label: "Midriff Visible", dimension: "distinctive-features", description: "Exposed midriff between top and bottom", promptHint: "wearing a cropped style with the midriff visible", term: "visible midriff", adultOnly: true },
|
|
3003
|
+
{ id: "feature-navel-visible", label: "Navel Visible", dimension: "distinctive-features", description: "Visible navel on bare stomach", promptHint: "with the navel visible", term: "visible navel", adultOnly: true },
|
|
2887
3004
|
{ id: "feature-elongated-neck", label: "Elongated Neck", dimension: "distinctive-features", description: "Long swan-like neck", promptHint: "with an elongated, swan-like neck, long and gracefully extended", term: "elongated swan-like neck" },
|
|
2888
3005
|
{ id: "feature-under-eye-circles", label: "Under-Eye Circles", dimension: "distinctive-features", description: "Subtle dark circles under the eyes (distinct from puffy eye-bags)", promptHint: "with subtle dark circles under the eyes", term: "dark under-eye circles" },
|
|
2889
3006
|
{ id: "feature-fangs", label: "Fangs", dimension: "distinctive-features", description: "Visible fangs (vampire / character archetype)", promptHint: "with visible fangs at the canines, character / vampire archetype", term: "visible fangs at the canines" },
|
|
@@ -2958,10 +3075,13 @@ var PEOPLE = [
|
|
|
2958
3075
|
{ id: "mumbai-bollywood", label: "Mumbai Bollywood", group: "Asia", dimension: "regional-aesthetic", description: "Mumbai Indian film-industry aesthetic", promptHint: "a Mumbai Bollywood aesthetic \u2014 Indian film-industry vibe, vibrant statement-glamour", term: "mumbai bollywood aesthetic" },
|
|
2959
3076
|
{ id: "south-india-traditional", label: "South India Traditional", group: "Asia", dimension: "regional-aesthetic", description: "Tamil / Kerala temple-town classical aesthetic", promptHint: "a South Indian traditional aesthetic \u2014 Tamil / Kerala temple-town vibe, classical refinement", term: "south indian traditional aesthetic" },
|
|
2960
3077
|
{ id: "bangkok-street", label: "Bangkok Street", group: "Asia", dimension: "regional-aesthetic", description: "Bangkok Thai night-market neon-urban aesthetic", promptHint: "a Bangkok street aesthetic \u2014 Thai night-market energy, neon-and-warmth urban vibe", term: "bangkok street aesthetic" },
|
|
3078
|
+
// ----- Central Asia -----
|
|
3079
|
+
{ id: "samarkand-silk-road", label: "Samarkand Silk Road", group: "Central Asia", dimension: "regional-aesthetic", description: "Uzbek Silk Road bazaar aesthetic (Samarkand / Bukhara)", promptHint: "a Central Asian Silk Road aesthetic \u2014 Samarkand / Bukhara bazaar vibe, ikat-and-suzani textiles, sun-baked adobe and blue-tiled madrasa mood", term: "samarkand silk road aesthetic" },
|
|
3080
|
+
{ id: "tashkent-modern", label: "Tashkent Modern", group: "Central Asia", dimension: "regional-aesthetic", description: "Contemporary Uzbek metropolitan Central Asian aesthetic", promptHint: "a modern Tashkent aesthetic \u2014 contemporary Uzbek metropolitan vibe, Soviet-modern-meets-Silk-Road blend, warm steppe-city confidence", term: "tashkent modern aesthetic" },
|
|
2961
3081
|
// ----- Latin America -----
|
|
2962
3082
|
{ id: "carioca-rio", label: "Carioca (Rio)", group: "Latin America", dimension: "regional-aesthetic", description: "Rio de Janeiro beach-and-favela-music Brazilian aesthetic", promptHint: "a Carioca aesthetic \u2014 Rio de Janeiro beach-and-favela-music vibe, sun-warmed Brazilian energy", term: "carioca aesthetic" },
|
|
2963
3083
|
{ id: "paulista", label: "Paulista (S\xE3o Paulo)", group: "Latin America", dimension: "regional-aesthetic", description: "S\xE3o Paulo metropolitan Brazilian creative-class aesthetic", promptHint: "a Paulista aesthetic \u2014 S\xE3o Paulo metropolitan vibe, urban-Brazilian creative-class polish", term: "paulista aesthetic" },
|
|
2964
|
-
{ id: "buenos-aires-tango", label: "Buenos Aires Tango", group: "Latin America", dimension: "regional-aesthetic", description: "Buenos Aires Recoleta / San Telmo tango aesthetic (feminine)", promptHint: "a Buenos Aires tango aesthetic \u2014 Recoleta / San Telmo vibe, sultry porte\xF1a confidence", term: "buenos aires tango aesthetic" },
|
|
3084
|
+
{ id: "buenos-aires-tango", label: "Buenos Aires Tango", group: "Latin America", dimension: "regional-aesthetic", description: "Buenos Aires Recoleta / San Telmo tango aesthetic (feminine)", promptHint: "a Buenos Aires tango aesthetic \u2014 Recoleta / San Telmo vibe, sultry porte\xF1a confidence", term: "buenos aires tango aesthetic", adultOnly: true },
|
|
2965
3085
|
{ id: "porte\xF1o", label: "Porte\xF1o", group: "Latin America", dimension: "regional-aesthetic", description: "Buenos Aires refined milonguero aesthetic (masculine)", promptHint: "a Porte\xF1o aesthetic \u2014 Buenos Aires vibe, refined milonguero presence", term: "porte\xF1o aesthetic" },
|
|
2966
3086
|
{ id: "mexico-city-chic", label: "Mexico City Chic", group: "Latin America", dimension: "regional-aesthetic", description: "CDMX Roma / Polanco modern-Mexican aesthetic", promptHint: "a Mexico City chic aesthetic \u2014 CDMX Roma / Polanco vibe, modern-Mexican polish", term: "mexico city chic aesthetic" },
|
|
2967
3087
|
{ id: "chilango-traditional", label: "Chilango Traditional", group: "Latin America", dimension: "regional-aesthetic", description: "Mexico City warm folk-and-feast aesthetic", promptHint: "a Chilango traditional aesthetic \u2014 Mexico City vibe, warm folk-and-feast mood", term: "chilango traditional aesthetic" },
|
|
@@ -3206,7 +3326,7 @@ function emitIndependentFragments(value, fragmentFor) {
|
|
|
3206
3326
|
const navel = ids.includes("feature-navel-visible");
|
|
3207
3327
|
for (const id of ids) {
|
|
3208
3328
|
if (midriff && navel && (id === "feature-midriff-visible" || id === "feature-navel-visible")) {
|
|
3209
|
-
if (id === "feature-midriff-visible") out.push("wearing a cropped style, midriff and navel visible");
|
|
3329
|
+
if (id === "feature-midriff-visible" && fragmentFor(id) !== "") out.push("wearing a cropped style, midriff and navel visible");
|
|
3210
3330
|
continue;
|
|
3211
3331
|
}
|
|
3212
3332
|
const fragment = fragmentFor(id);
|
|
@@ -3218,6 +3338,8 @@ function collectPersonFragments(data, fragmentFor) {
|
|
|
3218
3338
|
const hints = [];
|
|
3219
3339
|
const pre = typeof data.preText === "string" ? data.preText.trim() : "";
|
|
3220
3340
|
if (pre) hints.push(pre);
|
|
3341
|
+
const floored = isMinorAge(data);
|
|
3342
|
+
const emit = floored ? (id) => typeof id === "string" && getPerson(id)?.adultOnly === true ? "" : fragmentFor(id) : fragmentFor;
|
|
3221
3343
|
const fieldByDimension = getRegisteredPersonFieldByDimension();
|
|
3222
3344
|
for (const dimension of getRegisteredPersonDimensionOrder()) {
|
|
3223
3345
|
const field = fieldByDimension[dimension];
|
|
@@ -3226,34 +3348,34 @@ function collectPersonFragments(data, fragmentFor) {
|
|
|
3226
3348
|
if (dimension === "age") {
|
|
3227
3349
|
const ageId = typeof raw === "string" ? raw : void 0;
|
|
3228
3350
|
const customAge = typeof data.customAge === "number" ? data.customAge : void 0;
|
|
3229
|
-
const h = buildAgeFragment(ageId, customAge,
|
|
3351
|
+
const h = buildAgeFragment(ageId, customAge, emit);
|
|
3230
3352
|
if (h) hints.push(h);
|
|
3231
3353
|
continue;
|
|
3232
3354
|
}
|
|
3233
3355
|
if (dimension === "ethnicity") {
|
|
3234
|
-
const h = buildEthnicityFragment(raw,
|
|
3356
|
+
const h = buildEthnicityFragment(raw, emit);
|
|
3235
3357
|
if (h) hints.push(h);
|
|
3236
3358
|
continue;
|
|
3237
3359
|
}
|
|
3238
3360
|
if (dimension === "hair-color") {
|
|
3239
|
-
const h = buildHairColorFragment(raw,
|
|
3361
|
+
const h = buildHairColorFragment(raw, emit);
|
|
3240
3362
|
if (h) hints.push(h);
|
|
3241
3363
|
continue;
|
|
3242
3364
|
}
|
|
3243
3365
|
if (dimension === "eye-color") {
|
|
3244
|
-
for (const h of buildEyeColorFragments(raw,
|
|
3366
|
+
for (const h of buildEyeColorFragments(raw, emit)) hints.push(h);
|
|
3245
3367
|
continue;
|
|
3246
3368
|
}
|
|
3247
3369
|
if (dimension === "distinctive-features" || dimension === "lip-state" || dimension === "eye-state" || dimension === "skin-texture" || dimension === "regional-aesthetic") {
|
|
3248
|
-
for (const h of emitIndependentFragments(raw,
|
|
3370
|
+
for (const h of emitIndependentFragments(raw, emit)) hints.push(h);
|
|
3249
3371
|
continue;
|
|
3250
3372
|
}
|
|
3251
3373
|
if (typeof raw !== "string" || raw.length === 0) continue;
|
|
3252
|
-
const hint =
|
|
3374
|
+
const hint = emit(raw);
|
|
3253
3375
|
if (hint) hints.push(hint);
|
|
3254
3376
|
}
|
|
3255
3377
|
if (typeof data.lips === "string" && data.lips.length > 0 && !data.lipFullness && !data.lipShape) {
|
|
3256
|
-
const legacyLips =
|
|
3378
|
+
const legacyLips = emit(data.lips);
|
|
3257
3379
|
if (legacyLips) hints.push(legacyLips);
|
|
3258
3380
|
}
|
|
3259
3381
|
const post = typeof data.postText === "string" ? data.postText.trim() : "";
|
|
@@ -3335,17 +3457,17 @@ var MOODS = [
|
|
|
3335
3457
|
{ id: "determined", label: "Determined", category: "intense", description: "Resolute, focused will", promptHint: "with a determined, resolute expression and iron focus", term: "determined, resolute expression" },
|
|
3336
3458
|
{ id: "passionate", label: "Passionate", category: "intense", description: "Burning passion", promptHint: "with a passionate, burning expression full of conviction", term: "passionate expression" },
|
|
3337
3459
|
{ id: "brooding", label: "Brooding", category: "intense", description: "Dark, brooding melancholy", promptHint: "with a brooding, dark expression and moody introspection", term: "brooding expression" },
|
|
3338
|
-
{ id: "seductive", label: "Seductive", category: "intense", description: "Alluring, seductive", promptHint: "with a seductive, alluring expression and lidded gaze", term: "seductive expression" },
|
|
3460
|
+
{ id: "seductive", label: "Seductive", category: "intense", description: "Alluring, seductive", promptHint: "with a seductive, alluring expression and lidded gaze", term: "seductive expression", adultOnly: true },
|
|
3339
3461
|
{ id: "defiant", label: "Defiant", category: "intense", description: "Defiant, unyielding", promptHint: "with a defiant, unyielding expression and challenging stance", term: "defiant expression" },
|
|
3340
|
-
{ id: "sultry", label: "Sultry", category: "intense", description: "Smoldering, heavy-lidded", promptHint: "with a sultry, smoldering expression, heavy-lidded gaze and lips softly parted", term: "sultry expression" },
|
|
3341
|
-
{ id: "smoldering", label: "Smoldering", category: "intense", description: "Coiled, slow-burning intensity", promptHint: "with a smoldering, coiled expression, slow-burning intensity behind half-closed eyes and a still, predatory calm", term: "smoldering intensity" },
|
|
3462
|
+
{ id: "sultry", label: "Sultry", category: "intense", description: "Smoldering, heavy-lidded", promptHint: "with a sultry, smoldering expression, heavy-lidded gaze and lips softly parted", term: "sultry expression", adultOnly: true },
|
|
3463
|
+
{ id: "smoldering", label: "Smoldering", category: "intense", description: "Coiled, slow-burning intensity", promptHint: "with a smoldering, coiled expression, slow-burning intensity behind half-closed eyes and a still, predatory calm", term: "smoldering intensity", adultOnly: true },
|
|
3342
3464
|
{ id: "sinister", label: "Sinister", category: "intense", description: "Dark, malicious, threatening", promptHint: "with a sinister expression, a slow crooked smile and eyes glinting with dark malicious intent", term: "sinister expression" },
|
|
3343
3465
|
{ id: "wiccan-mystical", label: "Wiccan / Mystical", category: "intense", description: "Quietly otherworldly, occult", promptHint: "with a quietly mystical, otherworldly expression, eyes distant and knowing as if reading something the camera cannot see", term: "occult, otherworldly mystical expression" },
|
|
3344
3466
|
{ id: "lazy-shy", label: "Lazy Shy", category: "neutral", description: "Drowsy, soft, half-shy", promptHint: "with a soft, drowsy half-shy expression, eyes lowered and barely-there smile, languid and unbothered", term: "drowsy, half-shy expression" },
|
|
3345
3467
|
{ id: "awe", label: "Awe", category: "intense", description: "Wonder, reverent", promptHint: "with an awestruck expression of wonder, mouth slightly agape and wide-eyed", term: "awestruck wonder" },
|
|
3346
3468
|
{ id: "shocked", label: "Shocked", category: "intense", description: "Surprised, mouth open", promptHint: "with a shocked, surprised expression, eyes wide, brows raised and mouth open", term: "shocked expression" },
|
|
3347
3469
|
// -------------------- Micro-emotions --------------------
|
|
3348
|
-
{ id: "flirty", label: "Flirty", category: "positive", description: "Playful flirtation, lingering smile, sustained eye contact", promptHint: "with a flirty expression, a lingering playful smile and sustained, knowing eye contact with the camera", term: "flirty expression" },
|
|
3470
|
+
{ id: "flirty", label: "Flirty", category: "positive", description: "Playful flirtation, lingering smile, sustained eye contact", promptHint: "with a flirty expression, a lingering playful smile and sustained, knowing eye contact with the camera", term: "flirty expression", adultOnly: true },
|
|
3349
3471
|
{ id: "suspicious", label: "Suspicious", category: "negative", description: "Wary distrust, narrowed eyes, side-eye", promptHint: "with a suspicious, wary expression, eyes narrowed in distrust and a sidelong side-eye glance", term: "suspicious, wary expression" },
|
|
3350
3472
|
{ id: "resigned", label: "Resigned", category: "neutral", description: "Quiet acceptance of an unpleasant situation, sigh", promptHint: "with a resigned expression of quiet acceptance, shoulders softly dropped mid-sigh and a tired half-closed gaze", term: "resigned expression of quiet acceptance" },
|
|
3351
3473
|
{ id: "conflicted", label: "Conflicted", category: "neutral", description: "Visible internal struggle, brow furrowed, gaze unfocused", promptHint: "with a conflicted expression of visible internal struggle, brow furrowed and gaze unfocused, caught between two impulses", term: "conflicted, torn expression" }
|
|
@@ -3353,7 +3475,7 @@ var MOODS = [
|
|
|
3353
3475
|
var moodById = new Map(MOODS.map((m) => [m.id, m]));
|
|
3354
3476
|
function getMood(id) {
|
|
3355
3477
|
if (!id) return void 0;
|
|
3356
|
-
return moodById.get(id);
|
|
3478
|
+
return overlayEntry("mood", id, moodById.get(id));
|
|
3357
3479
|
}
|
|
3358
3480
|
function getMoodLabel(id, fallback) {
|
|
3359
3481
|
const m = getMood(id);
|
|
@@ -3445,8 +3567,8 @@ var POSES = [
|
|
|
3445
3567
|
{ id: "cross-legged", label: "Cross-legged", category: "seated", description: "Seated cross-legged on floor", promptHint: "sitting cross-legged on the ground", term: "sitting cross-legged" },
|
|
3446
3568
|
{ id: "kneeling", label: "Kneeling", category: "seated", description: "Kneeling on the ground", promptHint: "kneeling on one or both knees" },
|
|
3447
3569
|
{ id: "crouching", label: "Crouching", category: "seated", description: "Crouched low", promptHint: "crouched low with knees bent" },
|
|
3448
|
-
{ id: "lounging", label: "Lounging", category: "seated", description: "Reclined, relaxed sitting", promptHint: "lounging in a relaxed, reclined position" },
|
|
3449
|
-
{ id: "sitting-edge-of-bed", label: "Sitting on Edge of Bed", category: "seated", description: "Perched on the edge of a bed", promptHint: "perched on the edge of a bed, hands resting on the mattress", term: "sitting on the edge of a bed" },
|
|
3570
|
+
{ id: "lounging", label: "Lounging", category: "seated", description: "Reclined, relaxed sitting", promptHint: "lounging in a relaxed, reclined position", adultOnly: true },
|
|
3571
|
+
{ id: "sitting-edge-of-bed", label: "Sitting on Edge of Bed", category: "seated", description: "Perched on the edge of a bed", promptHint: "perched on the edge of a bed, hands resting on the mattress", term: "sitting on the edge of a bed", adultOnly: true },
|
|
3450
3572
|
{ id: "chair-arm-drape", label: "Legs Draped Over Chair", category: "seated", description: "Legs draped over chair arm", promptHint: "sitting sideways in a chair with legs draped casually over one arm", term: "legs draped over the chair arm" },
|
|
3451
3573
|
{ id: "elbow-propped", label: "Cheek on Propped Elbow", category: "seated", description: "Cheek resting on a propped elbow", promptHint: "seated with cheek resting against a propped-up elbow, contemplative", term: "cheek resting on a propped elbow" },
|
|
3452
3574
|
{ id: "lying-on-stomach-reading", label: "Lying Prone Reading", category: "seated", description: "Lying prone, propped on elbows reading", promptHint: "lying on the stomach, propped up on elbows while reading", term: "lying prone propped on elbows, reading" },
|
|
@@ -3469,13 +3591,13 @@ var POSES = [
|
|
|
3469
3591
|
{ id: "throwing", label: "Throwing", category: "action", description: "Mid-throw motion", promptHint: "caught mid-throw, body coiled and releasing", term: "caught mid-throw" },
|
|
3470
3592
|
{ id: "leaping", label: "Leaping", category: "action", description: "Leaping forward dynamically", promptHint: "leaping forward dynamically with body extended" },
|
|
3471
3593
|
{ id: "dramatic-action", label: "Dramatic Action", category: "action", description: "Exaggerated action pose", promptHint: "in a dramatic, exaggerated action pose full of motion", term: "dramatic exaggerated action pose" },
|
|
3472
|
-
{ id: "biting-lip", label: "Biting Lip", category: "action", description: "Slight playful lip-bite", promptHint: "biting the lower lip with a subtle playful expression", term: "biting the lower lip" },
|
|
3594
|
+
{ id: "biting-lip", label: "Biting Lip", category: "action", description: "Slight playful lip-bite", promptHint: "biting the lower lip with a subtle playful expression", term: "biting the lower lip", adultOnly: true },
|
|
3473
3595
|
{ id: "mid-laugh", label: "Mid-Laugh", category: "action", description: "Caught mid-laugh, head back", promptHint: "caught mid-laugh with head tipped back, eyes crinkled" },
|
|
3474
3596
|
{ id: "pointing-at-camera", label: "Pointing at Camera", category: "action", description: "Pointing directly at camera", promptHint: "pointing one finger directly at the camera, arm extended", term: "pointing directly at the camera" },
|
|
3475
3597
|
{ id: "tongue-out", label: "Sticking Tongue Out", category: "action", description: "Playful tongue-out expression", promptHint: "sticking the tongue out playfully" },
|
|
3476
3598
|
{ id: "thinking", label: "Thinking", category: "action", description: "Hand on chin, contemplative", promptHint: "in a thinking pose with hand on chin, gaze contemplative", term: "thinking pose, hand on chin" },
|
|
3477
3599
|
// -------------------- Resting --------------------
|
|
3478
|
-
{ id: "lying-down", label: "Lying Down", category: "resting", description: "Lying flat", promptHint: "lying down flat, relaxed" },
|
|
3600
|
+
{ id: "lying-down", label: "Lying Down", category: "resting", description: "Lying flat", promptHint: "lying down flat, relaxed", adultOnly: true },
|
|
3479
3601
|
{ id: "sleeping", label: "Sleeping", category: "resting", description: "Eyes closed, sleeping", promptHint: "sleeping peacefully with eyes closed" },
|
|
3480
3602
|
{ id: "hugging", label: "Hugging", category: "resting", description: "Embracing another", promptHint: "hugging or embracing another person" },
|
|
3481
3603
|
{ id: "looking-away", label: "Looking Away", category: "resting", description: "Head turned, looking away", promptHint: "head turned, looking off away from the camera" },
|
|
@@ -3497,7 +3619,7 @@ var POSES = [
|
|
|
3497
3619
|
{ id: "leaning-back", label: "Leaning Back", category: "body-lean", description: "Torso leaning back slightly", promptHint: "with the torso leaning back at a slight backward angle", term: "torso leaning slightly back" },
|
|
3498
3620
|
{ id: "leaning-forward", label: "Leaning Forward", category: "body-lean", description: "Torso leaning toward camera", promptHint: "with the torso leaning forward toward the camera", term: "torso leaning forward" },
|
|
3499
3621
|
{ id: "body-lean-contrapposto", label: "Contrapposto", category: "body-lean", description: "Weight on one leg, hip pushed out", promptHint: "with the weight on one leg and one hip pushed out, classical contrapposto", term: "contrapposto, hip pushed out" },
|
|
3500
|
-
{ id: "arched-back", label: "Arched Back", category: "body-lean", description: "Back gently arched, chest forward", promptHint: "with the back gently arched, chest forward" },
|
|
3622
|
+
{ id: "arched-back", label: "Arched Back", category: "body-lean", description: "Back gently arched, chest forward", promptHint: "with the back gently arched, chest forward", adultOnly: true },
|
|
3501
3623
|
{ id: "shoulder-rolled-forward", label: "Shoulder Rolled Forward", category: "body-lean", description: "One shoulder rolled forward", promptHint: "with one shoulder rolled forward, asymmetric stance", term: "one shoulder rolled forward" },
|
|
3502
3624
|
// -------------------- Head Tilt --------------------
|
|
3503
3625
|
{ id: "tilted-up", label: "Tilted Up", category: "head-tilt", description: "Head tipped slightly upward", promptHint: "with the head tipped slightly upward", term: "head tipped slightly up" },
|
|
@@ -3523,7 +3645,7 @@ var POSES = [
|
|
|
3523
3645
|
var poseById = new Map(POSES.map((p) => [p.id, p]));
|
|
3524
3646
|
function getPose(id) {
|
|
3525
3647
|
if (!id) return void 0;
|
|
3526
|
-
return poseById.get(id);
|
|
3648
|
+
return overlayEntry("pose", id, poseById.get(id));
|
|
3527
3649
|
}
|
|
3528
3650
|
function getPoseLabel(id, fallback) {
|
|
3529
3651
|
const p = getPose(id);
|
|
@@ -3722,14 +3844,14 @@ var STYLINGS = [
|
|
|
3722
3844
|
{ id: "jewelry-pearl", label: "Pearl", dimension: "jewelry", description: "Pearl necklace / earrings", promptHint: "wearing a pearl necklace and pearl earrings", term: "pearl jewelry" },
|
|
3723
3845
|
{ id: "jewelry-chunky", label: "Chunky", dimension: "jewelry", description: "Chunky chains and rings", promptHint: "wearing chunky chains and oversized rings", term: "chunky chains and rings" },
|
|
3724
3846
|
{ id: "jewelry-smart-watch", label: "Smart Watch", dimension: "jewelry", description: "Modern smart watch on wrist", promptHint: "wearing a modern smart watch on the wrist with a sleek digital face and silicone band" },
|
|
3725
|
-
{ id: "jewelry-choker-leather", label: "Leather Choker", dimension: "jewelry", description: "Black leather choker close to throat", promptHint: "wearing a black leather choker fitted close around the throat" },
|
|
3726
|
-
{ id: "jewelry-choker-velvet", label: "Velvet Choker", dimension: "jewelry", description: "Velvet ribbon choker, dressy and vintage", promptHint: "wearing a velvet ribbon choker around the throat, a dressy vintage touch with a small pendant at the front" },
|
|
3727
|
-
{ id: "jewelry-choker-chain", label: "Chain Choker", dimension: "jewelry", description: "Thin metal-chain choker", promptHint: "wearing a thin metal-chain choker tight around the throat" },
|
|
3847
|
+
{ id: "jewelry-choker-leather", label: "Leather Choker", dimension: "jewelry", description: "Black leather choker close to throat", promptHint: "wearing a black leather choker fitted close around the throat", adultOnly: true },
|
|
3848
|
+
{ id: "jewelry-choker-velvet", label: "Velvet Choker", dimension: "jewelry", description: "Velvet ribbon choker, dressy and vintage", promptHint: "wearing a velvet ribbon choker around the throat, a dressy vintage touch with a small pendant at the front", adultOnly: true },
|
|
3849
|
+
{ id: "jewelry-choker-chain", label: "Chain Choker", dimension: "jewelry", description: "Thin metal-chain choker", promptHint: "wearing a thin metal-chain choker tight around the throat", adultOnly: true },
|
|
3728
3850
|
{ id: "jewelry-stud-earrings", label: "Stud Earrings", dimension: "jewelry", description: "Small simple studs", promptHint: "wearing small simple stud earrings" },
|
|
3729
3851
|
{ id: "jewelry-hoop-earrings", label: "Hoop Earrings", dimension: "jewelry", description: "Gold or silver hoops", promptHint: "wearing gold or silver hoop earrings" },
|
|
3730
3852
|
{ id: "jewelry-ear-cuff", label: "Ear Cuff", dimension: "jewelry", description: "Sculptural cuff climbing the cartilage", promptHint: "wearing a sculptural ear cuff climbing the cartilage of one ear" },
|
|
3731
3853
|
{ id: "jewelry-septum-ring", label: "Septum Ring", dimension: "jewelry", description: "Septum nose ring", promptHint: "wearing a septum nose ring through the center of the nose" },
|
|
3732
|
-
{ id: "jewelry-body-chain", label: "Body Chain", dimension: "jewelry", description: "Thin metallic chain across torso", promptHint: "wearing a thin metallic body chain draped across the torso" },
|
|
3854
|
+
{ id: "jewelry-body-chain", label: "Body Chain", dimension: "jewelry", description: "Thin metallic chain across torso", promptHint: "wearing a thin metallic body chain draped across the torso", adultOnly: true },
|
|
3733
3855
|
// -------------------- Nails --------------------
|
|
3734
3856
|
{ id: "nails-polished", label: "Polished", dimension: "nails", description: "Clear or nude polished nails", promptHint: "with polished nude nails", term: "polished nude nails" },
|
|
3735
3857
|
{ id: "nails-red", label: "Red", dimension: "nails", description: "Bright red nail polish", promptHint: "with bright red nail polish", term: "red nail polish" },
|
|
@@ -3762,9 +3884,9 @@ var STYLINGS = [
|
|
|
3762
3884
|
{ id: "fabric-chiffon", label: "Chiffon", dimension: "fabric", description: "Sheer flowing chiffon", promptHint: "wearing sheer chiffon with a lightweight floating drape and soft translucent layers" },
|
|
3763
3885
|
{ id: "fabric-fur", label: "Fur", dimension: "fabric", description: "Thick plush fur", promptHint: "wearing thick plush fur with long dense strands and natural variation", term: "fur garment" },
|
|
3764
3886
|
{ id: "fabric-sequins", label: "Sequins", dimension: "fabric", description: "Sparkling sequin fabric", promptHint: "wearing sparkling sequined fabric catching light with countless tiny reflective facets" },
|
|
3765
|
-
{ id: "fabric-latex", label: "Latex", dimension: "fabric", description: "Glossy latex", promptHint: "wearing glossy latex with a high-shine liquid look clinging to the body" },
|
|
3887
|
+
{ id: "fabric-latex", label: "Latex", dimension: "fabric", description: "Glossy latex", promptHint: "wearing glossy latex with a high-shine liquid look clinging to the body", adultOnly: true },
|
|
3766
3888
|
// -------------------- Outfit (single-pick complete look — overrides individual pieces) --------------------
|
|
3767
|
-
{ id: "outfit-school-uniform", label: "School Uniform", dimension: "outfit", description: "Classic school uniform set", promptHint: "dressed in a classic school uniform \u2014 collared blouse, pleated skirt and knee-high socks" },
|
|
3889
|
+
{ id: "outfit-school-uniform", label: "School Uniform", dimension: "outfit", description: "Classic school uniform set", promptHint: "dressed in a classic school uniform \u2014 collared blouse, pleated skirt and knee-high socks", adultOnly: true },
|
|
3768
3890
|
{ id: "outfit-business-suit", label: "Business Suit", dimension: "outfit", description: "Tailored two-piece business suit", promptHint: "dressed in a sharp tailored two-piece business suit with a crisp shirt underneath" },
|
|
3769
3891
|
{ id: "outfit-tuxedo", label: "Tuxedo", dimension: "outfit", description: "Black-tie tuxedo", promptHint: "dressed in a black tuxedo with satin lapels and a bow tie" },
|
|
3770
3892
|
{ id: "outfit-evening-gown", label: "Evening Gown", dimension: "outfit", description: "Floor-length formal gown", promptHint: "dressed in a floor-length evening gown with a fitted bodice and a flowing skirt" },
|
|
@@ -3778,9 +3900,9 @@ var STYLINGS = [
|
|
|
3778
3900
|
{ id: "outfit-athleisure", label: "Athleisure Set", dimension: "outfit", description: "Matching athleisure top and bottom", promptHint: "dressed in a matching athleisure set \u2014 a fitted top and leggings in the same tone" },
|
|
3779
3901
|
{ id: "outfit-tracksuit", label: "Tracksuit", dimension: "outfit", description: "Two-piece zip-front tracksuit", promptHint: "dressed in a two-piece tracksuit \u2014 a zip-front jacket and matching joggers" },
|
|
3780
3902
|
{ id: "outfit-soccer-jersey", label: "Soccer Jersey", dimension: "outfit", description: "National-team football jersey with crest", promptHint: "wearing a national-team soccer jersey \u2014 team colors and trim with the team crest on the chest" },
|
|
3781
|
-
{ id: "outfit-bikini", label: "Bikini", dimension: "outfit", description: "Two-piece swimsuit", promptHint: "in a two-piece bikini" },
|
|
3782
|
-
{ id: "outfit-one-piece-swim", label: "One-Piece Swimsuit", dimension: "outfit", description: "Fitted one-piece swimsuit", promptHint: "in a fitted one-piece swimsuit" },
|
|
3783
|
-
{ id: "outfit-lingerie", label: "Lingerie Set", dimension: "outfit", description: "Matching lingerie set", promptHint: "in a matching lingerie set" },
|
|
3903
|
+
{ id: "outfit-bikini", label: "Bikini", dimension: "outfit", description: "Two-piece swimsuit", promptHint: "in a two-piece bikini", adultOnly: true },
|
|
3904
|
+
{ id: "outfit-one-piece-swim", label: "One-Piece Swimsuit", dimension: "outfit", description: "Fitted one-piece swimsuit", promptHint: "in a fitted one-piece swimsuit", adultOnly: true },
|
|
3905
|
+
{ id: "outfit-lingerie", label: "Lingerie Set", dimension: "outfit", description: "Matching lingerie set", promptHint: "in a matching lingerie set", adultOnly: true },
|
|
3784
3906
|
{ id: "outfit-pajamas", label: "Pajamas", dimension: "outfit", description: "Soft cotton pajama set", promptHint: "in a soft cotton pajama set \u2014 a button-up top and matching pants" },
|
|
3785
3907
|
{ id: "outfit-bathrobe", label: "Bathrobe", dimension: "outfit", description: "Plush terrycloth robe", promptHint: "wrapped in a plush terrycloth bathrobe tied at the waist" },
|
|
3786
3908
|
{ id: "outfit-kimono", label: "Kimono", dimension: "outfit", description: "Traditional Japanese kimono", promptHint: "dressed in a traditional Japanese kimono with an obi sash" },
|
|
@@ -3798,6 +3920,9 @@ var STYLINGS = [
|
|
|
3798
3920
|
{ id: "outfit-fairy", label: "Fairy", dimension: "outfit", description: "Fantasy fairy: gauzy wings, flower crown, ethereal dress", promptHint: "wearing a fantasy fairy costume \u2014 gauzy translucent wings, a flower crown, and an ethereal flowing dress", term: "fairy costume with wings" },
|
|
3799
3921
|
{ id: "outfit-mermaid", label: "Mermaid", dimension: "outfit", description: "Fantasy mermaid: scaled tail/skirt, shell top, flowing hair", promptHint: "wearing a fantasy mermaid costume \u2014 a scaled tail or fitted scaled skirt, a shell top, and long flowing hair", term: "mermaid costume" },
|
|
3800
3922
|
{ id: "outfit-pharaoh", label: "Pharaoh Regalia", dimension: "outfit", description: "Ancient Egyptian royalty: usekh collar, pectoral, pleated kilt", promptHint: "wearing ancient Egyptian pharaoh regalia \u2014 a broad beaded usekh collar, a jeweled falcon pectoral, and a pleated linen shendyt kilt with golden arm cuffs" },
|
|
3923
|
+
{ id: "outfit-workwear-overalls", label: "Workwear Overalls", dimension: "outfit", description: "Denim bib overalls over a plaid flannel shirt", promptHint: "dressed in a farmer's workwear outfit \u2014 denim bib overalls over a checked plaid flannel shirt, sturdy and worn-in", term: "denim overalls and plaid shirt" },
|
|
3924
|
+
{ id: "outfit-chapan", label: "Chapan Robe", dimension: "outfit", description: "Central Asian long quilted ikat robe", promptHint: "dressed in a traditional Central Asian chapan \u2014 a long quilted robe with an ikat-striped weave, tied at the waist with a sash" },
|
|
3925
|
+
{ id: "outfit-caftan", label: "Caftan", dimension: "outfit", description: "Long flowing Middle-Eastern / North-African robe", promptHint: "dressed in a long flowing caftan robe, a full-length garment worn across the Middle East and North Africa" },
|
|
3801
3926
|
// -------------------- Top (upper-body garment) --------------------
|
|
3802
3927
|
{ id: "top-tshirt", label: "T-Shirt", dimension: "top", description: "Plain crewneck t-shirt", promptHint: "wearing a fitted plain crewneck t-shirt with short sleeves" },
|
|
3803
3928
|
{ id: "top-tank", label: "Tank Top", dimension: "top", description: "Scoop-neck tank top", promptHint: "wearing a fitted scoop-neck tank top with thin shoulder straps" },
|
|
@@ -3810,14 +3935,14 @@ var STYLINGS = [
|
|
|
3810
3935
|
{ id: "top-polo", label: "Polo Shirt", dimension: "top", description: "Short-sleeve polo", promptHint: "wearing a fitted polo shirt with a small ribbed collar and short sleeves" },
|
|
3811
3936
|
{ id: "top-tube-top", label: "Tube Top", dimension: "top", description: "Strapless tube top", promptHint: "wearing a strapless tube top fitted across the chest" },
|
|
3812
3937
|
{ id: "top-camisole", label: "Camisole", dimension: "top", description: "Thin satin cami", promptHint: "wearing a thin satin camisole with delicate spaghetti straps" },
|
|
3813
|
-
{ id: "top-corset", label: "Corset", dimension: "top", description: "Structured corset top", promptHint: "wearing a structured corset top with boning and visible lacing" },
|
|
3814
|
-
{ id: "top-bra-top", label: "Bra Top", dimension: "top", description: "Bra-style top showing midriff", promptHint: "wearing a fitted bra-style top with the midriff exposed" },
|
|
3938
|
+
{ id: "top-corset", label: "Corset", dimension: "top", description: "Structured corset top", promptHint: "wearing a structured corset top with boning and visible lacing", adultOnly: true },
|
|
3939
|
+
{ id: "top-bra-top", label: "Bra Top", dimension: "top", description: "Bra-style top showing midriff", promptHint: "wearing a fitted bra-style top with the midriff exposed", adultOnly: true },
|
|
3815
3940
|
{ id: "top-sports-bra", label: "Sports Bra", dimension: "top", description: "Athletic sports bra", promptHint: "wearing a structured sports bra with athletic strapping" },
|
|
3816
|
-
{ id: "top-bikini-top", label: "Bikini Top", dimension: "top", description: "Triangle bikini top", promptHint: "wearing a triangle bikini top tied behind the neck and back" },
|
|
3941
|
+
{ id: "top-bikini-top", label: "Bikini Top", dimension: "top", description: "Triangle bikini top", promptHint: "wearing a triangle bikini top tied behind the neck and back", adultOnly: true },
|
|
3817
3942
|
{ id: "top-bodysuit", label: "Bodysuit", dimension: "top", description: "Fitted one-piece torso garment", promptHint: "wearing a fitted bodysuit, a one-piece torso garment snapped at the inseam" },
|
|
3818
3943
|
{ id: "top-leotard", label: "Leotard", dimension: "top", description: "Dance-style fitted top with sleeves", promptHint: "wearing a dance-style leotard, a fitted one-piece top with sleeves" },
|
|
3819
|
-
{ id: "top-mesh-top", label: "Mesh Top", dimension: "top", description: "Sheer mesh fabric top", promptHint: "wearing a sheer mesh top, the open-weave fabric letting skin show through" },
|
|
3820
|
-
{ id: "top-sheer-top", label: "Sheer Top", dimension: "top", description: "Translucent fabric top", promptHint: "wearing a sheer translucent top with a soft drape, hinting at the silhouette underneath" },
|
|
3944
|
+
{ id: "top-mesh-top", label: "Mesh Top", dimension: "top", description: "Sheer mesh fabric top", promptHint: "wearing a sheer mesh top, the open-weave fabric letting skin show through", adultOnly: true },
|
|
3945
|
+
{ id: "top-sheer-top", label: "Sheer Top", dimension: "top", description: "Translucent fabric top", promptHint: "wearing a sheer translucent top with a soft drape, hinting at the silhouette underneath", adultOnly: true },
|
|
3821
3946
|
{ id: "top-bandeau", label: "Bandeau", dimension: "top", description: "Strapless tube top", promptHint: "wearing a strapless bandeau top wrapped across the chest" },
|
|
3822
3947
|
// -------------------- Bottom (lower-body garment) --------------------
|
|
3823
3948
|
{ id: "bottom-jeans", label: "Jeans", dimension: "bottom", description: "Classic blue jeans", promptHint: "in classic five-pocket blue jeans with a straight leg cut" },
|
|
@@ -3857,11 +3982,11 @@ var STYLINGS = [
|
|
|
3857
3982
|
{ id: "outerwear-fur-coat", label: "Fur Coat", dimension: "outerwear", description: "Plush fur coat", promptHint: "wearing a plush fur coat with a deep textured pile" },
|
|
3858
3983
|
// -------------------- Legwear (between bottom and footwear) --------------------
|
|
3859
3984
|
{ id: "legwear-bare", label: "Bare Legs", dimension: "legwear", description: "Bare legs, no hosiery", promptHint: "with bare legs, no hosiery" },
|
|
3860
|
-
{ id: "legwear-sheer-tights", label: "Sheer Tights", dimension: "legwear", description: "Sheer nude pantyhose", promptHint: "with sheer nude pantyhose" },
|
|
3985
|
+
{ id: "legwear-sheer-tights", label: "Sheer Tights", dimension: "legwear", description: "Sheer nude pantyhose", promptHint: "with sheer nude pantyhose", adultOnly: true },
|
|
3861
3986
|
{ id: "legwear-opaque-tights", label: "Opaque Tights", dimension: "legwear", description: "Solid opaque tights", promptHint: "with opaque black tights covering the legs" },
|
|
3862
|
-
{ id: "legwear-fishnets", label: "Fishnets", dimension: "legwear", description: "Diamond-mesh fishnets", promptHint: "with fishnet stockings, the skin showing through the diamond mesh", term: "fishnet stockings" },
|
|
3863
|
-
{ id: "legwear-thigh-highs", label: "Thigh-High Stockings", dimension: "legwear", description: "Thigh-high stockings", promptHint: "with thigh-high stockings stopping mid-thigh" },
|
|
3864
|
-
{ id: "legwear-lace-top-stockings", label: "Lace-Top Stockings", dimension: "legwear", description: "Lace-banded thigh-highs", promptHint: "with lace-topped thigh-high stockings cinched mid-thigh" },
|
|
3987
|
+
{ id: "legwear-fishnets", label: "Fishnets", dimension: "legwear", description: "Diamond-mesh fishnets", promptHint: "with fishnet stockings, the skin showing through the diamond mesh", term: "fishnet stockings", adultOnly: true },
|
|
3988
|
+
{ id: "legwear-thigh-highs", label: "Thigh-High Stockings", dimension: "legwear", description: "Thigh-high stockings", promptHint: "with thigh-high stockings stopping mid-thigh", adultOnly: true },
|
|
3989
|
+
{ id: "legwear-lace-top-stockings", label: "Lace-Top Stockings", dimension: "legwear", description: "Lace-banded thigh-highs", promptHint: "with lace-topped thigh-high stockings cinched mid-thigh", adultOnly: true },
|
|
3865
3990
|
{ id: "legwear-knee-highs", label: "Knee-High Socks", dimension: "legwear", description: "Knee-high socks", promptHint: "with knee-high socks pulled up the calf" },
|
|
3866
3991
|
{ id: "legwear-crew-socks", label: "Crew Socks", dimension: "legwear", description: "Mid-calf crew socks", promptHint: "with simple crew socks visible above the shoes" },
|
|
3867
3992
|
{ id: "legwear-ankle-socks", label: "Ankle Socks", dimension: "legwear", description: "Low-cut ankle socks", promptHint: "with low-cut ankle socks barely showing above the shoes" },
|
|
@@ -3875,7 +4000,7 @@ var STYLINGS = [
|
|
|
3875
4000
|
{ id: "footwear-platforms", label: "Platform Shoes", dimension: "footwear", description: "Tall platform soles", promptHint: "in platform shoes with thick chunky soles" },
|
|
3876
4001
|
{ id: "footwear-ankle-boots", label: "Ankle Boots", dimension: "footwear", description: "Fitted ankle boots", promptHint: "in fitted black ankle boots" },
|
|
3877
4002
|
{ id: "footwear-knee-boots", label: "Knee-High Boots", dimension: "footwear", description: "Tall knee-high boots", promptHint: "in tall knee-high leather boots" },
|
|
3878
|
-
{ id: "footwear-thigh-high-boots", label: "Thigh-High Boots", dimension: "footwear", description: "Thigh-high boots", promptHint: "in over-the-knee thigh-high leather boots" },
|
|
4003
|
+
{ id: "footwear-thigh-high-boots", label: "Thigh-High Boots", dimension: "footwear", description: "Thigh-high boots", promptHint: "in over-the-knee thigh-high leather boots", adultOnly: true },
|
|
3879
4004
|
{ id: "footwear-combat-boots", label: "Combat Boots", dimension: "footwear", description: "Laced combat boots", promptHint: "in laced black combat boots with a chunky lugged sole" },
|
|
3880
4005
|
{ id: "footwear-chelsea-boots", label: "Chelsea Boots", dimension: "footwear", description: "Slip-on Chelsea boots", promptHint: "in clean Chelsea boots with elastic side panels" },
|
|
3881
4006
|
{ id: "footwear-cowboy-boots", label: "Cowboy Boots", dimension: "footwear", description: "Pointed-toe cowboy boots", promptHint: "in pointed-toe cowboy boots with a stacked heel and decorative stitching" },
|
|
@@ -3894,18 +4019,18 @@ var STYLINGS = [
|
|
|
3894
4019
|
{ id: "footwear-espadrilles", label: "Espadrilles", dimension: "footwear", description: "Woven jute-sole canvas summer shoe", promptHint: "in woven jute-sole espadrilles with a canvas upper, a casual summer shoe" },
|
|
3895
4020
|
// -------------------- Wardrobe State (modifier — composes with any garment) --------------------
|
|
3896
4021
|
{ id: "state-oversized", label: "Oversized", dimension: "wardrobe-state", description: "Loose, oversized fit", promptHint: "the clothing loose and oversized, draping freely well past the body", term: "oversized fit" },
|
|
3897
|
-
{ id: "state-fitted", label: "Fitted", dimension: "wardrobe-state", description: "Form-fitting silhouette", promptHint: "the clothing fitted and form-conscious, hugging the contours of the body", term: "form-fitting clothing" },
|
|
3898
|
-
{ id: "state-cropped", label: "Cropped", dimension: "wardrobe-state", description: "Top cropped at midriff", promptHint: "the top cropped above the midriff with the stomach visible", term: "cropped top" },
|
|
3899
|
-
{ id: "state-sheer", label: "Sheer", dimension: "wardrobe-state", description: "Translucent fabric", promptHint: "the fabric translucent and sheer, hinting at the silhouette underneath", term: "sheer clothing" },
|
|
3900
|
-
{ id: "state-wet", label: "Wet", dimension: "wardrobe-state", description: "Soaked, water-clinging", promptHint: "the clothing soaked and wet, the fabric clinging to the body and dripping water", term: "wet clothing" },
|
|
4022
|
+
{ id: "state-fitted", label: "Fitted", dimension: "wardrobe-state", description: "Form-fitting silhouette", promptHint: "the clothing fitted and form-conscious, hugging the contours of the body", term: "form-fitting clothing", adultOnly: true },
|
|
4023
|
+
{ id: "state-cropped", label: "Cropped", dimension: "wardrobe-state", description: "Top cropped at midriff", promptHint: "the top cropped above the midriff with the stomach visible", term: "cropped top", adultOnly: true },
|
|
4024
|
+
{ id: "state-sheer", label: "Sheer", dimension: "wardrobe-state", description: "Translucent fabric", promptHint: "the fabric translucent and sheer, hinting at the silhouette underneath", term: "sheer clothing", adultOnly: true },
|
|
4025
|
+
{ id: "state-wet", label: "Wet", dimension: "wardrobe-state", description: "Soaked, water-clinging", promptHint: "the clothing soaked and wet, the fabric clinging to the body and dripping water", term: "wet clothing", adultOnly: true },
|
|
3901
4026
|
{ id: "state-ripped", label: "Ripped", dimension: "wardrobe-state", description: "Torn and frayed", promptHint: "the fabric torn and ripped at the seams, with frayed edges", term: "ripped clothing" },
|
|
3902
4027
|
{ id: "state-distressed", label: "Distressed", dimension: "wardrobe-state", description: "Worn, faded, weathered", promptHint: "the clothing distressed and weathered, with faded color and worn-down edges", term: "distressed clothing" },
|
|
3903
4028
|
{ id: "state-vintage", label: "Vintage", dimension: "wardrobe-state", description: "Worn, retro character", promptHint: "the clothing carrying vintage character \u2014 softened color, broken-in fit, retro silhouette", term: "vintage clothing" },
|
|
3904
4029
|
{ id: "state-tucked-in", label: "Tucked In", dimension: "wardrobe-state", description: "Top tucked into bottom", promptHint: "the top neatly tucked into the bottom", term: "top tucked in" },
|
|
3905
4030
|
{ id: "state-half-tucked", label: "Half-Tucked", dimension: "wardrobe-state", description: "Front-tucked, back loose", promptHint: "the top half-tucked \u2014 front neatly tucked in, back hanging loose", term: "top half-tucked" },
|
|
3906
|
-
{ id: "state-off-shoulder", label: "Off-Shoulder", dimension: "wardrobe-state", description: "Slipped off one shoulder", promptHint: "the top slipped off one shoulder, baring the skin and collarbone", term: "off-the-shoulder top" },
|
|
3907
|
-
{ id: "state-halter-neck", label: "Halter Neck", dimension: "wardrobe-state", description: "Straps tied behind the neck", promptHint: "the top cut as a halter \u2014 straps tied behind the neck, shoulders and upper back bare", term: "halter neckline" },
|
|
3908
|
-
{ id: "state-plunging-neck", label: "Plunging Neckline", dimension: "wardrobe-state", description: "Deep plunging V neckline", promptHint: "the neckline cut in a deep plunging V" },
|
|
4031
|
+
{ id: "state-off-shoulder", label: "Off-Shoulder", dimension: "wardrobe-state", description: "Slipped off one shoulder", promptHint: "the top slipped off one shoulder, baring the skin and collarbone", term: "off-the-shoulder top", adultOnly: true },
|
|
4032
|
+
{ id: "state-halter-neck", label: "Halter Neck", dimension: "wardrobe-state", description: "Straps tied behind the neck", promptHint: "the top cut as a halter \u2014 straps tied behind the neck, shoulders and upper back bare", term: "halter neckline", adultOnly: true },
|
|
4033
|
+
{ id: "state-plunging-neck", label: "Plunging Neckline", dimension: "wardrobe-state", description: "Deep plunging V neckline", promptHint: "the neckline cut in a deep plunging V", adultOnly: true },
|
|
3909
4034
|
{ id: "state-unbuttoned", label: "Unbuttoned", dimension: "wardrobe-state", description: "Open / unbuttoned", promptHint: "the outerwear hanging open and unbuttoned, falling loose at the sides", term: "worn open and unbuttoned" },
|
|
3910
4035
|
{ id: "state-rolled-sleeves", label: "Rolled Sleeves", dimension: "wardrobe-state", description: "Sleeves rolled up forearm", promptHint: "the sleeves rolled up to the forearm", term: "rolled-up sleeves" },
|
|
3911
4036
|
{ id: "state-layered", label: "Layered", dimension: "wardrobe-state", description: "Multiple stacked layers", promptHint: "the outfit composed of multiple stacked layers, each piece visible at the edges", term: "layered outfit" }
|
|
@@ -3972,6 +4097,8 @@ var STYLING_FIELD_BY_DIMENSION = {
|
|
|
3972
4097
|
"wardrobe-state": "wardrobeState"
|
|
3973
4098
|
};
|
|
3974
4099
|
var MAX_SELECTED_BY_STYLING_DIMENSION = {
|
|
4100
|
+
headwear: 2,
|
|
4101
|
+
// a hat layered over a wrap/turban
|
|
3975
4102
|
jewelry: 3,
|
|
3976
4103
|
"wardrobe-state": 3,
|
|
3977
4104
|
"hair-state": 2
|
|
@@ -3982,7 +4109,7 @@ function getStylingDimensionLimit(dimension) {
|
|
|
3982
4109
|
var stylingById = new Map(STYLINGS.map((s) => [s.id, s]));
|
|
3983
4110
|
function getStyling(id) {
|
|
3984
4111
|
if (!id) return void 0;
|
|
3985
|
-
return stylingById.get(id);
|
|
4112
|
+
return overlayEntry("styling", id, stylingById.get(id));
|
|
3986
4113
|
}
|
|
3987
4114
|
function getStylingLabel(id, fallback) {
|
|
3988
4115
|
const s = getStyling(id);
|
|
@@ -4003,17 +4130,19 @@ function collectStylingFragments(data, fragmentFor) {
|
|
|
4003
4130
|
if (pre) out.push(pre);
|
|
4004
4131
|
const lipStateRaw = data.lipState;
|
|
4005
4132
|
const boldRedAlready = Array.isArray(lipStateRaw) ? lipStateRaw.includes("lip-state-bold-red") : lipStateRaw === "lip-state-bold-red";
|
|
4133
|
+
const floored = isMinorAge(data);
|
|
4134
|
+
const emit = floored ? (id) => getStyling(id)?.adultOnly === true ? "" : fragmentFor(id) : fragmentFor;
|
|
4006
4135
|
for (const dimension of STYLING_DIMENSION_ORDER) {
|
|
4007
4136
|
const field = STYLING_FIELD_BY_DIMENSION[dimension];
|
|
4008
4137
|
const raw = data[field];
|
|
4009
4138
|
if (dimension === "makeup" && boldRedAlready && raw === "makeup-bold-lips") continue;
|
|
4010
4139
|
if (typeof raw === "string" && raw.length > 0) {
|
|
4011
|
-
const fragment =
|
|
4140
|
+
const fragment = emit(raw);
|
|
4012
4141
|
if (fragment) out.push(fragment);
|
|
4013
4142
|
} else if (Array.isArray(raw)) {
|
|
4014
4143
|
for (const item of raw) {
|
|
4015
4144
|
if (typeof item !== "string" || item.length === 0) continue;
|
|
4016
|
-
const fragment =
|
|
4145
|
+
const fragment = emit(item);
|
|
4017
4146
|
if (fragment) out.push(fragment);
|
|
4018
4147
|
}
|
|
4019
4148
|
}
|
|
@@ -4070,7 +4199,7 @@ var TEMPORAL_CATEGORY_LABELS = {
|
|
|
4070
4199
|
var temporalById = new Map(TEMPORALS.map((t) => [t.id, t]));
|
|
4071
4200
|
function getTemporal(id) {
|
|
4072
4201
|
if (!id) return void 0;
|
|
4073
|
-
return temporalById.get(id);
|
|
4202
|
+
return overlayEntry("temporal", id, temporalById.get(id));
|
|
4074
4203
|
}
|
|
4075
4204
|
function getTemporalLabel(id, fallback) {
|
|
4076
4205
|
const t = getTemporal(id);
|
|
@@ -4663,7 +4792,7 @@ var motionById = new Map(
|
|
|
4663
4792
|
);
|
|
4664
4793
|
function getCameraMotion(id) {
|
|
4665
4794
|
if (!id) return void 0;
|
|
4666
|
-
return motionById.get(id);
|
|
4795
|
+
return overlayEntry("camera-motions", id, motionById.get(id));
|
|
4667
4796
|
}
|
|
4668
4797
|
function getCameraMotionLabel(id, fallback) {
|
|
4669
4798
|
const m = getCameraMotion(id);
|
|
@@ -5350,7 +5479,7 @@ var transitionById = new Map(
|
|
|
5350
5479
|
);
|
|
5351
5480
|
function getTransition(id) {
|
|
5352
5481
|
if (!id) return void 0;
|
|
5353
|
-
return transitionById.get(id);
|
|
5482
|
+
return overlayEntry("transitions", id, transitionById.get(id));
|
|
5354
5483
|
}
|
|
5355
5484
|
function getTransitionLabel(id, fallback) {
|
|
5356
5485
|
const t = getTransition(id);
|
|
@@ -5877,7 +6006,7 @@ var characterFxById = new Map(
|
|
|
5877
6006
|
);
|
|
5878
6007
|
function getCharacterFx(id) {
|
|
5879
6008
|
if (!id) return void 0;
|
|
5880
|
-
return characterFxById.get(id);
|
|
6009
|
+
return overlayEntry("character-fx", id, characterFxById.get(id));
|
|
5881
6010
|
}
|
|
5882
6011
|
function getCharacterFxLabel(id, fallback) {
|
|
5883
6012
|
const c = getCharacterFx(id);
|
|
@@ -6017,7 +6146,7 @@ var MATERIALS = [
|
|
|
6017
6146
|
var materialById = new Map(MATERIALS.map((m) => [m.id, m]));
|
|
6018
6147
|
function getMaterial(id) {
|
|
6019
6148
|
if (!id) return void 0;
|
|
6020
|
-
return materialById.get(id);
|
|
6149
|
+
return overlayEntry("materials", id, materialById.get(id));
|
|
6021
6150
|
}
|
|
6022
6151
|
function getMaterialLabel(id, fallback) {
|
|
6023
6152
|
const m = getMaterial(id);
|
|
@@ -6076,6 +6205,35 @@ var MATERIAL_CATEGORY_ORDER = [
|
|
|
6076
6205
|
"natural",
|
|
6077
6206
|
"exotic"
|
|
6078
6207
|
];
|
|
6208
|
+
function curatedAnimalPromptHint(id) {
|
|
6209
|
+
if (!id) return "";
|
|
6210
|
+
if (!composedHas("animals", id)) return "";
|
|
6211
|
+
return composedOption("animals", id)?.promptHint ?? shared.getAnimalPromptHint(id);
|
|
6212
|
+
}
|
|
6213
|
+
function curatedAnimalTerm(id) {
|
|
6214
|
+
if (!id) return "";
|
|
6215
|
+
if (!composedHas("animals", id)) return "";
|
|
6216
|
+
return composedOption("animals", id)?.term ?? shared.getAnimalTerm(id);
|
|
6217
|
+
}
|
|
6218
|
+
function objectEntityText(catalogId, id, stock, stockHint, stockTerm) {
|
|
6219
|
+
if (!id || !composedHas(catalogId, id)) return { hint: "", term: "" };
|
|
6220
|
+
const composed = composedOption(catalogId, id);
|
|
6221
|
+
if (composed) return { hint: composed.promptHint, term: composed.term };
|
|
6222
|
+
if (!stock) return { hint: "", term: "" };
|
|
6223
|
+
return { hint: stockHint(stock), term: stockTerm(stock) };
|
|
6224
|
+
}
|
|
6225
|
+
function objectEntityTerm(entry) {
|
|
6226
|
+
return entry.term ?? deriveTerm(entry.label);
|
|
6227
|
+
}
|
|
6228
|
+
function curatedVehicleText(id) {
|
|
6229
|
+
return objectEntityText("vehicles", id, shared.getVehicle(id), (e) => `featuring a ${e.label.toLowerCase()}, ${e.description}`, objectEntityTerm);
|
|
6230
|
+
}
|
|
6231
|
+
function curatedWeaponText(id) {
|
|
6232
|
+
return objectEntityText("weapons", id, shared.getWeapon(id), (e) => `with a ${e.label.toLowerCase()}, ${e.description}`, objectEntityTerm);
|
|
6233
|
+
}
|
|
6234
|
+
function curatedFurnitureText(id) {
|
|
6235
|
+
return objectEntityText("furniture", id, shared.getFurniture(id), (e) => `including a ${e.label.toLowerCase()}, ${e.description}`, objectEntityTerm);
|
|
6236
|
+
}
|
|
6079
6237
|
|
|
6080
6238
|
// src/photo-genre.ts
|
|
6081
6239
|
var PHOTO_GENRES = [
|
|
@@ -6093,7 +6251,7 @@ var PHOTO_GENRES = [
|
|
|
6093
6251
|
{ id: "brand-jil-sander", label: "Jil Sander Minimalism", category: "editorial", description: "Jil Sander \u2014 minimalist architectural muted", promptHint: "shot in the language of a Jil Sander editorial, minimalist composition, muted ecru and stone palette, architectural wardrobe with clean unbroken lines and the brand's quiet austere mood" },
|
|
6094
6252
|
{ id: "brand-vivienne-tam", label: "Vivienne Tam Style", category: "editorial", description: "Vivienne Tam \u2014 orientalist ornate fashion", promptHint: "shot in the language of a Vivienne Tam editorial, orientalist motifs and dragon embroidery, ornate East-Asian fashion detailing and a saturated jewel-toned palette" },
|
|
6095
6253
|
{ id: "brand-jacquemus", label: "Jacquemus Style", category: "editorial", description: "Jacquemus \u2014 sun-soaked surrealist playful", promptHint: "shot in the language of a Jacquemus campaign, sun-soaked Mediterranean light, surrealist scale play with oversized hats and miniature bags, terracotta and ochre palette and a playful French Riviera mood" },
|
|
6096
|
-
{ id: "brand-helmut-newton", label: "Helmut Newton Style", category: "editorial", description: "Helmut Newton \u2014 high-contrast B&W provocation", promptHint: "shot in the signature language of Helmut Newton, high-contrast black-and-white, hard direct flash carving every line, statuesque pose, glamorous wardrobe and the cool confrontational eroticism of his 1970s editorial work" },
|
|
6254
|
+
{ id: "brand-helmut-newton", label: "Helmut Newton Style", category: "editorial", description: "Helmut Newton \u2014 high-contrast B&W provocation", promptHint: "shot in the signature language of Helmut Newton, high-contrast black-and-white, hard direct flash carving every line, statuesque pose, glamorous wardrobe and the cool confrontational eroticism of his 1970s editorial work", adultOnly: true },
|
|
6097
6255
|
{ id: "brand-harpers-bazaar", label: "Harper's Bazaar Style", category: "editorial", description: "Harper's Bazaar \u2014 high-fashion glossy", promptHint: "shot in the signature language of a Harper's Bazaar editorial, high-fashion glossy production, bold graphic backdrops, dramatic single-source key light and the brand's distinctively confident composition" },
|
|
6098
6256
|
// -------------------- Documentary / Candid --------------------
|
|
6099
6257
|
{ id: "paparazzi", label: "Paparazzi", category: "documentary", description: "Flash-blown tabloid candid", term: "paparazzi flash candid", promptHint: "shot as a paparazzi tabloid candid, harsh on-camera flash blowing out the highlights, slight motion blur, low candid angle, blurred crowd in the background and grainy cropped tabloid framing" },
|
|
@@ -6110,7 +6268,7 @@ var PHOTO_GENRES = [
|
|
|
6110
6268
|
{ id: "mugshot", label: "Mugshot", category: "studio-formal", description: "Police booking-style portrait", promptHint: "shot as a police booking mugshot, harsh fluorescent overhead lighting, height chart on the wall behind, dead-square frontal framing and a flat institutional color cast" },
|
|
6111
6269
|
{ id: "wedding-portrait", label: "Wedding Portrait", category: "studio-formal", description: "Romantic bridal-style portrait", promptHint: "shot as a wedding portrait, soft golden-hour backlight, romantic shallow depth of field, dreamy pastel color grade and an intimate posed embrace or solo bridal stance" },
|
|
6112
6270
|
{ id: "family-portrait", label: "Family Portrait", category: "studio-formal", description: "Posed family group shot", promptHint: "shot as a posed family portrait, warm even studio lighting, neutral backdrop, coordinated wardrobe and the group arranged in a balanced pyramid composition" },
|
|
6113
|
-
{ id: "glamour-portrait", label: "Glamour Portrait", category: "studio-formal", description: "Soft-focus glamour portrait", promptHint: "shot as a glamour portrait with soft diffused beauty lighting, a high-key warm tone, gentle skin retouch, voluminous hair and a sultry over-the-shoulder pose" },
|
|
6271
|
+
{ id: "glamour-portrait", label: "Glamour Portrait", category: "studio-formal", description: "Soft-focus glamour portrait", promptHint: "shot as a glamour portrait with soft diffused beauty lighting, a high-key warm tone, gentle skin retouch, voluminous hair and a sultry over-the-shoulder pose", adultOnly: true },
|
|
6114
6272
|
{ id: "film-noir", label: "Film Noir", category: "studio-formal", description: "Hard-shadow noir portrait", promptHint: "shot in a film-noir portrait idiom, hard single-source key light casting deep shadows, venetian-blind shadow patterns, monochrome high-contrast palette and a brooding closed-off pose" },
|
|
6115
6273
|
// -------------------- Selfie sub-types --------------------
|
|
6116
6274
|
{ id: "mirror-selfie", label: "Mirror Selfie", category: "selfie", description: "Phone-in-mirror full-body selfie", promptHint: "shot as a smartphone mirror selfie, the phone visible in one raised hand reflected in the mirror, full or three-quarter body framing, a domestic bedroom or bathroom background and natural ambient light" },
|
|
@@ -6139,7 +6297,7 @@ var photoGenreById = new Map(
|
|
|
6139
6297
|
);
|
|
6140
6298
|
function getPhotoGenre(id) {
|
|
6141
6299
|
if (!id) return void 0;
|
|
6142
|
-
return photoGenreById.get(id);
|
|
6300
|
+
return overlayEntry("photo-genre", id, photoGenreById.get(id));
|
|
6143
6301
|
}
|
|
6144
6302
|
function getPhotoGenreLabel(id, fallback) {
|
|
6145
6303
|
const g = getPhotoGenre(id);
|
|
@@ -6225,7 +6383,7 @@ var BACKDROPS = [
|
|
|
6225
6383
|
var backdropById = new Map(BACKDROPS.map((b) => [b.id, b]));
|
|
6226
6384
|
function getBackdrop(id) {
|
|
6227
6385
|
if (!id) return void 0;
|
|
6228
|
-
return backdropById.get(id);
|
|
6386
|
+
return overlayEntry("backdrop", id, backdropById.get(id));
|
|
6229
6387
|
}
|
|
6230
6388
|
function getBackdropLabel(id, fallback) {
|
|
6231
6389
|
const b = getBackdrop(id);
|
|
@@ -6326,12 +6484,13 @@ var HELD_PROPS = [
|
|
|
6326
6484
|
{ id: "flashlight", label: "Flashlight", category: "occupational", description: "Modern flashlight cutting a beam", promptHint: "holding a modern flashlight raised forward in one hand, a sharp white beam cutting through the darkness ahead and side-lighting the face", term: "holding a flashlight raised forward" },
|
|
6327
6485
|
{ id: "compass", label: "Compass", category: "occupational", description: "Vintage handheld nautical compass", promptHint: "holding a vintage brass nautical compass open in one cupped palm at chest height, the needle clearly visible as the eyes drift down to read the bearing", term: "holding an open brass nautical compass" },
|
|
6328
6486
|
{ id: "bow-and-arrow", label: "Bow and Arrow", category: "occupational", description: "Drawn archery bow with arrow nocked", promptHint: "holding an archery bow drawn at full tension with one hand on the grip and the other pulling the string back to the cheek, an arrow nocked and aimed forward", term: "drawing an archery bow with a nocked arrow" },
|
|
6329
|
-
{ id: "shield", label: "Shield", category: "occupational", description: "Handheld medieval shield", promptHint: "holding a medieval shield raised across the body with one arm strapped through the back, the front face angled forward in a defensive stance", term: "holding a raised medieval shield" }
|
|
6487
|
+
{ id: "shield", label: "Shield", category: "occupational", description: "Handheld medieval shield", promptHint: "holding a medieval shield raised across the body with one arm strapped through the back, the front face angled forward in a defensive stance", term: "holding a raised medieval shield" },
|
|
6488
|
+
{ id: "work-gloves", label: "Work Gloves", category: "occupational", description: "Worn leather work gloves held in hand", promptHint: "holding a worn pair of tan leather work gloves in both hands at waist height, the thick weathered leather clearly visible", term: "holding a pair of leather work gloves" }
|
|
6330
6489
|
];
|
|
6331
6490
|
var heldPropById = new Map(HELD_PROPS.map((p) => [p.id, p]));
|
|
6332
6491
|
function getHeldProp(id) {
|
|
6333
6492
|
if (!id) return void 0;
|
|
6334
|
-
return heldPropById.get(id);
|
|
6493
|
+
return overlayEntry("held-prop", id, heldPropById.get(id));
|
|
6335
6494
|
}
|
|
6336
6495
|
function getHeldPropLabel(id, fallback) {
|
|
6337
6496
|
const p = getHeldProp(id);
|
|
@@ -6913,7 +7072,7 @@ var photographerById = new Map(
|
|
|
6913
7072
|
);
|
|
6914
7073
|
function getPhotographer(id) {
|
|
6915
7074
|
if (!id) return void 0;
|
|
6916
|
-
return photographerById.get(id);
|
|
7075
|
+
return overlayEntry("photographer", id, photographerById.get(id));
|
|
6917
7076
|
}
|
|
6918
7077
|
function getPhotographerLabel(id, fallback) {
|
|
6919
7078
|
const p = getPhotographer(id);
|
|
@@ -7293,7 +7452,7 @@ var aestheticById = new Map(
|
|
|
7293
7452
|
);
|
|
7294
7453
|
function getAesthetic(id) {
|
|
7295
7454
|
if (!id) return void 0;
|
|
7296
|
-
return aestheticById.get(id);
|
|
7455
|
+
return overlayEntry("aesthetic", id, aestheticById.get(id));
|
|
7297
7456
|
}
|
|
7298
7457
|
function getAestheticLabel(id, fallback) {
|
|
7299
7458
|
const a = getAesthetic(id);
|
|
@@ -7560,7 +7719,7 @@ var ERAS = [
|
|
|
7560
7719
|
var eraById = new Map(ERAS.map((e) => [e.id, e]));
|
|
7561
7720
|
function getEra(id) {
|
|
7562
7721
|
if (!id) return void 0;
|
|
7563
|
-
return eraById.get(id);
|
|
7722
|
+
return overlayEntry("era", id, eraById.get(id));
|
|
7564
7723
|
}
|
|
7565
7724
|
function getEraLabel(id, fallback) {
|
|
7566
7725
|
const e = getEra(id);
|
|
@@ -7628,7 +7787,7 @@ var exposureById = new Map(
|
|
|
7628
7787
|
);
|
|
7629
7788
|
function getExposure(id) {
|
|
7630
7789
|
if (!id) return void 0;
|
|
7631
|
-
return exposureById.get(id);
|
|
7790
|
+
return overlayEntry("exposure-settings", id, exposureById.get(id));
|
|
7632
7791
|
}
|
|
7633
7792
|
function getExposureLabel(id, fallback) {
|
|
7634
7793
|
const e = getExposure(id);
|
|
@@ -7708,7 +7867,7 @@ var renderQualityById = new Map(
|
|
|
7708
7867
|
);
|
|
7709
7868
|
function getRenderQuality(id) {
|
|
7710
7869
|
if (!id) return void 0;
|
|
7711
|
-
return renderQualityById.get(id);
|
|
7870
|
+
return overlayEntry("render-quality", id, renderQualityById.get(id));
|
|
7712
7871
|
}
|
|
7713
7872
|
function getRenderQualityLabel(id, fallback) {
|
|
7714
7873
|
const r = getRenderQuality(id);
|
|
@@ -7756,7 +7915,7 @@ var compositionEffectById = new Map(
|
|
|
7756
7915
|
);
|
|
7757
7916
|
function getCompositionEffect(id) {
|
|
7758
7917
|
if (!id) return void 0;
|
|
7759
|
-
return compositionEffectById.get(id);
|
|
7918
|
+
return overlayEntry("composition-effects", id, compositionEffectById.get(id));
|
|
7760
7919
|
}
|
|
7761
7920
|
function getCompositionEffectLabel(id, fallback) {
|
|
7762
7921
|
const c = getCompositionEffect(id);
|
|
@@ -7798,7 +7957,7 @@ var postProcessById = new Map(
|
|
|
7798
7957
|
);
|
|
7799
7958
|
function getPostProcessEffect(id) {
|
|
7800
7959
|
if (!id) return void 0;
|
|
7801
|
-
return postProcessById.get(id);
|
|
7960
|
+
return overlayEntry("post-process-effects", id, postProcessById.get(id));
|
|
7802
7961
|
}
|
|
7803
7962
|
function getPostProcessEffectLabel(id, fallback) {
|
|
7804
7963
|
const p = getPostProcessEffect(id);
|
|
@@ -8373,20 +8532,20 @@ var GENRE_BY_ID = new Map(MUSIC_GENRES.map((g) => [g.id, g]));
|
|
|
8373
8532
|
var ERA_BY_ID = new Map(MUSIC_ERAS.map((e) => [e.id, e]));
|
|
8374
8533
|
function getMusicGenre(id) {
|
|
8375
8534
|
if (!id) return void 0;
|
|
8376
|
-
return GENRE_BY_ID.get(id);
|
|
8535
|
+
return overlayEntry("music-genre", id, GENRE_BY_ID.get(id));
|
|
8377
8536
|
}
|
|
8378
8537
|
function getMusicGenreLabel(id) {
|
|
8379
8538
|
if (!id) return "";
|
|
8380
|
-
return
|
|
8539
|
+
return getMusicGenre(id)?.label ?? id;
|
|
8381
8540
|
}
|
|
8382
8541
|
function getMusicSubgenre(genreId, subgenreId) {
|
|
8383
8542
|
if (!genreId || !subgenreId) return void 0;
|
|
8384
8543
|
const genre = GENRE_BY_ID.get(genreId);
|
|
8385
|
-
return genre?.subgenres.find((s) => s.id === subgenreId);
|
|
8544
|
+
return overlayEntry("music-genre", subgenreId, genre?.subgenres.find((s) => s.id === subgenreId));
|
|
8386
8545
|
}
|
|
8387
8546
|
function getMusicEra(id) {
|
|
8388
8547
|
if (!id) return void 0;
|
|
8389
|
-
return ERA_BY_ID.get(id);
|
|
8548
|
+
return overlayEntry("music-genre", id, ERA_BY_ID.get(id));
|
|
8390
8549
|
}
|
|
8391
8550
|
function getMusicGenreTerm(id) {
|
|
8392
8551
|
return resolveTerm(getMusicGenre(id ?? void 0));
|
|
@@ -8523,13 +8682,13 @@ var ENERGY_BY_ID = new Map(MUSIC_ENERGIES.map((x) => [x.id, x]));
|
|
|
8523
8682
|
var EMOTION_BY_ID = new Map(MUSIC_EMOTIONS.map((x) => [x.id, x]));
|
|
8524
8683
|
var VIBE_BY_ID = new Map(MUSIC_VIBES.map((x) => [x.id, x]));
|
|
8525
8684
|
function getMusicEnergy(id) {
|
|
8526
|
-
return id ? ENERGY_BY_ID.get(id) : void 0;
|
|
8685
|
+
return id ? overlayEntry("music-mood", id, ENERGY_BY_ID.get(id)) : void 0;
|
|
8527
8686
|
}
|
|
8528
8687
|
function getMusicEmotion(id) {
|
|
8529
|
-
return id ? EMOTION_BY_ID.get(id) : void 0;
|
|
8688
|
+
return id ? overlayEntry("music-mood", id, EMOTION_BY_ID.get(id)) : void 0;
|
|
8530
8689
|
}
|
|
8531
8690
|
function getMusicVibe(id) {
|
|
8532
|
-
return id ? VIBE_BY_ID.get(id) : void 0;
|
|
8691
|
+
return id ? overlayEntry("music-mood", id, VIBE_BY_ID.get(id)) : void 0;
|
|
8533
8692
|
}
|
|
8534
8693
|
function getMusicEnergyTerm(id) {
|
|
8535
8694
|
return resolveTerm(id ? getMusicEnergy(id) : void 0);
|
|
@@ -8786,16 +8945,16 @@ var PRODUCTION_BY_ID = new Map(PRODUCTION_STYLES.map((x) => [x.id, x]));
|
|
|
8786
8945
|
var VOCAL_BY_ID = new Map(VOCAL_PRESENCE.map((x) => [x.id, x]));
|
|
8787
8946
|
var SINGING_STYLE_BY_ID = new Map(SINGING_STYLES.map((x) => [x.id, x]));
|
|
8788
8947
|
function getInstrument(id) {
|
|
8789
|
-
return id ? INSTRUMENT_BY_ID.get(id) : void 0;
|
|
8948
|
+
return id ? overlayEntry("instrumentation", id, INSTRUMENT_BY_ID.get(id)) : void 0;
|
|
8790
8949
|
}
|
|
8791
8950
|
function getProductionStyle(id) {
|
|
8792
|
-
return id ? PRODUCTION_BY_ID.get(id) : void 0;
|
|
8951
|
+
return id ? overlayEntry("instrumentation", id, PRODUCTION_BY_ID.get(id)) : void 0;
|
|
8793
8952
|
}
|
|
8794
8953
|
function getVocalPresence(id) {
|
|
8795
|
-
return id ? VOCAL_BY_ID.get(id) : void 0;
|
|
8954
|
+
return id ? overlayEntry("instrumentation", id, VOCAL_BY_ID.get(id)) : void 0;
|
|
8796
8955
|
}
|
|
8797
8956
|
function getSingingStyle(id) {
|
|
8798
|
-
return id ? SINGING_STYLE_BY_ID.get(id) : void 0;
|
|
8957
|
+
return id ? overlayEntry("instrumentation", id, SINGING_STYLE_BY_ID.get(id)) : void 0;
|
|
8799
8958
|
}
|
|
8800
8959
|
function getInstrumentTerm(id) {
|
|
8801
8960
|
return resolveTerm(id ? getInstrument(id) : void 0);
|
|
@@ -9001,19 +9160,19 @@ var LANGUAGE_BY_ID = new Map(VOICE_LANGUAGES.map((x) => [x.id, x]));
|
|
|
9001
9160
|
var ACCENT_BY_ID = new Map(VOICE_ACCENTS.map((x) => [x.id, x]));
|
|
9002
9161
|
var TIMBRE_BY_ID = new Map(VOICE_TIMBRES.map((x) => [x.id, x]));
|
|
9003
9162
|
function getVoiceAge(id) {
|
|
9004
|
-
return id ? AGE_BY_ID.get(id) : void 0;
|
|
9163
|
+
return id ? overlayEntry("voice-character", id, AGE_BY_ID.get(id)) : void 0;
|
|
9005
9164
|
}
|
|
9006
9165
|
function getVoiceGender(id) {
|
|
9007
|
-
return id ? GENDER_BY_ID.get(id) : void 0;
|
|
9166
|
+
return id ? overlayEntry("voice-character", id, GENDER_BY_ID.get(id)) : void 0;
|
|
9008
9167
|
}
|
|
9009
9168
|
function getVoiceLanguage(id) {
|
|
9010
|
-
return id ? LANGUAGE_BY_ID.get(id) : void 0;
|
|
9169
|
+
return id ? overlayEntry("voice-character", id, LANGUAGE_BY_ID.get(id)) : void 0;
|
|
9011
9170
|
}
|
|
9012
9171
|
function getVoiceAccent(id) {
|
|
9013
|
-
return id ? ACCENT_BY_ID.get(id) : void 0;
|
|
9172
|
+
return id ? overlayEntry("voice-character", id, ACCENT_BY_ID.get(id)) : void 0;
|
|
9014
9173
|
}
|
|
9015
9174
|
function getVoiceTimbre(id) {
|
|
9016
|
-
return id ? TIMBRE_BY_ID.get(id) : void 0;
|
|
9175
|
+
return id ? overlayEntry("voice-character", id, TIMBRE_BY_ID.get(id)) : void 0;
|
|
9017
9176
|
}
|
|
9018
9177
|
function getVoiceAgeTerm(id) {
|
|
9019
9178
|
return resolveTerm(getVoiceAge(id ?? void 0));
|
|
@@ -9160,13 +9319,13 @@ var PACE_BY_ID = new Map(VOICE_PACES.map((x) => [x.id, x]));
|
|
|
9160
9319
|
var EMOTION_BY_ID2 = new Map(VOICE_EMOTIONS.map((x) => [x.id, x]));
|
|
9161
9320
|
var ARCHETYPE_BY_ID = new Map(VOICE_ARCHETYPES.map((x) => [x.id, x]));
|
|
9162
9321
|
function getVoicePace(id) {
|
|
9163
|
-
return id ? PACE_BY_ID.get(id) : void 0;
|
|
9322
|
+
return id ? overlayEntry("voice-delivery", id, PACE_BY_ID.get(id)) : void 0;
|
|
9164
9323
|
}
|
|
9165
9324
|
function getVoiceEmotion(id) {
|
|
9166
|
-
return id ? EMOTION_BY_ID2.get(id) : void 0;
|
|
9325
|
+
return id ? overlayEntry("voice-delivery", id, EMOTION_BY_ID2.get(id)) : void 0;
|
|
9167
9326
|
}
|
|
9168
9327
|
function getVoiceArchetype(id) {
|
|
9169
|
-
return id ? ARCHETYPE_BY_ID.get(id) : void 0;
|
|
9328
|
+
return id ? overlayEntry("voice-delivery", id, ARCHETYPE_BY_ID.get(id)) : void 0;
|
|
9170
9329
|
}
|
|
9171
9330
|
function getVoicePaceTerm(id) {
|
|
9172
9331
|
return resolveTerm(getVoicePace(id ?? void 0));
|
|
@@ -9232,6 +9391,7 @@ function toOptions(arr, categoryField) {
|
|
|
9232
9391
|
};
|
|
9233
9392
|
if (e.description) opt.description = e.description;
|
|
9234
9393
|
if (categoryField) opt.category = e[categoryField];
|
|
9394
|
+
if (e.adultOnly) opt.adultOnly = true;
|
|
9235
9395
|
return opt;
|
|
9236
9396
|
});
|
|
9237
9397
|
}
|
|
@@ -9757,6 +9917,7 @@ function getPickerCatalog(nodeTypeOrCatalogId) {
|
|
|
9757
9917
|
const all = getRegisteredPickerCatalogs();
|
|
9758
9918
|
return all.find((c) => c.nodeType === nodeTypeOrCatalogId) ?? all.find((c) => c.catalogId === nodeTypeOrCatalogId);
|
|
9759
9919
|
}
|
|
9920
|
+
setComposedCatalogResolver(getPickerCatalog);
|
|
9760
9921
|
function listPickerCatalogs() {
|
|
9761
9922
|
return getRegisteredPickerCatalogs();
|
|
9762
9923
|
}
|
|
@@ -9847,9 +10008,6 @@ function readHintMode(data) {
|
|
|
9847
10008
|
function byMode(mode, full, compact) {
|
|
9848
10009
|
return mode === "compact" ? compact : full;
|
|
9849
10010
|
}
|
|
9850
|
-
function objectEntityTerm(entry) {
|
|
9851
|
-
return entry.term ?? deriveTerm(entry.label);
|
|
9852
|
-
}
|
|
9853
10011
|
function getParameterPromptHint(node, ctx) {
|
|
9854
10012
|
return resolveParameterHint(node, ctx);
|
|
9855
10013
|
}
|
|
@@ -9974,36 +10132,23 @@ function resolveBaseHint(type, data, mode = "full") {
|
|
|
9974
10132
|
return withCustomText(data, byMode(mode, getLoopSubjectPromptHint, getLoopSubjectTerm)(asStr(data.loopSubject)));
|
|
9975
10133
|
case "material":
|
|
9976
10134
|
return withCustomText(data, buildMaterialHints(data.material, mode));
|
|
9977
|
-
//
|
|
9978
|
-
//
|
|
9979
|
-
// the
|
|
9980
|
-
// miss, so the entry lookup
|
|
9981
|
-
// getters' job now, not this switch's.
|
|
10135
|
+
// The four object-entity catalogs are owned by @nodaro/shared and overlaid
|
|
10136
|
+
// in shared-catalog-overlay.ts — the ONE module every prompt-text read of
|
|
10137
|
+
// them goes through (the subject fold uses it too). Each returns "" on a
|
|
10138
|
+
// miss, so the entry lookup is the module's job, not this switch's.
|
|
9982
10139
|
case "animal":
|
|
9983
|
-
return withCustomText(
|
|
9984
|
-
data,
|
|
9985
|
-
byMode(mode, shared.getAnimalPromptHint, shared.getAnimalTerm)(asStr(data.animal))
|
|
9986
|
-
);
|
|
10140
|
+
return withCustomText(data, byMode(mode, curatedAnimalPromptHint, curatedAnimalTerm)(asStr(data.animal)));
|
|
9987
10141
|
case "vehicle": {
|
|
9988
|
-
const
|
|
9989
|
-
return withCustomText(
|
|
9990
|
-
data,
|
|
9991
|
-
vehicle ? byMode(mode, `featuring a ${vehicle.label.toLowerCase()}, ${vehicle.description}`, objectEntityTerm(vehicle)) : ""
|
|
9992
|
-
);
|
|
10142
|
+
const t = curatedVehicleText(asStr(data.vehicle));
|
|
10143
|
+
return withCustomText(data, byMode(mode, t.hint, t.term));
|
|
9993
10144
|
}
|
|
9994
10145
|
case "weapon": {
|
|
9995
|
-
const
|
|
9996
|
-
return withCustomText(
|
|
9997
|
-
data,
|
|
9998
|
-
weapon ? byMode(mode, `with a ${weapon.label.toLowerCase()}, ${weapon.description}`, objectEntityTerm(weapon)) : ""
|
|
9999
|
-
);
|
|
10146
|
+
const t = curatedWeaponText(asStr(data.weapon));
|
|
10147
|
+
return withCustomText(data, byMode(mode, t.hint, t.term));
|
|
10000
10148
|
}
|
|
10001
10149
|
case "furniture": {
|
|
10002
|
-
const
|
|
10003
|
-
return withCustomText(
|
|
10004
|
-
data,
|
|
10005
|
-
furniture ? byMode(mode, `including a ${furniture.label.toLowerCase()}, ${furniture.description}`, objectEntityTerm(furniture)) : ""
|
|
10006
|
-
);
|
|
10150
|
+
const t = curatedFurnitureText(asStr(data.furniture));
|
|
10151
|
+
return withCustomText(data, byMode(mode, t.hint, t.term));
|
|
10007
10152
|
}
|
|
10008
10153
|
case "photo-genre":
|
|
10009
10154
|
return withCustomText(data, byMode(mode, getPhotoGenrePromptHint, getPhotoGenreTerm)(asStr(data.photoGenre)));
|
|
@@ -11474,7 +11619,7 @@ ${directives}`;
|
|
|
11474
11619
|
}
|
|
11475
11620
|
}
|
|
11476
11621
|
const styleText2 = style?.trim();
|
|
11477
|
-
const styleLine2 = styleText2 ? `Style: ${getStylePromptHint(styleText2) || styleText2}` : "";
|
|
11622
|
+
const styleLine2 = styleText2 && !isDeniedStyleId(styleText2) ? `Style: ${getStylePromptHint(styleText2) || styleText2}` : "";
|
|
11478
11623
|
const negPrompt2 = negativePrompt?.trim();
|
|
11479
11624
|
let nativeNegativePrompt2;
|
|
11480
11625
|
let avoidLine2 = "";
|
|
@@ -11556,7 +11701,7 @@ ${directives}`;
|
|
|
11556
11701
|
prompt = section.length > 0 ? `${wrapped}${STYLE_SECTION_GAP}${section}` : wrapped;
|
|
11557
11702
|
}
|
|
11558
11703
|
const styleText = style?.trim();
|
|
11559
|
-
const styleLine = styleText ? `Style: ${getStylePromptHint(styleText) || styleText}` : "";
|
|
11704
|
+
const styleLine = styleText && !isDeniedStyleId(styleText) ? `Style: ${getStylePromptHint(styleText) || styleText}` : "";
|
|
11560
11705
|
const negPrompt = negativePrompt?.trim();
|
|
11561
11706
|
let nativeNegativePrompt;
|
|
11562
11707
|
let avoidLine = "";
|
|
@@ -12028,6 +12173,8 @@ function renderLens(l) {
|
|
|
12028
12173
|
if (l.aperture) bits.push(`f/${l.aperture}`);
|
|
12029
12174
|
return bits.length > 0 ? `Lens: ${bits.join(", ")}.` : "";
|
|
12030
12175
|
}
|
|
12176
|
+
|
|
12177
|
+
// src/subject-registry.ts
|
|
12031
12178
|
var viaFragmentBuilder = (build) => (subject, mode) => {
|
|
12032
12179
|
const clause = build(subject, mode).filter((s) => s.length > 0).join(", ");
|
|
12033
12180
|
return clause.length > 0 ? [clause] : [];
|
|
@@ -12050,7 +12197,7 @@ var SUBJECT_FIELDS = [
|
|
|
12050
12197
|
{ key: "styling", kind: "group", surface: "both", render: viaFragmentBuilder(buildStylingHints) },
|
|
12051
12198
|
{ key: "heldProp", kind: "ids", surface: "both", maxPicks: 2, render: viaListBuilder2(buildHeldPropHints) },
|
|
12052
12199
|
{ key: "material", kind: "ids", surface: "both", maxPicks: 2, render: viaStringBuilder2(buildMaterialHints) },
|
|
12053
|
-
{ key: "animal", kind: "ids", surface: "both", maxPicks: 1, render: perId2(
|
|
12200
|
+
{ key: "animal", kind: "ids", surface: "both", maxPicks: 1, render: perId2(curatedAnimalPromptHint, curatedAnimalTerm) }
|
|
12054
12201
|
];
|
|
12055
12202
|
var SUBJECT_FOLD_KEYS = SUBJECT_FIELDS.map((f) => f.key);
|
|
12056
12203
|
var IDS_ROWS = SUBJECT_FIELDS.filter((f) => f.kind === "ids");
|
|
@@ -13022,10 +13169,13 @@ function resolveSeedance2Inputs(args) {
|
|
|
13022
13169
|
droppedRefImages
|
|
13023
13170
|
};
|
|
13024
13171
|
}
|
|
13025
|
-
var
|
|
13172
|
+
var DEFAULT_GEMINI_OMNI_PROVIDER = "gemini-omni-video";
|
|
13173
|
+
function geminiOmniInputSlots(provider) {
|
|
13174
|
+
return shared.VIDEO_REF_LIMITS_BY_PROVIDER[provider ?? DEFAULT_GEMINI_OMNI_PROVIDER]?.images ?? 7;
|
|
13175
|
+
}
|
|
13026
13176
|
function resolveGeminiOmniI2vInputs(args) {
|
|
13027
13177
|
const refs = (args.refImageUrls ?? []).filter((u) => typeof u === "string" && u.length > 0);
|
|
13028
|
-
const slots =
|
|
13178
|
+
const slots = geminiOmniInputSlots(args.provider) - (args.videoConnected ? 2 : 0);
|
|
13029
13179
|
const refSlots = Math.max(0, slots - 1);
|
|
13030
13180
|
const kept = refs.slice(0, refSlots);
|
|
13031
13181
|
const droppedRefImages = refs.length - kept.length;
|
|
@@ -13059,6 +13209,114 @@ function resolveVeoI2vInputs(args) {
|
|
|
13059
13209
|
droppedEndFrame: Boolean(args.endFrameUrl)
|
|
13060
13210
|
};
|
|
13061
13211
|
}
|
|
13212
|
+
|
|
13213
|
+
// src/catalog-id-guard.ts
|
|
13214
|
+
var SIDE_FIELDS = [
|
|
13215
|
+
// pose.ts resolves all four sub-picks through getPosePromptHint
|
|
13216
|
+
["pose", "handPosition", "pose"],
|
|
13217
|
+
["pose", "bodyLean", "pose"],
|
|
13218
|
+
["pose", "headTilt", "pose"],
|
|
13219
|
+
["pose", "activity", "pose"]
|
|
13220
|
+
];
|
|
13221
|
+
var DIRECTION_ALIASES = {
|
|
13222
|
+
framingId: "framing",
|
|
13223
|
+
framingAngleId: "framing",
|
|
13224
|
+
lightingId: "lighting",
|
|
13225
|
+
lensId: "lens",
|
|
13226
|
+
cameraFormatId: "camera-format"
|
|
13227
|
+
};
|
|
13228
|
+
var tableMemo = null;
|
|
13229
|
+
function fieldTable() {
|
|
13230
|
+
if (tableMemo) return tableMemo;
|
|
13231
|
+
const byNodeType = /* @__PURE__ */ new Map();
|
|
13232
|
+
const byField = /* @__PURE__ */ new Map();
|
|
13233
|
+
const put = (nodeType, field, catalogId) => {
|
|
13234
|
+
let m = byNodeType.get(nodeType);
|
|
13235
|
+
if (!m) byNodeType.set(nodeType, m = /* @__PURE__ */ new Map());
|
|
13236
|
+
m.set(field, catalogId);
|
|
13237
|
+
if (!byField.has(field)) byField.set(field, catalogId);
|
|
13238
|
+
};
|
|
13239
|
+
for (const c of PICKER_CATALOGS) {
|
|
13240
|
+
if (c.valueField) put(c.nodeType, c.valueField, c.catalogId);
|
|
13241
|
+
for (const d of c.dimensions ?? []) put(c.nodeType, d.field, c.catalogId);
|
|
13242
|
+
for (const f of c.fields ?? []) put(c.nodeType, f, c.catalogId);
|
|
13243
|
+
}
|
|
13244
|
+
for (const [nodeType, field, catalogId] of SIDE_FIELDS) put(nodeType, field, catalogId);
|
|
13245
|
+
for (const [alias, catalogId] of Object.entries(DIRECTION_ALIASES)) if (!byField.has(alias)) byField.set(alias, catalogId);
|
|
13246
|
+
tableMemo = { byNodeType, byField };
|
|
13247
|
+
return tableMemo;
|
|
13248
|
+
}
|
|
13249
|
+
var idsMemo = null;
|
|
13250
|
+
function composedIds(catalogId) {
|
|
13251
|
+
const v = catalogPacksVersion();
|
|
13252
|
+
if (!idsMemo || idsMemo.v !== v) idsMemo = { v, byCatalog: /* @__PURE__ */ new Map() };
|
|
13253
|
+
const hit = idsMemo.byCatalog.get(catalogId);
|
|
13254
|
+
if (hit) return hit;
|
|
13255
|
+
const cat = getPickerCatalog(catalogId);
|
|
13256
|
+
const ids = /* @__PURE__ */ new Set();
|
|
13257
|
+
for (const o of cat?.options ?? []) ids.add(o.id);
|
|
13258
|
+
for (const d of cat?.dimensions ?? []) for (const o of d.options) ids.add(o.id);
|
|
13259
|
+
idsMemo.byCatalog.set(catalogId, ids);
|
|
13260
|
+
return ids;
|
|
13261
|
+
}
|
|
13262
|
+
function values(v) {
|
|
13263
|
+
if (typeof v === "string") return v ? [v] : [];
|
|
13264
|
+
if (Array.isArray(v)) return v.filter((x) => typeof x === "string" && x.length > 0);
|
|
13265
|
+
return [];
|
|
13266
|
+
}
|
|
13267
|
+
function catalogGuardActive() {
|
|
13268
|
+
return getRegisteredCatalogPacks().length > 0;
|
|
13269
|
+
}
|
|
13270
|
+
function checkRecord(nodeType, nodeId, data, fields, out) {
|
|
13271
|
+
for (const [field, catalogId] of fields) {
|
|
13272
|
+
const raw = data[field];
|
|
13273
|
+
if (raw === void 0 || raw === null) continue;
|
|
13274
|
+
const offered = composedIds(catalogId);
|
|
13275
|
+
for (const id of values(raw)) {
|
|
13276
|
+
if (!offered.has(id)) out.push({ nodeId, nodeType, field, id, catalogId });
|
|
13277
|
+
}
|
|
13278
|
+
}
|
|
13279
|
+
}
|
|
13280
|
+
function findForeignCatalogIds(nodes) {
|
|
13281
|
+
if (!catalogGuardActive() || !nodes) return [];
|
|
13282
|
+
const table = fieldTable();
|
|
13283
|
+
const out = [];
|
|
13284
|
+
for (const node of nodes) {
|
|
13285
|
+
const type = typeof node.type === "string" ? node.type : "";
|
|
13286
|
+
const nodeId = typeof node.id === "string" ? node.id : void 0;
|
|
13287
|
+
const data = node.data && typeof node.data === "object" ? node.data : null;
|
|
13288
|
+
if (!type || !data) continue;
|
|
13289
|
+
const own = table.byNodeType.get(type);
|
|
13290
|
+
if (own) checkRecord(type, nodeId, data, own, out);
|
|
13291
|
+
for (const key of ["direction", "subject"]) {
|
|
13292
|
+
const rec = data[key];
|
|
13293
|
+
if (rec && typeof rec === "object" && !Array.isArray(rec)) {
|
|
13294
|
+
checkRecord(type, nodeId, rec, table.byField, out);
|
|
13295
|
+
}
|
|
13296
|
+
}
|
|
13297
|
+
}
|
|
13298
|
+
return out;
|
|
13299
|
+
}
|
|
13300
|
+
function findForeignCatalogIdsInBody(nodeType, body) {
|
|
13301
|
+
if (!catalogGuardActive() || !body) return [];
|
|
13302
|
+
const table = fieldTable();
|
|
13303
|
+
const out = [];
|
|
13304
|
+
for (const key of ["direction", "subject"]) {
|
|
13305
|
+
const rec = body[key];
|
|
13306
|
+
if (rec && typeof rec === "object" && !Array.isArray(rec)) {
|
|
13307
|
+
checkRecord(nodeType, void 0, rec, table.byField, out);
|
|
13308
|
+
}
|
|
13309
|
+
}
|
|
13310
|
+
return out;
|
|
13311
|
+
}
|
|
13312
|
+
function foreignCatalogIdMessage(found) {
|
|
13313
|
+
const parts = [...new Set(found.map((f) => `${f.field}="${f.id}"`))];
|
|
13314
|
+
return `This deployment does not offer the following picker value${parts.length === 1 ? "" : "s"}: ${parts.join(", ")}. Choose from the options shown in the picker.`;
|
|
13315
|
+
}
|
|
13316
|
+
function __resetCatalogIdGuardForTests() {
|
|
13317
|
+
tableMemo = null;
|
|
13318
|
+
idsMemo = null;
|
|
13319
|
+
}
|
|
13062
13320
|
function packOptionIds(pack) {
|
|
13063
13321
|
if (pack.options) return pack.options.map((o) => o.id);
|
|
13064
13322
|
if (pack.dimensions) return pack.dimensions.flatMap((d) => d.options.map((o) => o.id));
|
|
@@ -13082,6 +13340,108 @@ function computePackSidecarCoverage(pack) {
|
|
|
13082
13340
|
return { total: ids.length * shared.NON_EN_LOCALE_IDS.length, missing, exempted };
|
|
13083
13341
|
}
|
|
13084
13342
|
|
|
13343
|
+
// src/age-floor.ts
|
|
13344
|
+
var ADULT_SWEPT_CATALOG_IDS = ["styling", "mood", "pose", "photo-genre"];
|
|
13345
|
+
var ADULT_SWEPT_CATALOG_ID_SET = new Set(ADULT_SWEPT_CATALOG_IDS);
|
|
13346
|
+
function optionsOf(catalog) {
|
|
13347
|
+
if (catalog.kind === "single") return catalog.options ?? [];
|
|
13348
|
+
return (catalog.dimensions ?? []).flatMap((d) => d.options);
|
|
13349
|
+
}
|
|
13350
|
+
function getAdultOnlyEntries() {
|
|
13351
|
+
const catalogEntries = getRegisteredPickerCatalogs().filter((c) => ADULT_SWEPT_CATALOG_ID_SET.has(c.catalogId)).flatMap(optionsOf);
|
|
13352
|
+
const all = [...getRegisteredPeople(), ...catalogEntries];
|
|
13353
|
+
return all.filter((e) => e.adultOnly === true);
|
|
13354
|
+
}
|
|
13355
|
+
function getAdultOnlyIds() {
|
|
13356
|
+
return new Set(getAdultOnlyEntries().map((e) => e.id));
|
|
13357
|
+
}
|
|
13358
|
+
function getAdultOnlyHintStrings() {
|
|
13359
|
+
const out = /* @__PURE__ */ new Set();
|
|
13360
|
+
for (const e of getAdultOnlyEntries()) {
|
|
13361
|
+
if (e.promptHint) out.add(e.promptHint.toLowerCase());
|
|
13362
|
+
}
|
|
13363
|
+
return [...out].filter((s) => s.length >= 8).sort((a, b) => b.length - a.length);
|
|
13364
|
+
}
|
|
13365
|
+
var cachedMinorHints = null;
|
|
13366
|
+
var cachedMinorHintSourceCount = -1;
|
|
13367
|
+
function getMinorAgeHintStrings() {
|
|
13368
|
+
const people = getRegisteredPeople();
|
|
13369
|
+
if (cachedMinorHints && cachedMinorHintSourceCount === people.length) return cachedMinorHints;
|
|
13370
|
+
const out = /* @__PURE__ */ new Set();
|
|
13371
|
+
for (const e of people) {
|
|
13372
|
+
const minorAge = e.dimension === "age" && !ADULT_AGE_IDS.has(e.id);
|
|
13373
|
+
const minorType = e.dimension === "type" && MINOR_IMPLYING_TYPE_IDS.has(e.id);
|
|
13374
|
+
if (!minorAge && !minorType) continue;
|
|
13375
|
+
if (e.promptHint) out.add(e.promptHint.toLowerCase());
|
|
13376
|
+
}
|
|
13377
|
+
cachedMinorHintSourceCount = people.length;
|
|
13378
|
+
cachedMinorHints = [...out].filter((s) => s.length >= 8).sort((a, b) => b.length - a.length);
|
|
13379
|
+
return cachedMinorHints;
|
|
13380
|
+
}
|
|
13381
|
+
function escapeReSource(s) {
|
|
13382
|
+
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
13383
|
+
}
|
|
13384
|
+
function needleTokenSource(needle) {
|
|
13385
|
+
return needle.trim().split(/[\s-]+/).filter((t) => t.length > 0).map(escapeReSource).join("[\\s-]+");
|
|
13386
|
+
}
|
|
13387
|
+
function buildNeedleAlternationSource(needles) {
|
|
13388
|
+
const alts = needles.map(needleTokenSource).filter((s) => s.length > 0);
|
|
13389
|
+
if (alts.length === 0) return null;
|
|
13390
|
+
return `(?<![\\w-])(?:${alts.join("|")})(?![\\w-])`;
|
|
13391
|
+
}
|
|
13392
|
+
var cachedMinorNeedleRe = null;
|
|
13393
|
+
var cachedMinorNeedleCount = -1;
|
|
13394
|
+
function minorNeedleRegex() {
|
|
13395
|
+
const needles = getMinorAgeHintStrings();
|
|
13396
|
+
if (cachedMinorNeedleRe && cachedMinorNeedleCount === needles.length) return cachedMinorNeedleRe;
|
|
13397
|
+
cachedMinorNeedleCount = needles.length;
|
|
13398
|
+
const src = buildNeedleAlternationSource(needles);
|
|
13399
|
+
cachedMinorNeedleRe = src === null ? null : new RegExp(src, "i");
|
|
13400
|
+
return cachedMinorNeedleRe;
|
|
13401
|
+
}
|
|
13402
|
+
var NUMERIC_AGE_RE = /(?<![\w-])(\d{1,3})(?:\s*-\s*\d{1,3})?\s*-?\s*(?:years?\s*-?\s*old|yrs?\s*-?\s*old|y(?:\.\s*o\.?|\/o|o)|years?\s+of\s+age)(?![\w-])/gi;
|
|
13403
|
+
var PREFIXED_AGE_RE = /(?<![\w-])aged?\s+(?:of\s+)?(\d{1,3})(?![\w-])/gi;
|
|
13404
|
+
var AGE_NUMBER_RULES = [NUMERIC_AGE_RE, PREFIXED_AGE_RE];
|
|
13405
|
+
var IN_THEIR_TEENS_RE = /(?<![\w-])in[\s-]+their[\s-]+teens(?![\w-])/i;
|
|
13406
|
+
function containsMinorAgeHint(text) {
|
|
13407
|
+
if (typeof text !== "string" || text.trim().length === 0) return false;
|
|
13408
|
+
const re = minorNeedleRegex();
|
|
13409
|
+
if (re && re.test(text)) return true;
|
|
13410
|
+
for (const rule of AGE_NUMBER_RULES) {
|
|
13411
|
+
for (const m of text.matchAll(rule)) {
|
|
13412
|
+
const n = Number(m[1]);
|
|
13413
|
+
if (Number.isFinite(n) && n < 20) return true;
|
|
13414
|
+
}
|
|
13415
|
+
}
|
|
13416
|
+
return IN_THEIR_TEENS_RE.test(text);
|
|
13417
|
+
}
|
|
13418
|
+
var FLOORED_PICKER_KEYS = ["person", ...ADULT_SWEPT_CATALOG_IDS];
|
|
13419
|
+
function stripIds(obj, drop) {
|
|
13420
|
+
const out = {};
|
|
13421
|
+
for (const [k, v] of Object.entries(obj)) {
|
|
13422
|
+
if (typeof v === "string") {
|
|
13423
|
+
if (!drop.has(v)) out[k] = v;
|
|
13424
|
+
} else if (Array.isArray(v)) {
|
|
13425
|
+
const kept = v.filter((x) => !(typeof x === "string" && drop.has(x)));
|
|
13426
|
+
if (kept.length > 0) out[k] = kept;
|
|
13427
|
+
} else {
|
|
13428
|
+
out[k] = v;
|
|
13429
|
+
}
|
|
13430
|
+
}
|
|
13431
|
+
return out;
|
|
13432
|
+
}
|
|
13433
|
+
function applyMinorAgeFloorToPickerValues(values2) {
|
|
13434
|
+
const person = values2.person;
|
|
13435
|
+
if (!person || typeof person !== "object" || !isMinorAge(person)) return values2;
|
|
13436
|
+
const drop = getAdultOnlyIds();
|
|
13437
|
+
const out = { ...values2 };
|
|
13438
|
+
for (const key of FLOORED_PICKER_KEYS) {
|
|
13439
|
+
const v = out[key];
|
|
13440
|
+
if (v && typeof v === "object" && !Array.isArray(v)) out[key] = stripIds(v, drop);
|
|
13441
|
+
}
|
|
13442
|
+
return out;
|
|
13443
|
+
}
|
|
13444
|
+
|
|
13085
13445
|
// ../../node_modules/zod/v4/classic/external.js
|
|
13086
13446
|
var external_exports = {};
|
|
13087
13447
|
__export(external_exports, {
|
|
@@ -13763,8 +14123,8 @@ function assert(_) {
|
|
|
13763
14123
|
}
|
|
13764
14124
|
function getEnumValues(entries) {
|
|
13765
14125
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
13766
|
-
const
|
|
13767
|
-
return
|
|
14126
|
+
const values2 = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
14127
|
+
return values2;
|
|
13768
14128
|
}
|
|
13769
14129
|
function joinValues(array2, separator = "|") {
|
|
13770
14130
|
return array2.map((val) => stringifyPrimitive(val)).join(separator);
|
|
@@ -16422,10 +16782,10 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
16422
16782
|
const opts = def.options;
|
|
16423
16783
|
const map2 = /* @__PURE__ */ new Map();
|
|
16424
16784
|
for (const o of opts) {
|
|
16425
|
-
const
|
|
16426
|
-
if (!
|
|
16785
|
+
const values2 = o._zod.propValues?.[def.discriminator];
|
|
16786
|
+
if (!values2 || values2.size === 0)
|
|
16427
16787
|
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(o)}"`);
|
|
16428
|
-
for (const v of
|
|
16788
|
+
for (const v of values2) {
|
|
16429
16789
|
if (map2.has(v)) {
|
|
16430
16790
|
throw new Error(`Duplicate discriminator value "${String(v)}"`);
|
|
16431
16791
|
}
|
|
@@ -16683,11 +17043,11 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
16683
17043
|
return payload;
|
|
16684
17044
|
}
|
|
16685
17045
|
const proms = [];
|
|
16686
|
-
const
|
|
16687
|
-
if (
|
|
17046
|
+
const values2 = def.keyType._zod.values;
|
|
17047
|
+
if (values2) {
|
|
16688
17048
|
payload.value = {};
|
|
16689
17049
|
const recordKeys = /* @__PURE__ */ new Set();
|
|
16690
|
-
for (const key of
|
|
17050
|
+
for (const key of values2) {
|
|
16691
17051
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
16692
17052
|
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
16693
17053
|
const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
@@ -16891,10 +17251,10 @@ function handleSetResult(result, final) {
|
|
|
16891
17251
|
}
|
|
16892
17252
|
var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
16893
17253
|
$ZodType.init(inst, def);
|
|
16894
|
-
const
|
|
16895
|
-
const valuesSet = new Set(
|
|
17254
|
+
const values2 = getEnumValues(def.entries);
|
|
17255
|
+
const valuesSet = new Set(values2);
|
|
16896
17256
|
inst._zod.values = valuesSet;
|
|
16897
|
-
inst._zod.pattern = new RegExp(`^(${
|
|
17257
|
+
inst._zod.pattern = new RegExp(`^(${values2.filter((k) => propertyKeyTypes.has(typeof k)).map((o) => typeof o === "string" ? escapeRegex(o) : o.toString()).join("|")})$`);
|
|
16898
17258
|
inst._zod.parse = (payload, _ctx) => {
|
|
16899
17259
|
const input = payload.value;
|
|
16900
17260
|
if (valuesSet.has(input)) {
|
|
@@ -16902,7 +17262,7 @@ var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
|
16902
17262
|
}
|
|
16903
17263
|
payload.issues.push({
|
|
16904
17264
|
code: "invalid_value",
|
|
16905
|
-
values,
|
|
17265
|
+
values: values2,
|
|
16906
17266
|
input,
|
|
16907
17267
|
inst
|
|
16908
17268
|
});
|
|
@@ -16914,12 +17274,12 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
16914
17274
|
if (def.values.length === 0) {
|
|
16915
17275
|
throw new Error("Cannot create literal schema with no valid values");
|
|
16916
17276
|
}
|
|
16917
|
-
const
|
|
16918
|
-
inst._zod.values =
|
|
17277
|
+
const values2 = new Set(def.values);
|
|
17278
|
+
inst._zod.values = values2;
|
|
16919
17279
|
inst._zod.pattern = new RegExp(`^(${def.values.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$`);
|
|
16920
17280
|
inst._zod.parse = (payload, _ctx) => {
|
|
16921
17281
|
const input = payload.value;
|
|
16922
|
-
if (
|
|
17282
|
+
if (values2.has(input)) {
|
|
16923
17283
|
return payload;
|
|
16924
17284
|
}
|
|
16925
17285
|
payload.issues.push({
|
|
@@ -24220,8 +24580,8 @@ function _set(Class2, valueType, params) {
|
|
|
24220
24580
|
});
|
|
24221
24581
|
}
|
|
24222
24582
|
// @__NO_SIDE_EFFECTS__
|
|
24223
|
-
function _enum(Class2,
|
|
24224
|
-
const entries = Array.isArray(
|
|
24583
|
+
function _enum(Class2, values2, params) {
|
|
24584
|
+
const entries = Array.isArray(values2) ? Object.fromEntries(values2.map((v) => [v, v])) : values2;
|
|
24225
24585
|
return new Class2({
|
|
24226
24586
|
type: "enum",
|
|
24227
24587
|
entries,
|
|
@@ -24965,12 +25325,12 @@ var dateProcessor = (_schema, ctx, _json, _params) => {
|
|
|
24965
25325
|
};
|
|
24966
25326
|
var enumProcessor = (schema, _ctx, json2, _params) => {
|
|
24967
25327
|
const def = schema._zod.def;
|
|
24968
|
-
const
|
|
24969
|
-
if (
|
|
25328
|
+
const values2 = getEnumValues(def.entries);
|
|
25329
|
+
if (values2.every((v) => typeof v === "number"))
|
|
24970
25330
|
json2.type = "number";
|
|
24971
|
-
if (
|
|
25331
|
+
if (values2.every((v) => typeof v === "string"))
|
|
24972
25332
|
json2.type = "string";
|
|
24973
|
-
json2.enum =
|
|
25333
|
+
json2.enum = values2;
|
|
24974
25334
|
};
|
|
24975
25335
|
var literalProcessor = (schema, ctx, json2, _params) => {
|
|
24976
25336
|
const def = schema._zod.def;
|
|
@@ -26653,9 +27013,9 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
26653
27013
|
inst.enum = def.entries;
|
|
26654
27014
|
inst.options = Object.values(def.entries);
|
|
26655
27015
|
const keys = new Set(Object.keys(def.entries));
|
|
26656
|
-
inst.extract = (
|
|
27016
|
+
inst.extract = (values2, params) => {
|
|
26657
27017
|
const newEntries = {};
|
|
26658
|
-
for (const value of
|
|
27018
|
+
for (const value of values2) {
|
|
26659
27019
|
if (keys.has(value)) {
|
|
26660
27020
|
newEntries[value] = def.entries[value];
|
|
26661
27021
|
} else
|
|
@@ -26668,9 +27028,9 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
26668
27028
|
entries: newEntries
|
|
26669
27029
|
});
|
|
26670
27030
|
};
|
|
26671
|
-
inst.exclude = (
|
|
27031
|
+
inst.exclude = (values2, params) => {
|
|
26672
27032
|
const newEntries = { ...def.entries };
|
|
26673
|
-
for (const value of
|
|
27033
|
+
for (const value of values2) {
|
|
26674
27034
|
if (keys.has(value)) {
|
|
26675
27035
|
delete newEntries[value];
|
|
26676
27036
|
} else
|
|
@@ -26684,8 +27044,8 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
26684
27044
|
});
|
|
26685
27045
|
};
|
|
26686
27046
|
});
|
|
26687
|
-
function _enum2(
|
|
26688
|
-
const entries = Array.isArray(
|
|
27047
|
+
function _enum2(values2, params) {
|
|
27048
|
+
const entries = Array.isArray(values2) ? Object.fromEntries(values2.map((v) => [v, v])) : values2;
|
|
26689
27049
|
return new ZodEnum({
|
|
26690
27050
|
type: "enum",
|
|
26691
27051
|
entries,
|
|
@@ -27599,6 +27959,13 @@ var personCleanup = (patch, mode) => {
|
|
|
27599
27959
|
} else if ("age" in patch && patch.age !== "age-custom") {
|
|
27600
27960
|
patch.customAge = void 0;
|
|
27601
27961
|
}
|
|
27962
|
+
if (isMinorAge(patch)) {
|
|
27963
|
+
const drop = getAdultOnlyIds();
|
|
27964
|
+
for (const [k, v] of Object.entries(patch)) {
|
|
27965
|
+
if (typeof v === "string" && drop.has(v)) patch[k] = void 0;
|
|
27966
|
+
else if (Array.isArray(v)) patch[k] = v.filter((x) => !(typeof x === "string" && drop.has(x)));
|
|
27967
|
+
}
|
|
27968
|
+
}
|
|
27602
27969
|
};
|
|
27603
27970
|
var PICKER_ANALYZER_REGISTRY = {
|
|
27604
27971
|
person: {
|
|
@@ -27864,6 +28231,23 @@ var GAPS_SCHEMA = external_exports.object({
|
|
|
27864
28231
|
).max(8).default([])
|
|
27865
28232
|
}).default({ missingItems: [], missingCategories: [] });
|
|
27866
28233
|
var MULTI_CACHE = /* @__PURE__ */ new Map();
|
|
28234
|
+
function pickerDisplayName(type) {
|
|
28235
|
+
return type.split("-").map((w) => w.length > 0 ? w[0].toUpperCase() + w.slice(1) : w).join(" ");
|
|
28236
|
+
}
|
|
28237
|
+
function buildOtherPickersLegend(sorted) {
|
|
28238
|
+
const otherTypes = PICKER_TYPES.filter((t) => !sorted.includes(t));
|
|
28239
|
+
if (otherTypes.length === 0) return "";
|
|
28240
|
+
const lines = otherTypes.map((type) => {
|
|
28241
|
+
const descriptor = PICKER_ANALYZER_REGISTRY[type];
|
|
28242
|
+
if (descriptor.kind === "flat") {
|
|
28243
|
+
return `- ${type}: ${descriptor.label}`;
|
|
28244
|
+
}
|
|
28245
|
+
const dims = descriptor.order.map((k) => descriptor.labels[k]).filter(Boolean).join(", ");
|
|
28246
|
+
return `- ${type}: ${pickerDisplayName(type)}${dims ? ` \u2014 ${dims}` : ""}`;
|
|
28247
|
+
});
|
|
28248
|
+
return `Non-wired pickers \u2014 use one of these keys in a gap's \`picker\` when an attribute belongs to it:
|
|
28249
|
+
${lines.join("\n")}`;
|
|
28250
|
+
}
|
|
27867
28251
|
function buildMultiPickerAnalyzerSpec(types) {
|
|
27868
28252
|
const sorted = [...new Set(types)].sort();
|
|
27869
28253
|
const key = sorted.join(",");
|
|
@@ -27881,7 +28265,8 @@ ${buildPickerLegend(spec)}`);
|
|
|
27881
28265
|
const result = {
|
|
27882
28266
|
schema: external_exports.object(shape).strict(),
|
|
27883
28267
|
toolName: "emit_pickers",
|
|
27884
|
-
legend: legendParts.join("\n\n")
|
|
28268
|
+
legend: legendParts.join("\n\n"),
|
|
28269
|
+
otherPickersLegend: buildOtherPickersLegend(sorted)
|
|
27885
28270
|
};
|
|
27886
28271
|
MULTI_CACHE.set(key, result);
|
|
27887
28272
|
return result;
|
|
@@ -28287,8 +28672,8 @@ Sources: Google Cloud "Ultimate prompting guide for Veo 3.1"
|
|
|
28287
28672
|
KIE VEO API docs (docs.kie.ai/veo3-api/generate-veo-3-video). Captured 2026-08-09.`
|
|
28288
28673
|
};
|
|
28289
28674
|
var GEMINI_OMNI_DOCTRINE = {
|
|
28290
|
-
providers: ["gemini-omni-video"],
|
|
28291
|
-
heading: "Gemini Omni
|
|
28675
|
+
providers: ["gemini-omni-video", "gemini-omni-flash"],
|
|
28676
|
+
heading: "Gemini Omni (gemini-omni-video, gemini-omni-flash)",
|
|
28292
28677
|
tips: [
|
|
28293
28678
|
"Multimodal Google video with native audio: text-to-video, image-to-video, and video-edit through the same prompt surface. 4/6/8/10s; 720p/1080p or 4K tier.",
|
|
28294
28679
|
"Structure like the platform default: subject \u2192 action \u2192 scene \u2192 lighting \u2192 camera \u2192 style. Quote dialogue lines to have them spoken; describe SFX/ambience plainly in the prompt.",
|
|
@@ -28310,6 +28695,7 @@ subject \u2192 action \u2192 scene/environment \u2192 lighting \u2192 camera mov
|
|
|
28310
28695
|
|
|
28311
28696
|
**Duration & tiers**
|
|
28312
28697
|
- 4 / 6 / 8 / 10 seconds. 720p/1080p tier or the pricier 4K tier \u2014 pick 4K only when the deliverable needs it (nearly 2\xD7 the credits).
|
|
28698
|
+
- gemini-omni-flash is the faster/cheaper tier with the identical request surface \u2014 same 4/6/8/10s, same 720p/1080p and 4K tiers, same video-edit path. Everything above applies verbatim.
|
|
28313
28699
|
|
|
28314
28700
|
Source: KIE gemini-omni-video market contract (parameters + live behavior probed for the
|
|
28315
28701
|
aspect-ratio hard-reject, see providers/kie/video.ts). Captured 2026-08-09.`
|
|
@@ -28379,6 +28765,45 @@ push-in (intimacy/tension), pull-out (scale/isolation), tracking shot, orbit, fi
|
|
|
28379
28765
|
Source: Alibaba Cloud Model Studio \u2014 "Text-to-video / image-to-video prompt guide"
|
|
28380
28766
|
(alibabacloud.com/help/en/model-studio/text-to-video-prompt). Captured 2026-08-09.`
|
|
28381
28767
|
};
|
|
28768
|
+
var WAN_3_DOCTRINE = {
|
|
28769
|
+
providers: ["wan-3", "wan-3-prime"],
|
|
28770
|
+
heading: "Wan 3.0 (wan-3, wan-3-prime)",
|
|
28771
|
+
tips: [
|
|
28772
|
+
"Two INPUT MODES, exclusive on the wire: first/last frame, OR reference mode (images + videos + audio). With any reference wired the platform folds the frame into the references and names it in the prompt.",
|
|
28773
|
+
`References bind by ordinal token in array order: Image1, Image2, Video1, Audio1 \u2014 no space, unlike Wan 2.x's "Image 1". Name every wired asset or it may be ignored.`,
|
|
28774
|
+
"Reference caps: 10 images / 5 videos / 5 audio clips; each video and each audio clip 1-15s, with \u226415s combined per array. With reference videos, input seconds + output duration \u2264 30.",
|
|
28775
|
+
"2-30 seconds (default 5); 480p/720p/1080p; aspect adaptive (default, matches the input media) or 16:9 / 4:3 / 1:1 / 3:4 / 9:16. Prompt cap 20,000 chars \u2014 excess is truncated silently.",
|
|
28776
|
+
'`audio` is a boolean, ON by default: the clip comes back with an ambient/SFX track. Cue the sound you want in the prompt, or state the exclusion ("no music") \u2014 it is not a dialogue guarantee.',
|
|
28777
|
+
"wan-3-prime is the HIGH-SPEED tier: identical surface and limits, faster turnaround at a higher per-second rate. It is not a quality upgrade \u2014 choose it for latency, not for looks."
|
|
28778
|
+
],
|
|
28779
|
+
doctrine: `Prompt structure (no public Wan 3.0 prompt guide exists \u2014 the KIE API contract is the
|
|
28780
|
+
doctrine source, like MiniMax H3 and HappyHorse; platform-standard structure applies):
|
|
28781
|
+
subject \u2192 action \u2192 scene/environment \u2192 lighting \u2192 camera movement \u2192 style \u2192 constraints.
|
|
28782
|
+
|
|
28783
|
+
**Modes (mutually exclusive at the provider)**
|
|
28784
|
+
- Frame mode: first_frame_url, optionally with last_frame_url, and NO references \u2014 the frames anchor the shot exactly, so describe MOTION and camera, not the still.
|
|
28785
|
+
- Reference mode: image / video / audio reference arrays. The provider CANNOT take these together with the first/last frame parameters, so when both are wired the platform folds \u2014 the frame is appended to the reference images (after the caller's own, ordinals unchanged) and bound in the prompt as the opening/closing frame. Write for reference mode whenever a reference is attached.
|
|
28786
|
+
- Text-only runs are supported and are the model's default mode.
|
|
28787
|
+
|
|
28788
|
+
**Reference binding**
|
|
28789
|
+
- Assets bind by ORDINAL TOKEN in array order: Image1, Image2, \u2026, Video1, \u2026, Audio1, \u2026. Note the format has NO space \u2014 Wan 2.x's "Image 1" is a different generation and does not apply here.
|
|
28790
|
+
- Write the binding into the prompt explicitly ("Image1 walks into the room described in Image2"); an unnamed reference may simply be ignored.
|
|
28791
|
+
- Caps: up to 10 images, 5 videos, 5 audio clips. Each video and each audio clip must be 1-15s with \u226415s combined per array. Audio should not be the only media input \u2014 pair it with an image or a video.
|
|
28792
|
+
|
|
28793
|
+
**Duration, resolution, aspect**
|
|
28794
|
+
- 2-30 seconds (provider default 5). With reference videos there is an extra ceiling: input video duration + output duration \u2264 30 seconds.
|
|
28795
|
+
- 480p / 720p / 1080p. Aspect "adaptive" (the default \u2014 the model selects the ratio from the input media and intent) or 16:9 / 4:3 / 1:1 / 3:4 / 9:16. There is no 21:9.
|
|
28796
|
+
- Prompts accept Chinese and English, up to 20,000 characters; anything beyond is truncated silently, so front-load the load-bearing content.
|
|
28797
|
+
|
|
28798
|
+
**Audio**
|
|
28799
|
+
- The "audio" boolean defaults ON and produces an ambient/SFX track with the clip. Describe the soundscape you want plainly ("rain on glass, distant traffic"), or state the exclusion, or turn the toggle off. The contract documents no lip-synced dialogue guarantee \u2014 plan spoken lines as a separate TTS + lip-sync pass.
|
|
28800
|
+
|
|
28801
|
+
**Tiers**
|
|
28802
|
+
- wan-3 and wan-3-prime take identical inputs. Prime trades a higher per-second rate for faster turnaround; it is not documented as a quality tier.
|
|
28803
|
+
|
|
28804
|
+
Source: KIE Wan 3.0 market contract (docs.kie.ai/market/wan/3-0-video,
|
|
28805
|
+
docs.kie.ai/market/wan/3-0-video-prime). Captured 2026-09-01.`
|
|
28806
|
+
};
|
|
28382
28807
|
var HAPPYHORSE_DOCTRINE = {
|
|
28383
28808
|
providers: ["happyhorse", "happyhorse-i2v", "happyhorse-ref2v", "happyhorse-edit"],
|
|
28384
28809
|
heading: "HappyHorse 1.1 (happyhorse, happyhorse-i2v, happyhorse-ref2v)",
|
|
@@ -28434,6 +28859,7 @@ var PROVIDER_PROMPT_DOCTRINES = [
|
|
|
28434
28859
|
GEMINI_OMNI_DOCTRINE,
|
|
28435
28860
|
GROK_IMAGINE_DOCTRINE,
|
|
28436
28861
|
WAN_DOCTRINE,
|
|
28862
|
+
WAN_3_DOCTRINE,
|
|
28437
28863
|
HAPPYHORSE_DOCTRINE,
|
|
28438
28864
|
RUNWAY_KIE_DOCTRINE
|
|
28439
28865
|
];
|
|
@@ -28658,6 +29084,9 @@ var PROVIDER_CAPABILITIES = {
|
|
|
28658
29084
|
"ltx-2.3-pro": "Lightricks LTX 2.3 Pro \u2014 text/image/audio\u2192video, 6\u201310s, up to 4K",
|
|
28659
29085
|
"ltx-2.3-fast": "Lightricks LTX 2.3 Fast \u2014 text/image\u2192video, 6\u201320s, up to 4K",
|
|
28660
29086
|
"gemini-omni-video": "Google Gemini Omni \u2014 multimodal video with native audio, 4\u201310s, up to 4K.",
|
|
29087
|
+
"gemini-omni-flash": "Google Gemini Omni Flash \u2014 faster, cheaper Omni tier; multimodal video with native audio, 4\u201310s, up to 4K.",
|
|
29088
|
+
"wan-3": "Wan 3.0 \u2014 multimodal refs (10 images / 5 videos / 5 audio) or first+last frame, native audio, 2\u201330s, 480p/720p/1080p",
|
|
29089
|
+
"wan-3-prime": "Wan 3.0 Prime \u2014 high-speed Wan 3.0 tier; same surface, faster turnaround at a higher rate",
|
|
28661
29090
|
"grok-imagine-video-1.5": "Grok Imagine 1.5 \u2014 image-to-video only; requires an input image"
|
|
28662
29091
|
},
|
|
28663
29092
|
"image-to-video": {
|
|
@@ -28691,6 +29120,9 @@ var PROVIDER_CAPABILITIES = {
|
|
|
28691
29120
|
"ltx-2.3-pro": "Lightricks LTX 2.3 Pro \u2014 start/end frame i2v + audio\u2192video, 6\u201310s, up to 4K",
|
|
28692
29121
|
"ltx-2.3-fast": "Lightricks LTX 2.3 Fast \u2014 start/end frame i2v, 6\u201320s, up to 4K",
|
|
28693
29122
|
"gemini-omni-video": "Google Gemini Omni \u2014 multimodal video with native audio, 4\u201310s, up to 4K.",
|
|
29123
|
+
"gemini-omni-flash": "Google Gemini Omni Flash \u2014 faster, cheaper Omni tier; multimodal video with native audio, 4\u201310s, up to 4K.",
|
|
29124
|
+
"wan-3": "Wan 3.0 \u2014 multimodal refs (10 images / 5 videos / 5 audio) or first+last frame, native audio, 2\u201330s, 480p/720p/1080p",
|
|
29125
|
+
"wan-3-prime": "Wan 3.0 Prime \u2014 high-speed Wan 3.0 tier; same surface, faster turnaround at a higher rate",
|
|
28694
29126
|
"grok-imagine-video-1.5": "Grok Imagine 1.5 \u2014 stylized animation, 1\u201315s, 480p/720p (image required)"
|
|
28695
29127
|
},
|
|
28696
29128
|
"video-to-video": {
|
|
@@ -34167,6 +34599,9 @@ exports.ACTION_FX = ACTION_FX;
|
|
|
34167
34599
|
exports.ACTION_FX_CATEGORY_LABELS = ACTION_FX_CATEGORY_LABELS;
|
|
34168
34600
|
exports.ACTION_FX_CATEGORY_ORDER = ACTION_FX_CATEGORY_ORDER;
|
|
34169
34601
|
exports.ACTION_FX_IDS = ACTION_FX_IDS;
|
|
34602
|
+
exports.ADULT_AGE_IDS = ADULT_AGE_IDS;
|
|
34603
|
+
exports.ADULT_ONLY_FLAG = ADULT_ONLY_FLAG;
|
|
34604
|
+
exports.ADULT_SWEPT_CATALOG_IDS = ADULT_SWEPT_CATALOG_IDS;
|
|
34170
34605
|
exports.AESTHETICS = AESTHETICS;
|
|
34171
34606
|
exports.AESTHETIC_CATEGORY_LABELS = AESTHETIC_CATEGORY_LABELS;
|
|
34172
34607
|
exports.AESTHETIC_CATEGORY_ORDER = AESTHETIC_CATEGORY_ORDER;
|
|
@@ -34224,6 +34659,7 @@ exports.FACTORY_PRESETS = FACTORY_PRESETS;
|
|
|
34224
34659
|
exports.FACTORY_SNIPPETS = FACTORY_SNIPPETS;
|
|
34225
34660
|
exports.FILM_STILL_PREFIX = FILM_STILL_PREFIX;
|
|
34226
34661
|
exports.FILM_STYLE_KEYS = FILM_STYLE_KEYS;
|
|
34662
|
+
exports.FLOORED_PICKER_KEYS = FLOORED_PICKER_KEYS;
|
|
34227
34663
|
exports.FRAMINGS = FRAMINGS;
|
|
34228
34664
|
exports.FRAMING_CATEGORY_LABELS = FRAMING_CATEGORY_LABELS;
|
|
34229
34665
|
exports.FRAMING_CATEGORY_ORDER = FRAMING_CATEGORY_ORDER;
|
|
@@ -34260,6 +34696,7 @@ exports.MAX_SELECTED_BY_DIMENSION = MAX_SELECTED_BY_DIMENSION;
|
|
|
34260
34696
|
exports.MAX_SELECTED_BY_FRAMING_CATEGORY = MAX_SELECTED_BY_FRAMING_CATEGORY;
|
|
34261
34697
|
exports.MAX_SELECTED_BY_STYLING_DIMENSION = MAX_SELECTED_BY_STYLING_DIMENSION;
|
|
34262
34698
|
exports.MAX_SUBJECT_KEYS = MAX_SUBJECT_KEYS;
|
|
34699
|
+
exports.MINOR_IMPLYING_TYPE_IDS = MINOR_IMPLYING_TYPE_IDS;
|
|
34263
34700
|
exports.MOODS = MOODS;
|
|
34264
34701
|
exports.MOOD_CATEGORY_LABELS = MOOD_CATEGORY_LABELS;
|
|
34265
34702
|
exports.MOOD_CATEGORY_ORDER = MOOD_CATEGORY_ORDER;
|
|
@@ -34382,8 +34819,10 @@ exports.WARDROBE = WARDROBE;
|
|
|
34382
34819
|
exports.WARDROBE_CATEGORY_LABELS = WARDROBE_CATEGORY_LABELS;
|
|
34383
34820
|
exports.WARDROBE_DIMENSION_ORDER = WARDROBE_DIMENSION_ORDER;
|
|
34384
34821
|
exports.WARDROBE_FIELD_BY_DIMENSION = WARDROBE_FIELD_BY_DIMENSION;
|
|
34822
|
+
exports.__resetCatalogIdGuardForTests = __resetCatalogIdGuardForTests;
|
|
34385
34823
|
exports.appendField = appendField;
|
|
34386
34824
|
exports.appendMusicMeta = appendMusicMeta;
|
|
34825
|
+
exports.applyMinorAgeFloorToPickerValues = applyMinorAgeFloorToPickerValues;
|
|
34387
34826
|
exports.applyPickerJson = applyPickerJson;
|
|
34388
34827
|
exports.applyPromptAffixes = applyPromptAffixes;
|
|
34389
34828
|
exports.applyReferenceOrderToVideo = applyReferenceOrderToVideo;
|
|
@@ -34429,6 +34868,7 @@ exports.buildMusicGenreHints = buildMusicGenreHints;
|
|
|
34429
34868
|
exports.buildMusicGenreTerms = buildMusicGenreTerms;
|
|
34430
34869
|
exports.buildMusicMoodHints = buildMusicMoodHints;
|
|
34431
34870
|
exports.buildMusicMoodTerms = buildMusicMoodTerms;
|
|
34871
|
+
exports.buildNeedleAlternationSource = buildNeedleAlternationSource;
|
|
34432
34872
|
exports.buildObjectMotionPrompt = buildObjectMotionPrompt;
|
|
34433
34873
|
exports.buildObjectPrompt = buildObjectPrompt;
|
|
34434
34874
|
exports.buildPersonHints = buildPersonHints;
|
|
@@ -34454,6 +34894,7 @@ exports.buildVoiceCharacterTerms = buildVoiceCharacterTerms;
|
|
|
34454
34894
|
exports.buildVoiceDeliveryHints = buildVoiceDeliveryHints;
|
|
34455
34895
|
exports.buildVoiceDeliveryTerms = buildVoiceDeliveryTerms;
|
|
34456
34896
|
exports.buildWardrobeHints = buildWardrobeHints;
|
|
34897
|
+
exports.catalogGuardActive = catalogGuardActive;
|
|
34457
34898
|
exports.catalogPacksVersion = catalogPacksVersion;
|
|
34458
34899
|
exports.characterLockToRefLock = characterLockToRefLock;
|
|
34459
34900
|
exports.collectIdentityLockClause = collectIdentityLockClause;
|
|
@@ -34466,19 +34907,35 @@ exports.composeSectionedPrompt = composeSectionedPrompt;
|
|
|
34466
34907
|
exports.composeSoundHintFromConnections = composeSoundHintFromConnections;
|
|
34467
34908
|
exports.composeTransitionHintFromConnections = composeTransitionHintFromConnections;
|
|
34468
34909
|
exports.composeVideoPromptText = composeVideoPromptText;
|
|
34910
|
+
exports.composedHas = composedHas;
|
|
34911
|
+
exports.composedOption = composedOption;
|
|
34912
|
+
exports.composedOptionIndex = composedOptionIndex;
|
|
34469
34913
|
exports.computeLlmChatFields = computeLlmChatFields;
|
|
34470
34914
|
exports.computeNodePrompt = computeNodePrompt;
|
|
34471
34915
|
exports.computePackSidecarCoverage = computePackSidecarCoverage;
|
|
34916
|
+
exports.containsMinorAgeHint = containsMinorAgeHint;
|
|
34917
|
+
exports.curateEntries = curateEntries;
|
|
34918
|
+
exports.curatedAnimalPromptHint = curatedAnimalPromptHint;
|
|
34919
|
+
exports.curatedAnimalTerm = curatedAnimalTerm;
|
|
34920
|
+
exports.curatedFurnitureText = curatedFurnitureText;
|
|
34921
|
+
exports.curatedVehicleText = curatedVehicleText;
|
|
34922
|
+
exports.curatedWeaponText = curatedWeaponText;
|
|
34472
34923
|
exports.deriveTerm = deriveTerm;
|
|
34473
34924
|
exports.directionFieldsForSurface = directionFieldsForSurface;
|
|
34474
34925
|
exports.endsInsideStyleSection = endsInsideStyleSection;
|
|
34475
34926
|
exports.expandImagePositionRefs = expandImagePositionRefs;
|
|
34476
34927
|
exports.expandImageRefTokens = expandImageRefTokens;
|
|
34477
34928
|
exports.filmStillPrefix = filmStillPrefix;
|
|
34929
|
+
exports.findForeignCatalogIds = findForeignCatalogIds;
|
|
34930
|
+
exports.findForeignCatalogIdsInBody = findForeignCatalogIdsInBody;
|
|
34931
|
+
exports.foreignCatalogIdMessage = foreignCatalogIdMessage;
|
|
34478
34932
|
exports.getActionFx = getActionFx;
|
|
34479
34933
|
exports.getActionFxLabel = getActionFxLabel;
|
|
34480
34934
|
exports.getActionFxPromptHint = getActionFxPromptHint;
|
|
34481
34935
|
exports.getActionFxTerm = getActionFxTerm;
|
|
34936
|
+
exports.getAdultOnlyEntries = getAdultOnlyEntries;
|
|
34937
|
+
exports.getAdultOnlyHintStrings = getAdultOnlyHintStrings;
|
|
34938
|
+
exports.getAdultOnlyIds = getAdultOnlyIds;
|
|
34482
34939
|
exports.getAesthetic = getAesthetic;
|
|
34483
34940
|
exports.getAestheticLabel = getAestheticLabel;
|
|
34484
34941
|
exports.getAestheticPromptHint = getAestheticPromptHint;
|
|
@@ -34551,6 +35008,7 @@ exports.getMaterial = getMaterial;
|
|
|
34551
35008
|
exports.getMaterialLabel = getMaterialLabel;
|
|
34552
35009
|
exports.getMaterialPromptHint = getMaterialPromptHint;
|
|
34553
35010
|
exports.getMaterialTerm = getMaterialTerm;
|
|
35011
|
+
exports.getMinorAgeHintStrings = getMinorAgeHintStrings;
|
|
34554
35012
|
exports.getMood = getMood;
|
|
34555
35013
|
exports.getMoodLabel = getMoodLabel;
|
|
34556
35014
|
exports.getMoodPromptHint = getMoodPromptHint;
|
|
@@ -34656,11 +35114,14 @@ exports.getWardrobeEntriesByDimension = getWardrobeEntriesByDimension;
|
|
|
34656
35114
|
exports.getWardrobeEntry = getWardrobeEntry;
|
|
34657
35115
|
exports.getWardrobePromptHint = getWardrobePromptHint;
|
|
34658
35116
|
exports.groupFactoryPresets = groupFactoryPresets;
|
|
35117
|
+
exports.hasCatalogPacksFor = hasCatalogPacksFor;
|
|
34659
35118
|
exports.hasUpstreamCharacter = hasUpstreamCharacter;
|
|
34660
35119
|
exports.identityRefsSentence = identityRefsSentence;
|
|
34661
35120
|
exports.insertBeforeStyleSection = insertBeforeStyleSection;
|
|
34662
35121
|
exports.isAnalyzablePicker = isAnalyzablePicker;
|
|
35122
|
+
exports.isDeniedStyleId = isDeniedStyleId;
|
|
34663
35123
|
exports.isInstrumentalVocal = isInstrumentalVocal;
|
|
35124
|
+
exports.isMinorAge = isMinorAge;
|
|
34664
35125
|
exports.isSuspiciousDerivedTerm = isSuspiciousDerivedTerm;
|
|
34665
35126
|
exports.isVantageFraming = isVantageFraming;
|
|
34666
35127
|
exports.isWizardSupported = isWizardSupported;
|
|
@@ -34674,6 +35135,7 @@ exports.nodeHasInlinePrompt = nodeHasInlinePrompt;
|
|
|
34674
35135
|
exports.nodeHasPromptField = nodeHasPromptField;
|
|
34675
35136
|
exports.nodeSupportsPromptAffixes = nodeSupportsPromptAffixes;
|
|
34676
35137
|
exports.normalizeSubjectFields = normalizeSubjectFields;
|
|
35138
|
+
exports.overlayEntry = overlayEntry;
|
|
34677
35139
|
exports.partitionStyleClauses = partitionStyleClauses;
|
|
34678
35140
|
exports.personPacksVersion = personPacksVersion;
|
|
34679
35141
|
exports.pickerFanoutTargets = pickerFanoutTargets;
|
|
@@ -34709,10 +35171,12 @@ exports.resolveTerm = resolveTerm;
|
|
|
34709
35171
|
exports.resolveVeoI2vInputs = resolveVeoI2vInputs;
|
|
34710
35172
|
exports.resolveVideoReferenceCore = resolveVideoReferenceCore;
|
|
34711
35173
|
exports.sectionedClauseCosts = sectionedClauseCosts;
|
|
35174
|
+
exports.setComposedCatalogResolver = setComposedCatalogResolver;
|
|
34712
35175
|
exports.splitStyleSection = splitStyleSection;
|
|
34713
35176
|
exports.styleSectionFromClauses = styleSectionFromClauses;
|
|
34714
35177
|
exports.styleSlotFor = styleSlotFor;
|
|
34715
35178
|
exports.subjectFieldsForSurface = subjectFieldsForSurface;
|
|
35179
|
+
exports.subscribeCatalogPacks = subscribeCatalogPacks;
|
|
34716
35180
|
exports.summarizePickerCatalogs = summarizePickerCatalogs;
|
|
34717
35181
|
exports.toIdentityLockMode = toIdentityLockMode;
|
|
34718
35182
|
exports.truncateForField = truncateForField;
|