@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.cjs
CHANGED
|
@@ -1953,6 +1953,7 @@ var SETTINGS = [
|
|
|
1953
1953
|
{ 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" },
|
|
1954
1954
|
{ 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" },
|
|
1955
1955
|
{ 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" },
|
|
1956
|
+
{ 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" },
|
|
1956
1957
|
{ 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" },
|
|
1957
1958
|
{ 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" },
|
|
1958
1959
|
{ 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" },
|
|
@@ -1964,6 +1965,7 @@ var SETTINGS = [
|
|
|
1964
1965
|
{ 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" },
|
|
1965
1966
|
{ 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" },
|
|
1966
1967
|
{ 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" },
|
|
1968
|
+
{ 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" },
|
|
1967
1969
|
{ 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" },
|
|
1968
1970
|
{ 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" },
|
|
1969
1971
|
{ 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" },
|
|
@@ -2960,6 +2962,7 @@ var PEOPLE = [
|
|
|
2960
2962
|
{ id: "face-full-beard", label: "Full Beard", dimension: "facial-hair", description: "Thick full beard", promptHint: "a full beard" },
|
|
2961
2963
|
{ 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" },
|
|
2962
2964
|
// -------------------- Skin Texture --------------------
|
|
2965
|
+
{ 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" },
|
|
2963
2966
|
{ id: "texture-smooth", label: "Smooth", dimension: "skin-texture", description: "Flawless, silky smooth skin", promptHint: "with flawless, silky smooth skin", term: "flawless smooth skin" },
|
|
2964
2967
|
{ 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" },
|
|
2965
2968
|
{ id: "texture-goosebumps", label: "Goosebumps", dimension: "skin-texture", description: "Raised goosebumps on skin", promptHint: "with goosebumps raised on the skin" },
|
|
@@ -3749,6 +3752,7 @@ var STYLINGS = [
|
|
|
3749
3752
|
{ id: "makeup-editorial", label: "Editorial", dimension: "makeup", description: "Avant-garde fashion makeup", promptHint: "with avant-garde editorial makeup, artistic and unconventional", term: "editorial makeup" },
|
|
3750
3753
|
{ 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" },
|
|
3751
3754
|
{ 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" },
|
|
3755
|
+
{ 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" },
|
|
3752
3756
|
// -------------------- Eyewear --------------------
|
|
3753
3757
|
{ id: "eyewear-sunglasses", label: "Sunglasses", dimension: "eyewear", description: "Generic dark sunglasses", promptHint: "wearing sunglasses" },
|
|
3754
3758
|
{ id: "eyewear-aviators", label: "Aviators", dimension: "eyewear", description: "Classic aviator shades", promptHint: "wearing classic aviator sunglasses with a metal frame", term: "aviator sunglasses" },
|
|
@@ -3913,6 +3917,7 @@ var STYLINGS = [
|
|
|
3913
3917
|
{ 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 },
|
|
3914
3918
|
{ id: "outfit-lingerie", label: "Lingerie Set", dimension: "outfit", description: "Matching lingerie set", promptHint: "in a matching lingerie set", adultOnly: true },
|
|
3915
3919
|
{ 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" },
|
|
3920
|
+
{ 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" },
|
|
3916
3921
|
{ id: "outfit-bathrobe", label: "Bathrobe", dimension: "outfit", description: "Plush terrycloth robe", promptHint: "wrapped in a plush terrycloth bathrobe tied at the waist" },
|
|
3917
3922
|
{ id: "outfit-kimono", label: "Kimono", dimension: "outfit", description: "Traditional Japanese kimono", promptHint: "dressed in a traditional Japanese kimono with an obi sash" },
|
|
3918
3923
|
{ 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" },
|
|
@@ -5046,14 +5051,14 @@ var TRANSITIONS = [
|
|
|
5046
5051
|
label: "Dissolve to Mist",
|
|
5047
5052
|
category: "element",
|
|
5048
5053
|
description: "Subject turns to mist, drifts, reforms",
|
|
5049
|
-
promptHint: "the subject
|
|
5054
|
+
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"
|
|
5050
5055
|
},
|
|
5051
5056
|
{
|
|
5052
5057
|
id: "water-splash",
|
|
5053
5058
|
label: "Water Splash",
|
|
5054
5059
|
category: "element",
|
|
5055
5060
|
description: "Subject becomes water, splashes, reforms",
|
|
5056
|
-
promptHint: "the subject
|
|
5061
|
+
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"
|
|
5057
5062
|
},
|
|
5058
5063
|
{
|
|
5059
5064
|
id: "sand-scatter",
|
|
@@ -5103,21 +5108,21 @@ var TRANSITIONS = [
|
|
|
5103
5108
|
label: "Sand Storm",
|
|
5104
5109
|
category: "element",
|
|
5105
5110
|
description: "Sand storm engulfs the frame, scene changes inside",
|
|
5106
|
-
promptHint: "a
|
|
5111
|
+
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"
|
|
5107
5112
|
},
|
|
5108
5113
|
{
|
|
5109
5114
|
id: "paint-splash",
|
|
5110
5115
|
label: "Paint Splash",
|
|
5111
5116
|
category: "element",
|
|
5112
5117
|
description: "Vivid paint splash covers, retracts into new scene",
|
|
5113
|
-
promptHint: "
|
|
5118
|
+
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"
|
|
5114
5119
|
},
|
|
5115
5120
|
{
|
|
5116
5121
|
id: "aurora-sweep",
|
|
5117
5122
|
label: "Aurora Sweep",
|
|
5118
5123
|
category: "element",
|
|
5119
5124
|
description: "Aurora curtain sweeps across, scene changes behind",
|
|
5120
|
-
promptHint: "a luminous green and violet aurora
|
|
5125
|
+
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"
|
|
5121
5126
|
},
|
|
5122
5127
|
{
|
|
5123
5128
|
id: "sakura-petals",
|
|
@@ -5156,7 +5161,7 @@ var TRANSITIONS = [
|
|
|
5156
5161
|
label: "Pixelate & Reform",
|
|
5157
5162
|
category: "morph",
|
|
5158
5163
|
description: "Pixelates, scatters, reforms as new",
|
|
5159
|
-
promptHint: "the first subject
|
|
5164
|
+
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",
|
|
5160
5165
|
term: "pixelate and reform"
|
|
5161
5166
|
},
|
|
5162
5167
|
{
|
|
@@ -5179,7 +5184,7 @@ var TRANSITIONS = [
|
|
|
5179
5184
|
label: "Vortex Swirl",
|
|
5180
5185
|
category: "morph",
|
|
5181
5186
|
description: "Subject swirls into vortex, unwinds as new",
|
|
5182
|
-
promptHint: "the first subject
|
|
5187
|
+
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"
|
|
5183
5188
|
},
|
|
5184
5189
|
{
|
|
5185
5190
|
id: "dream-ripple",
|
|
@@ -5200,7 +5205,7 @@ var TRANSITIONS = [
|
|
|
5200
5205
|
label: "Polygon Shatter",
|
|
5201
5206
|
category: "morph",
|
|
5202
5207
|
description: "Subject fragments into low-poly chunks, reassembles",
|
|
5203
|
-
promptHint: "the first subject fractures into low-polygon
|
|
5208
|
+
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"
|
|
5204
5209
|
},
|
|
5205
5210
|
{
|
|
5206
5211
|
id: "melt-down",
|