@umituz/react-native-ai-generation-content 1.17.232 โ†’ 1.17.234

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 (38) hide show
  1. package/README.md +236 -261
  2. package/package.json +2 -2
  3. package/src/domains/content-moderation/README.md +239 -296
  4. package/src/domains/creations/README.md +242 -325
  5. package/src/domains/face-detection/README.md +228 -307
  6. package/src/domains/prompts/README.md +242 -312
  7. package/src/domains/result-preview/index.ts +8 -0
  8. package/src/domains/result-preview/presentation/components/ResultActionBar.tsx +74 -0
  9. package/src/domains/result-preview/presentation/components/ResultImageCard.tsx +64 -0
  10. package/src/domains/result-preview/presentation/components/ResultPreviewScreen.tsx +101 -0
  11. package/src/domains/result-preview/presentation/components/index.ts +7 -0
  12. package/src/domains/result-preview/presentation/hooks/index.ts +5 -0
  13. package/src/domains/result-preview/presentation/hooks/useResultActions.ts +148 -0
  14. package/src/domains/result-preview/presentation/types/index.ts +5 -0
  15. package/src/domains/result-preview/presentation/types/result-preview.types.ts +146 -0
  16. package/src/features/ai-hug/README.md +381 -219
  17. package/src/features/ai-kiss/README.md +388 -219
  18. package/src/features/anime-selfie/README.md +327 -256
  19. package/src/features/audio-generation/README.md +352 -309
  20. package/src/features/colorization/README.md +332 -228
  21. package/src/features/couple-future/README.md +387 -212
  22. package/src/features/future-prediction/README.md +391 -221
  23. package/src/features/hd-touch-up/README.md +339 -252
  24. package/src/features/image-captioning/README.md +359 -299
  25. package/src/features/image-to-image/README.md +398 -357
  26. package/src/features/image-to-video/README.md +337 -292
  27. package/src/features/inpainting/README.md +348 -244
  28. package/src/features/meme-generator/README.md +350 -269
  29. package/src/features/remove-background/README.md +335 -234
  30. package/src/features/remove-object/README.md +341 -288
  31. package/src/features/replace-background/README.md +353 -236
  32. package/src/features/script-generator/README.md +358 -287
  33. package/src/features/shared/README.md +254 -223
  34. package/src/features/sketch-to-image/README.md +331 -234
  35. package/src/features/style-transfer/README.md +336 -237
  36. package/src/features/text-to-video/README.md +360 -193
  37. package/src/features/text-to-voice/README.md +382 -272
  38. package/src/index.ts +3 -0
package/README.md CHANGED
@@ -2,345 +2,320 @@
2
2
 
3
3
  > Provider-agnostic AI generation orchestration for React Native
4
4
 
5
- A comprehensive React Native library for AI-powered content generation, supporting multiple providers and offering a wide range of AI features including image generation, video creation, text-to-speech, face swap, and much more.
6
-
7
- ## ๐Ÿš€ Features
8
-
9
- - **๐ŸŽจ Text to Image**: Generate stunning images from text descriptions
10
- - **๐ŸŽฌ Text to Video**: Create videos from text prompts
11
- - **๐ŸŽค Text to Voice**: Convert text to natural-sounding speech
12
- - **๐Ÿ”„ Face Swap**: Swap faces between images with AI
13
- - **๐Ÿ–ผ๏ธ Style Transfer**: Apply artistic styles to photos
14
- - **โœจ Photo Restoration**: Restore and enhance old photos
15
- - **๐Ÿ” Upscaling**: Increase image resolution while maintaining quality
16
- - **๐ŸŽญ AI Hug & Kiss**: Generate creative AI-powered interactions
17
- - **๐ŸŒ… Background Removal/Replacement**: Remove or replace image backgrounds
18
- - **๐ŸŽช Anime Selfie**: Convert photos to anime style
19
- - **๐Ÿ“ Image Captioning**: Generate descriptive captions for images
20
- - **๐ŸŽต Audio Generation**: Create audio content with AI
21
- - **๐Ÿ“œ Script Generator**: Generate scripts for videos and podcasts
22
- - **๐Ÿ”ฎ Future Prediction**: See yourself in future scenarios
5
+ Comprehensive React Native library for AI-powered content generation. Support multiple providers with 25+ AI features including image generation, video creation, text-to-speech, face swap, and more.
23
6
 
