@nodaro/prompts 1.25.1 → 1.26.1
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 +13 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/fixtures/parameter-hint-golden.json +9 -9
- package/src/__tests__/transitions-scope.test.ts +119 -0
- package/src/person.ts +1 -0
- package/src/setting.ts +2 -0
- package/src/styling.ts +2 -0
- package/src/transitions.ts +8 -8
package/dist/index.js
CHANGED
|
@@ -1951,6 +1951,7 @@ var SETTINGS = [
|
|
|
1951
1951
|
{ id: "bedroom", label: "Bedroom", category: "indoor", description: "Intimate bedroom", promptHint: "set in an intimate bedroom with soft diffused window light, rumpled linen bedding and warm wood floors" },
|
|
1952
1952
|
{ id: "living-room", label: "Living Room", category: "indoor", description: "Cozy residential living room", promptHint: "set in a cozy residential living room with a plush sofa, wooden coffee table, soft lamplight, bookshelves and a warm family-home atmosphere" },
|
|
1953
1953
|
{ id: "kitchen", label: "Kitchen", category: "indoor", description: "Warm home kitchen with morning light", term: "home kitchen", promptHint: "set in a warm home kitchen with morning light, wood cabinets, a marble island with fresh produce and steam rising from a stovetop" },
|
|
1954
|
+
{ id: "bathroom", label: "Bathroom", category: "indoor", description: "Bright everyday home bathroom", promptHint: "set in a bright everyday home bathroom with a tiled wall, a mirror and a towel on a hook", term: "home bathroom" },
|
|
1954
1955
|
{ id: "hotel-room", label: "Hotel Room", category: "indoor", description: "Elegant hotel room with city view", promptHint: "set in an elegant hotel room with a neatly made king bed, heavy drapes, a panoramic city view through the window, minimalist desk and soft warm lamplight" },
|
|
1955
1956
|
{ id: "restaurant", label: "Restaurant", category: "indoor", description: "Intimate candlelit restaurant", promptHint: "set in an intimate restaurant interior with candlelit tables, white linen, leather booths, wine glasses catching warm light and a softly bustling dining room" },
|
|
1956
1957
|
{ id: "nightclub", label: "Nightclub", category: "indoor", description: "Dark club with lasers and smoke", promptHint: "set in a dark nightclub interior with a packed dance floor, laser and strobe lighting, thumping bass energy, silhouetted bodies and hazy atmospheric smoke" },
|
|
@@ -1962,6 +1963,7 @@ var SETTINGS = [
|
|
|
1962
1963
|
{ id: "warehouse", label: "Industrial Warehouse", category: "indoor", description: "Cavernous warehouse with skylights", promptHint: "set in a cavernous industrial warehouse with steel rafters, concrete floors and dust motes in shafts of light from skylights above" },
|
|
1963
1964
|
{ id: "subway-car", label: "Subway Car", category: "indoor", description: "Moving subway interior", term: "subway car interior", promptHint: "set inside a moving subway car with fluorescent strip lights, graffiti-scarred windows and empty blue plastic seats" },
|
|
1964
1965
|
{ id: "taxi", label: "Taxi Interior", category: "indoor", description: "Back seat of a city taxi at night", promptHint: "set inside the back seat of a city taxi at night with rain-streaked windows, neon reflections sliding across the dashboard, the driver silhouetted against the windshield and the dim green glow of the fare meter" },
|
|
1966
|
+
{ id: "car-interior", label: "Car Interior", category: "indoor", description: "Front seat of a parked car", promptHint: "set in the front seat of a parked car, daylight through the side window", term: "parked car interior" },
|
|
1965
1967
|
{ id: "cathedral", label: "Cathedral", category: "indoor", description: "Gothic cathedral interior", term: "gothic cathedral interior", promptHint: "set in a vast gothic cathedral interior with vaulted stone ceilings, stained-glass kaleidoscopes and candlelit side chapels" },
|
|
1966
1968
|
{ id: "art-gallery", label: "Art Gallery", category: "indoor", description: "Minimalist white-cube gallery", promptHint: "set in a minimalist white-cube art gallery with polished concrete floor, precision track lighting and framed canvases on bare walls" },
|
|
1967
1969
|
{ id: "balcony", label: "Balcony", category: "indoor", description: "Apartment balcony with urban view", term: "apartment balcony", promptHint: "set on an apartment balcony with potted plants along the railing, a sweeping urban view beyond, soft daylight and a candid intimate atmosphere of a private outdoor pocket above the city" },
|
|
@@ -2958,6 +2960,7 @@ var PEOPLE = [
|
|
|
2958
2960
|
{ id: "face-full-beard", label: "Full Beard", dimension: "facial-hair", description: "Thick full beard", promptHint: "a full beard" },
|
|
2959
2961
|
{ id: "face-five-oclock-shadow", label: "Five-O'Clock Shadow", dimension: "facial-hair", description: "Heavier daily growth \u2014 denser than light stubble", promptHint: "a five-o'clock shadow, daily growth heavier than light stubble" },
|
|
2960
2962
|
// -------------------- Skin Texture --------------------
|
|
2963
|
+
{ id: "texture-natural", label: "Natural", dimension: "skin-texture", description: "Real pores and natural variation", promptHint: "with natural, unretouched skin \u2014 visible pores and small, even variation in tone", term: "natural unretouched skin" },
|
|
2961
2964
|
{ id: "texture-smooth", label: "Smooth", dimension: "skin-texture", description: "Flawless, silky smooth skin", promptHint: "with flawless, silky smooth skin", term: "flawless smooth skin" },
|
|
2962
2965
|
{ 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" },
|
|
2963
2966
|
{ id: "texture-goosebumps", label: "Goosebumps", dimension: "skin-texture", description: "Raised goosebumps on skin", promptHint: "with goosebumps raised on the skin" },
|
|
@@ -3747,6 +3750,7 @@ var STYLINGS = [
|
|
|
3747
3750
|
{ id: "makeup-editorial", label: "Editorial", dimension: "makeup", description: "Avant-garde fashion makeup", promptHint: "with avant-garde editorial makeup, artistic and unconventional", term: "editorial makeup" },
|
|
3748
3751
|
{ id: "makeup-goth", label: "Goth", dimension: "makeup", description: "Dark goth aesthetic", promptHint: "with goth makeup \u2014 pale skin, black eyeliner, dark lips", term: "goth makeup" },
|
|
3749
3752
|
{ id: "makeup-dewy", label: "Dewy Glow", dimension: "makeup", description: "Glowing fresh-skin focus", promptHint: "with dewy makeup, glowing fresh skin and minimal coverage", term: "dewy makeup" },
|
|
3753
|
+
{ id: "makeup-bare", label: "Bare Face", dimension: "makeup", description: "No makeup at all", promptHint: "with a completely bare face, no makeup at all", term: "bare face, no makeup" },
|
|
3750
3754
|
// -------------------- Eyewear --------------------
|
|
3751
3755
|
{ id: "eyewear-sunglasses", label: "Sunglasses", dimension: "eyewear", description: "Generic dark sunglasses", promptHint: "wearing sunglasses" },
|
|
3752
3756
|
{ id: "eyewear-aviators", label: "Aviators", dimension: "eyewear", description: "Classic aviator shades", promptHint: "wearing classic aviator sunglasses with a metal frame", term: "aviator sunglasses" },
|
|
@@ -3911,6 +3915,7 @@ var STYLINGS = [
|
|
|
3911
3915
|
{ 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 },
|
|
3912
3916
|
{ id: "outfit-lingerie", label: "Lingerie Set", dimension: "outfit", description: "Matching lingerie set", promptHint: "in a matching lingerie set", adultOnly: true },
|
|
3913
3917
|
{ 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" },
|
|
3918
|
+
{ id: "outfit-casual-home", label: "At-Home Casual", dimension: "outfit", description: "Soft tee or knit with relaxed trousers", promptHint: "wearing relaxed at-home clothes \u2014 a soft tee or knit top with comfortable trousers", term: "at-home casual clothes" },
|
|
3914
3919
|
{ id: "outfit-bathrobe", label: "Bathrobe", dimension: "outfit", description: "Plush terrycloth robe", promptHint: "wrapped in a plush terrycloth bathrobe tied at the waist" },
|
|
3915
3920
|
{ id: "outfit-kimono", label: "Kimono", dimension: "outfit", description: "Traditional Japanese kimono", promptHint: "dressed in a traditional Japanese kimono with an obi sash" },
|
|
3916
3921
|
{ id: "outfit-ballerina", label: "Ballerina", dimension: "outfit", description: "Classical ballerina costume", promptHint: "dressed in a classical ballerina costume \u2014 fitted leotard and tulle tutu", term: "ballerina leotard and tutu" },
|
|
@@ -5044,14 +5049,14 @@ var TRANSITIONS = [
|
|
|
5044
5049
|
label: "Dissolve to Mist",
|
|
5045
5050
|
category: "element",
|
|
5046
5051
|
description: "Subject turns to mist, drifts, reforms",
|
|
5047
|
-
promptHint: "the subject
|
|
5052
|
+
promptHint: "the first subject loses its solid form and turns into a soft cloud of fine mist, starting at its edges and working inward. The camera stays where it is and the framing does not change. The mist drifts through the frame and thins until the first shot is gone, then gathers again at the same place in the frame and condenses into the second subject as the second shot appears behind it. The shot ends on the second subject, solid and fully resolved, with no mist left. The second subject forms only out of the gathered mist"
|
|
5048
5053
|
},
|
|
5049
5054
|
{
|
|
5050
5055
|
id: "water-splash",
|
|
5051
5056
|
label: "Water Splash",
|
|
5052
5057
|
category: "element",
|
|
5053
5058
|
description: "Subject becomes water, splashes, reforms",
|
|
5054
|
-
promptHint: "the subject
|
|
5059
|
+
promptHint: "the first subject turns to water and collapses into a splashing cascade that spreads across the lower part of the frame. The camera stays where it is and the framing does not change. The water surges upward at the same place in the frame and takes the shape of the second subject, while the second shot appears behind it as the spray falls away. The shot ends on the second subject, solid and fully resolved, with no water left on it. The second subject forms only out of the rising water"
|
|
5055
5060
|
},
|
|
5056
5061
|
{
|
|
5057
5062
|
id: "sand-scatter",
|
|
@@ -5101,21 +5106,21 @@ var TRANSITIONS = [
|
|
|
5101
5106
|
label: "Sand Storm",
|
|
5102
5107
|
category: "element",
|
|
5103
5108
|
description: "Sand storm engulfs the frame, scene changes inside",
|
|
5104
|
-
promptHint: "a
|
|
5109
|
+
promptHint: "a wall of opaque, swirling ochre sand sweeps in from one side of the frame and surges across it until the whole picture is hidden in dust. The camera stays where it is and the framing does not change. The dust then thins and sinks away toward the lower edge of the frame, revealing the second shot behind it. The shot ends on the second shot, clear and fully resolved, with no dust left. The first shot stays as it is until the sand covers it completely, and the second shot appears only as the dust clears"
|
|
5105
5110
|
},
|
|
5106
5111
|
{
|
|
5107
5112
|
id: "paint-splash",
|
|
5108
5113
|
label: "Paint Splash",
|
|
5109
5114
|
category: "element",
|
|
5110
5115
|
description: "Vivid paint splash covers, retracts into new scene",
|
|
5111
|
-
promptHint: "
|
|
5116
|
+
promptHint: "vivid splashes of coloured paint fly across the frame in arcing streaks and pile over one another until the whole picture is covered in wet paint. The camera stays where it is and the framing does not change. The paint then gathers toward the centre of the frame and shrinks to nothing, uncovering the second shot from the edges inward. The shot ends on the second shot, clean and fully resolved, with no paint left. The paint lies on the surface of the picture itself, and the second shot appears only where the paint has gone"
|
|
5112
5117
|
},
|
|
5113
5118
|
{
|
|
5114
5119
|
id: "aurora-sweep",
|
|
5115
5120
|
label: "Aurora Sweep",
|
|
5116
5121
|
category: "element",
|
|
5117
5122
|
description: "Aurora curtain sweeps across, scene changes behind",
|
|
5118
|
-
promptHint: "a luminous green and violet aurora
|
|
5123
|
+
promptHint: "a luminous curtain of green and violet aurora light ripples across the whole frame, and its bright bands veil the first shot. The camera stays where it is and the framing does not change. As the bands fade, the second shot is revealed behind them. The shot ends on the second shot, clear and fully resolved, with no aurora light left. The aurora glows over the front of the picture, and the second shot appears only as it fades"
|
|
5119
5124
|
},
|
|
5120
5125
|
{
|
|
5121
5126
|
id: "sakura-petals",
|
|
@@ -5154,7 +5159,7 @@ var TRANSITIONS = [
|
|
|
5154
5159
|
label: "Pixelate & Reform",
|
|
5155
5160
|
category: "morph",
|
|
5156
5161
|
description: "Pixelates, scatters, reforms as new",
|
|
5157
|
-
promptHint: "the first subject
|
|
5162
|
+
promptHint: "the first subject breaks into large square mosaic blocks, and the blocks scatter outward across the frame. The camera stays where it is and the framing does not change. The blocks fly back, lock together at the same place in the frame and sharpen into the second subject, while the second shot appears behind them. The shot ends on the second subject, fully sharp, with no blocks left. Only the subject turns into blocks; the surroundings change as the blocks clear",
|
|
5158
5163
|
term: "pixelate and reform"
|
|
5159
5164
|
},
|
|
5160
5165
|
{
|
|
@@ -5177,7 +5182,7 @@ var TRANSITIONS = [
|
|
|
5177
5182
|
label: "Vortex Swirl",
|
|
5178
5183
|
category: "morph",
|
|
5179
5184
|
description: "Subject swirls into vortex, unwinds as new",
|
|
5180
|
-
promptHint: "the first subject
|
|
5185
|
+
promptHint: "only the first subject twists, winding around its own centre like wrung cloth into a tight narrow column at the same place in the frame, turning faster as it narrows, while the surroundings stay upright and still. the camera is locked on a tripod head planted in one spot, holding the frame level from start to finish. the column then unwinds in the same direction and opens into the shape of the second subject, while the second shot appears around it. the shot ends on the second subject, solid and fully resolved, with nothing left turning. the twist stays inside the outline of the subject, and the edges of the frame stay square and still"
|
|
5181
5186
|
},
|
|
5182
5187
|
{
|
|
5183
5188
|
id: "dream-ripple",
|
|
@@ -5198,7 +5203,7 @@ var TRANSITIONS = [
|
|
|
5198
5203
|
label: "Polygon Shatter",
|
|
5199
5204
|
category: "morph",
|
|
5200
5205
|
description: "Subject fragments into low-poly chunks, reassembles",
|
|
5201
|
-
promptHint: "the first subject fractures into low-polygon
|
|
5206
|
+
promptHint: "the first subject fractures into large opaque flat-shaded chunks, like the facets of a low-polygon model, and the chunks burst outward in slow motion. The camera stays where it is and the framing does not change. The chunks turn around mid-flight and fly back along clean straight paths, locking together at the same place in the frame into the shape of the second subject, while the second shot appears behind them. The shot ends on the second subject, solid and fully resolved, with no loose chunks left. The chunks stay opaque and matte throughout, like painted blocks"
|
|
5202
5207
|
},
|
|
5203
5208
|
{
|
|
5204
5209
|
id: "melt-down",
|