@gptmarket/temporal-types 0.0.4 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gptmarket/temporal-types",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "TypeScript types and workflow registry for GPTMarket Temporal workflows",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
package/registry.ts CHANGED
@@ -100,18 +100,6 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
100
100
  required: false,
101
101
  default: "",
102
102
  },
103
- {
104
- name: "style",
105
- type: "select",
106
- label: "Style",
107
- description: "Style: realistic or stylized",
108
- required: false,
109
- default: "realistic",
110
- options: [
111
- { value: "realistic", label: "Realistic" },
112
- { value: "stylized", label: "Stylized" },
113
- ],
114
- },
115
103
  {
116
104
  name: "gender",
117
105
  type: "select",
@@ -175,14 +163,6 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
175
163
  default: null,
176
164
  hidden: true,
177
165
  },
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
166
  {
187
167
  name: "video_duration",
188
168
  type: "number",
@@ -190,6 +170,15 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
190
170
  description: "Video duration in seconds",
191
171
  required: false,
192
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,
193
182
  },
194
183
  ],
195
184
  };
@@ -18,12 +18,6 @@
18
18
  "title": "Text Overlay",
19
19
  "type": "string"
20
20
  },
21
- "style": {
22
- "default": "realistic",
23
- "description": "Style: realistic or stylized",
24
- "title": "Style",
25
- "type": "string"
26
- },
27
21
  "gender": {
28
22
  "default": "female",
29
23
  "description": "Gender: female or male",
@@ -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
@@ -42,8 +42,6 @@ export interface RubyInput {
42
42
  emotion?: string;
43
43
  /** Text to display on video (e.g., "You won't believe this...") */
44
44
  text_overlay?: string;
45
- /** Style: realistic or stylized */
46
- style?: 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 {