24
- ## ๐Ÿ“ฆ Installation
7
+ ## ๐ŸŽฏ Library Purpose
25
8
 
26
- ```bash
27
- npm install @umituz/react-native-ai-generation-content
28
- ```
9
+ Provider-agnostic AI generation orchestration layer. Focus on business logic and user experience while handling multiple AI providers seamlessly. Clean architecture with domain-driven design for maintainable, scalable AI features.
10
+
11
+ ---
12
+
13
+ ## ๐Ÿ“‹ Feature Overview
14
+
15
+ ### Image Generation
16
+ - **Text to Image**: Generate images from descriptions
17
+ - **Image to Image**: Transform images with prompts
18
+ - **Style Transfer**: Apply artistic styles
19
+ - **Photo Restoration**: Restore old photos
20
+ - **Upscaling**: Increase resolution
21
+ - **HD Touch Up**: Enhance quality
22
+
23
+ ### Face & Person Features
24
+ - **Face Swap**: Swap faces between images
25
+ - **AI Hug**: Generate hug images (2 people)
26
+ - **AI Kiss**: Generate kiss images (2 people)
27
+ - **Couple Future**: Future predictions for couples
28
+ - **Future Prediction**: Individual future scenarios
29
+
30
+ ### Video & Animation
31
+ - **Text to Video**: Generate videos from text
32
+ - **Image to Video**: Convert images to video
33
+
34
+ ### Background & Editing
35
+ - **Remove Background**: Remove image backgrounds
36
+ - **Replace Background**: Replace with new background
37
+ - **Inpainting**: Fill masked areas
38
+ - **Remove Object**: Remove unwanted objects
39
+ - **Colorization**: Add color to B&W photos
40
+
41
+ ### Creative & Audio
42
+ - **Meme Generator**: Create memes with text
43
+ - **Sketch to Image**: Convert sketches to images
44
+ - **Anime Selfie**: Anime style conversion
45
+ - **Audio Generation**: Generate audio content
46
+ - **Text to Voice**: Text-to-speech synthesis
47
+ - **Script Generator**: Generate content scripts
48
+
49
+ ### Analysis
50
+ - **Image Captioning**: Generate image descriptions
51
+
52
+ ---
29
53
 
30
- or
54
+ ## ๐Ÿ“ฆ Installation
31
55
 
32
56
  ```bash
33
- yarn add @umituz/react-native-ai-generation-content
57
+ npm install @umituz/react-native-ai-generation-content
34
58
  ```
35
59
 
36
- ## ๐Ÿ Quick Start
60
+ ## ๐Ÿš€ Quick Start
37
61
 
38
- ### 1. Configure App Services
62
+ ### Configuration
39
63
 
40
- ```tsx
64
+ ```typescript
41
65
  import { configureAppServices } from '@umituz/react-native-ai-generation-content';
42
66
 
43
- // Configure required services
44
67
  configureAppServices({
45
68
  networkService: {
46
69
  baseUrl: 'https://your-api.com',
47
70
  apiKey: 'your-api-key',
48
71
  },
49
72
  creditService: {
50
- checkCredits: async (userId, cost) => {
51
- // Check if user has enough credits
52
- return true;
53
- },
54
- deductCredits: async (userId, cost) => {
55
- // Deduct credits from user
56
- },
73
+ checkCredits: async (userId, cost) => true,
74
+ deductCredits: async (userId, cost) => {},
57
75
  },
58
76
  paywallService: {
59
- showPaywall: async () => {
60
- // Show paywall if needed
61
- return true;
62
- },
77
+ showPaywall: async () => true,
63
78
  },
64
79
  });
