@pixerate/schemas 1.15.0 → 1.16.0
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/dist/index.cjs +2 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -248,6 +248,7 @@ var VideoGenerationSchema = import_zod.z.object({
|
|
|
248
248
|
durationSeconds: import_zod.z.number().int().optional(),
|
|
249
249
|
generateAudio: import_zod.z.boolean().optional(),
|
|
250
250
|
modelName: import_zod.z.string().optional(),
|
|
251
|
+
lowCost: import_zod.z.boolean().optional(),
|
|
251
252
|
resolution: VideoResolutionSchema.optional(),
|
|
252
253
|
fps: import_zod.z.number().optional(),
|
|
253
254
|
isMultimedia: import_zod.z.boolean().optional(),
|
|
@@ -358,6 +359,7 @@ var SocialVideoGenerationSchema = import_zod.z.object({
|
|
|
358
359
|
audioPrompt: import_zod.z.string().optional(),
|
|
359
360
|
aspectRatio: VideoAspectRatioSchema.optional(),
|
|
360
361
|
durationSeconds: import_zod.z.number().int().optional(),
|
|
362
|
+
lowCost: import_zod.z.boolean().optional(),
|
|
361
363
|
hook: import_zod.z.union([import_zod.z.string(), TextOverlaySchema]).optional(),
|
|
362
364
|
watermark: import_zod.z.union([import_zod.z.string(), WatermarkSchema]).optional()
|
|
363
365
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
45
45
|
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
46
|
generateAudio: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
modelName: z.ZodOptional<z.ZodString>;
|
|
48
|
+
lowCost: z.ZodOptional<z.ZodBoolean>;
|
|
48
49
|
resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
|
|
49
50
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
50
51
|
isMultimedia: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -129,6 +130,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
129
130
|
durationSeconds?: number | undefined;
|
|
130
131
|
generateAudio?: boolean | undefined;
|
|
131
132
|
modelName?: string | undefined;
|
|
133
|
+
lowCost?: boolean | undefined;
|
|
132
134
|
resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
|
|
133
135
|
fps?: number | undefined;
|
|
134
136
|
isMultimedia?: boolean | undefined;
|
|
@@ -167,6 +169,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
167
169
|
durationSeconds?: number | undefined;
|
|
168
170
|
generateAudio?: boolean | undefined;
|
|
169
171
|
modelName?: string | undefined;
|
|
172
|
+
lowCost?: boolean | undefined;
|
|
170
173
|
resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
|
|
171
174
|
fps?: number | undefined;
|
|
172
175
|
isMultimedia?: boolean | undefined;
|
|
@@ -1174,6 +1177,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1174
1177
|
audioPrompt: z.ZodOptional<z.ZodString>;
|
|
1175
1178
|
aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
|
|
1176
1179
|
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1180
|
+
lowCost: z.ZodOptional<z.ZodBoolean>;
|
|
1177
1181
|
hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1178
1182
|
text: z.ZodString;
|
|
1179
1183
|
style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
|
|
@@ -1476,6 +1480,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1476
1480
|
prompt: string;
|
|
1477
1481
|
aspectRatio?: "9:16" | "16:9" | undefined;
|
|
1478
1482
|
durationSeconds?: number | undefined;
|
|
1483
|
+
lowCost?: boolean | undefined;
|
|
1479
1484
|
watermark?: string | {
|
|
1480
1485
|
text?: string | undefined;
|
|
1481
1486
|
imagePath?: string | undefined;
|
|
@@ -1559,6 +1564,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1559
1564
|
prompt: string;
|
|
1560
1565
|
aspectRatio?: "9:16" | "16:9" | undefined;
|
|
1561
1566
|
durationSeconds?: number | undefined;
|
|
1567
|
+
lowCost?: boolean | undefined;
|
|
1562
1568
|
watermark?: string | {
|
|
1563
1569
|
text?: string | undefined;
|
|
1564
1570
|
imagePath?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
45
45
|
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
46
|
generateAudio: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
modelName: z.ZodOptional<z.ZodString>;
|
|
48
|
+
lowCost: z.ZodOptional<z.ZodBoolean>;
|
|
48
49
|
resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
|
|
49
50
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
50
51
|
isMultimedia: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -129,6 +130,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
129
130
|
durationSeconds?: number | undefined;
|
|
130
131
|
generateAudio?: boolean | undefined;
|
|
131
132
|
modelName?: string | undefined;
|
|
133
|
+
lowCost?: boolean | undefined;
|
|
132
134
|
resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
|
|
133
135
|
fps?: number | undefined;
|
|
134
136
|
isMultimedia?: boolean | undefined;
|
|
@@ -167,6 +169,7 @@ declare const VideoGenerationSchema: z.ZodObject<{
|
|
|
167
169
|
durationSeconds?: number | undefined;
|
|
168
170
|
generateAudio?: boolean | undefined;
|
|
169
171
|
modelName?: string | undefined;
|
|
172
|
+
lowCost?: boolean | undefined;
|
|
170
173
|
resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
|
|
171
174
|
fps?: number | undefined;
|
|
172
175
|
isMultimedia?: boolean | undefined;
|
|
@@ -1174,6 +1177,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1174
1177
|
audioPrompt: z.ZodOptional<z.ZodString>;
|
|
1175
1178
|
aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
|
|
1176
1179
|
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1180
|
+
lowCost: z.ZodOptional<z.ZodBoolean>;
|
|
1177
1181
|
hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1178
1182
|
text: z.ZodString;
|
|
1179
1183
|
style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
|
|
@@ -1476,6 +1480,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1476
1480
|
prompt: string;
|
|
1477
1481
|
aspectRatio?: "9:16" | "16:9" | undefined;
|
|
1478
1482
|
durationSeconds?: number | undefined;
|
|
1483
|
+
lowCost?: boolean | undefined;
|
|
1479
1484
|
watermark?: string | {
|
|
1480
1485
|
text?: string | undefined;
|
|
1481
1486
|
imagePath?: string | undefined;
|
|
@@ -1559,6 +1564,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
|
|
|
1559
1564
|
prompt: string;
|
|
1560
1565
|
aspectRatio?: "9:16" | "16:9" | undefined;
|
|
1561
1566
|
durationSeconds?: number | undefined;
|
|
1567
|
+
lowCost?: boolean | undefined;
|
|
1562
1568
|
watermark?: string | {
|
|
1563
1569
|
text?: string | undefined;
|
|
1564
1570
|
imagePath?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -38,6 +38,7 @@ var VideoGenerationSchema = z.object({
|
|
|
38
38
|
durationSeconds: z.number().int().optional(),
|
|
39
39
|
generateAudio: z.boolean().optional(),
|
|
40
40
|
modelName: z.string().optional(),
|
|
41
|
+
lowCost: z.boolean().optional(),
|
|
41
42
|
resolution: VideoResolutionSchema.optional(),
|
|
42
43
|
fps: z.number().optional(),
|
|
43
44
|
isMultimedia: z.boolean().optional(),
|
|
@@ -148,6 +149,7 @@ var SocialVideoGenerationSchema = z.object({
|
|
|
148
149
|
audioPrompt: z.string().optional(),
|
|
149
150
|
aspectRatio: VideoAspectRatioSchema.optional(),
|
|
150
151
|
durationSeconds: z.number().int().optional(),
|
|
152
|
+
lowCost: z.boolean().optional(),
|
|
151
153
|
hook: z.union([z.string(), TextOverlaySchema]).optional(),
|
|
152
154
|
watermark: z.union([z.string(), WatermarkSchema]).optional()
|
|
153
155
|
});
|