@nodaro/prompts 1.7.2 → 1.7.3
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 +31 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -4
- package/dist/index.d.ts +25 -4
- package/dist/index.js +31 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/picker-wiring.ts +1 -1
- package/src/provider-prompt-doctrine.ts +1 -2
- package/src/style-presets.ts +1 -1
- package/src/surround-fill.ts +67 -0
package/dist/index.cjs
CHANGED
|
@@ -26290,8 +26290,7 @@ precise subject \u2192 action details \u2192 scene/environment \u2192 lighting &
|
|
|
26290
26290
|
- More than 4 referenced people gets unstable: group people into composite images of \u22644 first (image generation), then reference those composites.
|
|
26291
26291
|
- Repeated extension degrades quality: prefer high-definition reference assets and avoid stacking many continuations.
|
|
26292
26292
|
|
|
26293
|
-
**Auto-path formula (community-sourced enrichment
|
|
26294
|
-
higgsfield.ai 4K breakdown; captured 2026-08-09)**
|
|
26293
|
+
**Auto-path formula (community-sourced enrichment; captured 2026-08-09)**
|
|
26295
26294
|
- Six steps IN ORDER, 60-100 words total (longer measurably degrades): Subject \u2192 Action \u2192 Environment \u2192 Camera \u2192 Style \u2192 Constraints.
|
|
26296
26295
|
- ONE primary camera instruction per shot. Compound moves chain with "then": "camera slow tracking then subtle rise" \u2014 never two competing verbs. The 8 reliable camera types: push-in, pull-out, pan, tracking, orbit/arc, aerial, handheld, locked-off.
|
|
26297
26296
|
- SEPARATE camera movement from subject movement \u2014 the single biggest quality lever: "The dancer spins slowly. Camera holds fixed framing." \u2014 never "spinning camera around a dancing person".
|
|
@@ -32117,6 +32116,35 @@ function getPickerWiring(nodeType) {
|
|
|
32117
32116
|
return WIRING_MAP.get(nodeType);
|
|
32118
32117
|
}
|
|
32119
32118
|
|
|
32119
|
+
// src/surround-fill.ts
|
|
32120
|
+
var EDGE = {
|
|
32121
|
+
right: { carried: "left", painted: "right" },
|
|
32122
|
+
left: { carried: "right", painted: "left" },
|
|
32123
|
+
up: { carried: "bottom", painted: "top" },
|
|
32124
|
+
down: { carried: "top", painted: "bottom" }
|
|
32125
|
+
};
|
|
32126
|
+
var TILT_SUBJECT = {
|
|
32127
|
+
up: {
|
|
32128
|
+
word: "up",
|
|
32129
|
+
subject: "the open sky directly overhead \u2014 sky, clouds, or (for an interior) the canopy or ceiling",
|
|
32130
|
+
where: "overhead"
|
|
32131
|
+
},
|
|
32132
|
+
down: {
|
|
32133
|
+
word: "down",
|
|
32134
|
+
subject: "the ground directly below \u2014 terrain, floor, or water surface",
|
|
32135
|
+
where: "below"
|
|
32136
|
+
}
|
|
32137
|
+
};
|
|
32138
|
+
function buildSurroundFillPrompt(direction, userPrompt) {
|
|
32139
|
+
const scene = userPrompt && userPrompt.trim() ? `${userPrompt.trim()}. ` : "";
|
|
32140
|
+
const { carried, painted } = EDGE[direction];
|
|
32141
|
+
if (direction === "up" || direction === "down") {
|
|
32142
|
+
const t = TILT_SUBJECT[direction];
|
|
32143
|
+
return `${scene}This is a camera tilted straight ${t.word} from the same scene. The ${carried} strip holds real, finished pixels from the edge of the horizon view; the ${painted} region is flat gray and MUST be painted as ${t.subject}. Render what is genuinely ${t.where} \u2014 do NOT repeat, mirror, or continue the landscape, and do NOT draw a horizon line or distant scenery in the painted region. CRITICAL: keep the ${carried} strip unchanged and match the scene's EXACT lighting, time of day, white balance, and color grade \u2014 the same light as the ${carried} strip; no golden hour, no sunset, no warm relight, no cinematic regrade. Blend smoothly into the ${carried} strip with no visible seam. No people, no text, no labels, no watermarks.`;
|
|
32144
|
+
}
|
|
32145
|
+
return `${scene}This is a partial frame: the ${carried} portion contains real, finished pixels and the ${painted} portion is flat gray that MUST be painted in. Paint ONLY the ${painted} gray region as a natural, seamless continuation of the ${carried} portion \u2014 same scene, same perspective, continuing the horizon, geometry, and content across the boundary with no break. Keep the ${carried} portion completely unchanged. CRITICAL: do NOT change the lighting, exposure, white balance, or time of day. Match the ${carried} portion's EXACT light, color temperature, and contrast across the whole frame \u2014 if it is flat overcast daylight, keep flat overcast daylight. No golden hour, no sunset, no warm relight, no cinematic regrade. The seam between the ${carried} and ${painted} portions must be invisible. No people, no text, no labels, no watermarks.`;
|
|
32146
|
+
}
|
|
32147
|
+
|
|
32120
32148
|
exports.ACTION_FX = ACTION_FX;
|
|
32121
32149
|
exports.ACTION_FX_CATEGORY_LABELS = ACTION_FX_CATEGORY_LABELS;
|
|
32122
32150
|
exports.ACTION_FX_CATEGORY_ORDER = ACTION_FX_CATEGORY_ORDER;
|
|
@@ -32349,6 +32377,7 @@ exports.buildPostProcessHints = buildPostProcessHints;
|
|
|
32349
32377
|
exports.buildReferenceBlocks = buildReferenceBlocks;
|
|
32350
32378
|
exports.buildScenePrompt = buildScenePrompt;
|
|
32351
32379
|
exports.buildStylingHints = buildStylingHints;
|
|
32380
|
+
exports.buildSurroundFillPrompt = buildSurroundFillPrompt;
|
|
32352
32381
|
exports.buildTemporalHints = buildTemporalHints;
|
|
32353
32382
|
exports.buildVoiceCharacterHints = buildVoiceCharacterHints;
|
|
32354
32383
|
exports.buildVoiceDeliveryHints = buildVoiceDeliveryHints;
|