@nodaro/prompts 1.46.0 → 1.47.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/{chunk-QKD2KUZW.cjs → chunk-MGK6SFTV.cjs} +20 -6
- package/dist/chunk-MGK6SFTV.cjs.map +1 -0
- package/dist/{chunk-PUWJ2ZBG.js → chunk-RRHU6MD5.js} +20 -6
- package/dist/chunk-RRHU6MD5.js.map +1 -0
- package/dist/entries/presets.cjs +35 -35
- package/dist/entries/presets.js +1 -1
- package/dist/index.cjs +35 -35
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/__tests__/factory-presets.test.ts +26 -2
- package/src/__tests__/image-unwired-reference-tokens.test.ts +3 -2
- package/src/factory-presets/generate-image.ts +18 -4
- package/dist/chunk-PUWJ2ZBG.js.map +0 -1
- package/dist/chunk-QKD2KUZW.cjs.map +0 -1
|
@@ -5181,10 +5181,10 @@ var GENERATE_IMAGE_PRESETS = [
|
|
|
5181
5181
|
}
|
|
5182
5182
|
},
|
|
5183
5183
|
// ── Face Privacy (connect the photo → {image:1}) ─────────────────────────
|
|
5184
|
-
//
|
|
5185
|
-
//
|
|
5186
|
-
//
|
|
5187
|
-
//
|
|
5184
|
+
// aspectRatio "auto" so the output keeps the input photo's shape. NOTE:
|
|
5185
|
+
// KIE's gpt-image-2 spec forces resolution 1K when aspect is "auto" (the
|
|
5186
|
+
// config panel's fail-safe snaps any other value back), so the gpt-image-2
|
|
5187
|
+
// presets pin 1K explicitly rather than shipping a self-contradicting 2K.
|
|
5188
5188
|
{
|
|
5189
5189
|
id: "generate-image/faceless-3d-head",
|
|
5190
5190
|
name: "Faceless \xB7 3D Blank Head",
|
|
@@ -5224,6 +5224,20 @@ var GENERATE_IMAGE_PRESETS = [
|
|
|
5224
5224
|
negativePrompt: "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"
|
|
5225
5225
|
}
|
|
5226
5226
|
},
|
|
5227
|
+
// GPT Image 2.5 Flare has no auto x resolution restriction, so this one keeps
|
|
5228
|
+
// the photo's shape AND renders 2K.
|
|
5229
|
+
{
|
|
5230
|
+
id: "generate-image/remove-people",
|
|
5231
|
+
name: "Remove People",
|
|
5232
|
+
description: "Remove every person from the photo; the background stays exactly the same.",
|
|
5233
|
+
group: "Face Privacy",
|
|
5234
|
+
data: {
|
|
5235
|
+
provider: "gpt-image-2-5-flare",
|
|
5236
|
+
aspectRatio: "auto",
|
|
5237
|
+
resolution: "2K",
|
|
5238
|
+
promptPrefix: "remove all people from {image:1}\nkeep background exactly the same"
|
|
5239
|
+
}
|
|
5240
|
+
},
|
|
5227
5241
|
// ── Photography & Cinematic ──────────────────────────────────────────────
|
|
5228
5242
|
{
|
|
5229
5243
|
id: "generate-image/cinematic-portrait",
|
|
@@ -11213,5 +11227,5 @@ function getFactorySnippets(target, media) {
|
|
|
11213
11227
|
}
|
|
11214
11228
|
|
|
11215
11229
|
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_PRESET_PREVIEW_LARGE_FILES, FACTORY_SNIPPETS, HOOK_PLATE_PRESET_ID, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, PRESET_PREVIEW_LARGE_WIDTH, PRESET_PREVIEW_PATH, PRESET_PREVIEW_WIDTH, SNIPPET_MEDIA_VALUES, STYLE_PRESETS, factoryPresetPreviewSrcSet, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
|
11216
|
-
//# sourceMappingURL=chunk-
|
|
11217
|
-
//# sourceMappingURL=chunk-
|
|
11230
|
+
//# sourceMappingURL=chunk-RRHU6MD5.js.map
|
|
11231
|
+
//# sourceMappingURL=chunk-RRHU6MD5.js.map
|