@umituz/react-native-ai-generation-content 1.70.5 → 1.71.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.71.1",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ScenarioCategory Enum
|
|
3
|
+
* Standard scenario categories for AI generation apps
|
|
4
|
+
* Comprehensive list covering all common use cases
|
|
5
|
+
*/
|
|
6
|
+
export enum ScenarioCategory {
|
|
7
|
+
// Emotional & Connection
|
|
8
|
+
AFFECTION = "AFFECTION",
|
|
9
|
+
ROMANTIC_KISSES = "ROMANTIC_KISSES",
|
|
10
|
+
CONNECTION = "CONNECTION",
|
|
11
|
+
|
|
12
|
+
// Intimate & Sensual
|
|
13
|
+
SULTRY = "SULTRY",
|
|
14
|
+
INTIMATE = "INTIMATE",
|
|
15
|
+
|
|
16
|
+
// Lifestyle & Daily Life
|
|
17
|
+
URBAN_NIGHTS = "URBAN_NIGHTS",
|
|
18
|
+
HOME_LIFE = "HOME_LIFE",
|
|
19
|
+
DAILY_SPECIAL = "DAILY_SPECIAL",
|
|
20
|
+
LIFESTYLE = "LIFESTYLE",
|
|
21
|
+
WELLNESS = "WELLNESS",
|
|
22
|
+
COZY_PLUSH = "COZY_PLUSH",
|
|
23
|
+
|
|
24
|
+
// Time-Based
|
|
25
|
+
TIME_TRAVEL = "TIME_TRAVEL",
|
|
26
|
+
NOSTALGIA = "NOSTALGIA",
|
|
27
|
+
|
|
28
|
+
// Family & Relationships
|
|
29
|
+
FAMILY = "FAMILY",
|
|
30
|
+
WEDDING = "WEDDING",
|
|
31
|
+
CELEBRATIONS = "CELEBRATIONS",
|
|
32
|
+
|
|
33
|
+
// Entertainment & Leisure
|
|
34
|
+
CASINO = "CASINO",
|
|
35
|
+
MUSIC = "MUSIC",
|
|
36
|
+
FESTIVAL = "FESTIVAL",
|
|
37
|
+
GAMING = "GAMING",
|
|
38
|
+
|
|
39
|
+
// Arts & Culture
|
|
40
|
+
ARTISTIC = "ARTISTIC",
|
|
41
|
+
ART_STUDIO = "ART_STUDIO",
|
|
42
|
+
CINEMATIC = "CINEMATIC",
|
|
43
|
+
|
|
44
|
+
// Cultural & Historical
|
|
45
|
+
HISTORICAL = "HISTORICAL",
|
|
46
|
+
FOLKLORE = "FOLKLORE",
|
|
47
|
+
MYTHOLOGY = "MYTHOLOGY",
|
|
48
|
+
|
|
49
|
+
// Adventure & Fantasy
|
|
50
|
+
FANTASY = "FANTASY",
|
|
51
|
+
EXTREME = "EXTREME",
|
|
52
|
+
MYSTICAL = "MYSTICAL",
|
|
53
|
+
SCI_FI = "SCI_FI",
|
|
54
|
+
SUPERHEROES = "SUPERHEROES",
|
|
55
|
+
|
|
56
|
+
// Special Moments
|
|
57
|
+
STOLEN_MOMENTS = "STOLEN_MOMENTS",
|
|
58
|
+
|
|
59
|
+
// Professional & Career
|
|
60
|
+
PROFESSIONAL = "PROFESSIONAL",
|
|
61
|
+
CAREER = "CAREER",
|
|
62
|
+
EDUCATION = "EDUCATION",
|
|
63
|
+
|
|
64
|
+
// Luxury & Premium
|
|
65
|
+
LUXURY = "LUXURY",
|
|
66
|
+
TRAVEL = "TRAVEL",
|
|
67
|
+
|
|
68
|
+
// Fashion & Style
|
|
69
|
+
FASHION = "FASHION",
|
|
70
|
+
|
|
71
|
+
// Food & Dining
|
|
72
|
+
CULINARY = "CULINARY",
|
|
73
|
+
|
|
74
|
+
// Seasonal
|
|
75
|
+
SEASONAL = "SEASONAL",
|
|
76
|
+
|
|
77
|
+
// Bucket List
|
|
78
|
+
BUCKET_LIST = "BUCKET_LIST",
|
|
79
|
+
|
|
80
|
+
// Custom
|
|
81
|
+
CUSTOM = "CUSTOM",
|
|
82
|
+
}
|
|
@@ -13,6 +13,9 @@ export type {
|
|
|
13
13
|
Scenario,
|
|
14
14
|
} from "./domain/Scenario";
|
|
15
15
|
|
|
16
|
+
// Enums
|
|
17
|
+
export { ScenarioCategory } from "./domain/ScenarioCategory";
|
|
18
|
+
|
|
16
19
|
// Scenario Helpers - For app-level configuration
|
|
17
20
|
export {
|
|
18
21
|
createScenariosForApp,
|
|
@@ -37,6 +40,10 @@ export type { ConfiguredScenario } from "./infrastructure/scenario-registry";
|
|
|
37
40
|
export {
|
|
38
41
|
createStoryTemplate,
|
|
39
42
|
createCreativePrompt,
|
|
43
|
+
createPhotorealisticPrompt,
|
|
44
|
+
PHOTOREALISTIC_BASE,
|
|
45
|
+
PHOTOREALISTIC_RENDERING,
|
|
46
|
+
CREATIVE_BASE,
|
|
40
47
|
} from "./infrastructure/utils/scenario-utils";
|
|
41
48
|
|
|
42
49
|
// Wizard Configurations - App-agnostic, classifies by INPUT REQUIREMENTS
|
|
@@ -12,6 +12,20 @@ export const PHOTOREALISTIC_BASE = {
|
|
|
12
12
|
lighting: "cinematic lighting",
|
|
13
13
|
} as const;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Photorealistic rendering requirements for AI generation
|
|
17
|
+
* Detailed instructions for achieving photorealistic quality
|
|
18
|
+
*/
|
|
19
|
+
export const PHOTOREALISTIC_RENDERING = `PHOTOREALISTIC RENDERING REQUIREMENTS:
|
|
20
|
+
- Ultra-high resolution (8K quality)
|
|
21
|
+
- Natural skin tones and textures
|
|
22
|
+
- Realistic fabric and material properties
|
|
23
|
+
- Accurate shadows and reflections
|
|
24
|
+
- Professional color grading
|
|
25
|
+
- Cinema-quality depth of field
|
|
26
|
+
- Natural lighting and exposure
|
|
27
|
+
- Authentic environmental details` as const;
|
|
28
|
+
|
|
15
29
|
/**
|
|
16
30
|
* Creative prompt constants for non-realistic AI generation
|
|
17
31
|
* Used for meme, cartoon, or stylized content generation
|
|
@@ -24,14 +38,14 @@ export const CREATIVE_BASE = {
|
|
|
24
38
|
* Creates a photorealistic AI prompt by combining scene description with quality modifiers
|
|
25
39
|
* Used for realistic image/video generation (future us, video apps)
|
|
26
40
|
* @param scene - The scene-specific description (what's happening, who, where)
|
|
27
|
-
* @param
|
|
41
|
+
* @param options - Optional configuration (customInstructions for lighting override)
|
|
28
42
|
* @returns Complete photorealistic prompt
|
|
29
43
|
*/
|
|
30
44
|
export const createPhotorealisticPrompt = (
|
|
31
45
|
scene: string,
|
|
32
|
-
|
|
46
|
+
options?: { customInstructions?: string },
|
|
33
47
|
): string => {
|
|
34
|
-
const lighting =
|
|
48
|
+
const lighting = options?.customInstructions ?? PHOTOREALISTIC_BASE.lighting;
|
|
35
49
|
return `${PHOTOREALISTIC_BASE.quality}, ${scene}, ${lighting}`;
|
|
36
50
|
};
|
|
37
51
|
|
package/src/index.ts
CHANGED
|
@@ -10,3 +10,10 @@ export * from "./exports/features";
|
|
|
10
10
|
|
|
11
11
|
// Creations Domain
|
|
12
12
|
export * from "./domains/creations";
|
|
13
|
+
|
|
14
|
+
// Scenarios Domain
|
|
15
|
+
export * from "./domains/scenarios";
|
|
16
|
+
|
|
17
|
+
// Generation Wizard
|
|
18
|
+
export { GenericWizardFlow } from "./domains/generation/wizard";
|
|
19
|
+
export type { GenericWizardFlowProps } from "./domains/generation/wizard";
|