65
80
  ```
66
81
 
67
- ### 2. Use a Feature Hook
82
+ ### Basic Usage
68
83
 
69
- ```tsx
84
+ ```typescript
70
85
  import { useTextToImageFeature } from '@umituz/react-native-ai-generation-content';
71
86
 
72
- function TextToImageScreen() {
73
- const feature = useTextToImageFeature({
74
- config: {
75
- model: 'imagen-3',
76
- onProcessingComplete: (result) => {
77
- console.log('Image generated:', result.imageUrl);
78
- },
87
+ const feature = useTextToImageFeature({
88
+ config: {
89
+ model: 'imagen-3',
90
+ onProcessingComplete: (result) => {
91
+ console.log('Generated:', result.imageUrl);
79
92
  },
80
- userId: 'user-123',
81
- });
82
-
83
- return (
84
- <View>
85
- <TextInput
86
- placeholder="Describe the image you want..."
87
- onChangeText={feature.setPrompt}
88
- value={feature.state.prompt}
89
- />
90
-
91
- <Button
92
- title="Generate Image"
93
- onPress={() => feature.generate()}
94
- disabled={!feature.isReady}
95
- />
96
-
97
- {feature.state.isProcessing && (
98
- <Text>Generating... {feature.state.progress}%</Text>
99
- )}
100
-
101
- {feature.state.imageUrl && (
102
- <Image source={{ uri: feature.state.imageUrl }} />
103
- )}
104
- </View>
105
- );
106
- }
93
+ },
94
+ userId: 'user-123',
95
+ });
96
+
97
+ // Use feature.state, feature.generate(), etc.
107
98
  ```
108
99
 
109
- ### 3. Or Use the Unified AI Feature Screen
100
+ ---
101
+
102
+ ## โš ๏ธ Critical Rules
110
103
 
111
- ```tsx
112
- import { AIFeatureScreen } from '@umituz/react-native-ai-generation-content';
104
+ ### MUST FOLLOW
113
105
 
114
- function App() {
115
- return (
116
- <AIFeatureScreen
117
- featureId="text-to-image"
118
- userId="user-123"
119
- />
120
- );
121
- }
122
- ```
106
+ 1. **Configuration**
107
+ - MUST configure app services before using features
108
+ - MUST provide valid userId for tracking
109
+ - MUST implement credit checking
110
+ - MUST handle errors properly
123
111
 
124
- ## ๐Ÿ“š Available Features
112
+ 2. **State Management**
113
+ - MUST check isReady before enabling actions
114
+ - MUST handle isProcessing state
115
+ - MUST display progress to users
116
+ - MUST implement error handling
125
117
 
126
- ### Text Generation
127
- - [Text to Image](./src/features/text-to-image/README.md)
128
- - [Text to Video](./src/features/text-to-video/README.md)
129
- - [Text to Voice](./src/features/text-to-voice/README.md)
118
+ 3. **Performance**
119
+ - MUST implement debouncing (300ms)
120
+ - MUST cache results locally
121
+ - MUST handle large files properly
122
+ - MUST NOT block main thread
130
123
 
131
- ### Image Processing
132
- - [Face Swap](./src/features/face-swap/README.md)
133
- - [Photo Restoration](./src/features/photo-restoration/README.md)
134
- - [Upscaling](./src/features/upscaling/README.md)
135
- - [Style Transfer](./src/features/style-transfer/README.md)
136
- - [HD Touch Up](./src/features/hd-touch-up/README.md)
137
- - [Colorization](./src/features/colorization/README.md)
138
- - [Image to Image](./src/features/image-to-image/README.md)
124
+ 4. **Privacy & Ethics**
125
+ - MUST obtain consent for person-based features
126
+ - MUST implement content moderation
127
+ - MUST comply with regulations
128
+ - MUST provide clear usage terms
139
129
 
140
- ### Background & Object Manipulation
141
- - [Remove Background](./src/features/remove-background/README.md)
142
- - [Replace Background](./src/features/replace-background/README.md)
143
- - [Remove Object](./src/features/remove-object/README.md)
144
- - [Inpainting](./src/features/inpainting/README.md)
130
+ ---
145
131
 
146
- ### Special Effects
147
- - [AI Hug](./src/features/ai-hug/README.md)
148
- - [AI Kiss](./src/features/ai-kiss/README.md)
149
- - [Anime Selfie](./src/features/anime-selfie/README.md)
150
- - [Meme Generator](./src/features/meme-generator/README.md)
151
- - [Couple Future](./src/features/couple-future/README.md)
152
- - [Future Prediction](./src/features/future-prediction/README.md)
153
- - [Sketch to Image](./src/features/sketch-to-image/README.md)
132
+ ## ๐Ÿšซ Prohibitions
154
133
 
