@nodaro/prompts 1.21.0 → 1.25.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 +191 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +362 -207
- package/dist/index.d.ts +362 -207
- package/dist/index.js +183 -46
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/assemble-video-input.test.ts +20 -12
- package/src/__tests__/camera-motion-approved.test.ts +46 -0
- package/src/__tests__/camera-motions-from-connections.test.ts +3 -2
- package/src/__tests__/catalog-packs.test.ts +13 -0
- package/src/__tests__/character-fx-timing-catalogs.test.ts +3 -2
- package/src/__tests__/factory-presets.test.ts +28 -3
- package/src/__tests__/fixtures/camera-motion-approved.json +330 -0
- package/src/__tests__/fixtures/parameter-hint-golden.json +32 -16
- package/src/__tests__/hint-join.test.ts +3 -2
- package/src/__tests__/node-prompt-fields.test.ts +2 -2
- package/src/__tests__/parameter-hint-mode.test.ts +17 -5
- package/src/__tests__/prompt-style-section.test.ts +2 -2
- package/src/__tests__/transitions-instant.test.ts +242 -0
- package/src/__tests__/transitions-scope.test.ts +160 -0
- package/src/__tests__/transitions.test.ts +9 -9
- package/src/ad-creative-analysis.ts +99 -0
- package/src/camera-motions.ts +21 -21
- package/src/catalog-packs.ts +13 -2
- package/src/direction-registry.ts +2 -2
- package/src/factory-presets/generate-video.ts +22 -0
- package/src/index.ts +3 -0
- package/src/node-prompt-fields.ts +4 -0
- package/src/picker-catalogs.ts +13 -0
- package/src/ref-binding.ts +19 -0
- package/src/transitions.ts +204 -27
- package/src/video-reference-resolver.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -166,8 +166,11 @@ function applyExtend(c, pack) {
|
|
|
166
166
|
}
|
|
167
167
|
function applyDeny(c, denyIds) {
|
|
168
168
|
const deny = new Set(denyIds);
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
return {
|
|
170
|
+
...c,
|
|
171
|
+
options: c.options?.filter((o) => !deny.has(o.id)),
|
|
172
|
+
dimensions: c.dimensions?.map((d) => ({ ...d, options: d.options.filter((o) => !deny.has(o.id)) }))
|
|
173
|
+
};
|
|
171
174
|
}
|
|
172
175
|
function composePickerCatalogs(base, activePacks) {
|
|
173
176
|
const known = new Set(base.map((c) => c.catalogId));
|
|
@@ -182,6 +185,12 @@ function composePickerCatalogs(base, activePacks) {
|
|
|
182
185
|
else if (pack.mode === "extend") out = applyExtend(out, pack);
|
|
183
186
|
else if (pack.mode === "deny") out = applyDeny(out, pack.denyIds ?? []);
|
|
184
187
|
}
|
|
188
|
+
if (activePacks.some((p) => p.catalogId === c.catalogId) && out.defaultValue) {
|
|
189
|
+
const options = [...out.options ?? [], ...(out.dimensions ?? []).flatMap((d) => d.options)];
|
|
190
|
+
if (!options.some((o) => o.id === out.defaultValue)) {
|
|
191
|
+
out = { ...out, defaultValue: out.options?.[0]?.id };
|
|
192
|
+
}
|
|
193
|
+
}
|
|
185
194
|
return out;
|
|
186
195
|
});
|
|
187
196
|
}
|
|
@@ -4276,7 +4285,7 @@ var CAMERA_MOTIONS = [
|
|
|
4276
4285
|
label: "Static",
|
|
4277
4286
|
category: "default",
|
|
4278
4287
|
description: "Fixed camera, no movement",
|
|
4279
|
-
promptHint: "locked
|
|
4288
|
+
promptHint: "The camera is locked on a solid tripod and does not move at all for the entire shot: it never travels, never rotates, never tilts, never changes focal length. The viewpoint is completely fixed and the framing stays exactly the same from the first frame to the last.\nLife within the scene carries on naturally, but the camera holds perfectly still throughout.\nNo camera movement of any kind, no drift, no sway, no zoom.",
|
|
4280
4289
|
term: "locked-off static camera"
|
|
4281
4290
|
},
|
|
4282
4291
|
{
|
|
@@ -4284,7 +4293,7 @@ var CAMERA_MOTIONS = [
|
|
|
4284
4293
|
label: "Handheld",
|
|
4285
4294
|
category: "default",
|
|
4286
4295
|
description: "Natural handheld shake",
|
|
4287
|
-
promptHint: "
|
|
4296
|
+
promptHint: "The camera is HANDHELD, held in an operator's hands rather than on any support, so it carries the constant small live motion of a real person holding it: a continuous gentle shake and wobble, tiny irregular drifts and corrections in every direction, a slight bob in time with breathing, never settling completely still even for a moment.\nThe motion is small and organic, never a large or deliberate move: the camera stays roughly where it is and keeps roughly the same framing, it simply never locks off. It does not travel toward anything, away from anything, or off to any side; it holds its position and only jitters around it. The unsteadiness is human and slightly random, not a smooth mechanical sway and not a rhythmic loop.\nThe lens does not change and the camera does not travel anywhere, orbit, or turn to a new direction; it just floats and jitters in place as if held.\nThe framing stays broadly the same across the shot, loosely on the subject, wandering by only small amounts.\nNo zoom, no deliberate camera move, no forward or backward travel, no rotation to a new angle, no smooth glide.",
|
|
4288
4297
|
term: "handheld camera"
|
|
4289
4298
|
},
|
|
4290
4299
|
{
|
|
@@ -4292,7 +4301,7 @@ var CAMERA_MOTIONS = [
|
|
|
4292
4301
|
label: "Steadicam",
|
|
4293
4302
|
category: "default",
|
|
4294
4303
|
description: "Smooth stabilized walking shot",
|
|
4295
|
-
promptHint: "smooth
|
|
4304
|
+
promptHint: "The camera moves with the perfectly smooth, floating quality of a Steadicam or gimbal: it glides gently and continuously, with none of the shake, jitter or bob of a handheld rig. Every bit of movement is buttery, damped and stabilised, as if the camera were floating on air.\nThe motion is a slow, graceful drift through the scene \u2014 easing a little forward and around with fluid, gliding ease \u2014 always even and controlled, never abrupt, never trembling, never correcting.\nThe lens does not change. The framing stays loosely on the subject throughout, the glide being gentle enough that the composition holds.\nThe single defining quality is SMOOTHNESS: this is the opposite of handheld \u2014 no shake whatsoever, only silky stabilised floating motion.\nNo zoom, no jitter, no handheld shake, no abrupt moves.",
|
|
4296
4305
|
term: "smooth steadicam shot"
|
|
4297
4306
|
},
|
|
4298
4307
|
// Pan — rotation on vertical axis
|
|
@@ -4487,14 +4496,14 @@ var CAMERA_MOTIONS = [
|
|
|
4487
4496
|
label: "Dutch Angle",
|
|
4488
4497
|
category: "roll",
|
|
4489
4498
|
description: "Static tilted frame for tension",
|
|
4490
|
-
promptHint: "
|
|
4499
|
+
promptHint: "The shot begins level, then the camera rolls a little way around its own lens axis and STOPS at a fixed cant, holding that tilted Dutch-angle framing for the rest of the shot. It is a single small settling roll into a tilt, not a continuous spin: the frame tips perhaps fifteen or twenty degrees off level and then stays there, canted and still, for an uneasy, tense feeling.\nOnly the roll axis is involved: the camera stays in the same position, does not travel, does not pan or tilt its aim up or down, and the lens does not change. The horizon starts level and ends clearly canted, then holds.\nBecause it is a pure roll, there is no parallax: the whole frame turns as one flat picture, near and far together.\nLife in the scene carries on gently while the framing holds its tilt.\nNo zoom, no travel, no continuous spinning, no returning to level once canted."
|
|
4491
4500
|
},
|
|
4492
4501
|
{
|
|
4493
4502
|
id: "spin-360",
|
|
4494
4503
|
label: "Full 360 Spin",
|
|
4495
4504
|
category: "roll",
|
|
4496
4505
|
description: "Camera rotates a full 360\xB0 on its axis",
|
|
4497
|
-
promptHint: "
|
|
4506
|
+
promptHint: "The camera rotates a FULL 360 degrees around its own lens axis in one continuous even spin, and keeps turning the same way without pausing until the picture has come all the way back to level exactly as it started. The horizon sweeps from level, round through fully sideways on one side, through completely upside-down, through fully sideways on the other side, and back to level \u2014 one complete unbroken revolution.\nOnly the roll axis is involved: the camera stays in exactly the same position, does not travel, does not pan or tilt its aim, and the lens does not change. It spins about the axis running straight out through the lens.\nBecause it is a pure roll, there is no parallax: the whole frame turns as one flat picture, near and far rotating together by the same amount.\nThe spin is smooth and continuous at an even speed, going round only once and ending back at level.\nNo zoom, no travel, no pan, no tilt of the aim, no reversal of the spin direction.",
|
|
4498
4507
|
term: "full 360 degree camera roll"
|
|
4499
4508
|
},
|
|
4500
4509
|
// Orbit / Arc
|
|
@@ -4616,7 +4625,7 @@ var CAMERA_MOTIONS = [
|
|
|
4616
4625
|
label: "Ronin Glide",
|
|
4617
4626
|
category: "tracking",
|
|
4618
4627
|
description: "Slow gliding move on a Ronin/Movi gimbal",
|
|
4619
|
-
promptHint: "ronin glide,
|
|
4628
|
+
promptHint: "ronin gimbal glide, ultra-smooth floating tracking movement following the subject",
|
|
4620
4629
|
term: "slow gliding gimbal move"
|
|
4621
4630
|
},
|
|
4622
4631
|
{
|
|
@@ -4624,7 +4633,7 @@ var CAMERA_MOTIONS = [
|
|
|
4624
4633
|
label: "Serpentine Track",
|
|
4625
4634
|
category: "tracking",
|
|
4626
4635
|
description: "Camera weaves through obstacles in S-curves",
|
|
4627
|
-
promptHint: "serpentine
|
|
4636
|
+
promptHint: "serpentine tracking shot, camera weaves smoothly side to side while following the subject",
|
|
4628
4637
|
term: "serpentine tracking shot"
|
|
4629
4638
|
},
|
|
4630
4639
|
// Special angles / rigs
|
|
@@ -4633,7 +4642,7 @@ var CAMERA_MOTIONS = [
|
|
|
4633
4642
|
label: "POV",
|
|
4634
4643
|
category: "special",
|
|
4635
4644
|
description: "First person point of view",
|
|
4636
|
-
promptHint: "POV shot, first person perspective as seen through the subject's eyes",
|
|
4645
|
+
promptHint: "POV shot, first person perspective as seen through the subject's eyes. The viewpoint moves forward at a calm, unhurried walking pace \u2014 steady and gentle, never a fast rush or a vehicle-like travel speed. No body parts, hands or feet ever enter the frame; only the point of view itself drifts smoothly forward.",
|
|
4637
4646
|
term: "first person pov shot"
|
|
4638
4647
|
},
|
|
4639
4648
|
{
|
|
@@ -4641,7 +4650,7 @@ var CAMERA_MOTIONS = [
|
|
|
4641
4650
|
label: "Over The Shoulder",
|
|
4642
4651
|
category: "special",
|
|
4643
4652
|
description: "Frame past a character's shoulder",
|
|
4644
|
-
promptHint: "
|
|
4653
|
+
promptHint: "Over the shoulder shot: the camera is already framed past the near character's shoulder onto the second character from the very first frame, with no push-in or approach - the framing and distance stay constant throughout, at most a very small handheld-style settle. No camera travel toward or away from either character. No dialogue, no spoken words, no lip movement suggesting speech - completely silent, ambient sound only if any.",
|
|
4645
4654
|
term: "over-the-shoulder shot"
|
|
4646
4655
|
},
|
|
4647
4656
|
{
|
|
@@ -4665,7 +4674,7 @@ var CAMERA_MOTIONS = [
|
|
|
4665
4674
|
label: "Aerial",
|
|
4666
4675
|
category: "special",
|
|
4667
4676
|
description: "High altitude drone-style shot",
|
|
4668
|
-
promptHint: "
|
|
4677
|
+
promptHint: "The camera is airborne and sinks straight downward through the air, losing altitude like an aircraft lowering itself vertically. Its aim is completely fixed: the horizon line stays at exactly the same height across the frame from the first moment to the last, and the camera never dips or tips its view downward at all \u2014 what it points at does not change, only where it is in space.\nAs the camera drops in height, everything in view slides UPWARD through the frame together because the viewpoint is lower: whatever stands tall rises up the frame and grows, and more of what lies far below climbs into view from the bottom. This vertical sliding of the whole scene is the ONLY change; the angle of view is frozen.\nNo tilting, no dipping the aim down, no looking further down, no rotation, no forward travel \u2014 the horizon must remain pinned at its starting height while the camera simply loses altitude.",
|
|
4669
4678
|
term: "high altitude aerial drone shot"
|
|
4670
4679
|
},
|
|
4671
4680
|
{
|
|
@@ -4673,7 +4682,7 @@ var CAMERA_MOTIONS = [
|
|
|
4673
4682
|
label: "Helicopter",
|
|
4674
4683
|
category: "special",
|
|
4675
4684
|
description: "Wide high-altitude sweeping aerial",
|
|
4676
|
-
promptHint: "helicopter shot,
|
|
4685
|
+
promptHint: "helicopter shot, sweeping aerial movement banking around the scene",
|
|
4677
4686
|
term: "sweeping helicopter aerial shot"
|
|
4678
4687
|
},
|
|
4679
4688
|
{
|
|
@@ -4681,7 +4690,7 @@ var CAMERA_MOTIONS = [
|
|
|
4681
4690
|
label: "Fly Over",
|
|
4682
4691
|
category: "special",
|
|
4683
4692
|
description: "Low fast aerial pass over the scene",
|
|
4684
|
-
promptHint: "
|
|
4693
|
+
promptHint: "The camera flies steadily FORWARD through the air at a constant height, cruising ahead toward what lies in front of it without ever changing altitude. Its height stays exactly the same from start to finish \u2014 it does not descend, does not climb, does not dip its aim; it simply travels forward at cruising speed.\nBecause it moves forward, whatever lies ahead grows closer and sweeps toward the camera and past it on both sides, near things rushing by faster than far things. The horizon holds at exactly the same height in the frame the whole time.\nNo descending, no climbing, no tilting the aim, no rotation \u2014 only steady level forward flight at a fixed altitude.",
|
|
4685
4694
|
term: "low aerial fly-over pass"
|
|
4686
4695
|
},
|
|
4687
4696
|
{
|
|
@@ -4713,7 +4722,7 @@ var CAMERA_MOTIONS = [
|
|
|
4713
4722
|
label: "Rack Focus",
|
|
4714
4723
|
category: "special",
|
|
4715
4724
|
description: "Pull focus between foreground and background",
|
|
4716
|
-
promptHint: "
|
|
4725
|
+
promptHint: "The camera itself never moves, never zooms and never changes its framing \u2014 it is completely locked in place for the whole shot. Only the lens's focus plane shifts. It starts sharply focused on the nearest element in the frame, with everything further back a soft out-of-focus blur. Then the focus pulls smoothly across to the far background, which becomes crisp and sharp, while the near foreground that was sharp a moment ago now falls out of focus and blurs instead. The two states \u2014 near-sharp/far-blurred, then near-blurred/far-sharp \u2014 must read as clearly opposite. No camera travel, no zoom, no change in composition \u2014 only which plane is sharp changes."
|
|
4717
4726
|
},
|
|
4718
4727
|
// Modern / social-video vocabulary
|
|
4719
4728
|
{
|
|
@@ -4721,7 +4730,7 @@ var CAMERA_MOTIONS = [
|
|
|
4721
4730
|
label: "Handheld Vlog",
|
|
4722
4731
|
category: "default",
|
|
4723
4732
|
description: "Casual vlog-style handheld",
|
|
4724
|
-
promptHint: "casual handheld vlog
|
|
4733
|
+
promptHint: "The camera is a casual handheld vlog camera, held at arm's length by the subject or a companion, with the loose, informal quality of someone filming themselves. It has clear handheld shake and small bobbing motion, but looser and more wandering than a careful operator: it drifts around a bit, reframes casually, bobs as if the holder is shifting their weight or gesturing.\nThe framing sits fairly close and personal, roughly on the subject, wandering by moderate amounts as a vlogger's arm naturally would \u2014 informal and lively, not locked or composed.\nThe motion has personality and looseness: more movement than a careful handheld, unpolished and spontaneous, but it stays broadly in place rather than travelling off anywhere.\nThe lens does not change; the camera does not glide smoothly (that would be a steadicam) and does not travel deliberately in any direction.\nNo zoom, no smooth stabilised glide, no deliberate directional move, no tripod stillness.",
|
|
4725
4734
|
term: "handheld vlog-style camera"
|
|
4726
4735
|
},
|
|
4727
4736
|
{
|
|
@@ -4729,7 +4738,7 @@ var CAMERA_MOTIONS = [
|
|
|
4729
4738
|
label: "POV Walk",
|
|
4730
4739
|
category: "tracking",
|
|
4731
4740
|
description: "First-person walking POV",
|
|
4732
|
-
promptHint: "first-person POV walking
|
|
4741
|
+
promptHint: "first-person POV walking shot, camera as the subject's eyes with natural head-bob as they walk forward",
|
|
4733
4742
|
term: "first person walking pov"
|
|
4734
4743
|
},
|
|
4735
4744
|
{
|
|
@@ -4752,23 +4761,23 @@ var CAMERA_MOTIONS = [
|
|
|
4752
4761
|
label: "Screen Tap",
|
|
4753
4762
|
category: "special",
|
|
4754
4763
|
description: "On-screen finger-tap transition",
|
|
4755
|
-
promptHint: "
|
|
4756
|
-
term: "
|
|
4764
|
+
promptHint: "An abrupt hard snap-cut transition: the camera instantly jumps to a new framing of the scene with no gradual movement in between, a fast decisive jolt rather than any smooth pan, push or travel. No object, hand, finger, or UI element ever appears in the frame. TikTok-native snap pacing.",
|
|
4765
|
+
term: "abrupt snap-cut transition"
|
|
4757
4766
|
},
|
|
4758
4767
|
{
|
|
4759
4768
|
id: "phone-flip",
|
|
4760
4769
|
label: "Phone Flip",
|
|
4761
4770
|
category: "special",
|
|
4762
4771
|
description: "Front/rear camera flip",
|
|
4763
|
-
promptHint: "
|
|
4764
|
-
term: "
|
|
4772
|
+
promptHint: "A rapid flip-transition, functioning as a hard cut rather than a smooth continuous rotation: the entire frame snaps through one quick full rotation in a fraction of a second, with strong motion blur through the spin, then lands upright again immediately on a new framing of the scene. This is abrupt and near-instant, never a slow, smooth, or continuously spinning carousel-like rotation. No object, hand, phone, or UI element ever appears in the frame.",
|
|
4773
|
+
term: "fast flip-cut transition"
|
|
4765
4774
|
},
|
|
4766
4775
|
{
|
|
4767
4776
|
id: "gentle-drift",
|
|
4768
4777
|
label: "Gentle Drift",
|
|
4769
4778
|
category: "default",
|
|
4770
4779
|
description: "Slow ambient floating motion",
|
|
4771
|
-
promptHint: "
|
|
4780
|
+
promptHint: "The camera drifts with an extremely slow, gentle, ambient floating motion, as if suspended and barely stirring in still air. There is no shake and no deliberate direction: it simply floats, drifting a tiny amount one way and then easing another, aimless and dreamlike.\nThe movement is minimal and continuous \u2014 the camera never sits perfectly still, but it never travels anywhere either; it hovers almost in place, wandering by only the smallest amounts, smooth and weightless throughout.\nThe pace is contemplative and calm, the drift so slow it is only just perceptible. The picture stays sharp; there is no motion blur.\nThe lens does not change and the framing stays broadly the same, resting loosely on the subject.\nNo zoom, no shake, no jitter, no deliberate directional move, no travel across the scene.",
|
|
4772
4781
|
term: "slow gentle camera drift"
|
|
4773
4782
|
},
|
|
4774
4783
|
{
|
|
@@ -4776,7 +4785,7 @@ var CAMERA_MOTIONS = [
|
|
|
4776
4785
|
label: "Parallax",
|
|
4777
4786
|
category: "default",
|
|
4778
4787
|
description: "Lateral motion with foreground/background depth separation",
|
|
4779
|
-
promptHint: "
|
|
4788
|
+
promptHint: "The camera makes a small, smooth sideways move that shows off the depth of the scene through parallax. It eases gently a short way across, staying at the same distance and keeping its aim forward.\nThe defining quality is a STRONG parallax gradient: the nearest foreground elements slide across noticeably and quickly, the mid-distance elements shift more gently, and the most distant elements barely move at all \u2014 one smooth continuous gradient of speed from near to far that makes the separation between the layers obvious. Nothing is frozen; everything shifts, just by very different amounts according to its distance.\nThe move is modest and ambient rather than a full travelling shot: a gentle reveal of depth, not a journey across the scene.\nThe lens does not change; the camera does not push in, pull back, rotate, or shake.\nNo zoom, no forward or backward travel, no rotation, no handheld shake.",
|
|
4780
4789
|
term: "lateral parallax camera move"
|
|
4781
4790
|
}
|
|
4782
4791
|
];
|
|
@@ -4864,7 +4873,8 @@ var TRANSITIONS = [
|
|
|
4864
4873
|
category: "standard",
|
|
4865
4874
|
description: "Instantaneous switch, no transition",
|
|
4866
4875
|
promptHint: "no transition, hard cut, instantaneous switch from first shot to second shot",
|
|
4867
|
-
term: "hard cut"
|
|
4876
|
+
term: "hard cut",
|
|
4877
|
+
instant: true
|
|
4868
4878
|
},
|
|
4869
4879
|
{
|
|
4870
4880
|
id: "cross-dissolve",
|
|
@@ -4893,21 +4903,24 @@ var TRANSITIONS = [
|
|
|
4893
4903
|
category: "standard",
|
|
4894
4904
|
description: "Instant cut to full black for a beat, then the next shot",
|
|
4895
4905
|
promptHint: "snap to black: the first shot cuts instantly to full black with no fade, the frame holds pure black for a single beat, then the second shot cuts in at full brightness",
|
|
4896
|
-
term: "snap to black"
|
|
4906
|
+
term: "snap to black",
|
|
4907
|
+
instant: true
|
|
4897
4908
|
},
|
|
4898
4909
|
{
|
|
4899
4910
|
id: "match-cut",
|
|
4900
4911
|
label: "Match Cut",
|
|
4901
4912
|
category: "standard",
|
|
4902
4913
|
description: "Shape or motion match across shots",
|
|
4903
|
-
promptHint: "match cut: the final composition of the first shot matches the opening composition of the second shot in shape, color, and motion, so the cut feels like a visual rhyme"
|
|
4914
|
+
promptHint: "match cut: the final composition of the first shot matches the opening composition of the second shot in shape, color, and motion, so the cut feels like a visual rhyme",
|
|
4915
|
+
instant: true
|
|
4904
4916
|
},
|
|
4905
4917
|
{
|
|
4906
4918
|
id: "smash-cut",
|
|
4907
4919
|
label: "Smash Cut",
|
|
4908
4920
|
category: "standard",
|
|
4909
4921
|
description: "Jarring abrupt cut between contrasting shots",
|
|
4910
|
-
promptHint: "smash cut: an abrupt jarring transition between two visually or tonally contrasting shots with no fade, on a beat"
|
|
4922
|
+
promptHint: "smash cut: an abrupt jarring transition between two visually or tonally contrasting shots with no fade, on a beat",
|
|
4923
|
+
instant: true
|
|
4911
4924
|
},
|
|
4912
4925
|
{
|
|
4913
4926
|
id: "iris",
|
|
@@ -4939,7 +4952,8 @@ var TRANSITIONS = [
|
|
|
4939
4952
|
category: "standard",
|
|
4940
4953
|
description: "Hidden cut disguised by matched motion and color",
|
|
4941
4954
|
promptHint: "hidden seamless transition: the camera motion, color palette, and on-screen motion at the end of the first shot continue exactly across the cut into the second shot, so the boundary is invisible and the two shots feel like one unbroken take",
|
|
4942
|
-
term: "invisible cut"
|
|
4955
|
+
term: "invisible cut",
|
|
4956
|
+
instant: true
|
|
4943
4957
|
},
|
|
4944
4958
|
{
|
|
4945
4959
|
id: "whip-pan",
|
|
@@ -4955,7 +4969,8 @@ var TRANSITIONS = [
|
|
|
4955
4969
|
category: "standard",
|
|
4956
4970
|
description: "Same framing, time skips forward",
|
|
4957
4971
|
promptHint: "jump cut: the framing, lens, and camera position stay identical across the cut while time skips abruptly forward, so the subject snaps to a new position inside what still reads as one continuous shot",
|
|
4958
|
-
term: "jump cut"
|
|
4972
|
+
term: "jump cut",
|
|
4973
|
+
instant: true
|
|
4959
4974
|
},
|
|
4960
4975
|
// ============================================================================
|
|
4961
4976
|
// TIME — 8 entries — temporal shifts (same or related scene, different time, or memory)
|
|
@@ -4989,7 +5004,7 @@ var TRANSITIONS = [
|
|
|
4989
5004
|
label: "Aging",
|
|
4990
5005
|
category: "time",
|
|
4991
5006
|
description: "Subject visibly ages forward in time",
|
|
4992
|
-
promptHint: "accelerated aging transition: the subject visibly ages forward
|
|
5007
|
+
promptHint: "accelerated aging transition: the subject visibly ages forward - fine lines deepen into wrinkles, hair greys to silver, posture settles - while the framing stays unchanged",
|
|
4993
5008
|
term: "accelerated aging"
|
|
4994
5009
|
},
|
|
4995
5010
|
{
|
|
@@ -5005,7 +5020,7 @@ var TRANSITIONS = [
|
|
|
5005
5020
|
label: "Freeze-Frame Jump",
|
|
5006
5021
|
category: "time",
|
|
5007
5022
|
description: "Action freezes, jumps forward in time",
|
|
5008
|
-
promptHint: "freeze-frame transition: motion
|
|
5023
|
+
promptHint: "freeze-frame transition: all motion stops mid-action and the picture holds still for a beat; only then does it jump to the same view hours or days later, everything in new positions, and motion resumes",
|
|
5009
5024
|
term: "freeze-frame time jump"
|
|
5010
5025
|
},
|
|
5011
5026
|
{
|
|
@@ -5217,7 +5232,7 @@ var TRANSITIONS = [
|
|
|
5217
5232
|
label: "Zoom Into Screen",
|
|
5218
5233
|
category: "portal",
|
|
5219
5234
|
description: "Push into TV/phone screen",
|
|
5220
|
-
promptHint: "the camera pushes toward a screen visible in the scene
|
|
5235
|
+
promptHint: "the camera pushes toward a screen visible in the scene, such as a TV, phone or monitor, the screen's image fills the frame, and the camera passes through into that image which becomes the new scene"
|
|
5221
5236
|
},
|
|
5222
5237
|
{
|
|
5223
5238
|
id: "zoom-into-book",
|
|
@@ -5253,7 +5268,7 @@ var TRANSITIONS = [
|
|
|
5253
5268
|
label: "Zoom Into Mouth",
|
|
5254
5269
|
category: "portal",
|
|
5255
5270
|
description: "Push into open mouth, emerges in new world inside",
|
|
5256
|
-
promptHint: "the camera pushes into the subject's open mouth, the dark interior fills the frame, and the camera passes through
|
|
5271
|
+
promptHint: "the camera pushes into the subject's open mouth, the dark interior fills the frame, and the camera passes through into the new scene which materialises as if emerging from inside the body"
|
|
5257
5272
|
},
|
|
5258
5273
|
{
|
|
5259
5274
|
id: "push-through-glass",
|
|
@@ -5344,7 +5359,8 @@ var TRANSITIONS = [
|
|
|
5344
5359
|
category: "physics",
|
|
5345
5360
|
description: "Subject jumps, landing matches into new scene",
|
|
5346
5361
|
promptHint: "the subject jumps upward and out of frame at the end of the first shot, with matched velocity the camera follows the arc, and on landing the subject is in a new location seamlessly continuing the same jump",
|
|
5347
|
-
term: "match cut on a jump"
|
|
5362
|
+
term: "match cut on a jump",
|
|
5363
|
+
instant: true
|
|
5348
5364
|
},
|
|
5349
5365
|
{
|
|
5350
5366
|
id: "hand-swipe",
|
|
@@ -5359,7 +5375,8 @@ var TRANSITIONS = [
|
|
|
5359
5375
|
category: "physics",
|
|
5360
5376
|
description: "Subject exits on an action and lands in the new scene mid-move",
|
|
5361
5377
|
promptHint: "match cut on action: the subject exits the frame on a committed action \u2014 a stride, a throw, a turn \u2014 and enters the new scene on the same beat continuing that movement at matched speed and direction, so the action carries unbroken across the cut",
|
|
5362
|
-
term: "match cut on action"
|
|
5378
|
+
term: "match cut on action",
|
|
5379
|
+
instant: true
|
|
5363
5380
|
},
|
|
5364
5381
|
// ============================================================================
|
|
5365
5382
|
// LIGHT — 8 entries — flash and lens FX
|
|
@@ -5515,6 +5532,30 @@ function getTransitionTerm(id) {
|
|
|
5515
5532
|
return resolveTerm(getTransition(id));
|
|
5516
5533
|
}
|
|
5517
5534
|
var TRANSITION_IDS = TRANSITIONS.map((t) => t.id);
|
|
5535
|
+
function isInstantTransition(id) {
|
|
5536
|
+
const ids = typeof id === "string" ? [id] : id ? [...id] : [];
|
|
5537
|
+
if (ids.length === 0) return false;
|
|
5538
|
+
return ids.every((one) => getTransition(one)?.instant === true);
|
|
5539
|
+
}
|
|
5540
|
+
var INSTANT_CUT_CLAUSE = "an abrupt single-frame hard cut, no dissolve, crossfade or superimposition; the two images never blend";
|
|
5541
|
+
var LEADING_LABEL = /^\s*((?:[^\s:,;.()]+\s+){0,4}[^\s:,;.()]+)\s*:\s+/;
|
|
5542
|
+
var normalizePhrase = (s) => s.trim().toLowerCase().replace(/\s+/g, " ");
|
|
5543
|
+
function transitionHintBody(id, term) {
|
|
5544
|
+
const hint = getTransitionPromptHint(id).replace(LEADING_LABEL, "").trim();
|
|
5545
|
+
const t = normalizePhrase(term);
|
|
5546
|
+
return hint.split(/,\s*/).filter((item) => normalizePhrase(item) !== t).join(", ").trim();
|
|
5547
|
+
}
|
|
5548
|
+
function transitionFragment(id, withCutClause) {
|
|
5549
|
+
const term = getTransitionTerm(id);
|
|
5550
|
+
if (!term) return "";
|
|
5551
|
+
const inner = [transitionHintBody(id, term), withCutClause ? INSTANT_CUT_CLAUSE : ""].filter((part) => part.length > 0).join("; ");
|
|
5552
|
+
return inner.length > 0 && normalizePhrase(inner) !== normalizePhrase(term) ? `${term} (${inner})` : term;
|
|
5553
|
+
}
|
|
5554
|
+
function renderTransitionBases(ids, _mode = "full") {
|
|
5555
|
+
const picked = ids.filter((id) => getTransitionTerm(id).length > 0);
|
|
5556
|
+
const instant = isInstantTransition(picked);
|
|
5557
|
+
return picked.map((id, i) => transitionFragment(id, instant && i === 0));
|
|
5558
|
+
}
|
|
5518
5559
|
var TRANSITION_POSITIONS = [
|
|
5519
5560
|
{ id: "auto", label: "Auto", description: "Let the model place it", promptHint: "", term: "" },
|
|
5520
5561
|
{ id: "start", label: "Start", description: "At the opening of the clip", promptHint: "the transition occurs at the opening of the clip", term: "at the opening of the clip" },
|
|
@@ -5532,7 +5573,7 @@ var TRANSITION_DURATIONS = [
|
|
|
5532
5573
|
var TRANSITION_INTENSITIES = [
|
|
5533
5574
|
{ id: "auto", label: "Auto", description: "Let the model judge it", promptHint: "", term: "" },
|
|
5534
5575
|
{ id: "subtle", label: "Subtle", description: "Restrained, minimal flourish", promptHint: "with subtle restrained energy and minimal flourish", term: "subtly" },
|
|
5535
|
-
{ id: "natural", label: "Natural", description: "Unhurried, unforced timing", promptHint: "with natural
|
|
5576
|
+
{ id: "natural", label: "Natural", description: "Unhurried, unforced timing", promptHint: "with natural timing", term: "at a natural pace" },
|
|
5536
5577
|
{ id: "dynamic", label: "Dynamic", description: "Assertive, energetic", promptHint: "with dynamic energy and assertive flourish", term: "energetically" },
|
|
5537
5578
|
{ id: "crazy", label: "Crazy", description: "Extreme, wild, distorted", promptHint: "with extreme exaggerated energy, wild flourishes, and dramatic distortion", term: "wildly exaggerated" }
|
|
5538
5579
|
];
|
|
@@ -5542,22 +5583,29 @@ function clausesOf(options) {
|
|
|
5542
5583
|
);
|
|
5543
5584
|
}
|
|
5544
5585
|
var POSITION_CLAUSES = clausesOf(TRANSITION_POSITIONS);
|
|
5586
|
+
var SHOT_POSITION_CLAUSES = Object.fromEntries(
|
|
5587
|
+
Object.entries(POSITION_CLAUSES).map(([id, clause]) => [
|
|
5588
|
+
id,
|
|
5589
|
+
clause.replace(/ of the clip\b/g, " of this shot").replace(/ the entire clip\b/g, " this entire shot")
|
|
5590
|
+
])
|
|
5591
|
+
);
|
|
5545
5592
|
var DURATION_CLAUSES = clausesOf(TRANSITION_DURATIONS);
|
|
5546
5593
|
var INTENSITY_CLAUSES = clausesOf(TRANSITION_INTENSITIES);
|
|
5547
|
-
function composeTransitionHintFromConnections(transitionId, startHints, endHints, timing, mode = "full") {
|
|
5594
|
+
function composeTransitionHintFromConnections(transitionId, startHints, endHints, timing, mode = "full", options) {
|
|
5548
5595
|
const ids = Array.isArray(transitionId) ? Array.from(new Set(transitionId)).slice(0, 2) : transitionId ? [transitionId] : [];
|
|
5549
|
-
const
|
|
5550
|
-
const baseHints = ids.map(resolveBase).filter((h) => h.length > 0);
|
|
5596
|
+
const baseHints = renderTransitionBases(ids, mode);
|
|
5551
5597
|
if (baseHints.length === 0) return "";
|
|
5598
|
+
const instant = isInstantTransition(ids.filter((id) => getTransitionTerm(id).length > 0));
|
|
5552
5599
|
const combinedBase = baseHints.join(", and ");
|
|
5553
5600
|
const parts = [combinedBase];
|
|
5554
|
-
if (timing?.position && timing.position !== "auto") {
|
|
5555
|
-
|
|
5601
|
+
if (timing?.position && timing.position !== "auto" && !(instant && timing.position === "full")) {
|
|
5602
|
+
const clauses = options?.scope === "shot" ? SHOT_POSITION_CLAUSES : POSITION_CLAUSES;
|
|
5603
|
+
parts.push(clauses[timing.position]);
|
|
5556
5604
|
}
|
|
5557
|
-
if (timing?.duration && timing.duration !== "auto") {
|
|
5605
|
+
if (timing?.duration && timing.duration !== "auto" && !instant) {
|
|
5558
5606
|
parts.push(DURATION_CLAUSES[timing.duration]);
|
|
5559
5607
|
}
|
|
5560
|
-
if (timing?.intensity && timing.intensity !== "auto") {
|
|
5608
|
+
if (timing?.intensity && timing.intensity !== "auto" && !instant) {
|
|
5561
5609
|
parts.push(INTENSITY_CLAUSES[timing.intensity]);
|
|
5562
5610
|
}
|
|
5563
5611
|
const startClause = startHints.filter((h) => h && h.length > 0).join(" and ");
|
|
@@ -18607,6 +18655,7 @@ function toOptions(arr, categoryField) {
|
|
|
18607
18655
|
if (e.description) opt.description = e.description;
|
|
18608
18656
|
if (categoryField) opt.category = e[categoryField];
|
|
18609
18657
|
if (e.adultOnly) opt.adultOnly = true;
|
|
18658
|
+
if (e.instant) opt.instant = true;
|
|
18610
18659
|
return opt;
|
|
18611
18660
|
});
|
|
18612
18661
|
}
|
|
@@ -19862,7 +19911,7 @@ var DIRECTION_FIELDS = [
|
|
|
19862
19911
|
{ key: "temporalFreeze", surface: "video", family: "motion", maxPicks: 1, render: temporal },
|
|
19863
19912
|
{ key: "temporalDirection", surface: "video", family: "motion", maxPicks: 1, render: temporal },
|
|
19864
19913
|
{ key: "temporalShutter", surface: "video", family: "motion", maxPicks: 1, render: temporal },
|
|
19865
|
-
{ key: "transition", surface: "video", family: "motion", maxPicks: 2, render:
|
|
19914
|
+
{ key: "transition", surface: "video", family: "motion", maxPicks: 2, render: renderTransitionBases },
|
|
19866
19915
|
{ key: "loopSubject", surface: "video", family: "motion", maxPicks: 1, render: perId(getLoopSubjectPromptHint, getLoopSubjectTerm) },
|
|
19867
19916
|
// ── LEGACY BLOCK — see the table doc above. Placed LAST, in today's exact
|
|
19868
19917
|
// `composePromptText` order, so every pre-registry caller is byte-identical.
|
|
@@ -21881,6 +21930,12 @@ var REF_BINDING = {
|
|
|
21881
21930
|
ordinal: (n) => `@image_${n}`,
|
|
21882
21931
|
frame: (n, role) => `Use @image_${n} as the ${role} (${role === "opening" ? "first" : "last"}) frame of the video.`
|
|
21883
21932
|
};
|
|
21933
|
+
var SEEDANCE_VIDEO_EDIT_PREFIX = "edit {video:1} as follows:\n";
|
|
21934
|
+
function buildSeedanceVideoEditPrompt(prompt) {
|
|
21935
|
+
const body = (prompt ?? "").trim();
|
|
21936
|
+
if (/^edit\s+(?:\{video:1(?::[^}]*)?\}|@video_1(?!\w))/i.test(body)) return body;
|
|
21937
|
+
return `${SEEDANCE_VIDEO_EDIT_PREFIX}${body}`;
|
|
21938
|
+
}
|
|
21884
21939
|
|
|
21885
21940
|
// src/ref-id-tokens.ts
|
|
21886
21941
|
var REF_TOKEN_LABEL_RE = /^[a-zA-Z0-9_ -]+$/;
|
|
@@ -38911,7 +38966,11 @@ var NODE_PROMPT_FIELDS = {
|
|
|
38911
38966
|
"forced-alignment": { prompt: "transcript", promptLabel: "Transcript", media: "audio", inline: false },
|
|
38912
38967
|
// Video Analysis — its focus hint is the editable prompt (renders a JSON scene
|
|
38913
38968
|
// table, not a media preview → no inline editor).
|
|
38914
|
-
"video-analysis": { prompt: "analysisFocus", promptLabel: "Analysis focus", media: "video", inline: false }
|
|
38969
|
+
"video-analysis": { prompt: "analysisFocus", promptLabel: "Analysis focus", media: "video", inline: false },
|
|
38970
|
+
// Edit Plan (podcast editing) — its free-text editing instructions are the
|
|
38971
|
+
// editable prompt; the affixes wrap them. Emits an EDL (JSON), not a media
|
|
38972
|
+
// preview, so no inline editor.
|
|
38973
|
+
"edit-plan": { prompt: "instructions", promptLabel: "Editing instructions", media: "video", inline: false }
|
|
38915
38974
|
};
|
|
38916
38975
|
function getPromptFields(nodeType) {
|
|
38917
38976
|
return nodeType ? NODE_PROMPT_FIELDS[nodeType] : void 0;
|
|
@@ -41691,6 +41750,27 @@ var GENERATE_VIDEO_PRESETS = [
|
|
|
41691
41750
|
generateAudio: true,
|
|
41692
41751
|
prompt: "{creature || A monstrous yeti with the physique and bone structure of a giant silverback gorilla}, {texture || thick matted white fur with snow crusted on the shoulders}, charges forward and smashes both fists into the ground. Low-angle ground shot looking up to emphasize its scale, heavy camera shake on impact, snow and debris bursting toward the lens. Overcast mountain light, volumetric breath mist around its muzzle. <deep guttural roar, the crunch of impact, debris scattering>\uFF08low ominous brass drone\uFF09Biologically accurate anatomy, epic cinematic scale. HD, sharp micro-details, stable picture, keep it subtitle-free, do not generate a watermark."
|
|
41693
41752
|
}
|
|
41753
|
+
},
|
|
41754
|
+
// ── Video Editing ─────────────────────────────────────────────────────────
|
|
41755
|
+
// Seedance 2.5 EDITS a wired reference clip when the prompt reads as an edit
|
|
41756
|
+
// instruction. Edit mode takes the source clip's own ratio and length, so the
|
|
41757
|
+
// preset ships the exact shape the provider requires — Adaptive + Auto
|
|
41758
|
+
// (duration -1) — and the run goes through on the first submit. The user's
|
|
41759
|
+
// own sentence is the whole prompt: the preset only supplies the pre & post
|
|
41760
|
+
// text, with the clip bound as {video:1} (wire it into Video Refs).
|
|
41761
|
+
{
|
|
41762
|
+
id: "generate-video/edit-video",
|
|
41763
|
+
name: "Edit Video",
|
|
41764
|
+
description: "Change a wired clip by instruction \u2014 keeps its length, ratio and everything you don't mention.",
|
|
41765
|
+
group: "Video Editing",
|
|
41766
|
+
data: {
|
|
41767
|
+
provider: "seedance-2-5",
|
|
41768
|
+
aspectRatio: "adaptive",
|
|
41769
|
+
duration: -1,
|
|
41770
|
+
generateAudio: true,
|
|
41771
|
+
promptPrefix: "edit {video:1} as follows:\n",
|
|
41772
|
+
promptSuffix: "Keep everything else in the clip unchanged: the same people, motion, framing and timing. Keep it subtitle-free, do not generate a watermark."
|
|
41773
|
+
}
|
|
41694
41774
|
}
|
|
41695
41775
|
];
|
|
41696
41776
|
|
|
@@ -44257,6 +44337,63 @@ function getCharacterMotionDiagnostics(value, timing, bindings = {}) {
|
|
|
44257
44337
|
return result;
|
|
44258
44338
|
}
|
|
44259
44339
|
|
|
44340
|
+
// src/ad-creative-analysis.ts
|
|
44341
|
+
var AD_CREATIVE_ANALYSIS_FIELDS = [
|
|
44342
|
+
"assetType",
|
|
44343
|
+
"format",
|
|
44344
|
+
"visualHooks",
|
|
44345
|
+
"audiences",
|
|
44346
|
+
"graphicIdentity",
|
|
44347
|
+
"copywritingHooks",
|
|
44348
|
+
"usps",
|
|
44349
|
+
"cta",
|
|
44350
|
+
"summary"
|
|
44351
|
+
];
|
|
44352
|
+
var AD_CREATIVE_ANALYSIS_SYSTEM_PROMPT = `You are an expert competitor ad analyst. You look at a competitor's ad \u2014 its creative (image or video poster frame) and its copy \u2014 and extract the relevant ad information into a structured summary a marketing team can act on.
|
|
44353
|
+
|
|
44354
|
+
Judge from what is actually in the creative and copy; never invent claims that are not visible or written. Be concrete and specific (name the objects, colors, people, layouts, words), not generic ("eye-catching visuals"). Write in the language of the ad copy when it is not English, otherwise in English.
|
|
44355
|
+
|
|
44356
|
+
Fill every field:
|
|
44357
|
+
- assetType: "static" (a still image), "motion" (a video \u2014 you see its poster frame), "carousel" (several creatives in one ad), or "unknown".
|
|
44358
|
+
- format: the placement the creative is built for \u2014 e.g. "in-feed", "story / reel (9:16)", "square feed", "banner / web", judged from its shape and framing.
|
|
44359
|
+
- visualHooks: the key visuals and visual angles used to stop the scroll (product close-up, before/after, face + eye contact, big number, screenshot, meme style, UGC selfie, text-on-image\u2026). 2\u20136 short items.
|
|
44360
|
+
- audiences: who the ad represents or addresses (age band, gender, life situation, profession, interest, geography, pain point). 1\u20135 short items.
|
|
44361
|
+
- graphicIdentity: the graphic components \u2014 color palette, typography style, logo placement, layout system, illustration vs photo, brand consistency cues. One or two sentences.
|
|
44362
|
+
- copywritingHooks: the copywriting angles used in the visual text and in the body (curiosity, urgency, social proof, question, offer, fear of missing out, authority, humor\u2026). 1\u20136 short items, each naming the angle and quoting or paraphrasing the line that carries it.
|
|
44363
|
+
- usps: the unique selling points the ad claims (price, speed, exclusivity, guarantee, results, features). 1\u20135 short items.
|
|
44364
|
+
- cta: the call to action \u2014 the button label and/or the closing line that tells the viewer what to do.
|
|
44365
|
+
- summary: two to four sentences: what the ad sells, to whom, with what hook, and why it likely works (or does not).`;
|
|
44366
|
+
var POST_CONTENT_ANALYSIS_SYSTEM_PROMPT = `You are an expert social-media content analyst. You look at a single organic post \u2014 its creative (image or video cover frame) and its caption \u2014 and extract what a marketing team can learn from it into a structured summary.
|
|
44367
|
+
|
|
44368
|
+
Judge from what is actually in the creative and caption; never invent claims that are not visible or written. Be concrete and specific (name the objects, colors, people, layouts, words), not generic ("engaging content"). Write in the language of the caption when it is not English, otherwise in English.
|
|
44369
|
+
|
|
44370
|
+
Fill every field:
|
|
44371
|
+
- assetType: "static" (a still image), "motion" (a video / reel \u2014 you see its cover frame), "carousel" (a multi-image post), or "unknown".
|
|
44372
|
+
- format: the format the post is built for \u2014 e.g. "reel (9:16)", "square feed photo", "carousel", "portrait (4:5)", judged from its shape and framing.
|
|
44373
|
+
- visualHooks: the key visuals and visual angles used to stop the scroll (product close-up, before/after, face + eye contact, big text overlay, meme style, UGC selfie, trend/format\u2026). 2\u20136 short items.
|
|
44374
|
+
- audiences: who the post represents or speaks to (age band, gender, life situation, profession, interest, geography, community). 1\u20135 short items.
|
|
44375
|
+
- graphicIdentity: the graphic components \u2014 color palette, typography style, logo / handle placement, layout, illustration vs photo, brand consistency cues. One or two sentences.
|
|
44376
|
+
- copywritingHooks: the caption / content angles (curiosity, storytelling, question, trend, humor, social proof, education, behind-the-scenes\u2026). 1\u20136 short items, each naming the angle and quoting or paraphrasing the line that carries it.
|
|
44377
|
+
- usps: the value or benefit the post conveys to the viewer (entertainment, education, inspiration, a product benefit, a deal). 1\u20135 short items.
|
|
44378
|
+
- cta: the ask \u2014 the caption's call to action ("link in bio", "shop now", "follow", "comment below"), or "none" if the post makes none.
|
|
44379
|
+
- summary: two to four sentences: what the post is about, who it speaks to, with what hook, and why it likely performs (or does not).`;
|
|
44380
|
+
function buildAdCreativeAnalysisUserText(input) {
|
|
44381
|
+
const lines = [];
|
|
44382
|
+
if (input.advertiser) lines.push(`Account / advertiser: ${input.advertiser}`);
|
|
44383
|
+
if (input.headline) lines.push(`Headline: ${input.headline}`);
|
|
44384
|
+
if (input.body) lines.push(`Body copy:
|
|
44385
|
+
${input.body}`);
|
|
44386
|
+
if (input.ctaLabel) lines.push(`CTA button: ${input.ctaLabel}`);
|
|
44387
|
+
if (input.landing) lines.push(`Landing: ${input.landing}`);
|
|
44388
|
+
if (input.platforms && input.platforms.length > 0) lines.push(`Placements: ${input.platforms.join(", ")}`);
|
|
44389
|
+
if (input.creativeFormat) lines.push(`Creative shape: ${input.creativeFormat}`);
|
|
44390
|
+
if (input.mediaSummary) lines.push(`Media: ${input.mediaSummary}`);
|
|
44391
|
+
lines.push("The attached image is the ad's creative (for a video, its poster frame).");
|
|
44392
|
+
if (input.focus) lines.push(`
|
|
44393
|
+
Analyst focus from the user: ${input.focus}`);
|
|
44394
|
+
return lines.join("\n");
|
|
44395
|
+
}
|
|
44396
|
+
|
|
44260
44397
|
exports.ACTION_FX = ACTION_FX;
|
|
44261
44398
|
exports.ACTION_FX_CATEGORY_LABELS = ACTION_FX_CATEGORY_LABELS;
|
|
44262
44399
|
exports.ACTION_FX_CATEGORY_ORDER = ACTION_FX_CATEGORY_ORDER;
|
|
@@ -44264,6 +44401,8 @@ exports.ACTION_FX_IDS = ACTION_FX_IDS;
|
|
|
44264
44401
|
exports.ADULT_AGE_IDS = ADULT_AGE_IDS;
|
|
44265
44402
|
exports.ADULT_ONLY_FLAG = ADULT_ONLY_FLAG;
|
|
44266
44403
|
exports.ADULT_SWEPT_CATALOG_IDS = ADULT_SWEPT_CATALOG_IDS;
|
|
44404
|
+
exports.AD_CREATIVE_ANALYSIS_FIELDS = AD_CREATIVE_ANALYSIS_FIELDS;
|
|
44405
|
+
exports.AD_CREATIVE_ANALYSIS_SYSTEM_PROMPT = AD_CREATIVE_ANALYSIS_SYSTEM_PROMPT;
|
|
44267
44406
|
exports.AESTHETICS = AESTHETICS;
|
|
44268
44407
|
exports.AESTHETIC_CATEGORY_LABELS = AESTHETIC_CATEGORY_LABELS;
|
|
44269
44408
|
exports.AESTHETIC_CATEGORY_ORDER = AESTHETIC_CATEGORY_ORDER;
|
|
@@ -44342,6 +44481,7 @@ exports.HELD_PROP_IDS = HELD_PROP_IDS;
|
|
|
44342
44481
|
exports.IMAGE_HINT_MODE_DEFAULT = IMAGE_HINT_MODE_DEFAULT;
|
|
44343
44482
|
exports.IMAGE_REFERENCE_PROMPT_DOCTRINE = IMAGE_REFERENCE_PROMPT_DOCTRINE;
|
|
44344
44483
|
exports.IMAGE_WIZARD_CATEGORIES = IMAGE_WIZARD_CATEGORIES;
|
|
44484
|
+
exports.INSTANT_CUT_CLAUSE = INSTANT_CUT_CLAUSE;
|
|
44345
44485
|
exports.INSTRUMENTATION_DEFAULT_DATA = INSTRUMENTATION_DEFAULT_DATA;
|
|
44346
44486
|
exports.INSTRUMENTS = INSTRUMENTS;
|
|
44347
44487
|
exports.INSTRUMENT_CATEGORY_LABELS = INSTRUMENT_CATEGORY_LABELS;
|
|
@@ -44414,6 +44554,7 @@ exports.POSES = POSES;
|
|
|
44414
44554
|
exports.POSE_CATEGORY_LABELS = POSE_CATEGORY_LABELS;
|
|
44415
44555
|
exports.POSE_CATEGORY_ORDER = POSE_CATEGORY_ORDER;
|
|
44416
44556
|
exports.POSE_IDS = POSE_IDS;
|
|
44557
|
+
exports.POST_CONTENT_ANALYSIS_SYSTEM_PROMPT = POST_CONTENT_ANALYSIS_SYSTEM_PROMPT;
|
|
44417
44558
|
exports.POST_PROCESS_EFFECTS = POST_PROCESS_EFFECTS;
|
|
44418
44559
|
exports.POST_PROCESS_EFFECT_IDS = POST_PROCESS_EFFECT_IDS;
|
|
44419
44560
|
exports.PRODUCTION_STYLES = PRODUCTION_STYLES;
|
|
@@ -44440,6 +44581,7 @@ exports.SCENE3D_LAYOUT_SCOPING_MARKER = SCENE3D_LAYOUT_SCOPING_MARKER;
|
|
|
44440
44581
|
exports.SCENE3D_UNREFERENCED_FIGURES_WARNING_CODE = SCENE3D_UNREFERENCED_FIGURES_WARNING_CODE;
|
|
44441
44582
|
exports.SCENE_FRAME_RULE = SCENE_FRAME_RULE;
|
|
44442
44583
|
exports.SCENE_PROMPT_MAX_LENGTH = SCENE_PROMPT_MAX_LENGTH;
|
|
44584
|
+
exports.SEEDANCE_VIDEO_EDIT_PREFIX = SEEDANCE_VIDEO_EDIT_PREFIX;
|
|
44443
44585
|
exports.SETTINGS = SETTINGS;
|
|
44444
44586
|
exports.SETTING_CATEGORY_LABELS = SETTING_CATEGORY_LABELS;
|
|
44445
44587
|
exports.SETTING_IDS = SETTING_IDS;
|
|
@@ -44513,6 +44655,7 @@ exports.assembleImageInput = assembleImageInput;
|
|
|
44513
44655
|
exports.assembleSunoInput = assembleSunoInput;
|
|
44514
44656
|
exports.buildActionFxHints = buildActionFxHints;
|
|
44515
44657
|
exports.buildActionFxTerms = buildActionFxTerms;
|
|
44658
|
+
exports.buildAdCreativeAnalysisUserText = buildAdCreativeAnalysisUserText;
|
|
44516
44659
|
exports.buildAestheticHints = buildAestheticHints;
|
|
44517
44660
|
exports.buildAestheticTerms = buildAestheticTerms;
|
|
44518
44661
|
exports.buildAgeHint = buildAgeHint;
|
|
@@ -44567,6 +44710,7 @@ exports.buildReferenceBlocks = buildReferenceBlocks;
|
|
|
44567
44710
|
exports.buildScene3DLayoutScopingLine = buildScene3DLayoutScopingLine;
|
|
44568
44711
|
exports.buildScene3DUnreferencedFiguresWarning = buildScene3DUnreferencedFiguresWarning;
|
|
44569
44712
|
exports.buildScenePrompt = buildScenePrompt;
|
|
44713
|
+
exports.buildSeedanceVideoEditPrompt = buildSeedanceVideoEditPrompt;
|
|
44570
44714
|
exports.buildStylingHints = buildStylingHints;
|
|
44571
44715
|
exports.buildStylingTerms = buildStylingTerms;
|
|
44572
44716
|
exports.buildSurroundFillPrompt = buildSurroundFillPrompt;
|
|
@@ -44811,6 +44955,7 @@ exports.identityRefsSentence = identityRefsSentence;
|
|
|
44811
44955
|
exports.insertBeforeStyleSection = insertBeforeStyleSection;
|
|
44812
44956
|
exports.isAnalyzablePicker = isAnalyzablePicker;
|
|
44813
44957
|
exports.isDeniedStyleId = isDeniedStyleId;
|
|
44958
|
+
exports.isInstantTransition = isInstantTransition;
|
|
44814
44959
|
exports.isInstrumentalVocal = isInstrumentalVocal;
|
|
44815
44960
|
exports.isMinorAge = isMinorAge;
|
|
44816
44961
|
exports.isSuspiciousDerivedTerm = isSuspiciousDerivedTerm;
|
|
@@ -44853,6 +44998,7 @@ exports.renderScene3DLayoutScopingLine = renderScene3DLayoutScopingLine;
|
|
|
44853
44998
|
exports.renderStructuredFields = renderStructuredFields;
|
|
44854
44999
|
exports.renderStyleSection = renderStyleSection;
|
|
44855
45000
|
exports.renderSubjectHints = renderSubjectHints;
|
|
45001
|
+
exports.renderTransitionBases = renderTransitionBases;
|
|
44856
45002
|
exports.resetCatalogPacks = resetCatalogPacks;
|
|
44857
45003
|
exports.resetPersonPacks = resetPersonPacks;
|
|
44858
45004
|
exports.resolveBrandInput = resolveBrandInput;
|