@playcraft/common 0.1.67 → 0.1.69
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/agent-tools/replica-validation.d.ts +12 -12
- package/dist/audio-library-stream.d.ts +65 -0
- package/dist/audio-library-stream.d.ts.map +1 -0
- package/dist/audio-library-stream.js +87 -0
- package/dist/audio-library-stream.js.map +1 -0
- package/dist/cloud-workspace/runtime/animation-editor.d.ts +1 -1
- package/dist/cloud-workspace/runtime/artifacts.d.ts +7 -7
- package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts +9 -9
- package/dist/cloud-workspace/runtime/asset-generation.d.ts +29 -29
- package/dist/cloud-workspace/runtime/asset-library-import.d.ts +67 -1
- package/dist/cloud-workspace/runtime/asset-library-import.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/asset-library-import.js +2 -1
- package/dist/cloud-workspace/runtime/asset-library-import.js.map +1 -1
- package/dist/cloud-workspace/runtime/asset-library-model.d.ts +146 -0
- package/dist/cloud-workspace/runtime/asset-library-model.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-model.js +66 -0
- package/dist/cloud-workspace/runtime/asset-library-model.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-save.d.ts +6 -6
- package/dist/cloud-workspace/runtime/audio-delivery.d.ts +75 -0
- package/dist/cloud-workspace/runtime/audio-delivery.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-delivery.js +122 -0
- package/dist/cloud-workspace/runtime/audio-delivery.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-dynamic-document.d.ts +68 -0
- package/dist/cloud-workspace/runtime/audio-dynamic-document.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-dynamic-document.js +120 -0
- package/dist/cloud-workspace/runtime/audio-dynamic-document.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-export.d.ts +3 -3
- package/dist/cloud-workspace/runtime/audio-hybrid-player.d.ts +22 -0
- package/dist/cloud-workspace/runtime/audio-hybrid-player.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-hybrid-player.js +456 -0
- package/dist/cloud-workspace/runtime/audio-hybrid-player.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-library.d.ts +418 -0
- package/dist/cloud-workspace/runtime/audio-library.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-library.js +155 -0
- package/dist/cloud-workspace/runtime/audio-library.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-prerender-player.d.ts +31 -0
- package/dist/cloud-workspace/runtime/audio-prerender-player.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-prerender-player.js +178 -0
- package/dist/cloud-workspace/runtime/audio-prerender-player.js.map +1 -0
- package/dist/cloud-workspace/runtime/batch-runs.d.ts +84 -0
- package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/batch-runs.js +8 -1
- package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -1
- package/dist/cloud-workspace/runtime/chat-realtime.d.ts +2 -2
- package/dist/cloud-workspace/runtime/delivery.d.ts +4 -4
- package/dist/cloud-workspace/runtime/events.d.ts +4 -4
- package/dist/cloud-workspace/runtime/index.d.ts +7 -0
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/index.js +7 -0
- package/dist/cloud-workspace/runtime/index.js.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-agent.d.ts +4 -4
- package/dist/cloud-workspace/runtime/library-attachments.d.ts +132 -0
- package/dist/cloud-workspace/runtime/library-attachments.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/library-attachments.js +9 -0
- package/dist/cloud-workspace/runtime/library-attachments.js.map +1 -1
- package/dist/cloud-workspace/runtime/model-build-inputs.d.ts +1 -1
- package/dist/cloud-workspace/runtime/model-production.d.ts +64 -64
- package/dist/cloud-workspace/runtime/model-quality.d.ts +73 -73
- package/dist/cloud-workspace/runtime/model-validation.d.ts +1 -1
- package/dist/cloud-workspace/runtime/native-turn-error.d.ts +3 -0
- package/dist/cloud-workspace/runtime/native-turn-error.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/native-turn-error.js +19 -0
- package/dist/cloud-workspace/runtime/native-turn-error.js.map +1 -0
- package/dist/cloud-workspace/runtime/operations.d.ts +91 -25
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/parameter-agent.d.ts +2 -2
- package/dist/cloud-workspace/runtime/previews.d.ts +3 -3
- package/dist/cloud-workspace/runtime/scheduled-task-proposals.js +1 -1
- package/dist/cloud-workspace/runtime/scheduled-task-proposals.js.map +1 -1
- package/dist/cloud-workspace/runtime/scheduled-tasks.js +1 -1
- package/dist/cloud-workspace/runtime/scheduled-tasks.js.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +1 -1
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts +6 -6
- package/dist/model-proxy/diagnostic-error-text.d.ts +7 -0
- package/dist/model-proxy/diagnostic-error-text.d.ts.map +1 -0
- package/dist/model-proxy/diagnostic-error-text.js +16 -0
- package/dist/model-proxy/diagnostic-error-text.js.map +1 -0
- package/dist/model-proxy/diagnostics.d.ts +20 -0
- package/dist/model-proxy/diagnostics.d.ts.map +1 -1
- package/dist/model-proxy/governance-workbench.d.ts +3 -0
- package/dist/model-proxy/governance-workbench.d.ts.map +1 -1
- package/dist/model-proxy/index.d.ts +1 -0
- package/dist/model-proxy/index.d.ts.map +1 -1
- package/dist/model-proxy/index.js +1 -0
- package/dist/model-proxy/index.js.map +1 -1
- package/package.json +5 -1
|
@@ -41,8 +41,8 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
41
41
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
42
42
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
43
43
|
"image/png": "image/png";
|
|
44
|
-
"image/jpeg": "image/jpeg";
|
|
45
44
|
"image/webp": "image/webp";
|
|
45
|
+
"image/jpeg": "image/jpeg";
|
|
46
46
|
}>>;
|
|
47
47
|
mode: z.ZodEnum<{
|
|
48
48
|
text: "text";
|
|
@@ -66,8 +66,8 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
66
66
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
67
67
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
68
68
|
"image/png": "image/png";
|
|
69
|
-
"image/jpeg": "image/jpeg";
|
|
70
69
|
"image/webp": "image/webp";
|
|
70
|
+
"image/jpeg": "image/jpeg";
|
|
71
71
|
}>>;
|
|
72
72
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
73
73
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -82,8 +82,8 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
82
82
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
83
83
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
84
84
|
"image/png": "image/png";
|
|
85
|
-
"image/jpeg": "image/jpeg";
|
|
86
85
|
"image/webp": "image/webp";
|
|
86
|
+
"image/jpeg": "image/jpeg";
|
|
87
87
|
}>>;
|
|
88
88
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
89
89
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -98,15 +98,15 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
98
98
|
base64: z.ZodString;
|
|
99
99
|
mimeType: z.ZodEnum<{
|
|
100
100
|
"image/png": "image/png";
|
|
101
|
-
"image/jpeg": "image/jpeg";
|
|
102
101
|
"image/webp": "image/webp";
|
|
102
|
+
"image/jpeg": "image/jpeg";
|
|
103
103
|
}>;
|
|
104
104
|
}, z.core.$strict>>>;
|
|
105
105
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
106
106
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
107
107
|
"image/png": "image/png";
|
|
108
|
-
"image/jpeg": "image/jpeg";
|
|
109
108
|
"image/webp": "image/webp";
|
|
109
|
+
"image/jpeg": "image/jpeg";
|
|
110
110
|
}>>;
|
|
111
111
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
112
112
|
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -167,14 +167,14 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
167
167
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
168
168
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
169
169
|
"image/png": "image/png";
|
|
170
|
-
"image/jpeg": "image/jpeg";
|
|
171
170
|
"image/webp": "image/webp";
|
|
171
|
+
"image/jpeg": "image/jpeg";
|
|
172
172
|
}>>;
|
|
173
173
|
multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
174
|
view: z.ZodEnum<{
|
|
175
|
+
left: "left";
|
|
175
176
|
right: "right";
|
|
176
177
|
back: "back";
|
|
177
|
-
left: "left";
|
|
178
178
|
top: "top";
|
|
179
179
|
bottom: "bottom";
|
|
180
180
|
left_front: "left_front";
|
|
@@ -183,8 +183,8 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
183
183
|
imageBase64: z.ZodString;
|
|
184
184
|
mimeType: z.ZodOptional<z.ZodEnum<{
|
|
185
185
|
"image/png": "image/png";
|
|
186
|
-
"image/jpeg": "image/jpeg";
|
|
187
186
|
"image/webp": "image/webp";
|
|
187
|
+
"image/jpeg": "image/jpeg";
|
|
188
188
|
}>>;
|
|
189
189
|
}, z.core.$strict>>>;
|
|
190
190
|
modelRef: z.ZodOptional<z.ZodString>;
|
|
@@ -217,11 +217,11 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
217
217
|
mode: "text" | "reference";
|
|
218
218
|
prompt?: string | undefined;
|
|
219
219
|
referenceImageBase64?: string | undefined;
|
|
220
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
220
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
221
221
|
multiViewImages?: {
|
|
222
|
-
view: "
|
|
222
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
223
223
|
imageBase64: string;
|
|
224
|
-
mimeType?: "image/png" | "image/
|
|
224
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
modelRef?: string | undefined;
|
|
227
227
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -234,7 +234,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
234
234
|
mode: "text" | "reference";
|
|
235
235
|
kind: "video";
|
|
236
236
|
referenceImageBase64?: string | undefined;
|
|
237
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
237
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
238
238
|
videoModelRef?: string | undefined;
|
|
239
239
|
duration?: 5 | 10 | 15 | undefined;
|
|
240
240
|
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
@@ -249,7 +249,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
249
249
|
fps: number;
|
|
250
250
|
kind: "sprite";
|
|
251
251
|
referenceImageBase64?: string | undefined;
|
|
252
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
252
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
253
253
|
imageModelRef?: string | undefined;
|
|
254
254
|
removeBackground?: boolean | undefined;
|
|
255
255
|
} | {
|
|
@@ -261,7 +261,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
261
261
|
fps: number;
|
|
262
262
|
kind: "animation";
|
|
263
263
|
referenceImageBase64?: string | undefined;
|
|
264
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
264
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
265
265
|
imageModelRef?: string | undefined;
|
|
266
266
|
removeBackground?: boolean | undefined;
|
|
267
267
|
} | {
|
|
@@ -269,10 +269,10 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
269
269
|
prompt: string;
|
|
270
270
|
referenceImages?: {
|
|
271
271
|
base64: string;
|
|
272
|
-
mimeType: "image/png" | "image/
|
|
272
|
+
mimeType: "image/png" | "image/webp" | "image/jpeg";
|
|
273
273
|
}[] | undefined;
|
|
274
274
|
referenceImageBase64?: string | undefined;
|
|
275
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
275
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
276
276
|
imageModelRef?: string | undefined;
|
|
277
277
|
aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
|
|
278
278
|
imageSize?: "1K" | "2K" | "4K" | undefined;
|
|
@@ -299,11 +299,11 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
299
299
|
mode: "text" | "reference";
|
|
300
300
|
prompt?: string | undefined;
|
|
301
301
|
referenceImageBase64?: string | undefined;
|
|
302
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
302
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
303
303
|
multiViewImages?: {
|
|
304
|
-
view: "
|
|
304
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
305
305
|
imageBase64: string;
|
|
306
|
-
mimeType?: "image/png" | "image/
|
|
306
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
307
307
|
}[] | undefined;
|
|
308
308
|
modelRef?: string | undefined;
|
|
309
309
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -316,11 +316,11 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
316
316
|
mode: "text" | "reference";
|
|
317
317
|
prompt?: string | undefined;
|
|
318
318
|
referenceImageBase64?: string | undefined;
|
|
319
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
319
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
320
320
|
multiViewImages?: {
|
|
321
|
-
view: "
|
|
321
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
322
322
|
imageBase64: string;
|
|
323
|
-
mimeType?: "image/png" | "image/
|
|
323
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
324
324
|
}[] | undefined;
|
|
325
325
|
modelRef?: string | undefined;
|
|
326
326
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
333
333
|
mode: "text" | "reference";
|
|
334
334
|
kind: "video";
|
|
335
335
|
referenceImageBase64?: string | undefined;
|
|
336
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
336
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
337
337
|
videoModelRef?: string | undefined;
|
|
338
338
|
duration?: 5 | 10 | 15 | undefined;
|
|
339
339
|
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
@@ -348,7 +348,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
348
348
|
fps: number;
|
|
349
349
|
kind: "sprite";
|
|
350
350
|
referenceImageBase64?: string | undefined;
|
|
351
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
351
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
352
352
|
imageModelRef?: string | undefined;
|
|
353
353
|
removeBackground?: boolean | undefined;
|
|
354
354
|
} | {
|
|
@@ -360,7 +360,7 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
360
360
|
fps: number;
|
|
361
361
|
kind: "animation";
|
|
362
362
|
referenceImageBase64?: string | undefined;
|
|
363
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
363
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
364
364
|
imageModelRef?: string | undefined;
|
|
365
365
|
removeBackground?: boolean | undefined;
|
|
366
366
|
} | {
|
|
@@ -368,10 +368,10 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
368
368
|
prompt: string;
|
|
369
369
|
referenceImages?: {
|
|
370
370
|
base64: string;
|
|
371
|
-
mimeType: "image/png" | "image/
|
|
371
|
+
mimeType: "image/png" | "image/webp" | "image/jpeg";
|
|
372
372
|
}[] | undefined;
|
|
373
373
|
referenceImageBase64?: string | undefined;
|
|
374
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
374
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
375
375
|
imageModelRef?: string | undefined;
|
|
376
376
|
aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
|
|
377
377
|
imageSize?: "1K" | "2K" | "4K" | undefined;
|
|
@@ -398,11 +398,11 @@ export declare const modelProductionSourceSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
398
398
|
mode: "text" | "reference";
|
|
399
399
|
prompt?: string | undefined;
|
|
400
400
|
referenceImageBase64?: string | undefined;
|
|
401
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
401
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
402
402
|
multiViewImages?: {
|
|
403
|
-
view: "
|
|
403
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
404
404
|
imageBase64: string;
|
|
405
|
-
mimeType?: "image/png" | "image/
|
|
405
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
406
406
|
}[] | undefined;
|
|
407
407
|
modelRef?: string | undefined;
|
|
408
408
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -674,8 +674,8 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
674
674
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
675
675
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
676
676
|
"image/png": "image/png";
|
|
677
|
-
"image/jpeg": "image/jpeg";
|
|
678
677
|
"image/webp": "image/webp";
|
|
678
|
+
"image/jpeg": "image/jpeg";
|
|
679
679
|
}>>;
|
|
680
680
|
mode: z.ZodEnum<{
|
|
681
681
|
text: "text";
|
|
@@ -699,8 +699,8 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
699
699
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
700
700
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
701
701
|
"image/png": "image/png";
|
|
702
|
-
"image/jpeg": "image/jpeg";
|
|
703
702
|
"image/webp": "image/webp";
|
|
703
|
+
"image/jpeg": "image/jpeg";
|
|
704
704
|
}>>;
|
|
705
705
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
706
706
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -715,8 +715,8 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
715
715
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
716
716
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
717
717
|
"image/png": "image/png";
|
|
718
|
-
"image/jpeg": "image/jpeg";
|
|
719
718
|
"image/webp": "image/webp";
|
|
719
|
+
"image/jpeg": "image/jpeg";
|
|
720
720
|
}>>;
|
|
721
721
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
722
722
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -731,15 +731,15 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
731
731
|
base64: z.ZodString;
|
|
732
732
|
mimeType: z.ZodEnum<{
|
|
733
733
|
"image/png": "image/png";
|
|
734
|
-
"image/jpeg": "image/jpeg";
|
|
735
734
|
"image/webp": "image/webp";
|
|
735
|
+
"image/jpeg": "image/jpeg";
|
|
736
736
|
}>;
|
|
737
737
|
}, z.core.$strict>>>;
|
|
738
738
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
739
739
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
740
740
|
"image/png": "image/png";
|
|
741
|
-
"image/jpeg": "image/jpeg";
|
|
742
741
|
"image/webp": "image/webp";
|
|
742
|
+
"image/jpeg": "image/jpeg";
|
|
743
743
|
}>>;
|
|
744
744
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
745
745
|
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -800,14 +800,14 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
800
800
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
801
801
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
802
802
|
"image/png": "image/png";
|
|
803
|
-
"image/jpeg": "image/jpeg";
|
|
804
803
|
"image/webp": "image/webp";
|
|
804
|
+
"image/jpeg": "image/jpeg";
|
|
805
805
|
}>>;
|
|
806
806
|
multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
807
807
|
view: z.ZodEnum<{
|
|
808
|
+
left: "left";
|
|
808
809
|
right: "right";
|
|
809
810
|
back: "back";
|
|
810
|
-
left: "left";
|
|
811
811
|
top: "top";
|
|
812
812
|
bottom: "bottom";
|
|
813
813
|
left_front: "left_front";
|
|
@@ -816,8 +816,8 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
816
816
|
imageBase64: z.ZodString;
|
|
817
817
|
mimeType: z.ZodOptional<z.ZodEnum<{
|
|
818
818
|
"image/png": "image/png";
|
|
819
|
-
"image/jpeg": "image/jpeg";
|
|
820
819
|
"image/webp": "image/webp";
|
|
820
|
+
"image/jpeg": "image/jpeg";
|
|
821
821
|
}>>;
|
|
822
822
|
}, z.core.$strict>>>;
|
|
823
823
|
modelRef: z.ZodOptional<z.ZodString>;
|
|
@@ -850,11 +850,11 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
850
850
|
mode: "text" | "reference";
|
|
851
851
|
prompt?: string | undefined;
|
|
852
852
|
referenceImageBase64?: string | undefined;
|
|
853
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
853
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
854
854
|
multiViewImages?: {
|
|
855
|
-
view: "
|
|
855
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
856
856
|
imageBase64: string;
|
|
857
|
-
mimeType?: "image/png" | "image/
|
|
857
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
858
858
|
}[] | undefined;
|
|
859
859
|
modelRef?: string | undefined;
|
|
860
860
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -867,7 +867,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
867
867
|
mode: "text" | "reference";
|
|
868
868
|
kind: "video";
|
|
869
869
|
referenceImageBase64?: string | undefined;
|
|
870
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
870
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
871
871
|
videoModelRef?: string | undefined;
|
|
872
872
|
duration?: 5 | 10 | 15 | undefined;
|
|
873
873
|
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
@@ -882,7 +882,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
882
882
|
fps: number;
|
|
883
883
|
kind: "sprite";
|
|
884
884
|
referenceImageBase64?: string | undefined;
|
|
885
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
885
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
886
886
|
imageModelRef?: string | undefined;
|
|
887
887
|
removeBackground?: boolean | undefined;
|
|
888
888
|
} | {
|
|
@@ -894,7 +894,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
894
894
|
fps: number;
|
|
895
895
|
kind: "animation";
|
|
896
896
|
referenceImageBase64?: string | undefined;
|
|
897
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
897
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
898
898
|
imageModelRef?: string | undefined;
|
|
899
899
|
removeBackground?: boolean | undefined;
|
|
900
900
|
} | {
|
|
@@ -902,10 +902,10 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
902
902
|
prompt: string;
|
|
903
903
|
referenceImages?: {
|
|
904
904
|
base64: string;
|
|
905
|
-
mimeType: "image/png" | "image/
|
|
905
|
+
mimeType: "image/png" | "image/webp" | "image/jpeg";
|
|
906
906
|
}[] | undefined;
|
|
907
907
|
referenceImageBase64?: string | undefined;
|
|
908
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
908
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
909
909
|
imageModelRef?: string | undefined;
|
|
910
910
|
aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
|
|
911
911
|
imageSize?: "1K" | "2K" | "4K" | undefined;
|
|
@@ -932,11 +932,11 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
932
932
|
mode: "text" | "reference";
|
|
933
933
|
prompt?: string | undefined;
|
|
934
934
|
referenceImageBase64?: string | undefined;
|
|
935
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
935
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
936
936
|
multiViewImages?: {
|
|
937
|
-
view: "
|
|
937
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
938
938
|
imageBase64: string;
|
|
939
|
-
mimeType?: "image/png" | "image/
|
|
939
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
940
940
|
}[] | undefined;
|
|
941
941
|
modelRef?: string | undefined;
|
|
942
942
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -949,11 +949,11 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
949
949
|
mode: "text" | "reference";
|
|
950
950
|
prompt?: string | undefined;
|
|
951
951
|
referenceImageBase64?: string | undefined;
|
|
952
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
952
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
953
953
|
multiViewImages?: {
|
|
954
|
-
view: "
|
|
954
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
955
955
|
imageBase64: string;
|
|
956
|
-
mimeType?: "image/png" | "image/
|
|
956
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
957
957
|
}[] | undefined;
|
|
958
958
|
modelRef?: string | undefined;
|
|
959
959
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -966,7 +966,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
966
966
|
mode: "text" | "reference";
|
|
967
967
|
kind: "video";
|
|
968
968
|
referenceImageBase64?: string | undefined;
|
|
969
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
969
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
970
970
|
videoModelRef?: string | undefined;
|
|
971
971
|
duration?: 5 | 10 | 15 | undefined;
|
|
972
972
|
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
@@ -981,7 +981,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
981
981
|
fps: number;
|
|
982
982
|
kind: "sprite";
|
|
983
983
|
referenceImageBase64?: string | undefined;
|
|
984
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
984
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
985
985
|
imageModelRef?: string | undefined;
|
|
986
986
|
removeBackground?: boolean | undefined;
|
|
987
987
|
} | {
|
|
@@ -993,7 +993,7 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
993
993
|
fps: number;
|
|
994
994
|
kind: "animation";
|
|
995
995
|
referenceImageBase64?: string | undefined;
|
|
996
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
996
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
997
997
|
imageModelRef?: string | undefined;
|
|
998
998
|
removeBackground?: boolean | undefined;
|
|
999
999
|
} | {
|
|
@@ -1001,10 +1001,10 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
1001
1001
|
prompt: string;
|
|
1002
1002
|
referenceImages?: {
|
|
1003
1003
|
base64: string;
|
|
1004
|
-
mimeType: "image/png" | "image/
|
|
1004
|
+
mimeType: "image/png" | "image/webp" | "image/jpeg";
|
|
1005
1005
|
}[] | undefined;
|
|
1006
1006
|
referenceImageBase64?: string | undefined;
|
|
1007
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
1007
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
1008
1008
|
imageModelRef?: string | undefined;
|
|
1009
1009
|
aspectRatio?: "16:9" | "9:16" | "1:1" | "45:16" | "3:4" | "4:3" | "2:3" | "3:2" | "21:9" | undefined;
|
|
1010
1010
|
imageSize?: "1K" | "2K" | "4K" | undefined;
|
|
@@ -1031,11 +1031,11 @@ export declare const modelProductionCreateSchema: z.ZodObject<{
|
|
|
1031
1031
|
mode: "text" | "reference";
|
|
1032
1032
|
prompt?: string | undefined;
|
|
1033
1033
|
referenceImageBase64?: string | undefined;
|
|
1034
|
-
referenceImageMimeType?: "image/png" | "image/
|
|
1034
|
+
referenceImageMimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
1035
1035
|
multiViewImages?: {
|
|
1036
|
-
view: "
|
|
1036
|
+
view: "left" | "right" | "back" | "top" | "bottom" | "left_front" | "right_front";
|
|
1037
1037
|
imageBase64: string;
|
|
1038
|
-
mimeType?: "image/png" | "image/
|
|
1038
|
+
mimeType?: "image/png" | "image/webp" | "image/jpeg" | undefined;
|
|
1039
1039
|
}[] | undefined;
|
|
1040
1040
|
modelRef?: string | undefined;
|
|
1041
1041
|
outputFormat?: "glb" | "obj" | "stl" | "fbx" | "usdz" | undefined;
|
|
@@ -1267,9 +1267,9 @@ export declare const modelProductionStatusSchema: z.ZodEnum<{
|
|
|
1267
1267
|
running: "running";
|
|
1268
1268
|
cancelled: "cancelled";
|
|
1269
1269
|
completed: "completed";
|
|
1270
|
+
queued: "queued";
|
|
1270
1271
|
blocked: "blocked";
|
|
1271
1272
|
uncertain: "uncertain";
|
|
1272
|
-
queued: "queued";
|
|
1273
1273
|
"waiting-child": "waiting-child";
|
|
1274
1274
|
"waiting-external": "waiting-external";
|
|
1275
1275
|
"waiting-validation": "waiting-validation";
|
|
@@ -1489,9 +1489,9 @@ export declare const modelProductionRunSchema: z.ZodObject<{
|
|
|
1489
1489
|
running: "running";
|
|
1490
1490
|
cancelled: "cancelled";
|
|
1491
1491
|
completed: "completed";
|
|
1492
|
+
queued: "queued";
|
|
1492
1493
|
blocked: "blocked";
|
|
1493
1494
|
uncertain: "uncertain";
|
|
1494
|
-
queued: "queued";
|
|
1495
1495
|
"waiting-child": "waiting-child";
|
|
1496
1496
|
"waiting-external": "waiting-external";
|
|
1497
1497
|
"waiting-validation": "waiting-validation";
|
|
@@ -1676,9 +1676,9 @@ export declare const modelProductionListSchema: z.ZodObject<{
|
|
|
1676
1676
|
running: "running";
|
|
1677
1677
|
cancelled: "cancelled";
|
|
1678
1678
|
completed: "completed";
|
|
1679
|
+
queued: "queued";
|
|
1679
1680
|
blocked: "blocked";
|
|
1680
1681
|
uncertain: "uncertain";
|
|
1681
|
-
queued: "queued";
|
|
1682
1682
|
"waiting-child": "waiting-child";
|
|
1683
1683
|
"waiting-external": "waiting-external";
|
|
1684
1684
|
"waiting-validation": "waiting-validation";
|
|
@@ -1864,9 +1864,9 @@ export declare const modelProductionReplySchema: z.ZodObject<{
|
|
|
1864
1864
|
running: "running";
|
|
1865
1865
|
cancelled: "cancelled";
|
|
1866
1866
|
completed: "completed";
|
|
1867
|
+
queued: "queued";
|
|
1867
1868
|
blocked: "blocked";
|
|
1868
1869
|
uncertain: "uncertain";
|
|
1869
|
-
queued: "queued";
|
|
1870
1870
|
"waiting-child": "waiting-child";
|
|
1871
1871
|
"waiting-external": "waiting-external";
|
|
1872
1872
|
"waiting-validation": "waiting-validation";
|