@umituz/react-native-ai-generation-content 1.80.3 → 1.80.4

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.80.3",
3
+ "version": "1.80.4",
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",
@@ -11,7 +11,7 @@ export interface ModelCapabilityOption {
11
11
  }
12
12
 
13
13
  export interface VideoModelConfig {
14
- /** Fal.ai model endpoint (e.g., "fal-ai/ltx-video-13b-distilled/image-to-video") */
14
+ /** Provider model endpoint ID */
15
15
  readonly modelId: string;
16
16
 
17
17
  /** Human-readable display name */
@@ -29,10 +29,7 @@ export interface VideoModelConfig {
29
29
  };
30
30
  };
31
31
 
32
- /**
33
- * Maps generic WizardVideoInput to model-specific API parameters.
34
- * This is the core adapter function - eliminates all model-specific if/else checks.
35
- */
32
+ /** Maps generic wizard input to model-specific API parameters */
36
33
  readonly buildInput: (input: {
37
34
  readonly prompt: string;
38
35
  readonly sourceImageBase64?: string;
@@ -42,10 +39,7 @@ export interface VideoModelConfig {
42
39
  readonly resolution?: string;
43
40
  }) => Record<string, unknown>;
44
41
 
45
- /**
46
- * Pricing data for credit calculation.
47
- * Keys are resolution IDs matching capabilities.resolutions[].id
48
- */
42
+ /** Pricing data for credit calculation (keys = resolution IDs) */
49
43
  readonly pricing: {
50
44
  readonly costPerSecond: Record<string, number>;
51
45
  };