studio-lumiere-cli 0.1.3 → 0.1.5

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.
Files changed (59) hide show
  1. package/dist/config/constants.d.ts +1 -63
  2. package/dist/config/constants.js +3 -1004
  3. package/dist/config/constants.js.map +1 -1
  4. package/dist/pipelines/generateImages.js +5 -3
  5. package/dist/pipelines/generateImages.js.map +1 -1
  6. package/dist/storage/files.js +4 -1
  7. package/dist/storage/files.js.map +1 -1
  8. package/dist/studio/constants.d.ts +64 -0
  9. package/dist/studio/constants.js +1018 -0
  10. package/dist/studio/constants.js.map +1 -0
  11. package/dist/studio/promptBuilder.d.ts +4 -0
  12. package/{src/prompt/buildPrompt.ts → dist/studio/promptBuilder.js} +236 -291
  13. package/dist/studio/promptBuilder.js.map +1 -0
  14. package/dist/studio/types.d.ts +155 -0
  15. package/dist/studio/types.js +2 -0
  16. package/dist/studio/types.js.map +1 -0
  17. package/dist/types.d.ts +2 -49
  18. package/package.json +9 -3
  19. package/scripts/sync-studio.mjs +16 -0
  20. package/.agents/skills/generate-images/SKILL.md +0 -121
  21. package/.env.example +0 -2
  22. package/AGENTS.md +0 -66
  23. package/examples/generate.d.ts +0 -1
  24. package/examples/generate.js +0 -28
  25. package/examples/generate.js.map +0 -1
  26. package/examples/generate.ts +0 -30
  27. package/examples/muse.d.ts +0 -1
  28. package/examples/muse.js +0 -18
  29. package/examples/muse.js.map +0 -1
  30. package/examples/muse.ts +0 -20
  31. package/examples/video.d.ts +0 -1
  32. package/examples/video.js +0 -18
  33. package/examples/video.js.map +0 -1
  34. package/examples/video.ts +0 -20
  35. package/logo-round.png +0 -0
  36. package/logo.jpeg +0 -0
  37. package/skills/studio-lumiere-cli/SKILL.md +0 -212
  38. package/skills/studio-lumiere-cli/agents/openai.yaml +0 -4
  39. package/src/cli.ts +0 -259
  40. package/src/clients/geminiClient.ts +0 -168
  41. package/src/config/constants.ts +0 -1105
  42. package/src/config/options.ts +0 -15
  43. package/src/config/templates.ts +0 -4
  44. package/src/config/tiredGirl.ts +0 -11
  45. package/src/image/annotate.ts +0 -139
  46. package/src/image/grid.ts +0 -58
  47. package/src/index.ts +0 -27
  48. package/src/pipelines/createMuse.ts +0 -76
  49. package/src/pipelines/generateImages.ts +0 -203
  50. package/src/pipelines/generateTiredGirl.ts +0 -86
  51. package/src/pipelines/generateVideo.ts +0 -36
  52. package/src/pipelines/refineImage.ts +0 -36
  53. package/src/pipelines/resolve.ts +0 -88
  54. package/src/pipelines/upscaleImage.ts +0 -30
  55. package/src/prompt/tiredGirlPrompt.ts +0 -35
  56. package/src/storage/files.ts +0 -44
  57. package/src/storage/museStore.ts +0 -31
  58. package/src/types.ts +0 -198
  59. package/tsconfig.json +0 -15
