@gptmarket/temporal-types 0.0.3 → 0.0.5
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 +1 -1
- package/registry.ts +14 -24
- package/schemas/RubyInput.json +11 -15
- package/types.ts +4 -6
package/package.json
CHANGED
package/registry.ts
CHANGED
|
@@ -92,25 +92,14 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
92
92
|
],
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
name: "
|
|
96
|
-
type: "
|
|
97
|
-
label: "
|
|
98
|
-
description:
|
|
95
|
+
name: "text_overlay",
|
|
96
|
+
type: "textarea",
|
|
97
|
+
label: "Text Overlay",
|
|
98
|
+
description:
|
|
99
|
+
'Text to display on video (e.g., "You won\'t believe this...")',
|
|
99
100
|
required: false,
|
|
100
101
|
default: "",
|
|
101
102
|
},
|
|
102
|
-
{
|
|
103
|
-
name: "style",
|
|
104
|
-
type: "select",
|
|
105
|
-
label: "Style",
|
|
106
|
-
description: "Style: realistic or stylized",
|
|
107
|
-
required: false,
|
|
108
|
-
default: "realistic",
|
|
109
|
-
options: [
|
|
110
|
-
{ value: "realistic", label: "Realistic" },
|
|
111
|
-
{ value: "stylized", label: "Stylized" },
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
103
|
{
|
|
115
104
|
name: "gender",
|
|
116
105
|
type: "select",
|
|
@@ -174,14 +163,6 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
174
163
|
default: null,
|
|
175
164
|
hidden: true,
|
|
176
165
|
},
|
|
177
|
-
{
|
|
178
|
-
name: "slow_motion_factor",
|
|
179
|
-
type: "number",
|
|
180
|
-
label: "Slow Motion Factor",
|
|
181
|
-
description: "Speed factor (0.5 = half speed)",
|
|
182
|
-
required: false,
|
|
183
|
-
default: 0.7,
|
|
184
|
-
},
|
|
185
166
|
{
|
|
186
167
|
name: "video_duration",
|
|
187
168
|
type: "number",
|
|
@@ -189,6 +170,15 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
189
170
|
description: "Video duration in seconds",
|
|
190
171
|
required: false,
|
|
191
172
|
default: 5,
|
|
173
|
+
validation: { min: 5, max: 10 },
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "slowed_video",
|
|
177
|
+
type: "checkbox",
|
|
178
|
+
label: "Slowed Video",
|
|
179
|
+
description: "Apply slow motion effect to video",
|
|
180
|
+
required: false,
|
|
181
|
+
default: true,
|
|
192
182
|
},
|
|
193
183
|
],
|
|
194
184
|
};
|
package/schemas/RubyInput.json
CHANGED
|
@@ -12,16 +12,10 @@
|
|
|
12
12
|
"title": "Emotion",
|
|
13
13
|
"type": "string"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
15
|
+
"text_overlay": {
|
|
16
16
|
"default": "",
|
|
17
|
-
"description": "Text
|
|
18
|
-
"title": "
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"style": {
|
|
22
|
-
"default": "realistic",
|
|
23
|
-
"description": "Style: realistic or stylized",
|
|
24
|
-
"title": "Style",
|
|
17
|
+
"description": "Text to display on video (e.g., \"You won't believe this...\")",
|
|
18
|
+
"title": "Text Overlay",
|
|
25
19
|
"type": "string"
|
|
26
20
|
},
|
|
27
21
|
"gender": {
|
|
@@ -60,17 +54,19 @@
|
|
|
60
54
|
"title": "Video Model Params",
|
|
61
55
|
"type": "object"
|
|
62
56
|
},
|
|
63
|
-
"slow_motion_factor": {
|
|
64
|
-
"default": 0.7,
|
|
65
|
-
"description": "Speed factor (0.5 = half speed)",
|
|
66
|
-
"title": "Slow Motion Factor",
|
|
67
|
-
"type": "number"
|
|
68
|
-
},
|
|
69
57
|
"video_duration": {
|
|
70
58
|
"default": 5,
|
|
71
59
|
"description": "Video duration in seconds",
|
|
60
|
+
"maximum": 10,
|
|
61
|
+
"minimum": 5,
|
|
72
62
|
"title": "Video Duration",
|
|
73
63
|
"type": "integer"
|
|
64
|
+
},
|
|
65
|
+
"slowed_video": {
|
|
66
|
+
"default": true,
|
|
67
|
+
"description": "Apply slow motion effect to video",
|
|
68
|
+
"title": "Slowed Video",
|
|
69
|
+
"type": "boolean"
|
|
74
70
|
}
|
|
75
71
|
},
|
|
76
72
|
"required": [
|
package/types.ts
CHANGED
|
@@ -40,10 +40,8 @@ export interface RubyInput {
|
|
|
40
40
|
topic: string;
|
|
41
41
|
/** Emotion: shocked, scared, surprised, worried, excited */
|
|
42
42
|
emotion?: string;
|
|
43
|
-
/** Text
|
|
44
|
-
|
|
45
|
-
/** Style: realistic or stylized */
|
|
46
|
-
style?: string;
|
|
43
|
+
/** Text to display on video (e.g., "You won't believe this...") */
|
|
44
|
+
text_overlay?: string;
|
|
47
45
|
/** Gender: female or male */
|
|
48
46
|
gender?: string;
|
|
49
47
|
/** Aspect ratio: 9:16, 16:9, 1:1 */
|
|
@@ -56,10 +54,10 @@ export interface RubyInput {
|
|
|
56
54
|
image_model_params?: Record<string, unknown>;
|
|
57
55
|
/** Override video model params (e.g., {"camera_fixed": False}) */
|
|
58
56
|
video_model_params?: Record<string, unknown>;
|
|
59
|
-
/** Speed factor (0.5 = half speed) */
|
|
60
|
-
slow_motion_factor?: number;
|
|
61
57
|
/** Video duration in seconds */
|
|
62
58
|
video_duration?: number;
|
|
59
|
+
/** Apply slow motion effect to video */
|
|
60
|
+
slowed_video?: boolean;
|
|
63
61
|
}
|
|
64
62
|
|
|
65
63
|
export interface RubyOutput {
|