155
- ### Video & Audio
156
- - [Image to Video](./src/features/image-to-video/README.md)
157
- - [Audio Generation](./src/features/audio-generation/README.md)
134
+ ### MUST AVOID
158
135
 
159
- ### Content & Scripting
160
- - [Image Captioning](./src/features/image-captioning/README.md)
161
- - [Script Generator](./src/features/script-generator/README.md)
136
+ โŒ **NEVER**:
137
+ - Skip configuration
138
+ - Use without userId
139
+ - Ignore error handling
140
+ - Process without user action
141
+ - Violate privacy/consent
142
+ - Block main thread
143
+ - Hardcode API keys
162
144
 
163
- ## ๐Ÿ—๏ธ Architecture
145
+ ---
164
146
 
165
- ### Domain-Driven Design
147
+ ## ๐Ÿค– AI Agent Directions
166
148
 
167
- The library follows clean architecture principles with clear separation of concerns:
149
+ When implementing with AI code generation:
168
150
 
169
151
  ```
170
- src/
171
- โ”œโ”€โ”€ domain/ # Core business logic and types
172
- โ”œโ”€โ”€ infrastructure/ # External services and implementations
173
- โ”œโ”€โ”€ presentation/ # UI components and hooks
174
- โ”œโ”€โ”€ domains/ # Domain-specific modules
175
- โ”‚ โ”œโ”€โ”€ prompts/ # AI prompt management
176
- โ”‚ โ”œโ”€โ”€ content-moderation/ # Content moderation
177
- โ”‚ โ”œโ”€โ”€ creations/ # AI-generated content gallery
178
- โ”‚ โ””โ”€โ”€ face-detection/ # Face detection API
179
- โ””โ”€โ”€ features/ # Individual AI features
152
+ REQUIREMENTS:
153
+ 1. Import from @umituz/react-native-ai-generation-content
154
+ 2. Configure app services first
155
+ 3. Use feature-specific hooks
156
+ 4. Implement proper state management
157
+ 5. Handle errors gracefully
158
+ 6. Show progress to users
159
+ 7. Implement cleanup on unmount
160
+
161
+ CRITICAL RULES:
162
+ - MUST configure before using features
163
+ - MUST provide valid userId
164
+ - MUST check isReady before actions
165
+ - MUST handle isProcessing state
166
+ - MUST implement error handling
167
+ - MUST respect user privacy
168
+
169
+ FEATURE HOOKS:
170
+ - useTextToImageFeature: Image generation
171
+ - useFaceSwapFeature: Face swapping
172
+ - useTextToVoiceFeature: Text-to-speech
173
+ - useAIHugFeature: AI hug generation
174
+ - And 21+ more features
175
+
176
+ STRICTLY FORBIDDEN:
177
+ - No skipping configuration
178
+ - No missing userId
179
+ - No ignoring errors
180
+ - No auto-processing
181
+ - No privacy violations
182
+ - No blocked UI
183
+ - No hardcoded credentials
180
184
  ```
181
185
 
182
- ### Core Modules
183
-
184
- - **Prompts Domain**: AI prompt management and generation
185
- - **Content Moderation**: Content safety and filtering
186
- - **Creations**: Gallery for managing AI-generated content
187
- - **Face Detection**: Face detection and analysis
188
-
189
- ## ๐ŸŽจ UI Components
186
+ ---
190
187
 
191
- The library provides ready-to-use components:
188
+ ## ๐Ÿ“š Documentation Structure
192
189
 
