@umituz/react-native-ai-generation-content 1.37.32 → 1.37.34
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.37.
|
|
3
|
+
"version": "1.37.34",
|
|
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",
|
|
@@ -31,11 +31,7 @@ export const IMAGE_TO_VIDEO_WIZARD_CONFIG: WizardFeatureConfig = {
|
|
|
31
31
|
type: "selection",
|
|
32
32
|
titleKey: "generation.duration.title",
|
|
33
33
|
selectionType: "duration",
|
|
34
|
-
options: [
|
|
35
|
-
{ id: "4s", label: "4 seconds", value: 4 },
|
|
36
|
-
{ id: "8s", label: "8 seconds", value: 8 },
|
|
37
|
-
{ id: "12s", label: "12 seconds", value: 12 },
|
|
38
|
-
],
|
|
34
|
+
options: [{ id: "4s", label: "4 seconds", value: 4 }],
|
|
39
35
|
required: true,
|
|
40
36
|
defaultValue: "4s",
|
|
41
37
|
},
|
|
@@ -49,11 +49,7 @@ export const TEXT_TO_VIDEO_WIZARD_CONFIG: WizardFeatureConfig = {
|
|
|
49
49
|
type: "selection",
|
|
50
50
|
titleKey: "generation.duration.title",
|
|
51
51
|
selectionType: "duration",
|
|
52
|
-
options: [
|
|
53
|
-
{ id: "4s", label: "4 seconds", value: 4 },
|
|
54
|
-
{ id: "8s", label: "8 seconds", value: 8 },
|
|
55
|
-
{ id: "12s", label: "12 seconds", value: 12 },
|
|
56
|
-
],
|
|
52
|
+
options: [{ id: "4s", label: "4 seconds", value: 4 }],
|
|
57
53
|
required: true,
|
|
58
54
|
defaultValue: "4s",
|
|
59
55
|
},
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Duration Constants
|
|
3
|
-
*
|
|
4
|
-
* Sora 2 supports: 4, 8, 12 seconds ($0.10/second)
|
|
3
|
+
* Fixed to 4 seconds for video generation
|
|
5
4
|
*/
|
|
6
5
|
|
|
7
6
|
import type { VideoDuration, DurationOption } from "../types";
|
|
8
7
|
|
|
9
8
|
export const DEFAULT_DURATION_OPTIONS: DurationOption[] = [
|
|
10
9
|
{ value: 4, label: "4s" },
|
|
11
|
-
{ value: 8, label: "8s" },
|
|
12
|
-
{ value: 12, label: "12s" },
|
|
13
10
|
];
|
|
14
11
|
|
|
15
12
|
export const DEFAULT_VIDEO_DURATION: VideoDuration = 4;
|