@pixerate/schemas 1.15.0 → 1.17.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 +3 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +3 -1
- 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
|
});
|
|
@@ -798,7 +800,7 @@ var JsonGenerationSchema = import_zod.z.object({
|
|
|
798
800
|
prompt: import_zod.z.string(),
|
|
799
801
|
schema: import_zod.z.record(import_zod.z.any()).optional()
|
|
800
802
|
});
|
|
801
|
-
var ServiceClientSchema = import_zod.z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]);
|
|
803
|
+
var ServiceClientSchema = import_zod.z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]);
|
|
802
804
|
var AgentToolTypeSchema = import_zod.z.enum(["code_execution", "google_search", "url_context", "file_search", "custom"]);
|
|
803
805
|
var AgentDocumentAttachmentSchema = import_zod.z.object({
|
|
804
806
|
data: import_zod.z.string().optional(),
|
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;
|
|
@@ -8357,7 +8363,7 @@ declare const JsonGenerationSchema: z.ZodObject<{
|
|
|
8357
8363
|
schema?: Record<string, any> | undefined;
|
|
8358
8364
|
}>;
|
|
8359
8365
|
type JsonGenerationPayload = z.infer<typeof JsonGenerationSchema>;
|
|
8360
|
-
declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]>;
|
|
8366
|
+
declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]>;
|
|
8361
8367
|
type ServiceClient = z.infer<typeof ServiceClientSchema>;
|
|
8362
8368
|
declare const AgentToolTypeSchema: z.ZodEnum<["code_execution", "google_search", "url_context", "file_search", "custom"]>;
|
|
8363
8369
|
type AgentToolType = z.infer<typeof AgentToolTypeSchema>;
|
|
@@ -8732,7 +8738,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8732
8738
|
id: z.ZodString;
|
|
8733
8739
|
type: z.ZodEnum<["text", "image", "video", "analysis", "audio", "agent", "code", "component", "upscale"]>;
|
|
8734
8740
|
status: z.ZodEnum<["queued", "processing", "completed", "failed"]>;
|
|
8735
|
-
client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]>>;
|
|
8741
|
+
client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]>>;
|
|
8736
8742
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8737
8743
|
createdAt: z.ZodOptional<z.ZodAny>;
|
|
8738
8744
|
updatedAt: z.ZodOptional<z.ZodAny>;
|
|
@@ -8742,7 +8748,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8742
8748
|
id: string;
|
|
8743
8749
|
createdAt?: any;
|
|
8744
8750
|
updatedAt?: any;
|
|
8745
|
-
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
|
|
8751
|
+
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | "uchiage" | undefined;
|
|
8746
8752
|
payload?: Record<string, any> | undefined;
|
|
8747
8753
|
}, {
|
|
8748
8754
|
type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
|
|
@@ -8750,7 +8756,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8750
8756
|
id: string;
|
|
8751
8757
|
createdAt?: any;
|
|
8752
8758
|
updatedAt?: any;
|
|
8753
|
-
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
|
|
8759
|
+
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | "uchiage" | undefined;
|
|
8754
8760
|
payload?: Record<string, any> | undefined;
|
|
8755
8761
|
}>;
|
|
8756
8762
|
type QueueJob = z.infer<typeof QueueJobSchema>;
|
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;
|
|
@@ -8357,7 +8363,7 @@ declare const JsonGenerationSchema: z.ZodObject<{
|
|
|
8357
8363
|
schema?: Record<string, any> | undefined;
|
|
8358
8364
|
}>;
|
|
8359
8365
|
type JsonGenerationPayload = z.infer<typeof JsonGenerationSchema>;
|
|
8360
|
-
declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]>;
|
|
8366
|
+
declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]>;
|
|
8361
8367
|
type ServiceClient = z.infer<typeof ServiceClientSchema>;
|
|
8362
8368
|
declare const AgentToolTypeSchema: z.ZodEnum<["code_execution", "google_search", "url_context", "file_search", "custom"]>;
|
|
8363
8369
|
type AgentToolType = z.infer<typeof AgentToolTypeSchema>;
|
|
@@ -8732,7 +8738,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8732
8738
|
id: z.ZodString;
|
|
8733
8739
|
type: z.ZodEnum<["text", "image", "video", "analysis", "audio", "agent", "code", "component", "upscale"]>;
|
|
8734
8740
|
status: z.ZodEnum<["queued", "processing", "completed", "failed"]>;
|
|
8735
|
-
client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]>>;
|
|
8741
|
+
client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]>>;
|
|
8736
8742
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8737
8743
|
createdAt: z.ZodOptional<z.ZodAny>;
|
|
8738
8744
|
updatedAt: z.ZodOptional<z.ZodAny>;
|
|
@@ -8742,7 +8748,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8742
8748
|
id: string;
|
|
8743
8749
|
createdAt?: any;
|
|
8744
8750
|
updatedAt?: any;
|
|
8745
|
-
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
|
|
8751
|
+
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | "uchiage" | undefined;
|
|
8746
8752
|
payload?: Record<string, any> | undefined;
|
|
8747
8753
|
}, {
|
|
8748
8754
|
type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
|
|
@@ -8750,7 +8756,7 @@ declare const QueueJobSchema: z.ZodObject<{
|
|
|
8750
8756
|
id: string;
|
|
8751
8757
|
createdAt?: any;
|
|
8752
8758
|
updatedAt?: any;
|
|
8753
|
-
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
|
|
8759
|
+
client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | "uchiage" | undefined;
|
|
8754
8760
|
payload?: Record<string, any> | undefined;
|
|
8755
8761
|
}>;
|
|
8756
8762
|
type QueueJob = z.infer<typeof QueueJobSchema>;
|
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
|
});
|
|
@@ -588,7 +590,7 @@ var JsonGenerationSchema = z.object({
|
|
|
588
590
|
prompt: z.string(),
|
|
589
591
|
schema: z.record(z.any()).optional()
|
|
590
592
|
});
|
|
591
|
-
var ServiceClientSchema = z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "unknown"]);
|
|
593
|
+
var ServiceClientSchema = z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "symphonia", "flair", "operative", "uchiage", "unknown"]);
|
|
592
594
|
var AgentToolTypeSchema = z.enum(["code_execution", "google_search", "url_context", "file_search", "custom"]);
|
|
593
595
|
var AgentDocumentAttachmentSchema = z.object({
|
|
594
596
|
data: z.string().optional(),
|