193
- ```tsx
194
- import {
195
- GenerationProgressModal,
196
- DualImagePicker,
197
- PromptInput,
198
- ResultDisplay,
199
- StyleSelector,
200
- AspectRatioSelector,
201
- AIGenerationForm,
202
- } from '@umituz/react-native-ai-generation-content';
190
+ ```
191
+ @umituz/react-native-ai-generation-content/
192
+ โ”œโ”€โ”€ src/
193
+ โ”‚ โ”œโ”€โ”€ features/ # 25 AI features (each with README)
194
+ โ”‚ โ”‚ โ”œโ”€โ”€ text-to-image/
195
+ โ”‚ โ”‚ โ”œโ”€โ”€ face-swap/
196
+ โ”‚ โ”‚ โ”œโ”€โ”€ ai-hug/
197
+ โ”‚ โ”‚ โ””โ”€โ”€ ...
198
+ โ”‚ โ”œโ”€โ”€ domains/ # Shared domains
199
+ โ”‚ โ”‚ โ”œโ”€โ”€ content-moderation/
200
+ โ”‚ โ”‚ โ”œโ”€โ”€ prompts/
201
+ โ”‚ โ”‚ โ”œโ”€โ”€ creations/
202
+ โ”‚ โ”‚ โ””โ”€โ”€ face-detection/
203
+ โ”‚ โ””โ”€โ”€ features/shared/ # Shared functionality
204
+ โ”œโ”€โ”€ docs/ # Additional documentation
205
+ โ”œโ”€โ”€ ARCHITECTURE.md # Architecture details
206
+ โ”œโ”€โ”€ FAQ.md # Common questions
207
+ โ””โ”€โ”€ MIGRATION_GUIDE.md # Migration guide
203
208
  ```
204
209
 
205
- ## ๐Ÿ”ง Configuration
206
-
207
- ### Provider Configuration
210
+ ### Feature Documentation
208
211
 
209
- ```tsx
210
- import { providerRegistry } from '@umituz/react-native-ai-generation-content';
212
+ Each feature has comprehensive documentation:
213
+ - **Import paths** (only code in README)
214
+ - **Usage strategy** (when to use/not use)
215
+ - **Critical rules** (MUST follow)
216
+ - **Prohibitions** (MUST avoid)
217
+ - **AI agent directions** (prompt templates)
218
+ - **Configuration strategy**
219
+ - **State management**
220
+ - **Best practices**
221
+ - **Common pitfalls**
211
222
 
212
- // Register a custom provider
213
- providerRegistry.registerProvider({
214
- id: 'my-provider',
215
- name: 'My AI Provider',
216
- capabilities: {
217
- textToImage: true,
218
- textToVideo: false,
219
- // ...
220
- },
221
- execute: async (request) => {
222
- // Provider-specific implementation
223
- },
224
- });
225
- ```
223
+ **Example**: See `src/features/text-to-image/README.md`
226
224
 
227
- ### Middleware
225
+ ---
228
226
 
229
- ```tsx
230
- import {
231
- createCreditCheckMiddleware,
232
- createHistoryTrackingMiddleware,
233
- } from '@umituz/react-native-ai-generation-content';
227
+ ## ๐ŸŽจ Architecture
234
228
 
235
- // Add credit check middleware
236
- const creditMiddleware = createCreditCheckMiddleware({
237
- creditCost: 1,
238
- paywallThreshold: 5,
239
- });
229
+ ### Clean Architecture
240
230
 
241
- // Add history tracking middleware
242
- const historyMiddleware = createHistoryTrackingMiddleware({
243
- maxHistorySize: 100,
244
- });
231
+ ```
232
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
233
+ โ”‚ Presentation Layer โ”‚
234
+ โ”‚ (Components, Hooks) โ”‚
235
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
236
+ โ†“
237
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
238
+ โ”‚ Domain Layer โ”‚
239
+ โ”‚ (Types, Interfaces) โ”‚
240
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
241
+ โ†“
242
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
243
+ โ”‚ Infrastructure Layer โ”‚
244
+ โ”‚ (Services, Repositories) โ”‚
245
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
245
246
  ```
246
247
 
247
- ## ๐Ÿ“– Examples
248
-
249
- ### Face Swap
250
-
251
- ```tsx
252
- import { useFaceSwapFeature } from '@umituz/react-native-ai-generation-content';
248
+ ### Key Principles
253
249
 
254
- const feature = useFaceSwapFeature({
255
- config: {
256
- enhanceFace: true,
257
- matchSkinTone: true,
258
- },
259
- onSelectSourceImage: async () => { /* ... */ },
260
- onSelectTargetImage: async () => { /* ... */ },
261
- onSaveImage: async (url) => { /* ... */ },
262
- });
250
+ - **Separation of Concerns**: Each layer has specific responsibility
251
+ - **Dependency Inversion**: Depend on abstractions, not implementations
252
+ - **Provider Agnostic**: Support multiple AI providers
253
+ - **Type Safety**: Comprehensive TypeScript types
254
+ - **Testability**: Clean, testable code
263
255
 
264
- await feature.process();
265
- ```
256
+ ---
266
257
 
