studio-lumiere-cli 0.1.6 → 0.1.8
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/README.md +31 -502
- package/dist/cli.js +56 -2
- package/dist/cli.js.map +1 -1
- package/dist/config/options.d.ts +1 -1
- package/dist/config/options.js +1 -1
- package/dist/config/options.js.map +1 -1
- package/dist/image/annotate.js +1 -1
- package/dist/image/annotate.js.map +1 -1
- package/dist/image/beforeAfter.d.ts +2 -0
- package/dist/image/beforeAfter.js +234 -0
- package/dist/image/beforeAfter.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/pipelines/generateImages.js +30 -27
- package/dist/pipelines/generateImages.js.map +1 -1
- package/dist/pipelines/resolve.d.ts +2 -1
- package/dist/pipelines/resolve.js +12 -2
- package/dist/pipelines/resolve.js.map +1 -1
- package/dist/studio/constants/backgrounds.d.ts +1 -0
- package/dist/studio/constants/backgrounds.js +2 -0
- package/dist/studio/constants/backgrounds.js.map +1 -0
- package/dist/studio/constants.d.ts +63 -15
- package/dist/studio/constants.js +512 -166
- package/dist/studio/constants.js.map +1 -1
- package/dist/studio/promptBuilder.d.ts +7 -3
- package/dist/studio/promptBuilder.js +401 -200
- package/dist/studio/promptBuilder.js.map +1 -1
- package/dist/studio/types.d.ts +47 -0
- package/dist/types.d.ts +17 -0
- package/package.json +30 -33
- package/scripts/sync-studio.mjs +16 -16
- package/dist/prompt/buildPrompt.d.ts +0 -4
- package/dist/prompt/buildPrompt.js +0 -322
- package/dist/prompt/buildPrompt.js.map +0 -1
|
@@ -3,11 +3,31 @@ export declare const DEFAULT_IMAGE_COUNT = 4;
|
|
|
3
3
|
export declare const UPSCALE_CREDIT_COST = 5;
|
|
4
4
|
export declare const REFINE_CREDIT_COST = 5;
|
|
5
5
|
export declare const GENERATE_CREDIT_COST = 5;
|
|
6
|
-
export declare const VIDEO_GENERATION_CREDIT_COST =
|
|
6
|
+
export declare const VIDEO_GENERATION_CREDIT_COST = 25;
|
|
7
|
+
export declare const VIDEO_DURATION_OPTIONS: readonly [{
|
|
8
|
+
readonly seconds: 7;
|
|
9
|
+
readonly label: "7 sec";
|
|
10
|
+
readonly credits: 35;
|
|
11
|
+
}];
|
|
12
|
+
export declare const getVideoCreditCost: (seconds?: number) => number;
|
|
13
|
+
export declare const MAX_USER_BACKGROUNDS = 12;
|
|
14
|
+
export declare const MAX_USER_PALETTE_COLORS = 12;
|
|
15
|
+
export declare const MAX_USER_GUIDELINE_ITEMS = 12;
|
|
16
|
+
export declare const MAX_GUIDELINE_TEXT_CHARS = 400;
|
|
7
17
|
export declare const VIDEO_GENERATION_ENABLED = true;
|
|
8
|
-
export declare const VIDEO_ENABLED_TEMPLATES: readonly ["hand_model", "neck_model", "ear_model", "flatlay_creative", "floating_minimal", "half_body_muse"];
|
|
18
|
+
export declare const VIDEO_ENABLED_TEMPLATES: readonly ["hand_model", "neck_model", "ear_model", "flatlay_creative", "floating_minimal", "solid_color_studio", "half_body_muse"];
|
|
9
19
|
export type VideoEnabledTemplate = typeof VIDEO_ENABLED_TEMPLATES[number];
|
|
10
20
|
export declare const isVideoEnabledTemplate: (templateId: string) => boolean;
|
|
21
|
+
export type VideoStyle = 'directors_cut' | 'zoom' | 'pan' | 'tilt';
|
|
22
|
+
export declare const VIDEO_PRESET_ENABLED_TEMPLATES: readonly ["flatlay_creative", "floating_minimal", "solid_color_studio"];
|
|
23
|
+
export type VideoPresetEnabledTemplate = typeof VIDEO_PRESET_ENABLED_TEMPLATES[number];
|
|
24
|
+
export declare const isVideoPresetEnabledTemplate: (templateId: string) => boolean;
|
|
25
|
+
export declare const VIDEO_STYLE_OPTIONS: {
|
|
26
|
+
id: VideoStyle;
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
}[];
|
|
30
|
+
export declare const VIDEO_STYLE_PROMPTS: Record<Exclude<VideoStyle, 'directors_cut'>, string>;
|
|
11
31
|
export declare const MUSE_ENABLED_TEMPLATES: readonly ["half_body_muse"];
|
|
12
32
|
export type MuseEnabledTemplate = typeof MUSE_ENABLED_TEMPLATES[number];
|
|
13
33
|
export declare const MUSE_GENERATION_CREDIT_COST = 5;
|
|
@@ -15,6 +35,8 @@ export declare const MUSE_BATCH_SIZE = 3;
|
|
|
15
35
|
export declare const MUSE_BATCH_CREDIT_COST: number;
|
|
16
36
|
export declare const REQUIRED_MUSE_VARIATIONS = 3;
|
|
17
37
|
export declare const MAX_MUSES_PER_USER = 3;
|
|
38
|
+
export declare const JEWELRY_MACRO_QUALITY_PROMPT = "Professional luxury jewelry macro photography. The jewelry is perfectly sharp and in primary focus. Diamonds are crystal clear with precise brilliant-cut faceting, razor-sharp facet junctions, perfect symmetry, and mirror-polished surfaces. High brilliance, fire and scintillation with realistic spectral dispersion. Ultra-detailed gemstone rendering with crisp reflections and pristine clarity. Background remains softly blurred with shallow depth of field.";
|
|
39
|
+
export declare const JEWELRY_MACRO_QUALITY_PROMPT_2 = "The jewelry is the dominant focal point occupying the center of the frame, perfectly sharp and highly detailed.";
|
|
18
40
|
export declare const isMuseEnabledTemplate: (templateId: string) => boolean;
|
|
19
41
|
export declare const TEMPLATES: Template[];
|
|
20
42
|
export declare const SKIN_TONES: Option[];
|
|
@@ -22,44 +44,70 @@ export declare const ETHNICITY_REGIONS: Record<string, string[]>;
|
|
|
22
44
|
export declare const ETHNICITIES: Option[];
|
|
23
45
|
export declare const HAIR_COLORS: Option[];
|
|
24
46
|
export declare const BACKGROUNDS: Option[];
|
|
47
|
+
export declare const SOLID_COLOR_PALETTE: Option[];
|
|
25
48
|
export declare const LUXURY_INTERIOR_POOL: string[];
|
|
49
|
+
export declare const LUXURY_INTERIOR_CAMPAIGN_POOL: string[];
|
|
50
|
+
export declare const CAMPAIGN_LUXURY_INTERIOR_STYLES: {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
}[];
|
|
54
|
+
export declare const LUXURY_INTERIOR_SURREAL_ARCH_POOL: string[];
|
|
55
|
+
export declare const LUXURY_INTERIOR_CINEMATIC_NARRATIVE_POOL: string[];
|
|
56
|
+
export declare const LUXURY_INTERIOR_ULTRA_MINIMAL_POOL: string[];
|
|
57
|
+
export declare const LUXURY_INTERIOR_FASHION_SHOW_POOL: string[];
|
|
58
|
+
export declare const LUXURY_INTERIOR_HYPER_LUXURY_MATERIALS_POOL: string[];
|
|
59
|
+
export declare const LUXURY_INTERIOR_LIGHT_SPECTACLE_POOL: string[];
|
|
60
|
+
export declare const LUXURY_INTERIOR_MATERIAL_EXTREMES_POOL: string[];
|
|
61
|
+
export declare const LUXURY_INTERIOR_ATMOSPHERE_POOL: string[];
|
|
62
|
+
export declare const LUXURY_INTERIOR_COLOR_SHOCK_POOL: string[];
|
|
63
|
+
export declare const getRandomCampaignLuxuryInteriorDescriptor: (allowAccent?: boolean) => string;
|
|
26
64
|
export declare const STUDIO_FLAT_POOL: string[];
|
|
27
65
|
export declare const OUTDOOR_POOL: string[];
|
|
28
66
|
export declare const MACRO_TEXTURE_POOL: string[];
|
|
29
67
|
export declare const BACKGROUND_TREATMENT_POOL: string[];
|
|
30
68
|
export declare const getRandomBackgroundTreatment: () => string;
|
|
31
69
|
export declare const getRandomBlazerValue: () => string;
|
|
32
|
-
export declare const getRandomBackgroundValue: (typeId: string, defaultValue: string) => string;
|
|
33
|
-
export declare const getRandomLuxuryInterior: () => string;
|
|
70
|
+
export declare const getRandomBackgroundValue: (typeId: string, defaultValue: string, isCampaignMode?: boolean, allowCampaignAccent?: boolean) => string;
|
|
71
|
+
export declare const getRandomLuxuryInterior: (isCampaignMode?: boolean) => string;
|
|
34
72
|
export declare const BACKGROUND_TYPES: Option[];
|
|
35
73
|
export declare const VIBES: Option[];
|
|
74
|
+
export declare const PHOTOGRAPHY_STYLES: Option[];
|
|
36
75
|
export interface OccasionTheme {
|
|
37
76
|
id: string;
|
|
38
77
|
name: string;
|
|
39
78
|
icon: string;
|
|
40
79
|
description: string;
|
|
41
|
-
autoConfig: {
|
|
42
|
-
vibe: string;
|
|
43
|
-
background: string;
|
|
44
|
-
backgroundType: string;
|
|
45
|
-
};
|
|
46
80
|
promptDetails?: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
colorPalette: string;
|
|
50
|
-
culturalElements: string;
|
|
51
|
-
styling: string;
|
|
81
|
+
culturalElements: string[];
|
|
82
|
+
decor?: string[];
|
|
52
83
|
};
|
|
53
84
|
}
|
|
85
|
+
export declare const MOROCCAN_WEDDING_CULTURAL_ELEMENTS_POOL: string[];
|
|
86
|
+
export declare const MOROCCAN_WEDDING_DECOR_POOL: string[];
|
|
87
|
+
export declare const RAMADAN_CULTURAL_ELEMENTS_POOL: string[];
|
|
88
|
+
export declare const RAMADAN_DECOR_POOL: string[];
|
|
89
|
+
export declare const MOTHERS_DAY_CULTURAL_ELEMENTS_POOL: string[];
|
|
90
|
+
export declare const MOTHERS_DAY_DECOR_POOL: string[];
|
|
91
|
+
export declare const NEW_YEAR_CULTURAL_ELEMENTS_POOL: string[];
|
|
92
|
+
export declare const NEW_YEAR_DECOR_POOL: string[];
|
|
54
93
|
export declare const OCCASIONS: OccasionTheme[];
|
|
94
|
+
export declare const OCCASIONS_ENABLED: OccasionTheme[];
|
|
55
95
|
export declare const GENERATION_STYLE_POOL: string[];
|
|
56
96
|
export declare const HAND_MODEL_STYLE_POOL: string[];
|
|
57
97
|
export declare const EAR_MODEL_STYLE_POOL: string[];
|
|
58
|
-
export declare const
|
|
98
|
+
export declare const FLATLAY_POSITIONING_POOL: string[];
|
|
99
|
+
export declare const SOLID_COLOR_STYLE_POOL: string[];
|
|
59
100
|
export declare const FLOATING_STYLE_POOL: string[];
|
|
60
101
|
export declare const ROMANCE_STYLE_POOL: string[];
|
|
61
102
|
export declare const MUSEUM_STYLE_POOL: string[];
|
|
62
103
|
export declare const ROMANTIC_MOOD_STYLE_POOL: string[];
|
|
104
|
+
export type CampaignStyle = {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
prompt: string;
|
|
108
|
+
};
|
|
109
|
+
export declare const CAMPAIGN_STYLE_POOL: CampaignStyle[];
|
|
110
|
+
export declare const getRandomCampaignStyle: () => CampaignStyle;
|
|
63
111
|
export declare const getStylePoolForTemplate: (templateId: string | null) => string[];
|
|
64
112
|
export declare const HAND_MODEL_VIDEO_PROMPTS: string[];
|
|
65
113
|
export declare const NECK_MODEL_VIDEO_PROMPTS: string[];
|