@nodaro/prompts 1.4.0 → 1.5.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 +44 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +44 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/factory-presets/generate-image.ts +48 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodaro/prompts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Nodaro's prompt-engineering layer — person/picker catalogs with prompt hints, identity-lock clauses, entity prompt builders, brand presets, and prompt/reference assembly shared by the Nodaro platform and SDK.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -231,6 +231,54 @@ export const GENERATE_IMAGE_PRESETS: readonly FactoryPreset[] = [
|
|
|
231
231
|
"leftover callout labels, visible text labels, text boxes, leader lines, garbled text, restyled scene, recolored unrelated elements, redrawn image, cartoon, illustration, watermark, blurry",
|
|
232
232
|
},
|
|
233
233
|
},
|
|
234
|
+
// ── Face Privacy (connect the photo → {image:1}) ─────────────────────────
|
|
235
|
+
// gpt-image-2 + aspectRatio "auto" so the output keeps the input photo's
|
|
236
|
+
// shape. NOTE: KIE's gpt-image-2 spec forces resolution 1K when aspect is
|
|
237
|
+
// "auto" (the config panel's fail-safe snaps any other value back), so
|
|
238
|
+
// these pin 1K explicitly rather than shipping a self-contradicting 2K.
|
|
239
|
+
{
|
|
240
|
+
id: "generate-image/faceless-3d-head",
|
|
241
|
+
name: "Faceless · 3D Blank Head",
|
|
242
|
+
description: "Persons' faces → smooth generic white 3D head shape; everything else untouched.",
|
|
243
|
+
group: "Face Privacy",
|
|
244
|
+
data: {
|
|
245
|
+
provider: "gpt-image-2",
|
|
246
|
+
aspectRatio: "auto",
|
|
247
|
+
resolution: "1K",
|
|
248
|
+
prompt:
|
|
249
|
+
"make the persons in {image:1} faceless by making it 3d white generic face shape, keep everything else the same",
|
|
250
|
+
negativePrompt:
|
|
251
|
+
"visible facial features, eyes, nose, mouth, skin texture on the face, changing the background, altering clothing, hair or body, restyling the scene, relighting, changing pose or framing, cartoon look, distorted anatomy, watermark, blurry",
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "generate-image/remove-faces",
|
|
256
|
+
name: "Remove Faces",
|
|
257
|
+
description: "Erase persons' faces entirely; everything else untouched.",
|
|
258
|
+
group: "Face Privacy",
|
|
259
|
+
data: {
|
|
260
|
+
provider: "gpt-image-2",
|
|
261
|
+
aspectRatio: "auto",
|
|
262
|
+
resolution: "1K",
|
|
263
|
+
prompt: "remove persons faces from {image:1}, keep everything else the same",
|
|
264
|
+
negativePrompt:
|
|
265
|
+
"visible facial features, eyes, nose, mouth, leftover face fragments, changing the background, altering clothing, hair or body, restyling the scene, relighting, changing pose or framing, horror or gore look, distorted anatomy, watermark, blurry",
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
id: "generate-image/transparent-faces",
|
|
270
|
+
name: "Transparent Faces",
|
|
271
|
+
description: "Persons' faces become transparent; everything else untouched.",
|
|
272
|
+
group: "Face Privacy",
|
|
273
|
+
data: {
|
|
274
|
+
provider: "gpt-image-2",
|
|
275
|
+
aspectRatio: "auto",
|
|
276
|
+
resolution: "1K",
|
|
277
|
+
prompt: "make faces transparent in {image:1}, keep everything else the same",
|
|
278
|
+
negativePrompt:
|
|
279
|
+
"opaque faces, visible facial features, eyes, nose, mouth, changing the background, altering clothing, hair or body, restyling the scene, relighting, changing pose or framing, distorted anatomy, watermark, blurry",
|
|
280
|
+
},
|
|
281
|
+
},
|
|
234
282
|
// ── Photography & Cinematic ──────────────────────────────────────────────
|
|
235
283
|
{
|
|
236
284
|
id: "generate-image/cinematic-portrait",
|