@@ -1,43 +1,22 @@
1
- import { Template, Option } from "../types.js";
2
- import { OccasionTheme, ETHNICITY_REGIONS, getRandomLuxuryInterior } from "../config/constants.js";
3
- export const buildLLMPrompt = (
4
- template: Template,
5
- detail: Option | undefined,
6
- secondaryDetail: Option | undefined,
7
- tertiaryDetail: Option | undefined,
8
- ethnicity: Option | undefined,
9
- skinTone: Option | undefined,
10
- hairColor: Option | undefined,
11
- background: Option | undefined,
12
- backgroundType: Option | undefined,
13
- vibe: Option | undefined,
14
- imageCount: number,
15
- occasion: OccasionTheme | undefined,
16
- isVariation: boolean = false,
17
- styleHint?: string
18
- ) => {
19
- const needsBothHands = template.id === 'hand_model' && imageCount >= 3;
20
- const quantityConstraint = imageCount > 1
21
- ? `The model is wearing ALL the provided pieces together. Do NOT add any other jewelry.${needsBothHands ? ' IMPORTANT: Show BOTH hands with the pieces distributed naturally and elegantly across both hands — do NOT cram all pieces onto a single hand.' : ''}`
22
- : 'The model is wearing ONLY the single piece of jewelry shown in the reference. Do NOT add matching earrings, necklaces, or other rings.';
23
-
24
- // Dynamic Base Concept
25
- let ethnicityLabel = (ethnicity && ethnicity.id !== 'none') ? ethnicity.name : "professional female";
26
-
27
- // Diversity Injection: Pick a specific region if available
28
- if (ethnicity && ethnicity.id && ETHNICITY_REGIONS[ethnicity.id]) {
29
- const regions = ETHNICITY_REGIONS[ethnicity.id];
30
- const randomRegion = regions[Math.floor(Math.random() * regions.length)];
31
- ethnicityLabel = `${randomRegion} (${ethnicity.name})`;
32
- }
33
-
34
- let basePrompt = template.basePrompt;
35
- basePrompt = basePrompt.replace(/\[ETHNICITY\]/g, ethnicityLabel);
36
-
37
- const hairColorLabel = (hairColor && hairColor.id !== 'none') ? hairColor.name.toLowerCase() : "natural colored";
38
- basePrompt = basePrompt.replace(/\[HAIR_COLOR\]/g, hairColorLabel);
39
-
40
- let instruction = `Write a highly detailed, structured photorealistic prompt for the specific jewelry shown in the attached images.
1
+ import { ETHNICITY_REGIONS, getRandomLuxuryInterior } from './constants.js';
2
+ export const buildLLMPrompt = (template, detail, secondaryDetail, tertiaryDetail, quaternaryDetail, ethnicity, skinTone, hairColor, background, backgroundType, vibe, imageCount, occasion, isVariation = false, styleHint) => {
3
+ const needsBothHands = template.id === 'hand_model' && imageCount >= 3;
4
+ const quantityConstraint = imageCount > 1
5
+ ? `The model is wearing ALL the provided pieces together. Do NOT add any other jewelry.${needsBothHands ? ' IMPORTANT: Show BOTH hands with the pieces distributed naturally and elegantly across both hands — do NOT cram all pieces onto a single hand.' : ''}`
6
+ : 'The model is wearing ONLY the single piece of jewelry shown in the reference. Do NOT add matching earrings, necklaces, or other rings.';
7
+ // Dynamic Base Concept
8
+ let ethnicityLabel = (ethnicity && ethnicity.id !== 'none') ? ethnicity.name : "professional female";
9
+ // Diversity Injection: Pick a specific region if available
10
+ if (ethnicity && ethnicity.id && ETHNICITY_REGIONS[ethnicity.id]) {
11
+ const regions = ETHNICITY_REGIONS[ethnicity.id];
12
+ const randomRegion = regions[Math.floor(Math.random() * regions.length)];
13
+ ethnicityLabel = `${randomRegion} (${ethnicity.name})`;
14
+ }
15
+ let basePrompt = template.basePrompt;
16
+ basePrompt = basePrompt.replace(/\[ETHNICITY\]/g, ethnicityLabel);
17
+ const hairColorLabel = (hairColor && hairColor.id !== 'none') ? hairColor.name.toLowerCase() : "natural colored";
18
+ basePrompt = basePrompt.replace(/\[HAIR_COLOR\]/g, hairColorLabel);
19
+ let instruction = `Write a highly detailed, structured photorealistic prompt for the specific jewelry shown in the attached images.
41
20
 
42
21
  ══════════════════════════════════
43
22
  📸 PHOTOGRAPHY SPECIFICATION
@@ -53,11 +32,10 @@ ${quantityConstraint}
53
32
  CRITICAL: Describe the jewelry EXACTLY as seen in the reference images. Preserve all details: metal type, stone cuts, chain style, settings, etc.
54
33
  Do NOT invent additional jewelry pieces or embellishments.
55
34
  Do NOT add sparkles, glitter, or magical glow effects.
56
- `;
57
-
58
- // OCCASION CONTEXT - Give this prominence if selected
59
- if (occasion?.promptDetails) {
60
- instruction += `
35
+ `;
36
+ // OCCASION CONTEXT - Give this prominence if selected
37
+ if (occasion?.promptDetails) {
38
+ instruction += `
61
39
  ══════════════════════════════════
62
40
  🎭 OCCASION CONTEXT: ${occasion.name.toUpperCase()}
63
41
  ══════════════════════════════════
@@ -77,119 +55,87 @@ ${occasion.promptDetails.culturalElements}
77
55
 
78
56
  💄 MODEL STYLING & AESTHETIC:
79
57
  ${occasion.promptDetails.styling}
80
- `;
81
- }
82
-
83
- // MODEL CUSTOMIZATIONS
84
- let modelDetails = [];
85
-
86
- if (ethnicity && ethnicity.id !== 'none') {
87
- modelDetails.push(`Model Ethnicity: ${ethnicityLabel}`);
88
- }
89
-
90
- if (detail) {
91
- // Replace [HAIR_COLOR] in the detail value (e.g. Hairstyle Context)
92
- const detailValue = detail.value.replace(/\[HAIR_COLOR\]/g, hairColorLabel);
93
- modelDetails.push(`${template.customizationLabel}: ${detailValue}`);
94
- } else if (template.customizationLabel?.toLowerCase().includes('makeup')) {
95
- modelDetails.push(`${template.customizationLabel}: completely bare faced, no makeup, fresh natural skin`);
96
- } else if (template.customizationLabel?.toLowerCase().includes('nail')) {
97
- modelDetails.push(`${template.customizationLabel}: natural unpainted nails with a clear healthy coat`);
98
- }
99
-
100
- if (secondaryDetail) {
101
- modelDetails.push(`${template.secondaryCustomizationLabel}: ${secondaryDetail.value}`);
102
- } else if (template.secondaryCustomizationLabel?.toLowerCase().includes('makeup')) {
103
- modelDetails.push(`${template.secondaryCustomizationLabel}: completely bare faced, no makeup, fresh natural skin`);
104
- } else if (template.secondaryCustomizationLabel?.toLowerCase().includes('nail')) {
105
- modelDetails.push(`${template.secondaryCustomizationLabel}: natural unpainted nails with a clear healthy coat`);
106
- }
107
-
108
- if (tertiaryDetail) {
109
- modelDetails.push(`${template.tertiaryCustomizationLabel}: ${tertiaryDetail.value}`);
110
- } else if (template.tertiaryCustomizationLabel?.toLowerCase().includes('makeup')) {
111
- modelDetails.push(`${template.tertiaryCustomizationLabel}: completely bare faced, no makeup, fresh natural skin`);
112
- } else if (template.tertiaryCustomizationLabel?.toLowerCase().includes('nail')) {
113
- modelDetails.push(`${template.tertiaryCustomizationLabel}: natural unpainted nails with a clear healthy coat`);
114
- }
115
-
116
- if (skinTone && skinTone.id !== 'none' && !template.id.includes('flatlay')) {
117
-
118
-
119
-
120
- modelDetails.push(`Model Skin Tone: ${skinTone.value}`);
121
-
122
-
123
-
124
- }
125
-
126
-
127
-
128
- if (hairColor && hairColor.id !== 'none' && !['hand_model', 'flatlay_creative', 'floating_minimal'].includes(template.id)) {
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- modelDetails.push(`Model Hair Color: ${hairColor.value}`);
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- }
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
- if (modelDetails.length > 0) {
153
- instruction += `
58
+ `;
59
+ }
60
+ // MODEL CUSTOMIZATIONS
61
+ let modelDetails = [];
62
+ if (ethnicity && ethnicity.id !== 'none') {
63
+ modelDetails.push(`Model Ethnicity: ${ethnicityLabel}`);
64
+ }
65
+ if (detail) {
66
+ // Replace [HAIR_COLOR] in the detail value (e.g. Hairstyle Context)
67
+ const detailValue = detail.value.replace(/\[HAIR_COLOR\]/g, hairColorLabel);
68
+ modelDetails.push(`${template.customizationLabel}: ${detailValue}`);
69
+ }
70
+ else if (template.customizationLabel?.toLowerCase().includes('makeup')) {
71
+ modelDetails.push(`${template.customizationLabel}: completely bare faced, no makeup, fresh natural skin`);
72
+ }
73
+ else if (template.customizationLabel?.toLowerCase().includes('nail')) {
74
+ modelDetails.push(`${template.customizationLabel}: natural unpainted nails with a clear healthy coat`);
75
+ }
76
+ if (secondaryDetail) {
77
+ modelDetails.push(`${template.secondaryCustomizationLabel}: ${secondaryDetail.value}`);
78
+ }
79
+ else if (template.secondaryCustomizationLabel?.toLowerCase().includes('makeup')) {
80
+ modelDetails.push(`${template.secondaryCustomizationLabel}: completely bare faced, no makeup, fresh natural skin`);
81
+ }
82
+ else if (template.secondaryCustomizationLabel?.toLowerCase().includes('nail')) {
83
+ modelDetails.push(`${template.secondaryCustomizationLabel}: natural unpainted nails with a clear healthy coat`);
84
+ }
85
+ if (tertiaryDetail) {
86
+ modelDetails.push(`${template.tertiaryCustomizationLabel}: ${tertiaryDetail.value}`);
87
+ }
88
+ else if (template.tertiaryCustomizationLabel?.toLowerCase().includes('makeup')) {
89
+ modelDetails.push(`${template.tertiaryCustomizationLabel}: completely bare faced, no makeup, fresh natural skin`);
90
+ }
91
+ else if (template.tertiaryCustomizationLabel?.toLowerCase().includes('nail')) {
92
+ modelDetails.push(`${template.tertiaryCustomizationLabel}: natural unpainted nails with a clear healthy coat`);
93
+ }
94
+ if (quaternaryDetail) {
95
+ modelDetails.push(`${template.quaternaryCustomizationLabel}: ${quaternaryDetail.value}`);
96
+ }
97
+ if (skinTone && skinTone.id !== 'none' && !template.id.includes('flatlay')) {
98
+ modelDetails.push(`Model Skin Tone: ${skinTone.value}`);
99
+ }
100
+ if (hairColor && hairColor.id !== 'none' && !['hand_model', 'flatlay_creative', 'floating_minimal'].includes(template.id)) {
101
+ modelDetails.push(`Model Hair Color: ${hairColor.value}`);
102
+ }
103
+ if (modelDetails.length > 0) {
104
+ instruction += `
154
105
  ══════════════════════════════════
155
106
  👤 MODEL SPECIFICATIONS
156
107
  ══════════════════════════════════
157
108
  ${modelDetails.join('\n')}
158
109
  The model should look like a natural, real human.
159
- `;
160
- }
161
-
162
- // SETTING & BACKGROUND (if not overridden by occasion)
163
- if (!occasion && (background || backgroundType || vibe)) {
164
- instruction += `
110
+ `;
111
+ }
112
+ // SETTING & BACKGROUND (if not overridden by occasion)
113
+ if (!occasion && (background || backgroundType || vibe)) {
114
+ instruction += `
165
115
  ══════════════════════════════════
166
116
  🎬 SETTING & ENVIRONMENT
167
117
  ══════════════════════════════════
168
- `;
169
-
170
- if (backgroundType) {
171
- const bgValue = backgroundType.id === 'interior' ? getRandomLuxuryInterior() : backgroundType.value;
172
- instruction += `Setting Type: ${bgValue}\n`;
173
- }
174
-
175
- if (background) {
176
- if (template.id === 'flatlay_creative') {
177
- instruction += `Secondary accent color/texture element to complement the main surface: ${background.value}\n`;
178
- } else {
179
- instruction += `Color Palette & Texture: ${background.value}\n`;
180
- }
181
- }
182
-
183
- if (vibe) {
184
- instruction += `Photography Style & Mood: ${vibe.value}\n`;
185
- }
186
-
187
- instruction += `\nBackground Treatment: HEAVILY BLURRED (deep cinematic bokeh) to keep focus strictly on the jewelry.
188
- `;
189
- }
190
-
191
- // TECHNICAL REQUIREMENTS
192
- instruction += `
118
+ `;
119
+ if (backgroundType) {
120
+ const bgValue = backgroundType.id === 'interior' ? getRandomLuxuryInterior() : backgroundType.value;
121
+ instruction += `Setting Type: ${bgValue}\n`;
122
+ }
123
+ if (background) {
124
+ if (template.id === 'flatlay_creative') {
125
+ instruction += `Secondary accent color/texture element to complement the main surface: ${background.value}\n`;
126
+ }
127
+ else {
128
+ instruction += `Color Palette & Texture: ${background.value}\n`;
129
+ }
130
+ }
131
+ if (vibe) {
132
+ instruction += `Photography Style & Mood: ${vibe.value}\n`;
133
+ }
134
+ instruction += `\nBackground Treatment: HEAVILY BLURRED (deep cinematic bokeh) to keep focus strictly on the jewelry.
135
+ `;
136
+ }
137
+ // TECHNICAL REQUIREMENTS
138
+ instruction += `
193
139
  ══════════════════════════════════
194
140
  ⚙️ TECHNICAL REQUIREMENTS
195
141
  ══════════════════════════════════
@@ -198,21 +144,19 @@ The model should look like a natural, real human.
198
144
  - Authentic photographic quality (film grain acceptable)
199
145
  - Professional color grading
200
146
  - 2K resolution output quality
201
- `;
202
-
203
- // STYLE & POSE DIRECTION (for diversity in batch generation)
204
- if (styleHint) {
205
- instruction += `
147
+ `;
148
+ // STYLE & POSE DIRECTION (for diversity in batch generation)
149
+ if (styleHint) {
150
+ instruction += `
206
151
  ══════════════════════════════════
207
152
  🎭 STYLE & POSE DIRECTION
208
153
  ══════════════════════════════════
209
154
  ${styleHint}
210
155
  IMPORTANT: Follow this specific direction to ensure variety across generated images.
211
- `;
212
- }
213
-
214
- if (isVariation) {
215
- instruction += `
156
+ `;
157
+ }
158
+ if (isVariation) {
159
+ instruction += `
216
160
  ══════════════════════════════════
217
161
  🔄 VARIATION INSTRUCTION
218
162
  ══════════════════════════════════
@@ -221,10 +165,9 @@ Keep the SAME jewelry pieces and overall aesthetic, but RADICALLY CHANGE THE POS
221
165
  - If previous was profile, try 3/4 view or different angle
222
166
  - Change hand placement, head tilt, or body position
223
167
  - Goal: Fresh perspective with different composition
224
- `;
225
- }
226
-
227
- instruction += `
168
+ `;
169
+ }
170
+ instruction += `
228
171
  ══════════════════════════════════
229
172
  🚫 STRICT PROHIBITIONS
230
173
  ══════════════════════════════════
@@ -243,138 +186,140 @@ OUTPUT: A structured JSON-like prompt with distinct sections. Do not use a singl
243
186
  }
