@umituz/react-native-ai-generation-content 1.59.3 → 1.60.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.59.3",
3
+ "version": "1.60.0",
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",
@@ -19,7 +19,9 @@
19
19
  "scripts": {
20
20
  "typecheck": "tsc --noEmit --skipLibCheck",
21
21
  "lint": "eslint src --max-warnings 0",
22
- "lint:fix": "eslint src --fix"
22
+ "lint:fix": "eslint src --fix",
23
+ "content-check": "node scripts/content-check.js",
24
+ "prepublishOnly": "npm run content-check"
23
25
  },
24
26
  "keywords": [
25
27
  "react-native",
@@ -33,8 +33,52 @@ export type {
33
33
 
34
34
  export { ExecutorFactory, type GenerationType as ExecutorGenerationType } from "./infrastructure/executors/executor-factory";
35
35
 
36
- export * from "./wizard";
37
- export * from "./infrastructure/flow";
36
+ // Wizard Domain
37
+ export type {
38
+ BaseStepConfig,
39
+ AuthGateStepConfig,
40
+ CreditGateStepConfig,
41
+ PhotoUploadStepConfig,
42
+ TextInputStepConfig,
43
+ SelectionStepConfig,
44
+ PreviewStepConfig,
45
+ WizardStepConfig,
46
+ WizardFeatureConfig,
47
+ ScenarioBasedConfig,
48
+ UsePhotoUploadStateProps,
49
+ UsePhotoUploadStateReturn,
50
+ PhotoUploadConfig,
51
+ PhotoUploadTranslations,
52
+ UseWizardGenerationProps,
53
+ UseWizardGenerationReturn,
54
+ WizardScenarioData,
55
+ WizardOutputType,
56
+ GenericWizardFlowProps,
57
+ TextInputScreenTranslations,
58
+ TextInputScreenConfig,
59
+ TextInputScreenProps,
60
+ } from "./wizard";
61
+
62
+ export {
63
+ buildWizardConfigFromScenario,
64
+ WIZARD_PRESETS,
65
+ buildFlowStepsFromWizard,
66
+ getPhotoUploadCount,
67
+ getStepConfig,
68
+ quickBuildWizard,
69
+ usePhotoUploadState,
70
+ useWizardGeneration,
71
+ GenericWizardFlow,
72
+ GeneratingScreen,
73
+ TextInputScreen,
74
+ TEXT_TO_IMAGE_WIZARD_CONFIG,
75
+ TEXT_TO_VIDEO_WIZARD_CONFIG,
76
+ IMAGE_TO_VIDEO_WIZARD_CONFIG,
77
+ } from "./wizard";
78
+
79
+ // Flow Infrastructure
80
+ export { createFlowStore, useFlow, resetFlowStore } from "./infrastructure/flow";
81
+ export type { FlowStoreType } from "./infrastructure/flow";
38
82
 
39
83
  // Flow config types from domain
40
84
  export {
@@ -62,4 +62,8 @@ export type {
62
62
  } from "./presentation/screens";
63
63
 
64
64
  // Feature Configs
65
- export * from "./configs";
65
+ export {
66
+ TEXT_TO_IMAGE_WIZARD_CONFIG,
67
+ TEXT_TO_VIDEO_WIZARD_CONFIG,
68
+ IMAGE_TO_VIDEO_WIZARD_CONFIG,
69
+ } from "./configs";
@@ -46,7 +46,7 @@ export async function buildImageInput(
46
46
  // Extract style for text-to-image
47
47
  const styleValue = extractSelection(wizardData.style);
48
48
  const style = typeof styleValue === "string" ? styleValue : undefined;
49
- const interactionStyle = (scenario.interactionStyle as InteractionStyle) ?? "romantic";
49
+ const interactionStyle = (scenario.interactionStyle as InteractionStyle) ?? "natural";
50
50
  const promptType = scenario.promptType;
51
51
 
52
52
  return { photos, prompt: finalPrompt, style, interactionStyle, promptType };
@@ -58,9 +58,9 @@ export async function buildImageInput(
58
58
  function applyStyleEnhancements(prompt: string, wizardData: Record<string, unknown>): string {
59
59
  const enhancements: string[] = [];
60
60
 
61
- const romanticMoods = extractSelection(wizardData.selection_romantic_mood);
62
- if (Array.isArray(romanticMoods) && romanticMoods.length > 0) {
63
- enhancements.push(`Mood: ${romanticMoods.join(", ")}`);
61
+ const moodSelections = extractSelection(wizardData.selection_mood);
62
+ if (Array.isArray(moodSelections) && moodSelections.length > 0) {
63
+ enhancements.push(`Mood: ${moodSelections.join(", ")}`);
64
64
  }
65
65
 
66
66
  const artStyle = extractSelection(wizardData.selection_art_style);
@@ -3,6 +3,35 @@
3
3
  * Reusable result preview components for AI generation
4
4
  */
5
5
 
6
- export * from "./presentation/components";
7
- export * from "./presentation/hooks";
8
- export * from "./presentation/types";
6
+ // Components
7
+ export {
8
+ ResultPreviewScreen,
9
+ ResultImageCard,
10
+ ResultActionBar,
11
+ RecentCreationsSection,
12
+ GenerationErrorScreen,
13
+ StarRatingPicker,
14
+ } from "./presentation/components";
15
+ export type {
16
+ StarRatingPickerProps,
17
+ GenerationErrorTranslations,
18
+ GenerationErrorConfig,
19
+ GenerationErrorScreenProps,
20
+ } from "./presentation/components";
21
+
22
+ // Hooks
23
+ export { useResultActions } from "./presentation/hooks";
24
+
25
+ // Types
26
+ export type {
27
+ ResultData,
28
+ ResultActionsCallbacks,
29
+ ResultDisplayState,
30
+ ResultImageCardProps,
31
+ ResultActionBarProps,
32
+ RecentCreation,
33
+ ResultPreviewScreenProps,
34
+ ResultPreviewTranslations,
35
+ UseResultActionsOptions,
36
+ UseResultActionsReturn,
37
+ } from "./presentation/types";
@@ -2,4 +2,15 @@
2
2
  * Result Preview Types Export
3
3
  */
4
4
 
5
- export * from "./result-preview.types";
5
+ export type {
6
+ ResultData,
7
+ ResultActionsCallbacks,
8
+ ResultDisplayState,
9
+ ResultImageCardProps,
10
+ ResultActionBarProps,
11
+ RecentCreation,
12
+ ResultPreviewScreenProps,
13
+ ResultPreviewTranslations,
14
+ UseResultActionsOptions,
15
+ UseResultActionsReturn,
16
+ } from "./result-preview.types";
@@ -14,7 +14,7 @@ This domain provides the **mechanism** for scenario-based AI generation. Scenari
14
14
  - `WizardInputDetector` - Detect input type (single/dual image)
15
15
  - `ScenarioCategory` enum - Category definitions
16
16
  - `ScenarioData` interface - Type definitions
17
- - Category groups (TRUE_SOLO_CATEGORIES, COUPLE_CATEGORIES, etc.)
17
+ - Category groups (TRUE_SOLO_CATEGORIES, etc.)
18
18
 
19
19
  ### ❌ NOT Provided (App Responsibility)
20
20
  - Scenario prompts (text content)
@@ -32,13 +32,13 @@ import { ScenarioData, ScenarioCategory } from '@umituz/react-native-ai-generati
32
32
 
33
33
  export const APP_SCENARIOS: ScenarioData[] = [
34
34
  {
35
- id: 'romantic_sunset',
36
- category: ScenarioCategory.INTIMATE,
37
- title: 'Sunset Romance',
38
- prompt: 'A couple watching sunset on the beach, golden hour lighting...',
39
- inputType: 'dual', // or 'single'
40
- outputType: 'video', // or 'image'
41
- model: 'fal-ai/kling-video/v1.5/pro/image-to-video',
35
+ id: 'fantasy_warrior',
36
+ category: ScenarioCategory.SOLO_FANTASY,
37
+ title: 'Fantasy Warrior',
38
+ prompt: 'A powerful warrior in fantasy armor, epic lighting...',
39
+ inputType: 'single',
40
+ outputType: 'image',
41
+ model: 'fal-ai/flux/dev',
42
42
  },
43
43
  // ... more scenarios
44
44
  ];
@@ -63,10 +63,10 @@ import {
63
63
  } from '@umituz/react-native-ai-generation-content';
64
64
 
65
65
  // Get all scenarios for a category
66
- const scenarios = scenarioRegistry.getByCategory(ScenarioCategory.INTIMATE);
66
+ const scenarios = scenarioRegistry.getByCategory(ScenarioCategory.SOLO_FANTASY);
67
67
 
68
68
  // Get wizard config for a scenario
69
- const wizardConfig = getScenarioWizardConfig('romantic_sunset');
69
+ const wizardConfig = getScenarioWizardConfig('fantasy_warrior');
70
70
  ```
71
71
 
72
72
  ## Category Groups
@@ -74,12 +74,6 @@ const wizardConfig = getScenarioWizardConfig('romantic_sunset');
74
74
  ### TRUE_SOLO_CATEGORIES
75
75
  Pure single-person categories with scenarios requiring one photo only.
76
76
 
77
- ### COUPLE_CATEGORIES
78
- Couple categories with scenarios requiring two photos (dual image input).
79
-
80
- ### SINGLE_PERSON_CATEGORIES (Deprecated)
81
- Legacy mixed categories. Use `TRUE_SOLO_CATEGORIES` for single-photo apps.
82
-
83
77
  ### ALL_CATEGORIES
84
78
  All available categories combined.
85
79
 
@@ -119,13 +113,13 @@ src/domains/scenarios/
119
113
 
120
114
  ## Examples
121
115
 
122
- ### Video Generation App (future_us_app)
116
+ ### Video Generation App
123
117
  ```typescript
124
- const COUPLE_SCENARIOS: ScenarioData[] = [
118
+ const VIDEO_SCENARIOS: ScenarioData[] = [
125
119
  {
126
- id: 'romantic_kiss',
127
- category: ScenarioCategory.INTIMATE,
128
- inputType: 'dual',
120
+ id: 'cinematic_hero',
121
+ category: ScenarioCategory.SOLO_CINEMATIC,
122
+ inputType: 'single',
129
123
  outputType: 'video',
130
124
  model: 'fal-ai/kling-video/v1.5/pro/image-to-video',
131
125
  // ... data
@@ -133,7 +127,7 @@ const COUPLE_SCENARIOS: ScenarioData[] = [
133
127
  ];
134
128
  ```
135
129
 
136
- ### Image Generation App (ai_portrait_generator)
130
+ ### Image Generation App
137
131
  ```typescript
138
132
  const SOLO_SCENARIOS: ScenarioData[] = [
139
133
  {
@@ -154,7 +148,7 @@ const SOLO_SCENARIOS: ScenarioData[] = [
154
148
  **Before (Wrong):**
155
149
  ```typescript
156
150
  // Package contained scenario data
157
- import { ROMANTIC_SCENARIOS } from '@umituz/react-native-ai-generation-content';
151
+ import { SCENARIOS } from '@umituz/react-native-ai-generation-content';
158
152
  ```
159
153
 
160
154
  **After (Correct):**
@@ -288,7 +288,7 @@ Use this checklist when generating code:
288
288
 
289
289
  2. **Include Style**
290
290
  - Specify art style, mood, atmosphere
291
- - Example: "in the style of oil painting, romantic mood"
291
+ - Example: "in the style of oil painting, dramatic mood"
292
292
 
293
293
  3. **Add Technical Details**
294
294
  - Lighting, camera angle, composition
package/src/index.ts CHANGED
@@ -143,13 +143,118 @@ export type {
143
143
  PhotoStepData, TextInputStepData, GenerationFlowState,
144
144
  } from "./presentation/types/flow-config.types";
145
145
 
146
- export * from "./domains/prompts";
147
- export * from "./domains/content-moderation";
148
- export * from "./domains/creations";
149
- export * from "./domains/face-detection";
150
- export * from "./domains/scenarios";
151
- export * from "./domains/access-control";
152
- export * from "./infrastructure/orchestration";
146
+ // Prompts Domain
147
+ export type {
148
+ AIPromptCategory, AIPromptVariableType, AIPromptError, AIPromptResult,
149
+ AIPromptVariable, AIPromptSafety, AIPromptVersion,
150
+ AIPromptTemplate, CreateAIPromptTemplateParams,
151
+ GeneratedPrompt, CreateGeneratedPromptParams,
152
+ ITemplateRepository, IPromptHistoryRepository, IPromptGenerationService,
153
+ AsyncState, AsyncActions, UseTemplateState, UseTemplateActions,
154
+ UsePromptGenerationState, UsePromptGenerationActions,
155
+ IdentitySegment, AnimeStyleSegment, QualitySegment,
156
+ ImagePromptResult, ImagePromptBuilderOptions, AnimeSelfiePromptResult,
157
+ CreatePromptOptions, MultiPersonPreservationRules, FacePreservationOptions,
158
+ InteractionStyle, InteractionStyleOptions,
159
+ } from "./domains/prompts";
160
+ export {
161
+ createPromptVersion, formatVersion,
162
+ createAIPromptTemplate, updateTemplateVersion, getTemplateString,
163
+ createGeneratedPrompt, isPromptRecent,
164
+ TemplateRepository, PromptHistoryRepository, PromptGenerationService,
165
+ useAsyncState, useTemplateRepository, usePromptGeneration,
166
+ IDENTITY_SEGMENTS, IDENTITY_NEGATIVE_SEGMENTS, ANIME_STYLE_SEGMENTS,
167
+ QUALITY_SEGMENTS, QUALITY_NEGATIVE_SEGMENTS, ANTI_REALISM_SEGMENTS,
168
+ ANATOMY_NEGATIVE_SEGMENTS, PRESET_COLLECTIONS,
169
+ ImagePromptBuilder, createAnimeSelfiePrompt, createStyleTransferPrompt,
170
+ IDENTITY_PRESERVATION_CORE, PHOTOREALISTIC_RENDERING, NATURAL_POSE_GUIDELINES,
171
+ MASTER_BASE_PROMPT, createPhotorealisticPrompt, createTransformationPrompt, enhanceExistingPrompt,
172
+ MULTI_PERSON_PRESERVATION_RULES, createMultiPersonPrompt,
173
+ buildFacePreservationPrompt, buildMinimalFacePreservationPrompt,
174
+ buildInteractionStylePrompt, buildMinimalInteractionStylePrompt, getInteractionRules, getInteractionForbidden,
175
+ } from "./domains/prompts";
176
+
177
+ // Content Moderation Domain
178
+ export type {
179
+ ContentType, ModerationSeverity, AgeRating, ViolationType, ModerationRule,
180
+ ModerationResult, Violation, ModerationContext, ModerationConfig,
181
+ SuggestionMessages, ValidationLimits, ContentFilterResult, IContentFilter, IModerator,
182
+ PatternMatch, ModerationResult as ModeratorResult,
183
+ } from "./domains/content-moderation";
184
+ export {
185
+ contentModerationService, patternMatcherService, textModerator, imageModerator,
186
+ videoModerator, voiceModerator, BaseModerator,
187
+ rulesRegistry, defaultModerationRules, ContentPolicyViolationError,
188
+ } from "./domains/content-moderation";
189
+
190
+ // Creations Domain
191
+ export type {
192
+ CreationTypeId, CreationStatus, CreationCategory, CreationFilter, FilterOption, CreationStats,
193
+ StatusColorKey, CreationOutput, IconName, Creation, CreationDocument,
194
+ CreationType, CreationsTranslations, CreationsConfig, DocumentMapper,
195
+ ICreationsRepository, CreationsSubscriptionCallback, UnsubscribeFunction, RepositoryOptions,
196
+ UseCreationPersistenceConfig, UseCreationPersistenceReturn, BaseProcessingStartData, BaseProcessingResult,
197
+ UseProcessingJobsPollerConfig, UseProcessingJobsPollerReturn,
198
+ CreationAction, CreationCardData, CreationCardCallbacks, FilterButton, PendingJobsSectionProps,
199
+ } from "./domains/creations";
200
+ export {
201
+ ALL_CREATION_STATUSES, ALL_CREATION_CATEGORIES, ALL_CREATION_TYPES,
202
+ IMAGE_CREATION_TYPES, VIDEO_CREATION_TYPES, DEFAULT_CREATION_FILTER,
203
+ MEDIA_FILTER_OPTIONS, STATUS_FILTER_OPTIONS, getTypesForCategory, getCategoryForType,
204
+ getCategoryForCreation, isTypeInCategory, isVideoCreationType, isImageCreationType, calculateCreationStats,
205
+ getStatusColorKey, getStatusColor, getStatusTextKey, getStatusText, isInProgress, isCompleted, isFailed,
206
+ getPreviewUrl, getAllMediaUrls, hasDownloadableContent, hasVideoContent, hasAudioContent, getPrimaryMediaUrl,
207
+ generateCreationId, getTypeIcon, getTypeTextKey, getTypeText, getCreationTitle, filterBySearch, sortCreations, truncateText,
208
+ mapDocumentToCreation, DEFAULT_TRANSLATIONS, DEFAULT_CONFIG,
209
+ CreationsRepository, createCreationsRepository,
210
+ useCreations, useDeleteCreation, useCreationsFilter, useAdvancedFilter, useCreationPersistence, useProcessingJobsPoller,
211
+ CreationPreview, CreationBadges, CreationActions, CreationCard, CreationThumbnail,
212
+ FilterChips, CreationsFilterBar, createMediaFilterButtons, createStatusFilterButtons,
213
+ CreationsHomeCard, EmptyState, PendingJobsSection,
214
+ getLocalizedTitle, getFilterCategoriesFromConfig, getTranslatedTypes,
215
+ CreationsGalleryScreen,
216
+ } from "./domains/creations";
217
+
218
+ // Face Detection Domain
219
+ export type { FaceDetectionResult, FaceValidationState, FaceDetectionConfig } from "./domains/face-detection";
220
+ export {
221
+ FACE_DETECTION_CONFIG, FACE_DETECTION_PROMPTS,
222
+ isValidFace, parseDetectionResponse, createFailedResult, createSuccessResult,
223
+ analyzeImageForFace, useFaceDetection, FaceValidationStatus, FaceDetectionToggle,
224
+ } from "./domains/face-detection";
225
+
226
+ // Scenarios Domain
227
+ export type {
228
+ ScenarioOutputType, ScenarioInputType, ScenarioPromptType, GeneratingMessages, Scenario,
229
+ AppScenarioConfig, ConfiguredScenario, WizardConfigOptions,
230
+ CategoryNavigationContainerProps, MainCategoryScreenProps, SubCategoryScreenProps,
231
+ MainCategory, SubCategory, CategoryInfo, ScenarioSelectorConfig, ScenarioPreviewTranslations,
232
+ ScenarioConfig, VisualStyleOption, InspirationChipData, MagicPromptConfig,
233
+ CoupleFeatureId, CoupleFeatureSelection, ScenarioData,
234
+ } from "./domains/scenarios";
235
+ export {
236
+ createScenariosForApp, filterScenariosByOutputType, filterScenariosByCategory,
237
+ getScenarioCategories, findScenarioById,
238
+ configureScenarios, getConfiguredScenario, getDefaultOutputType, isScenariosConfigured, getAllConfiguredScenarios,
239
+ createStoryTemplate, createCreativePrompt,
240
+ WizardInputType, detectWizardInputType, SCENARIO_TO_WIZARD_INPUT_MAP,
241
+ getScenarioWizardConfig, hasExplicitConfig, getScenarioWizardInputType, registerWizardConfig,
242
+ CategoryNavigationContainer, ScenarioPreviewScreen, MainCategoryScreen, SubCategoryScreen, HierarchicalScenarioListScreen,
243
+ } from "./domains/scenarios";
244
+
245
+ // Access Control Domain
246
+ export type { AIFeatureGateOptions, AIFeatureGateReturn, AIFeatureGateHook } from "./domains/access-control";
247
+ export { useAIFeatureGate } from "./domains/access-control";
248
+
249
+ // Orchestration Infrastructure (GenerationOrchestrator class)
250
+ export type {
251
+ CreditService, PaywallService, NetworkService, AuthService,
252
+ GenerationMetadata as OrchestratorGenerationMetadata, GenerationCapability as OrchestratorGenerationCapability,
253
+ OrchestratorConfig as GenerationOrchestratorConfig,
254
+ } from "./infrastructure/orchestration";
255
+ export {
256
+ GenerationOrchestrator, NetworkUnavailableError, InsufficientCreditsError, AuthenticationRequiredError,
257
+ } from "./infrastructure/orchestration";
153
258
 
154
259
  export {
155
260
  GenerationConfigProvider,
@@ -159,13 +264,126 @@ export {
159
264
  type GenerationConfigProviderProps,
160
265
  } from "./infrastructure/providers";
161
266
 
162
- export * from "./domains/result-preview";
163
- export * from "./domains/generation";
267
+ // Result Preview Domain (screens and additional components not in presentation/components)
268
+ export type {
269
+ ResultData, ResultActionsCallbacks, ResultDisplayState,
270
+ ResultActionBarProps, RecentCreation, ResultPreviewScreenProps, ResultPreviewTranslations,
271
+ UseResultActionsOptions, UseResultActionsReturn,
272
+ StarRatingPickerProps, GenerationErrorTranslations, GenerationErrorConfig, GenerationErrorScreenProps,
273
+ } from "./domains/result-preview";
274
+ export {
275
+ ResultPreviewScreen, ResultActionBar, RecentCreationsSection,
276
+ GenerationErrorScreen, StarRatingPicker, useResultActions,
277
+ } from "./domains/result-preview";
278
+
279
+ // Generation Domain (wizard, flow, strategy)
280
+ export type {
281
+ UseAIGenerationProps, UseAIGenerationReturn, AlertMessages as GenerationAlertMessages,
282
+ FeatureConfig, FeatureRegistration, GenerationType, InputType, OutputType, VisualStyleConfig,
283
+ GenerationExecutor, GenerationOptions as GenerationExecutorOptions,
284
+ GenerationResult as GenerationExecutorResult,
285
+ ImageGenerationOutput, VideoGenerationInput, VideoGenerationOutput,
286
+ MemeGenerationInput, MemeGenerationOutput, TextToImageInput, TextToImageOutput, ExecutorGenerationType,
287
+ BaseStepConfig, AuthGateStepConfig, CreditGateStepConfig, PhotoUploadStepConfig,
288
+ TextInputStepConfig as WizardTextInputStepConfig, SelectionStepConfig,
289
+ PreviewStepConfig as WizardPreviewStepConfig, WizardStepConfig,
290
+ WizardFeatureConfig, ScenarioBasedConfig,
291
+ UsePhotoUploadStateProps, UsePhotoUploadStateReturn, PhotoUploadConfig,
292
+ PhotoUploadTranslations as WizardPhotoUploadTranslations,
293
+ UseWizardGenerationProps, UseWizardGenerationReturn, WizardScenarioData, WizardOutputType,
294
+ GenericWizardFlowProps, TextInputScreenTranslations, TextInputScreenConfig, TextInputScreenProps,
295
+ FlowStoreType,
296
+ GateResult, AuthGateConfig, CreditGateConfig, FlowState, FlowActions, FlowCallbacks,
297
+ FlowConfiguration, StepDefinition,
298
+ } from "./domains/generation";
299
+ export {
300
+ useAIGeneration, featureRegistry, createGenerationStrategy, ExecutorFactory,
301
+ buildWizardConfigFromScenario, WIZARD_PRESETS, buildFlowStepsFromWizard, getPhotoUploadCount,
302
+ getStepConfig, quickBuildWizard, usePhotoUploadState, useWizardGeneration,
303
+ GenericWizardFlow, GeneratingScreen, TextInputScreen,
304
+ TEXT_TO_IMAGE_WIZARD_CONFIG, TEXT_TO_VIDEO_WIZARD_CONFIG, IMAGE_TO_VIDEO_WIZARD_CONFIG,
305
+ createFlowStore, useFlow, resetFlowStore,
306
+ StepType,
307
+ } from "./domains/generation";
164
308
 
165
- // Features - Standalone generation features (no wizard/scenario)
166
- export * from "./features/text-to-image";
167
- export * from "./features/text-to-video";
168
- export * from "./features/image-to-video";
309
+ // Features - Text-to-Image
310
+ export type {
311
+ AspectRatio, ImageSize, OutputFormat, NumImages, StyleOption as TextToImageStyleOption,
312
+ TextToImageFormState, TextToImageFormActions, TextToImageFormDefaults,
313
+ TextToImageGenerationRequest, TextToImageGenerationResult, TextToImageGenerationResultSuccess,
314
+ TextToImageGenerationResultError, TextToImageCallbacks, TextToImageFormConfig, TextToImageTranslations,
315
+ TextToImageOptions, TextToImageRequest, TextToImageResult, TextToImageFeatureState,
316
+ TextToImageInputBuilder, TextToImageResultExtractor, TextToImageFeatureConfig,
317
+ PromptSuggestion, ExecuteTextToImageOptions, UseFormStateOptions, UseFormStateReturn,
318
+ TextToImageGenerationState,
319
+ UseGenerationOptions as TextToImageUseGenerationOptions,
320
+ UseGenerationReturn as TextToImageUseGenerationReturn,
321
+ UseTextToImageFormOptions, UseTextToImageFormReturn,
322
+ TextToImagePromptInputProps, TextToImageExamplePromptsProps, TextToImageStyleSelectorProps,
323
+ TextToImageAspectRatioSelectorProps, TextToImageGenerateButtonProps, TextToImageSettingsSheetProps,
324
+ } from "./features/text-to-image";
325
+ export {
326
+ DEFAULT_IMAGE_STYLES, DEFAULT_NUM_IMAGES_OPTIONS, ASPECT_RATIO_VALUES, IMAGE_SIZE_VALUES,
327
+ OUTPUT_FORMAT_VALUES, DEFAULT_FORM_VALUES, DEFAULT_TEXT_TO_IMAGE_PROMPTS, DEFAULT_TEXT_TO_VOICE_PROMPTS,
328
+ executeTextToImage, hasTextToImageSupport,
329
+ useFormState as useTextToImageFormState,
330
+ useGeneration as useTextToImageGeneration,
331
+ useTextToImageForm,
332
+ TextToImagePromptInput, TextToImageExamplePrompts, TextToImageNumImagesSelector,
333
+ TextToImageStyleSelector, TextToImageAspectRatioSelector, TextToImageSizeSelector,
334
+ TextToImageOutputFormatSelector, TextToImageGenerateButton, TextToImageSettingsSheet,
335
+ } from "./features/text-to-image";
336
+
337
+ // Features - Text-to-Video
338
+ export type {
339
+ TextToVideoOptions, TextToVideoRequest, TextToVideoResult, TextToVideoFeatureState,
340
+ TextToVideoFormState, TextToVideoGenerationState, TextToVideoTranslations,
341
+ TextToVideoInputBuilder, TextToVideoResultExtractor, TextToVideoConfig, TextToVideoCallbacks,
342
+ TabConfig, VideoStyleOption, AspectRatioOption as TextToVideoAspectRatioOption,
343
+ VideoDurationOption, OptionToggleConfig, HeroConfig, ProgressConfig,
344
+ FrameData, VideoModerationResult, ProjectData, CreationData, GenerationStartData,
345
+ GenerationTabsProps, FrameSelectorProps, OptionsPanelProps, HeroSectionProps,
346
+ HintCarouselProps, HintItem,
347
+ ExamplePromptsProps as TextToVideoExamplePromptsProps,
348
+ ExamplePrompt,
349
+ UseTextToVideoFeatureProps, UseTextToVideoFeatureReturn, TextToVideoGenerateParams,
350
+ UseTextToVideoFormProps, UseTextToVideoFormReturn, ExecuteTextToVideoOptions,
351
+ } from "./features/text-to-video";
352
+ export {
353
+ INITIAL_FORM_STATE, INITIAL_GENERATION_STATE,
354
+ executeTextToVideo, hasTextToVideoSupport,
355
+ useTextToVideoFeature, useTextToVideoForm,
356
+ GenerationTabs, FrameSelector, OptionsPanel, HeroSection, HintCarousel,
357
+ } from "./features/text-to-video";
358
+
359
+ // Features - Image-to-Video
360
+ export type {
361
+ AnimationStyle, AnimationStyleId, MusicMood, MusicMoodId,
362
+ VideoDuration, DurationOption as ImageToVideoDurationOption,
363
+ ImageToVideoFormState, ImageToVideoFormActions, ImageToVideoFormDefaults,
364
+ ImageToVideoCallbacks, ImageToVideoFormConfig, ImageToVideoTranslationsExtended,
365
+ ImageToVideoOptions, ImageToVideoGenerateParams, ImageToVideoRequest, ImageToVideoResult,
366
+ ImageToVideoGenerationState, ImageToVideoFeatureState, ImageToVideoTranslations,
367
+ ImageToVideoInputBuilder, ImageToVideoResultExtractor, ImageToVideoFeatureCallbacks,
368
+ ImageToVideoGenerationStartData, ImageToVideoCreationData, ImageToVideoFeatureConfig,
369
+ ExecuteImageToVideoOptions, UseImageToVideoFormStateOptions, UseImageToVideoFormStateReturn,
370
+ UseImageToVideoGenerationOptions, UseImageToVideoGenerationReturn,
371
+ UseImageToVideoFormOptions, UseImageToVideoFormReturn,
372
+ UseImageToVideoFeatureProps, UseImageToVideoFeatureReturn,
373
+ ImageToVideoAnimationStyleSelectorProps, ImageToVideoDurationSelectorProps,
374
+ ImageToVideoMusicMoodSelectorProps, ImageToVideoSelectionGridProps,
375
+ ImageToVideoSelectionGridTranslations, ImageToVideoGenerateButtonProps,
376
+ } from "./features/image-to-video";
377
+ export {
378
+ IMAGE_TO_VIDEO_ANIMATION_STYLES, IMAGE_TO_VIDEO_DEFAULT_ANIMATION,
379
+ IMAGE_TO_VIDEO_MUSIC_MOODS, IMAGE_TO_VIDEO_DEFAULT_MUSIC,
380
+ IMAGE_TO_VIDEO_DURATION_OPTIONS, IMAGE_TO_VIDEO_DEFAULT_DURATION,
381
+ IMAGE_TO_VIDEO_FORM_DEFAULTS, IMAGE_TO_VIDEO_CONFIG,
382
+ executeImageToVideo, hasImageToVideoSupport,
383
+ useImageToVideoFormState, useImageToVideoGeneration, useImageToVideoForm, useImageToVideoFeature,
384
+ ImageToVideoAnimationStyleSelector, ImageToVideoDurationSelector,
385
+ ImageToVideoMusicMoodSelector, ImageToVideoSelectionGrid, ImageToVideoGenerateButton,
386
+ } from "./features/image-to-video";
169
387
 
170
388
  // Wizard Flows - Direct exports
171
389
  export { TextToImageWizardFlow } from "./features/text-to-image/presentation/screens/TextToImageWizardFlow";
@@ -3,6 +3,23 @@
3
3
  * Exports generic orchestration utilities for AI generation
4
4
  */
5
5
 
6
- export * from "./GenerationOrchestrator";
7
- export * from "./orchestrator.types";
8
- export * from "./orchestrator.errors";
6
+ // GenerationOrchestrator
7
+ export { GenerationOrchestrator } from "./GenerationOrchestrator";
8
+
9
+ // Types
10
+ export type {
11
+ CreditService,
12
+ PaywallService,
13
+ NetworkService,
14
+ AuthService,
15
+ GenerationMetadata,
16
+ GenerationCapability,
17
+ OrchestratorConfig,
18
+ } from "./orchestrator.types";
19
+
20
+ // Errors
21
+ export {
22
+ NetworkUnavailableError,
23
+ InsufficientCreditsError,
24
+ AuthenticationRequiredError,
25
+ } from "./orchestrator.errors";