@gptmarket/temporal-types 0.0.4 → 0.0.6
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 +13 -25
- package/schemas/RubyInput.json +21 -18
- package/types.ts +4 -6
package/package.json
CHANGED
package/registry.ts
CHANGED
|
@@ -95,22 +95,9 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
95
95
|
name: "text_overlay",
|
|
96
96
|
type: "textarea",
|
|
97
97
|
label: "Text Overlay",
|
|
98
|
-
description:
|
|
99
|
-
'Text to display on video (e.g., "You won\'t believe this...")',
|
|
100
|
-
required: false,
|
|
101
|
-
default: "",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: "style",
|
|
105
|
-
type: "select",
|
|
106
|
-
label: "Style",
|
|
107
|
-
description: "Style: realistic or stylized",
|
|
98
|
+
description: "Optional text to display on video",
|
|
108
99
|
required: false,
|
|
109
|
-
default:
|
|
110
|
-
options: [
|
|
111
|
-
{ value: "realistic", label: "Realistic" },
|
|
112
|
-
{ value: "stylized", label: "Stylized" },
|
|
113
|
-
],
|
|
100
|
+
default: null,
|
|
114
101
|
},
|
|
115
102
|
{
|
|
116
103
|
name: "gender",
|
|
@@ -143,7 +130,7 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
143
130
|
label: "Image Model",
|
|
144
131
|
description: "Image model ID from registry",
|
|
145
132
|
required: false,
|
|
146
|
-
default: "
|
|
133
|
+
default: "nano-banana",
|
|
147
134
|
hidden: true,
|
|
148
135
|
},
|
|
149
136
|
{
|
|
@@ -152,7 +139,7 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
152
139
|
label: "Video Model",
|
|
153
140
|
description: "Video model ID from registry",
|
|
154
141
|
required: false,
|
|
155
|
-
default: "
|
|
142
|
+
default: "kling-v2.6",
|
|
156
143
|
hidden: true,
|
|
157
144
|
},
|
|
158
145
|
{
|
|
@@ -175,14 +162,6 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
175
162
|
default: null,
|
|
176
163
|
hidden: true,
|
|
177
164
|
},
|
|
178
|
-
{
|
|
179
|
-
name: "slow_motion_factor",
|
|
180
|
-
type: "number",
|
|
181
|
-
label: "Slow Motion Factor",
|
|
182
|
-
description: "Speed factor (0.5 = half speed)",
|
|
183
|
-
required: false,
|
|
184
|
-
default: 0.7,
|
|
185
|
-
},
|
|
186
165
|
{
|
|
187
166
|
name: "video_duration",
|
|
188
167
|
type: "number",
|
|
@@ -190,6 +169,15 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
|
|
|
190
169
|
description: "Video duration in seconds",
|
|
191
170
|
required: false,
|
|
192
171
|
default: 5,
|
|
172
|
+
validation: { min: 5, max: 10 },
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: "slowed_video",
|
|
176
|
+
type: "checkbox",
|
|
177
|
+
label: "Slowed Video",
|
|
178
|
+
description: "Apply slow motion effect to video",
|
|
179
|
+
required: false,
|
|
180
|
+
default: true,
|
|
193
181
|
},
|
|
194
182
|
],
|
|
195
183
|
};
|
package/schemas/RubyInput.json
CHANGED
|
@@ -13,16 +13,17 @@
|
|
|
13
13
|
"type": "string"
|
|
14
14
|
},
|
|
15
15
|
"text_overlay": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "null"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"default": null,
|
|
25
|
+
"description": "Optional text to display on video",
|
|
26
|
+
"title": "Text Overlay"
|
|
26
27
|
},
|
|
27
28
|
"gender": {
|
|
28
29
|
"default": "female",
|
|
@@ -37,13 +38,13 @@
|
|
|
37
38
|
"type": "string"
|
|
38
39
|
},
|
|
39
40
|
"image_model": {
|
|
40
|
-
"default": "
|
|
41
|
+
"default": "nano-banana",
|
|
41
42
|
"description": "Image model ID from registry",
|
|
42
43
|
"title": "Image Model",
|
|
43
44
|
"type": "string"
|
|
44
45
|
},
|
|
45
46
|
"video_model": {
|
|
46
|
-
"default": "
|
|
47
|
+
"default": "kling-v2.6",
|
|
47
48
|
"description": "Video model ID from registry",
|
|
48
49
|
"title": "Video Model",
|
|
49
50
|
"type": "string"
|
|
@@ -60,17 +61,19 @@
|
|
|
60
61
|
"title": "Video Model Params",
|
|
61
62
|
"type": "object"
|
|
62
63
|
},
|
|
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
64
|
"video_duration": {
|
|
70
65
|
"default": 5,
|
|
71
66
|
"description": "Video duration in seconds",
|
|
67
|
+
"maximum": 10,
|
|
68
|
+
"minimum": 5,
|
|
72
69
|
"title": "Video Duration",
|
|
73
70
|
"type": "integer"
|
|
71
|
+
},
|
|
72
|
+
"slowed_video": {
|
|
73
|
+
"default": true,
|
|
74
|
+
"description": "Apply slow motion effect to video",
|
|
75
|
+
"title": "Slowed Video",
|
|
76
|
+
"type": "boolean"
|
|
74
77
|
}
|
|
75
78
|
},
|
|
76
79
|
"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
|
-
/**
|
|
44
|
-
text_overlay?: string;
|
|
45
|
-
/** Style: realistic or stylized */
|
|
46
|
-
style?: string;
|
|
43
|
+
/** Optional text to display on video */
|
|
44
|
+
text_overlay?: string | null;
|
|
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 {
|