@nodaro/prompts 1.25.1 → 1.26.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 +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -4
- 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 +58 -0
- package/src/person.ts +1 -0
- package/src/setting.ts +2 -0
- package/src/styling.ts +2 -0
- package/src/transitions.ts +4 -4
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",
|
|
@@ -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
|
{
|
|
@@ -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",
|