267
- ### Photo Restoration
258
+ ## ๐Ÿ” Security & Privacy
268
259
 
269
- ```tsx
270
- import { usePhotoRestoreFeature } from '@umituz/react-native-ai-generation-content';
260
+ ### API Keys
261
+ - Never store in code
262
+ - Use environment variables
263
+ - Implement rotation
271
264
 
272
- const feature = usePhotoRestoreFeature({
273
- config: {
274
- restorationType: 'auto',
275
- },
276
- onSelectPhoto: async () => { /* ... */ },
277
- onSaveResult: async (url) => { /* ... */ },
278
- });
265
+ ### Content Moderation
266
+ - Enable for user-generated content
267
+ - Configure rules appropriately
268
+ - Monitor for violations
279
269
 
280
- await feature.process();
281
- ```
270
+ ### User Data
271
+ - Anonymize analytics
272
+ - Secure storage
273
+ - GDPR/CCPA compliance
282
274
 
283
- ### Text to Video
275
+ ---
284
276
 
285
- ```tsx
286
- import { useTextToVideoFeature } from '@umituz/react-native-ai-generation-content';
277
+ ## ๐Ÿ“ˆ Performance
287
278
 
288
- const feature = useTextToVideoFeature({
289
- config: {
290
- model: 'veo-3',
291
- },
292
- userId: 'user-123',
293
- });
279
+ ### Optimization
280
+ - Lazy load features
281
+ - Cache results
282
+ - Optimize images
283
+ - Background processing
294
284
 
295
- await feature.generate({
296
- duration: 5,
297
- aspectRatio: '16:9',
298
- });
299
- ```
285
+ ### Best Practices
286
+ - Implement debouncing
287
+ - Use pagination
288
+ - Compress uploads
289
+ - Monitor performance
300
290
 
301
- ## ๐Ÿงช Testing
291
+ ---
302
292
 
303
- ```tsx
304
- import { renderHook, waitFor } from '@testing-library/react-native';
305
- import { useTextToImageFeature } from '@umituz/react-native-ai-generation-content';
293
+ ## ๐Ÿค Contributing
306
294
 
307
- test('generates image from prompt', async () => {
308
- const { result } = renderHook(() =>
309
- useTextToImageFeature({
310
- config: {},
311
- userId: 'test-user',
312
- })
313
- );
314
-
315
- await act(async () => {
316
- await result.current.generate({ prompt: 'Test prompt' });
317
- });
318
-
319
- await waitFor(() => {
320
- expect(result.current.state.imageUrl).toBeTruthy();
321
- });
322
- });
323
- ```
295
+ Contributions welcome! Please:
296
+ - Follow code style
297
+ - Add tests
298
+ - Update docs
299
+ - Submit PR
324
300
 
325
- ## ๐Ÿค Contributing
301
+ See [CONTRIBUTING.md](CONTRIBUTING.md)
326
302
 
327
- Contributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
303
+ ---
328
304
 
329
305
  ## ๐Ÿ“„ License
330
306
 
331
- MIT ยฉ [Umit Uz]
307
+ MIT
332
308
 
333
- ## ๐Ÿ”— Links
334
-
335
- - [Documentation](./docs)
336
- - [Examples](./examples)
337
- - [Changelog](./CHANGELOG.md)
338
- - [Report Issues](https://github.com/umituz/react-native-ai-generation-content/issues)
309
+ ---
339
310
 
340
- ## โญ Star Us
311
+ ## ๐Ÿ“ž Support
341
312
 
342
- If you find this library helpful, please consider giving it a star on GitHub!
313
+ - **Issues**: GitHub Issues
314
+ - **Docs**: `/docs` folder
315
+ - **FAQ**: [FAQ.md](FAQ.md)
316
+ - **Migration**: [MIGRATION_GUIDE.md](MIGRATION_GUIDE.md)
343
317
 
344
318
  ---
345
319
 
346
- Made with โค๏ธ by [Umit Uz]
320
+ **Version**: 2.0.0 (Strategy-based Documentation)
321
+ **Last Updated**: 2025-01-08
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.17.232",
4
- "description": "Provider-agnostic AI generation orchestration for React Native",
3
+ "version": "1.17.234",
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",
7
7
  "exports": {