244
187
 
245
188
  Ensure the content of each section is rich, dense, and highly descriptive.
246
- `;
189
+ `;
190
+ return instruction;
191
+ };
192
+ export const buildSystemInstruction = (template, ethnicity) => {
193
+ const isFloating = template.id === 'floating_minimal';
194
+ const isFlatlay = template.id === 'flatlay_creative';
195
+ const isHandModel = template.id === 'hand_model';
196
+ const isMuseumExhibit = template.id === 'museum_exhibit';
197
+ const isRomance = template.id === 'romance_proposal';
198
+ const isRomanticMood = template.id === 'romantic_mood';
199
+ let llmSystemInstruction = '';
200
+ if (isRomanticMood) {
201
+ llmSystemInstruction = `You are a world-renowned still-life photographer and prop stylist for luxury jewelry and lifestyle brands.
202
+ Your task is to write a prompt for an AI image generator to create a DREAMY, INTIMATE STILL-LIFE PHOTOGRAPH of jewelry in a romantic setting.
203
+
204
+ CRITICAL GUIDELINES:
205
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
206
+ - Do NOT invent new pieces.
207
+ - Do NOT modify the design of the existing jewelry.
208
+ 2. **PROP DISCIPLINE (CRITICAL)**: Use ONLY the specific prop/scene described in the user's customization choice. Do NOT add other props.
209
+ - If the user chose "candles", the scene is ONLY candles and the jewelry. Do NOT add roses, letters, or other objects.
210
+ - If the user chose "rose petals", the scene is ONLY rose petals and the jewelry. Do NOT add candles, letters, or other objects.
211
+ - Keep the scene focused and minimal — one prop theme, not a cluttered collection of romantic clichés.
212
+ 3. **Subject**: NO human model, NO body parts, NO mannequins, NO hands.
213
+ 4. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Use natural light and genuine material textures.
214
+ 5. **Realism**: Use product photography keywords (Hasselblad X2D 100C, 120mm Macro, f/2.8, shallow depth of field). Props must look real and tactile.
215
+ 6. **Vibe**: Romantic, intimate, dreamy, feminine.
247
216
 
248
- return instruction;
249
- };
250
-
251
- export const buildSystemInstruction = (
252
- template: Template,
253
- ethnicity: Option | undefined
254
- ): string => {
255
- const isFloating = template.id === 'floating_minimal';
256
- const isFlatlay = template.id === 'flatlay_creative';
257
- const isHandModel = template.id === 'hand_model';
258
- const isMuseumExhibit = template.id === 'museum_exhibit';
259
- const isRomance = template.id === 'romance_proposal';
260
- const isRomanticMood = template.id === 'romantic_mood';
261
- let llmSystemInstruction = '';
262
- if (isRomanticMood) {
263
- llmSystemInstruction = `You are a world-renowned still-life photographer and prop stylist for luxury jewelry and lifestyle brands.
264
- Your task is to write a prompt for an AI image generator to create a DREAMY, INTIMATE STILL-LIFE PHOTOGRAPH of jewelry in a romantic setting.
265
-
266
- CRITICAL GUIDELINES:
267
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
268
- - Do NOT invent new pieces.
269
- - Do NOT modify the design of the existing jewelry.
270
- 2. **PROP DISCIPLINE (CRITICAL)**: Use ONLY the specific prop/scene described in the user's customization choice. Do NOT add other props.
271
- - If the user chose "candles", the scene is ONLY candles and the jewelry. Do NOT add roses, letters, or other objects.
272
- - If the user chose "rose petals", the scene is ONLY rose petals and the jewelry. Do NOT add candles, letters, or other objects.
273
- - Keep the scene focused and minimal — one prop theme, not a cluttered collection of romantic clichés.
274
- 3. **Subject**: NO human model, NO body parts, NO mannequins, NO hands.
275
- 4. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Use natural light and genuine material textures.
276
- 5. **Realism**: Use product photography keywords (Hasselblad X2D 100C, 120mm Macro, f/2.8, shallow depth of field). Props must look real and tactile.
277
- 6. **Vibe**: Romantic, intimate, dreamy, feminine.
278
-
279
217
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
280
- } else if (isRomance) {
281
- const ethnicityPrompt = (ethnicity && ethnicity.id !== 'none') ? ethnicity.value : "Professional couple";
282
- llmSystemInstruction = `You are a world-renowned wedding and engagement photographer, known for capturing raw, authentic emotional moments.
283
- Your task is to write a prompt for an AI image generator to create an INTIMATE, EMOTIONALLY POWERFUL photograph based on reference jewelry images.
284
-
285
- CRITICAL GUIDELINES:
286
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
287
- - Do NOT invent new pieces (e.g. do not add a necklace if only a ring is provided).
288
- - Do NOT modify the design of the existing jewelry.
289
- 2. **Subject**: Focus on the emotional authenticity of the moment. The jewelry (especially rings) should be prominently visible but feel naturally integrated.
290
- - Hands, fingers, and body language are critical storytelling elements.
291
- - Ethnicity context: ${ethnicityPrompt}
292
- 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
293
- 4. **Realism**: Use photography keywords (Contax 645, Zeiss Planar 80mm f/2, Kodak Portra 400).
294
- 5. **Vibe**: Tender, authentic, emotionally powerful, intimate. Real love story energy.
295
-
218
+ }
219
+ else if (isRomance) {
220
+ const ethnicityPrompt = (ethnicity && ethnicity.id !== 'none') ? ethnicity.value : "Professional couple";
221
+ llmSystemInstruction = `You are a world-renowned wedding and engagement photographer, known for capturing raw, authentic emotional moments.
222
+ Your task is to write a prompt for an AI image generator to create an INTIMATE, EMOTIONALLY POWERFUL photograph based on reference jewelry images.
223
+
224
+ CRITICAL GUIDELINES:
225
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
226
+ - Do NOT invent new pieces (e.g. do not add a necklace if only a ring is provided).
227
+ - Do NOT modify the design of the existing jewelry.
228
+ 2. **Subject**: Focus on the emotional authenticity of the moment. The jewelry (especially rings) should be prominently visible but feel naturally integrated.
229
+ - Hands, fingers, and body language are critical storytelling elements.
230
+ - Ethnicity context: ${ethnicityPrompt}
231
+ 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
232
+ 4. **Realism**: Use photography keywords (Contax 645, Zeiss Planar 80mm f/2, Kodak Portra 400).
233
+ 5. **Vibe**: Tender, authentic, emotionally powerful, intimate. Real love story energy.
234
+
296
235
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
297
- } else if (isMuseumExhibit) {
298
- llmSystemInstruction = `You are a world-renowned museum photographer and exhibition designer.
299
- Your task is to write a prompt for an AI image generator to create a MUSEUM-QUALITY photograph of jewelry displayed as a priceless exhibit.
300
-
301
- CRITICAL GUIDELINES:
302
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
303
- - Do NOT invent new pieces.
304
- - Do NOT modify the design of the existing jewelry.
305
- 2. **Subject**: The jewelry should be displayed as a priceless artifact worthy of the world's greatest museums.
306
- - NO human model, NO body parts, NO mannequins.
307
- 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Professional museum lighting only.
308
- 4. **Realism**: Use professional museum photography equipment and lighting terminology.
309
- 5. **Vibe**: Reverent, prestigious, archival quality, awe-inspiring.
310
-
236
+ }
237
+ else if (isMuseumExhibit) {
238
+ llmSystemInstruction = `You are a world-renowned museum photographer and exhibition designer.
239
+ Your task is to write a prompt for an AI image generator to create a MUSEUM-QUALITY photograph of jewelry displayed as a priceless exhibit.
240
+
241
+ CRITICAL GUIDELINES:
242
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
243
+ - Do NOT invent new pieces.
244
+ - Do NOT modify the design of the existing jewelry.
245
+ 2. **Subject**: The jewelry should be displayed as a priceless artifact worthy of the world's greatest museums.
246
+ - NO human model, NO body parts, NO mannequins.
247
+ 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Professional museum lighting only.
248
+ 4. **Realism**: Use professional museum photography equipment and lighting terminology.
249
+ 5. **Vibe**: Reverent, prestigious, archival quality, awe-inspiring.
250
+
311
251
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
312
- } else if (isFloating) {
313
- llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
314
- Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC product photograph based on reference images.
315
-
316
- CRITICAL GUIDELINES:
317
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
318
- - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
319
- - Do NOT modify the design of the existing jewelry.
320
- 2. **Subject**: The jewelry should appear to be SUSPENDED in mid-air, floating, with NO human model, NO body parts, and NO mannequins. Focus on dramatic lighting, shadows, and a clean, minimalist composition.
321
- 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
322
- 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
323
- 5. **Vibe**: Old money, elegant, classy, expensive, minimalist.
324
-
252
+ }
253
+ else if (isFloating) {
254
+ llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
255
+ Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC product photograph based on reference images.
256
+
257
+ CRITICAL GUIDELINES:
258
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
259
+ - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
260
+ - Do NOT modify the design of the existing jewelry.
261
+ 2. **Subject**: The jewelry should appear to be SUSPENDED in mid-air, floating, with NO human model, NO body parts, and NO mannequins. Focus on dramatic lighting, shadows, and a clean, minimalist composition.
262
+ 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
263
+ 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
264
+ 5. **Vibe**: Old money, elegant, classy, expensive, minimalist.
265
+
325
266
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
326
- } else if (isFlatlay) {
327
- llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
328
- Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC product photograph based on reference images.
329
-
330
- CRITICAL GUIDELINES:
331
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
332
- - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
333
- - Do NOT modify the design of the existing jewelry.
334
- 2. **Subject**: The jewelry should be displayed as a creative still-life composition, with NO human model, NO body parts, and NO mannequins.
335
- - The jewelry may be laid flat on a surface, OR elevated on geometric pedestals, cubes, stone risers, plinths, or sculptural props.
336
- - Lighting should always look natural and photographic soft studio light, window light, or gentle directional light. Shadows should feel organic, not artificial.
337
- 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow", neon lighting, overly stylized color gels. Natural light reflection only.
338
- 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
339
- 5. **Vibe**: Old money, elegant, classy, expensive, artistic.
340
-
267
+ }
268
+ else if (isFlatlay) {
269
+ llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
270
+ Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC product photograph based on reference images.
271
+
272
+ CRITICAL GUIDELINES:
273
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
274
+ - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
275
+ - Do NOT modify the design of the existing jewelry.
276
+ 2. **Subject**: The jewelry should be displayed as a creative still-life composition, with NO human model, NO body parts, and NO mannequins.
277
+ - The jewelry may be laid flat on a surface, OR elevated on geometric pedestals, cubes, stone risers, plinths, or sculptural props.
278
+ - Lighting should always look natural and photographic soft studio light, window light, or gentle directional light. Shadows should feel organic, not artificial.
279
+ 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow", neon lighting, overly stylized color gels. Natural light reflection only.
280
+ 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
281
+ 5. **Vibe**: Old money, elegant, classy, expensive, artistic.
282
+
341
283
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
342
- } else if (isHandModel) {
343
- llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
344
- Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC hand model photograph based on reference images.
345
-
346
- CRITICAL GUIDELINES:
347
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
348
- - Do NOT invent new pieces (e.g. do not add earrings if only a ring is provided).
349
- - Do NOT modify the design of the existing jewelry.
350
- 2. **FRAMING (CRITICAL)**: The image focuses on the hand, wrist, and forearm area.
351
- - NO face, head, or shoulders visible.
352
- - The forearm may be bare OR elegantly sleeved (luxurious fabrics like silk, cashmere, lace, velvet).
353
- - When clothing is present, it should be high-end and sophisticated.
354
- 3. **Subject**: A model's hand(s) (age 20-30) with elegant, relaxed pose wearing the jewelry. Focus on authentic skin texture and natural nail appearance.
355
- - If 3 or more jewelry pieces are provided, show BOTH hands to distribute the pieces naturally and elegantly across both hands. Avoid cramming all pieces onto a single hand.
356
- - If 1-2 pieces, a single hand is fine.
357
- 4. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
358
- 5. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
359
- 6. **Vibe**: Old money, elegant, classy, expensive, feminine.
360
-
284
+ }
285
+ else if (isHandModel) {
286
+ llmSystemInstruction = `You are a world-renowned product photographer and creative director for luxury jewelry campaigns.
287
+ Your task is to write a prompt for an AI image generator to create a HYPER-REALISTIC hand model photograph based on reference images.
288
+
289
+ CRITICAL GUIDELINES:
290
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
291
+ - Do NOT invent new pieces (e.g. do not add earrings if only a ring is provided).
292
+ - Do NOT modify the design of the existing jewelry.
293
+ 2. **FRAMING (CRITICAL)**: The image focuses on the hand, wrist, and forearm area.
294
+ - NO face, head, or shoulders visible.
295
+ - The forearm may be bare OR elegantly sleeved (luxurious fabrics like silk, cashmere, lace, velvet).
296
+ - When clothing is present, it should be high-end and sophisticated.
297
+ 3. **Subject**: A model's hand(s) (age 20-30) with elegant, relaxed pose wearing the jewelry. Focus on authentic skin texture and natural nail appearance.
298
+ - If 3 or more jewelry pieces are provided, show BOTH hands to distribute the pieces naturally and elegantly across both hands. Avoid cramming all pieces onto a single hand.
299
+ - If 1-2 pieces, a single hand is fine.
300
+ 4. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
301
+ 5. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
302
+ 6. **Vibe**: Old money, elegant, classy, expensive, feminine.
303
+
361
304
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
362
- } else {
363
- const ethnicityPrompt = (ethnicity && ethnicity.id !== 'none') ? ethnicity.value : "Professional female model";
364
- llmSystemInstruction = `You are a world-renowned fashion photographer and creative director for Vogue Arabia and High Jewelry campaigns.
365
- Your task is to write a prompt for an AI image generator to create an AUTHENTIC, CINEMATIC photograph based on reference images. Skin texture should look natural and smooth.
366
-
367
- CRITICAL GUIDELINES:
368
- 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
369
- - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
370
- - Do NOT modify the design of the existing jewelry.
371
- - If one ring is provided, the model wears ONE ring.
372
- 2. **Subject**: ALWAYS a ${ethnicityPrompt} (age 20-30).
373
- 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
374
- 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
375
- 5. **Vibe**: Old money, elegant, classy, expensive, feminine.
376
-
305
+ }
306
+ else {
307
+ const ethnicityPrompt = (ethnicity && ethnicity.id !== 'none') ? ethnicity.value : "Professional female model";
308
+ llmSystemInstruction = `You are a world-renowned fashion photographer and creative director for Vogue Arabia and High Jewelry campaigns.
309
+ Your task is to write a prompt for an AI image generator to create an AUTHENTIC, CINEMATIC photograph based on reference images. Skin texture should look natural and smooth.
310
+
311
+ CRITICAL GUIDELINES:
312
+ 1. **JEWELRY FIDELITY (TOP PRIORITY)**: The final image must contain ONLY the jewelry pieces visible in the reference images.
313
+ - Do NOT invent new pieces (e.g. do not add earrings if only a necklace is provided).
314
+ - Do NOT modify the design of the existing jewelry.
315
+ - If one ring is provided, the model wears ONE ring.
316
+ 2. **Subject**: ALWAYS a ${ethnicityPrompt} (age 20-30).
317
+ 3. **NO FAKE EFFECTS**: Strictly FORBID "sparkles", "glitter particles", "magical glow". Natural light reflection only.
318
+ 4. **Realism**: Use photography keywords (Hasselblad X2D 100C, Macro Lens 120mm, f/2.8).
319
+ 5. **Vibe**: Old money, elegant, classy, expensive, feminine.
320
+
377
321
  Output: A single, dense, highly descriptive English prompt. No introductions.`;
378
- }
379
- return llmSystemInstruction;
380
- };
322
+ }
323
+ return llmSystemInstruction;
324
+ };
325
+ //# sourceMappingURL=promptBuilder.js.map