@pixerate/schemas 1.5.0 → 1.7.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.d.cts CHANGED
@@ -120,8 +120,10 @@ declare const VideoUpscaleSchema: z.ZodObject<{
120
120
  targetResolution?: "1080p" | "4k" | "1080P" | "4K" | undefined;
121
121
  }>;
122
122
  type VideoUpscalePayload = z.infer<typeof VideoUpscaleSchema>;
123
+ declare const TextOverlayStyleSchema: z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>;
124
+ type TextOverlayStyle = z.infer<typeof TextOverlayStyleSchema>;
123
125
  declare const VideoOverlayStyleSchema: z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>;
124
- type VideoOverlayStyle = z.infer<typeof VideoOverlayStyleSchema>;
126
+ type VideoOverlayStyle = TextOverlayStyle;
125
127
  declare const WatermarkPositionSchema: z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
126
128
  x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
127
129
  y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
@@ -133,6 +135,71 @@ declare const WatermarkPositionSchema: z.ZodUnion<[z.ZodEnum<["bottom-right", "b
133
135
  y?: string | number | undefined;
134
136
  }>]>;
135
137
  type WatermarkPosition = z.infer<typeof WatermarkPositionSchema>;
138
+ declare const WatermarkSchema: z.ZodObject<{
139
+ text: z.ZodOptional<z.ZodString>;
140
+ imagePath: z.ZodOptional<z.ZodString>;
141
+ font: z.ZodOptional<z.ZodString>;
142
+ fontPath: z.ZodOptional<z.ZodString>;
143
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
144
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
145
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ x?: string | number | undefined;
148
+ y?: string | number | undefined;
149
+ }, {
150
+ x?: string | number | undefined;
151
+ y?: string | number | undefined;
152
+ }>]>>;
153
+ color: z.ZodOptional<z.ZodString>;
154
+ strokeColor: z.ZodOptional<z.ZodString>;
155
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
156
+ fontSize: z.ZodOptional<z.ZodNumber>;
157
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
158
+ opacity: z.ZodOptional<z.ZodNumber>;
159
+ marginRight: z.ZodOptional<z.ZodNumber>;
160
+ marginBottom: z.ZodOptional<z.ZodNumber>;
161
+ marginLeft: z.ZodOptional<z.ZodNumber>;
162
+ marginTop: z.ZodOptional<z.ZodNumber>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ text?: string | undefined;
165
+ imagePath?: string | undefined;
166
+ font?: string | undefined;
167
+ fontPath?: string | undefined;
168
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
169
+ x?: string | number | undefined;
170
+ y?: string | number | undefined;
171
+ } | undefined;
172
+ color?: string | undefined;
173
+ strokeColor?: string | undefined;
174
+ strokeWidth?: number | undefined;
175
+ fontSize?: number | undefined;
176
+ transparentBg?: boolean | undefined;
177
+ opacity?: number | undefined;
178
+ marginRight?: number | undefined;
179
+ marginBottom?: number | undefined;
180
+ marginLeft?: number | undefined;
181
+ marginTop?: number | undefined;
182
+ }, {
183
+ text?: string | undefined;
184
+ imagePath?: string | undefined;
185
+ font?: string | undefined;
186
+ fontPath?: string | undefined;
187
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
188
+ x?: string | number | undefined;
189
+ y?: string | number | undefined;
190
+ } | undefined;
191
+ color?: string | undefined;
192
+ strokeColor?: string | undefined;
193
+ strokeWidth?: number | undefined;
194
+ fontSize?: number | undefined;
195
+ transparentBg?: boolean | undefined;
196
+ opacity?: number | undefined;
197
+ marginRight?: number | undefined;
198
+ marginBottom?: number | undefined;
199
+ marginLeft?: number | undefined;
200
+ marginTop?: number | undefined;
201
+ }>;
202
+ type Watermark = z.infer<typeof WatermarkSchema>;
136
203
  declare const VideoWatermarkSchema: z.ZodObject<{
137
204
  text: z.ZodOptional<z.ZodString>;
138
205
  imagePath: z.ZodOptional<z.ZodString>;
@@ -197,7 +264,72 @@ declare const VideoWatermarkSchema: z.ZodObject<{
197
264
  marginLeft?: number | undefined;
198
265
  marginTop?: number | undefined;
199
266
  }>;
200
- type VideoWatermark = z.infer<typeof VideoWatermarkSchema>;
267
+ type VideoWatermark = Watermark;
268
+ declare const ImageWatermarkSchema: z.ZodObject<{
269
+ text: z.ZodOptional<z.ZodString>;
270
+ imagePath: z.ZodOptional<z.ZodString>;
271
+ font: z.ZodOptional<z.ZodString>;
272
+ fontPath: z.ZodOptional<z.ZodString>;
273
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
274
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
275
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ x?: string | number | undefined;
278
+ y?: string | number | undefined;
279
+ }, {
280
+ x?: string | number | undefined;
281
+ y?: string | number | undefined;
282
+ }>]>>;
283
+ color: z.ZodOptional<z.ZodString>;
284
+ strokeColor: z.ZodOptional<z.ZodString>;
285
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
286
+ fontSize: z.ZodOptional<z.ZodNumber>;
287
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
288
+ opacity: z.ZodOptional<z.ZodNumber>;
289
+ marginRight: z.ZodOptional<z.ZodNumber>;
290
+ marginBottom: z.ZodOptional<z.ZodNumber>;
291
+ marginLeft: z.ZodOptional<z.ZodNumber>;
292
+ marginTop: z.ZodOptional<z.ZodNumber>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ text?: string | undefined;
295
+ imagePath?: string | undefined;
296
+ font?: string | undefined;
297
+ fontPath?: string | undefined;
298
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
299
+ x?: string | number | undefined;
300
+ y?: string | number | undefined;
301
+ } | undefined;
302
+ color?: string | undefined;
303
+ strokeColor?: string | undefined;
304
+ strokeWidth?: number | undefined;
305
+ fontSize?: number | undefined;
306
+ transparentBg?: boolean | undefined;
307
+ opacity?: number | undefined;
308
+ marginRight?: number | undefined;
309
+ marginBottom?: number | undefined;
310
+ marginLeft?: number | undefined;
311
+ marginTop?: number | undefined;
312
+ }, {
313
+ text?: string | undefined;
314
+ imagePath?: string | undefined;
315
+ font?: string | undefined;
316
+ fontPath?: string | undefined;
317
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
318
+ x?: string | number | undefined;
319
+ y?: string | number | undefined;
320
+ } | undefined;
321
+ color?: string | undefined;
322
+ strokeColor?: string | undefined;
323
+ strokeWidth?: number | undefined;
324
+ fontSize?: number | undefined;
325
+ transparentBg?: boolean | undefined;
326
+ opacity?: number | undefined;
327
+ marginRight?: number | undefined;
328
+ marginBottom?: number | undefined;
329
+ marginLeft?: number | undefined;
330
+ marginTop?: number | undefined;
331
+ }>;
332
+ type ImageWatermark = Watermark;
201
333
  declare const TextOverlayPositionSchema: z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
202
334
  x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
203
335
  y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
@@ -231,7 +363,7 @@ declare const DropShadowSchema: z.ZodObject<{
231
363
  blur?: number | undefined;
232
364
  }>;
233
365
  type DropShadow = z.infer<typeof DropShadowSchema>;
234
- declare const VideoTextOverlaySchema: z.ZodObject<{
366
+ declare const TextOverlaySchema: z.ZodObject<{
235
367
  text: z.ZodString;
236
368
  style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
237
369
  font: z.ZodOptional<z.ZodString>;
@@ -284,6 +416,7 @@ declare const VideoTextOverlaySchema: z.ZodObject<{
284
416
  badgeBgColor: z.ZodOptional<z.ZodString>;
285
417
  badgeTextColor: z.ZodOptional<z.ZodString>;
286
418
  badgeFont: z.ZodOptional<z.ZodString>;
419
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
287
420
  badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
288
421
  watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
289
422
  text: z.ZodOptional<z.ZodString>;
@@ -384,6 +517,7 @@ declare const VideoTextOverlaySchema: z.ZodObject<{
384
517
  badgeBgColor?: string | undefined;
385
518
  badgeTextColor?: string | undefined;
386
519
  badgeFont?: string | undefined;
520
+ badgeFontSize?: number | undefined;
387
521
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
388
522
  watermark?: string | {
389
523
  text?: string | undefined;
@@ -440,6 +574,7 @@ declare const VideoTextOverlaySchema: z.ZodObject<{
440
574
  badgeBgColor?: string | undefined;
441
575
  badgeTextColor?: string | undefined;
442
576
  badgeFont?: string | undefined;
577
+ badgeFontSize?: number | undefined;
443
578
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
444
579
  watermark?: string | {
445
580
  text?: string | undefined;
@@ -462,18 +597,68 @@ declare const VideoTextOverlaySchema: z.ZodObject<{
462
597
  marginTop?: number | undefined;
463
598
  } | undefined;
464
599
  }>;
465
- type VideoTextOverlay = z.infer<typeof VideoTextOverlaySchema>;
466
- declare const SocialVideoGenerationSchema: z.ZodObject<{
467
- prompt: z.ZodString;
468
- audioPrompt: z.ZodOptional<z.ZodString>;
469
- aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
470
- durationSeconds: z.ZodOptional<z.ZodNumber>;
471
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
472
- text: z.ZodString;
473
- style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
600
+ type TextOverlay = z.infer<typeof TextOverlaySchema>;
601
+ declare const VideoTextOverlaySchema: z.ZodObject<{
602
+ text: z.ZodString;
603
+ style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
604
+ font: z.ZodOptional<z.ZodString>;
605
+ fontPath: z.ZodOptional<z.ZodString>;
606
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
607
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
608
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ x?: string | number | undefined;
611
+ y?: string | number | undefined;
612
+ }, {
613
+ x?: string | number | undefined;
614
+ y?: string | number | undefined;
615
+ }>]>>;
616
+ alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
617
+ fontSize: z.ZodOptional<z.ZodNumber>;
618
+ lineHeight: z.ZodOptional<z.ZodNumber>;
619
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
620
+ textColor: z.ZodOptional<z.ZodString>;
621
+ textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
622
+ strokeColor: z.ZodOptional<z.ZodString>;
623
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
624
+ shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
625
+ dx: z.ZodOptional<z.ZodNumber>;
626
+ dy: z.ZodOptional<z.ZodNumber>;
627
+ blur: z.ZodOptional<z.ZodNumber>;
628
+ color: z.ZodOptional<z.ZodString>;
629
+ opacity: z.ZodOptional<z.ZodNumber>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ color?: string | undefined;
632
+ opacity?: number | undefined;
633
+ dx?: number | undefined;
634
+ dy?: number | undefined;
635
+ blur?: number | undefined;
636
+ }, {
637
+ color?: string | undefined;
638
+ opacity?: number | undefined;
639
+ dx?: number | undefined;
640
+ dy?: number | undefined;
641
+ blur?: number | undefined;
642
+ }>]>>;
643
+ containerBgColor: z.ZodOptional<z.ZodString>;
644
+ containerBorderColor: z.ZodOptional<z.ZodString>;
645
+ containerBorderWidth: z.ZodOptional<z.ZodNumber>;
646
+ containerBorderRadius: z.ZodOptional<z.ZodNumber>;
647
+ paddingX: z.ZodOptional<z.ZodNumber>;
648
+ paddingY: z.ZodOptional<z.ZodNumber>;
649
+ maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
650
+ badgeTag: z.ZodOptional<z.ZodString>;
651
+ badgeBgColor: z.ZodOptional<z.ZodString>;
652
+ badgeTextColor: z.ZodOptional<z.ZodString>;
653
+ badgeFont: z.ZodOptional<z.ZodString>;
654
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
655
+ badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
656
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
657
+ text: z.ZodOptional<z.ZodString>;
658
+ imagePath: z.ZodOptional<z.ZodString>;
474
659
  font: z.ZodOptional<z.ZodString>;
475
660
  fontPath: z.ZodOptional<z.ZodString>;
476
- position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
661
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
477
662
  x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
478
663
  y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
479
664
  }, "strip", z.ZodTypeAny, {
@@ -483,68 +668,1795 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
483
668
  x?: string | number | undefined;
484
669
  y?: string | number | undefined;
485
670
  }>]>>;
486
- alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
487
- fontSize: z.ZodOptional<z.ZodNumber>;
488
- lineHeight: z.ZodOptional<z.ZodNumber>;
489
- letterSpacing: z.ZodOptional<z.ZodNumber>;
490
- textColor: z.ZodOptional<z.ZodString>;
491
- textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
671
+ color: z.ZodOptional<z.ZodString>;
492
672
  strokeColor: z.ZodOptional<z.ZodString>;
493
673
  strokeWidth: z.ZodOptional<z.ZodNumber>;
494
- shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
495
- dx: z.ZodOptional<z.ZodNumber>;
496
- dy: z.ZodOptional<z.ZodNumber>;
497
- blur: z.ZodOptional<z.ZodNumber>;
498
- color: z.ZodOptional<z.ZodString>;
499
- opacity: z.ZodOptional<z.ZodNumber>;
500
- }, "strip", z.ZodTypeAny, {
501
- color?: string | undefined;
502
- opacity?: number | undefined;
503
- dx?: number | undefined;
504
- dy?: number | undefined;
505
- blur?: number | undefined;
506
- }, {
507
- color?: string | undefined;
508
- opacity?: number | undefined;
509
- dx?: number | undefined;
510
- dy?: number | undefined;
511
- blur?: number | undefined;
512
- }>]>>;
513
- containerBgColor: z.ZodOptional<z.ZodString>;
514
- containerBorderColor: z.ZodOptional<z.ZodString>;
515
- containerBorderWidth: z.ZodOptional<z.ZodNumber>;
516
- containerBorderRadius: z.ZodOptional<z.ZodNumber>;
517
- paddingX: z.ZodOptional<z.ZodNumber>;
518
- paddingY: z.ZodOptional<z.ZodNumber>;
519
- maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
520
- badgeTag: z.ZodOptional<z.ZodString>;
521
- badgeBgColor: z.ZodOptional<z.ZodString>;
522
- badgeTextColor: z.ZodOptional<z.ZodString>;
523
- badgeFont: z.ZodOptional<z.ZodString>;
524
- badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
525
- watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
526
- text: z.ZodOptional<z.ZodString>;
527
- imagePath: z.ZodOptional<z.ZodString>;
528
- font: z.ZodOptional<z.ZodString>;
529
- fontPath: z.ZodOptional<z.ZodString>;
530
- position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
531
- x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
532
- y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
533
- }, "strip", z.ZodTypeAny, {
534
- x?: string | number | undefined;
535
- y?: string | number | undefined;
536
- }, {
537
- x?: string | number | undefined;
538
- y?: string | number | undefined;
539
- }>]>>;
540
- color: z.ZodOptional<z.ZodString>;
541
- strokeColor: z.ZodOptional<z.ZodString>;
542
- strokeWidth: z.ZodOptional<z.ZodNumber>;
543
- fontSize: z.ZodOptional<z.ZodNumber>;
544
- transparentBg: z.ZodOptional<z.ZodBoolean>;
545
- opacity: z.ZodOptional<z.ZodNumber>;
546
- marginRight: z.ZodOptional<z.ZodNumber>;
547
- marginBottom: z.ZodOptional<z.ZodNumber>;
674
+ fontSize: z.ZodOptional<z.ZodNumber>;
675
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
676
+ opacity: z.ZodOptional<z.ZodNumber>;
677
+ marginRight: z.ZodOptional<z.ZodNumber>;
678
+ marginBottom: z.ZodOptional<z.ZodNumber>;
679
+ marginLeft: z.ZodOptional<z.ZodNumber>;
680
+ marginTop: z.ZodOptional<z.ZodNumber>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ text?: string | undefined;
683
+ imagePath?: string | undefined;
684
+ font?: string | undefined;
685
+ fontPath?: string | undefined;
686
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
687
+ x?: string | number | undefined;
688
+ y?: string | number | undefined;
689
+ } | undefined;
690
+ color?: string | undefined;
691
+ strokeColor?: string | undefined;
692
+ strokeWidth?: number | undefined;
693
+ fontSize?: number | undefined;
694
+ transparentBg?: boolean | undefined;
695
+ opacity?: number | undefined;
696
+ marginRight?: number | undefined;
697
+ marginBottom?: number | undefined;
698
+ marginLeft?: number | undefined;
699
+ marginTop?: number | undefined;
700
+ }, {
701
+ text?: string | undefined;
702
+ imagePath?: string | undefined;
703
+ font?: string | undefined;
704
+ fontPath?: string | undefined;
705
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
706
+ x?: string | number | undefined;
707
+ y?: string | number | undefined;
708
+ } | undefined;
709
+ color?: string | undefined;
710
+ strokeColor?: string | undefined;
711
+ strokeWidth?: number | undefined;
712
+ fontSize?: number | undefined;
713
+ transparentBg?: boolean | undefined;
714
+ opacity?: number | undefined;
715
+ marginRight?: number | undefined;
716
+ marginBottom?: number | undefined;
717
+ marginLeft?: number | undefined;
718
+ marginTop?: number | undefined;
719
+ }>]>>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ text: string;
722
+ font?: string | undefined;
723
+ fontPath?: string | undefined;
724
+ position?: "center" | "top" | "bottom" | {
725
+ x?: string | number | undefined;
726
+ y?: string | number | undefined;
727
+ } | undefined;
728
+ strokeColor?: string | undefined;
729
+ strokeWidth?: number | undefined;
730
+ fontSize?: number | undefined;
731
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
732
+ alignment?: "center" | "left" | "right" | undefined;
733
+ lineHeight?: number | undefined;
734
+ letterSpacing?: number | undefined;
735
+ textColor?: string | undefined;
736
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
737
+ shadow?: boolean | {
738
+ color?: string | undefined;
739
+ opacity?: number | undefined;
740
+ dx?: number | undefined;
741
+ dy?: number | undefined;
742
+ blur?: number | undefined;
743
+ } | undefined;
744
+ containerBgColor?: string | undefined;
745
+ containerBorderColor?: string | undefined;
746
+ containerBorderWidth?: number | undefined;
747
+ containerBorderRadius?: number | undefined;
748
+ paddingX?: number | undefined;
749
+ paddingY?: number | undefined;
750
+ maxCharsPerLine?: number | undefined;
751
+ badgeTag?: string | undefined;
752
+ badgeBgColor?: string | undefined;
753
+ badgeTextColor?: string | undefined;
754
+ badgeFont?: string | undefined;
755
+ badgeFontSize?: number | undefined;
756
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
757
+ watermark?: string | {
758
+ text?: string | undefined;
759
+ imagePath?: string | undefined;
760
+ font?: string | undefined;
761
+ fontPath?: string | undefined;
762
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
763
+ x?: string | number | undefined;
764
+ y?: string | number | undefined;
765
+ } | undefined;
766
+ color?: string | undefined;
767
+ strokeColor?: string | undefined;
768
+ strokeWidth?: number | undefined;
769
+ fontSize?: number | undefined;
770
+ transparentBg?: boolean | undefined;
771
+ opacity?: number | undefined;
772
+ marginRight?: number | undefined;
773
+ marginBottom?: number | undefined;
774
+ marginLeft?: number | undefined;
775
+ marginTop?: number | undefined;
776
+ } | undefined;
777
+ }, {
778
+ text: string;
779
+ font?: string | undefined;
780
+ fontPath?: string | undefined;
781
+ position?: "center" | "top" | "bottom" | {
782
+ x?: string | number | undefined;
783
+ y?: string | number | undefined;
784
+ } | undefined;
785
+ strokeColor?: string | undefined;
786
+ strokeWidth?: number | undefined;
787
+ fontSize?: number | undefined;
788
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
789
+ alignment?: "center" | "left" | "right" | undefined;
790
+ lineHeight?: number | undefined;
791
+ letterSpacing?: number | undefined;
792
+ textColor?: string | undefined;
793
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
794
+ shadow?: boolean | {
795
+ color?: string | undefined;
796
+ opacity?: number | undefined;
797
+ dx?: number | undefined;
798
+ dy?: number | undefined;
799
+ blur?: number | undefined;
800
+ } | undefined;
801
+ containerBgColor?: string | undefined;
802
+ containerBorderColor?: string | undefined;
803
+ containerBorderWidth?: number | undefined;
804
+ containerBorderRadius?: number | undefined;
805
+ paddingX?: number | undefined;
806
+ paddingY?: number | undefined;
807
+ maxCharsPerLine?: number | undefined;
808
+ badgeTag?: string | undefined;
809
+ badgeBgColor?: string | undefined;
810
+ badgeTextColor?: string | undefined;
811
+ badgeFont?: string | undefined;
812
+ badgeFontSize?: number | undefined;
813
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
814
+ watermark?: string | {
815
+ text?: string | undefined;
816
+ imagePath?: string | undefined;
817
+ font?: string | undefined;
818
+ fontPath?: string | undefined;
819
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
820
+ x?: string | number | undefined;
821
+ y?: string | number | undefined;
822
+ } | undefined;
823
+ color?: string | undefined;
824
+ strokeColor?: string | undefined;
825
+ strokeWidth?: number | undefined;
826
+ fontSize?: number | undefined;
827
+ transparentBg?: boolean | undefined;
828
+ opacity?: number | undefined;
829
+ marginRight?: number | undefined;
830
+ marginBottom?: number | undefined;
831
+ marginLeft?: number | undefined;
832
+ marginTop?: number | undefined;
833
+ } | undefined;
834
+ }>;
835
+ type VideoTextOverlay = TextOverlay;
836
+ declare const ImageTextOverlaySchema: z.ZodObject<{
837
+ text: z.ZodString;
838
+ style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
839
+ font: z.ZodOptional<z.ZodString>;
840
+ fontPath: z.ZodOptional<z.ZodString>;
841
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
842
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
843
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ x?: string | number | undefined;
846
+ y?: string | number | undefined;
847
+ }, {
848
+ x?: string | number | undefined;
849
+ y?: string | number | undefined;
850
+ }>]>>;
851
+ alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
852
+ fontSize: z.ZodOptional<z.ZodNumber>;
853
+ lineHeight: z.ZodOptional<z.ZodNumber>;
854
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
855
+ textColor: z.ZodOptional<z.ZodString>;
856
+ textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
857
+ strokeColor: z.ZodOptional<z.ZodString>;
858
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
859
+ shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
860
+ dx: z.ZodOptional<z.ZodNumber>;
861
+ dy: z.ZodOptional<z.ZodNumber>;
862
+ blur: z.ZodOptional<z.ZodNumber>;
863
+ color: z.ZodOptional<z.ZodString>;
864
+ opacity: z.ZodOptional<z.ZodNumber>;
865
+ }, "strip", z.ZodTypeAny, {
866
+ color?: string | undefined;
867
+ opacity?: number | undefined;
868
+ dx?: number | undefined;
869
+ dy?: number | undefined;
870
+ blur?: number | undefined;
871
+ }, {
872
+ color?: string | undefined;
873
+ opacity?: number | undefined;
874
+ dx?: number | undefined;
875
+ dy?: number | undefined;
876
+ blur?: number | undefined;
877
+ }>]>>;
878
+ containerBgColor: z.ZodOptional<z.ZodString>;
879
+ containerBorderColor: z.ZodOptional<z.ZodString>;
880
+ containerBorderWidth: z.ZodOptional<z.ZodNumber>;
881
+ containerBorderRadius: z.ZodOptional<z.ZodNumber>;
882
+ paddingX: z.ZodOptional<z.ZodNumber>;
883
+ paddingY: z.ZodOptional<z.ZodNumber>;
884
+ maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
885
+ badgeTag: z.ZodOptional<z.ZodString>;
886
+ badgeBgColor: z.ZodOptional<z.ZodString>;
887
+ badgeTextColor: z.ZodOptional<z.ZodString>;
888
+ badgeFont: z.ZodOptional<z.ZodString>;
889
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
890
+ badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
891
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
892
+ text: z.ZodOptional<z.ZodString>;
893
+ imagePath: z.ZodOptional<z.ZodString>;
894
+ font: z.ZodOptional<z.ZodString>;
895
+ fontPath: z.ZodOptional<z.ZodString>;
896
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
897
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
898
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ x?: string | number | undefined;
901
+ y?: string | number | undefined;
902
+ }, {
903
+ x?: string | number | undefined;
904
+ y?: string | number | undefined;
905
+ }>]>>;
906
+ color: z.ZodOptional<z.ZodString>;
907
+ strokeColor: z.ZodOptional<z.ZodString>;
908
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
909
+ fontSize: z.ZodOptional<z.ZodNumber>;
910
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
911
+ opacity: z.ZodOptional<z.ZodNumber>;
912
+ marginRight: z.ZodOptional<z.ZodNumber>;
913
+ marginBottom: z.ZodOptional<z.ZodNumber>;
914
+ marginLeft: z.ZodOptional<z.ZodNumber>;
915
+ marginTop: z.ZodOptional<z.ZodNumber>;
916
+ }, "strip", z.ZodTypeAny, {
917
+ text?: string | undefined;
918
+ imagePath?: string | undefined;
919
+ font?: string | undefined;
920
+ fontPath?: string | undefined;
921
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
922
+ x?: string | number | undefined;
923
+ y?: string | number | undefined;
924
+ } | undefined;
925
+ color?: string | undefined;
926
+ strokeColor?: string | undefined;
927
+ strokeWidth?: number | undefined;
928
+ fontSize?: number | undefined;
929
+ transparentBg?: boolean | undefined;
930
+ opacity?: number | undefined;
931
+ marginRight?: number | undefined;
932
+ marginBottom?: number | undefined;
933
+ marginLeft?: number | undefined;
934
+ marginTop?: number | undefined;
935
+ }, {
936
+ text?: string | undefined;
937
+ imagePath?: string | undefined;
938
+ font?: string | undefined;
939
+ fontPath?: string | undefined;
940
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
941
+ x?: string | number | undefined;
942
+ y?: string | number | undefined;
943
+ } | undefined;
944
+ color?: string | undefined;
945
+ strokeColor?: string | undefined;
946
+ strokeWidth?: number | undefined;
947
+ fontSize?: number | undefined;
948
+ transparentBg?: boolean | undefined;
949
+ opacity?: number | undefined;
950
+ marginRight?: number | undefined;
951
+ marginBottom?: number | undefined;
952
+ marginLeft?: number | undefined;
953
+ marginTop?: number | undefined;
954
+ }>]>>;
955
+ }, "strip", z.ZodTypeAny, {
956
+ text: string;
957
+ font?: string | undefined;
958
+ fontPath?: string | undefined;
959
+ position?: "center" | "top" | "bottom" | {
960
+ x?: string | number | undefined;
961
+ y?: string | number | undefined;
962
+ } | undefined;
963
+ strokeColor?: string | undefined;
964
+ strokeWidth?: number | undefined;
965
+ fontSize?: number | undefined;
966
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
967
+ alignment?: "center" | "left" | "right" | undefined;
968
+ lineHeight?: number | undefined;
969
+ letterSpacing?: number | undefined;
970
+ textColor?: string | undefined;
971
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
972
+ shadow?: boolean | {
973
+ color?: string | undefined;
974
+ opacity?: number | undefined;
975
+ dx?: number | undefined;
976
+ dy?: number | undefined;
977
+ blur?: number | undefined;
978
+ } | undefined;
979
+ containerBgColor?: string | undefined;
980
+ containerBorderColor?: string | undefined;
981
+ containerBorderWidth?: number | undefined;
982
+ containerBorderRadius?: number | undefined;
983
+ paddingX?: number | undefined;
984
+ paddingY?: number | undefined;
985
+ maxCharsPerLine?: number | undefined;
986
+ badgeTag?: string | undefined;
987
+ badgeBgColor?: string | undefined;
988
+ badgeTextColor?: string | undefined;
989
+ badgeFont?: string | undefined;
990
+ badgeFontSize?: number | undefined;
991
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
992
+ watermark?: string | {
993
+ text?: string | undefined;
994
+ imagePath?: string | undefined;
995
+ font?: string | undefined;
996
+ fontPath?: string | undefined;
997
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
998
+ x?: string | number | undefined;
999
+ y?: string | number | undefined;
1000
+ } | undefined;
1001
+ color?: string | undefined;
1002
+ strokeColor?: string | undefined;
1003
+ strokeWidth?: number | undefined;
1004
+ fontSize?: number | undefined;
1005
+ transparentBg?: boolean | undefined;
1006
+ opacity?: number | undefined;
1007
+ marginRight?: number | undefined;
1008
+ marginBottom?: number | undefined;
1009
+ marginLeft?: number | undefined;
1010
+ marginTop?: number | undefined;
1011
+ } | undefined;
1012
+ }, {
1013
+ text: string;
1014
+ font?: string | undefined;
1015
+ fontPath?: string | undefined;
1016
+ position?: "center" | "top" | "bottom" | {
1017
+ x?: string | number | undefined;
1018
+ y?: string | number | undefined;
1019
+ } | undefined;
1020
+ strokeColor?: string | undefined;
1021
+ strokeWidth?: number | undefined;
1022
+ fontSize?: number | undefined;
1023
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1024
+ alignment?: "center" | "left" | "right" | undefined;
1025
+ lineHeight?: number | undefined;
1026
+ letterSpacing?: number | undefined;
1027
+ textColor?: string | undefined;
1028
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1029
+ shadow?: boolean | {
1030
+ color?: string | undefined;
1031
+ opacity?: number | undefined;
1032
+ dx?: number | undefined;
1033
+ dy?: number | undefined;
1034
+ blur?: number | undefined;
1035
+ } | undefined;
1036
+ containerBgColor?: string | undefined;
1037
+ containerBorderColor?: string | undefined;
1038
+ containerBorderWidth?: number | undefined;
1039
+ containerBorderRadius?: number | undefined;
1040
+ paddingX?: number | undefined;
1041
+ paddingY?: number | undefined;
1042
+ maxCharsPerLine?: number | undefined;
1043
+ badgeTag?: string | undefined;
1044
+ badgeBgColor?: string | undefined;
1045
+ badgeTextColor?: string | undefined;
1046
+ badgeFont?: string | undefined;
1047
+ badgeFontSize?: number | undefined;
1048
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1049
+ watermark?: string | {
1050
+ text?: string | undefined;
1051
+ imagePath?: string | undefined;
1052
+ font?: string | undefined;
1053
+ fontPath?: string | undefined;
1054
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1055
+ x?: string | number | undefined;
1056
+ y?: string | number | undefined;
1057
+ } | undefined;
1058
+ color?: string | undefined;
1059
+ strokeColor?: string | undefined;
1060
+ strokeWidth?: number | undefined;
1061
+ fontSize?: number | undefined;
1062
+ transparentBg?: boolean | undefined;
1063
+ opacity?: number | undefined;
1064
+ marginRight?: number | undefined;
1065
+ marginBottom?: number | undefined;
1066
+ marginLeft?: number | undefined;
1067
+ marginTop?: number | undefined;
1068
+ } | undefined;
1069
+ }>;
1070
+ type ImageTextOverlay = TextOverlay;
1071
+ declare const SocialVideoGenerationSchema: z.ZodObject<{
1072
+ prompt: z.ZodString;
1073
+ audioPrompt: z.ZodOptional<z.ZodString>;
1074
+ aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
1075
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
1076
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1077
+ text: z.ZodString;
1078
+ style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
1079
+ font: z.ZodOptional<z.ZodString>;
1080
+ fontPath: z.ZodOptional<z.ZodString>;
1081
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
1082
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1083
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ x?: string | number | undefined;
1086
+ y?: string | number | undefined;
1087
+ }, {
1088
+ x?: string | number | undefined;
1089
+ y?: string | number | undefined;
1090
+ }>]>>;
1091
+ alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1092
+ fontSize: z.ZodOptional<z.ZodNumber>;
1093
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1094
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1095
+ textColor: z.ZodOptional<z.ZodString>;
1096
+ textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
1097
+ strokeColor: z.ZodOptional<z.ZodString>;
1098
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1099
+ shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1100
+ dx: z.ZodOptional<z.ZodNumber>;
1101
+ dy: z.ZodOptional<z.ZodNumber>;
1102
+ blur: z.ZodOptional<z.ZodNumber>;
1103
+ color: z.ZodOptional<z.ZodString>;
1104
+ opacity: z.ZodOptional<z.ZodNumber>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ color?: string | undefined;
1107
+ opacity?: number | undefined;
1108
+ dx?: number | undefined;
1109
+ dy?: number | undefined;
1110
+ blur?: number | undefined;
1111
+ }, {
1112
+ color?: string | undefined;
1113
+ opacity?: number | undefined;
1114
+ dx?: number | undefined;
1115
+ dy?: number | undefined;
1116
+ blur?: number | undefined;
1117
+ }>]>>;
1118
+ containerBgColor: z.ZodOptional<z.ZodString>;
1119
+ containerBorderColor: z.ZodOptional<z.ZodString>;
1120
+ containerBorderWidth: z.ZodOptional<z.ZodNumber>;
1121
+ containerBorderRadius: z.ZodOptional<z.ZodNumber>;
1122
+ paddingX: z.ZodOptional<z.ZodNumber>;
1123
+ paddingY: z.ZodOptional<z.ZodNumber>;
1124
+ maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
1125
+ badgeTag: z.ZodOptional<z.ZodString>;
1126
+ badgeBgColor: z.ZodOptional<z.ZodString>;
1127
+ badgeTextColor: z.ZodOptional<z.ZodString>;
1128
+ badgeFont: z.ZodOptional<z.ZodString>;
1129
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
1130
+ badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
1131
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1132
+ text: z.ZodOptional<z.ZodString>;
1133
+ imagePath: z.ZodOptional<z.ZodString>;
1134
+ font: z.ZodOptional<z.ZodString>;
1135
+ fontPath: z.ZodOptional<z.ZodString>;
1136
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1137
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1138
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ x?: string | number | undefined;
1141
+ y?: string | number | undefined;
1142
+ }, {
1143
+ x?: string | number | undefined;
1144
+ y?: string | number | undefined;
1145
+ }>]>>;
1146
+ color: z.ZodOptional<z.ZodString>;
1147
+ strokeColor: z.ZodOptional<z.ZodString>;
1148
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1149
+ fontSize: z.ZodOptional<z.ZodNumber>;
1150
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
1151
+ opacity: z.ZodOptional<z.ZodNumber>;
1152
+ marginRight: z.ZodOptional<z.ZodNumber>;
1153
+ marginBottom: z.ZodOptional<z.ZodNumber>;
1154
+ marginLeft: z.ZodOptional<z.ZodNumber>;
1155
+ marginTop: z.ZodOptional<z.ZodNumber>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ text?: string | undefined;
1158
+ imagePath?: string | undefined;
1159
+ font?: string | undefined;
1160
+ fontPath?: string | undefined;
1161
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1162
+ x?: string | number | undefined;
1163
+ y?: string | number | undefined;
1164
+ } | undefined;
1165
+ color?: string | undefined;
1166
+ strokeColor?: string | undefined;
1167
+ strokeWidth?: number | undefined;
1168
+ fontSize?: number | undefined;
1169
+ transparentBg?: boolean | undefined;
1170
+ opacity?: number | undefined;
1171
+ marginRight?: number | undefined;
1172
+ marginBottom?: number | undefined;
1173
+ marginLeft?: number | undefined;
1174
+ marginTop?: number | undefined;
1175
+ }, {
1176
+ text?: string | undefined;
1177
+ imagePath?: string | undefined;
1178
+ font?: string | undefined;
1179
+ fontPath?: string | undefined;
1180
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1181
+ x?: string | number | undefined;
1182
+ y?: string | number | undefined;
1183
+ } | undefined;
1184
+ color?: string | undefined;
1185
+ strokeColor?: string | undefined;
1186
+ strokeWidth?: number | undefined;
1187
+ fontSize?: number | undefined;
1188
+ transparentBg?: boolean | undefined;
1189
+ opacity?: number | undefined;
1190
+ marginRight?: number | undefined;
1191
+ marginBottom?: number | undefined;
1192
+ marginLeft?: number | undefined;
1193
+ marginTop?: number | undefined;
1194
+ }>]>>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ text: string;
1197
+ font?: string | undefined;
1198
+ fontPath?: string | undefined;
1199
+ position?: "center" | "top" | "bottom" | {
1200
+ x?: string | number | undefined;
1201
+ y?: string | number | undefined;
1202
+ } | undefined;
1203
+ strokeColor?: string | undefined;
1204
+ strokeWidth?: number | undefined;
1205
+ fontSize?: number | undefined;
1206
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1207
+ alignment?: "center" | "left" | "right" | undefined;
1208
+ lineHeight?: number | undefined;
1209
+ letterSpacing?: number | undefined;
1210
+ textColor?: string | undefined;
1211
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1212
+ shadow?: boolean | {
1213
+ color?: string | undefined;
1214
+ opacity?: number | undefined;
1215
+ dx?: number | undefined;
1216
+ dy?: number | undefined;
1217
+ blur?: number | undefined;
1218
+ } | undefined;
1219
+ containerBgColor?: string | undefined;
1220
+ containerBorderColor?: string | undefined;
1221
+ containerBorderWidth?: number | undefined;
1222
+ containerBorderRadius?: number | undefined;
1223
+ paddingX?: number | undefined;
1224
+ paddingY?: number | undefined;
1225
+ maxCharsPerLine?: number | undefined;
1226
+ badgeTag?: string | undefined;
1227
+ badgeBgColor?: string | undefined;
1228
+ badgeTextColor?: string | undefined;
1229
+ badgeFont?: string | undefined;
1230
+ badgeFontSize?: number | undefined;
1231
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1232
+ watermark?: string | {
1233
+ text?: string | undefined;
1234
+ imagePath?: string | undefined;
1235
+ font?: string | undefined;
1236
+ fontPath?: string | undefined;
1237
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1238
+ x?: string | number | undefined;
1239
+ y?: string | number | undefined;
1240
+ } | undefined;
1241
+ color?: string | undefined;
1242
+ strokeColor?: string | undefined;
1243
+ strokeWidth?: number | undefined;
1244
+ fontSize?: number | undefined;
1245
+ transparentBg?: boolean | undefined;
1246
+ opacity?: number | undefined;
1247
+ marginRight?: number | undefined;
1248
+ marginBottom?: number | undefined;
1249
+ marginLeft?: number | undefined;
1250
+ marginTop?: number | undefined;
1251
+ } | undefined;
1252
+ }, {
1253
+ text: string;
1254
+ font?: string | undefined;
1255
+ fontPath?: string | undefined;
1256
+ position?: "center" | "top" | "bottom" | {
1257
+ x?: string | number | undefined;
1258
+ y?: string | number | undefined;
1259
+ } | undefined;
1260
+ strokeColor?: string | undefined;
1261
+ strokeWidth?: number | undefined;
1262
+ fontSize?: number | undefined;
1263
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1264
+ alignment?: "center" | "left" | "right" | undefined;
1265
+ lineHeight?: number | undefined;
1266
+ letterSpacing?: number | undefined;
1267
+ textColor?: string | undefined;
1268
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1269
+ shadow?: boolean | {
1270
+ color?: string | undefined;
1271
+ opacity?: number | undefined;
1272
+ dx?: number | undefined;
1273
+ dy?: number | undefined;
1274
+ blur?: number | undefined;
1275
+ } | undefined;
1276
+ containerBgColor?: string | undefined;
1277
+ containerBorderColor?: string | undefined;
1278
+ containerBorderWidth?: number | undefined;
1279
+ containerBorderRadius?: number | undefined;
1280
+ paddingX?: number | undefined;
1281
+ paddingY?: number | undefined;
1282
+ maxCharsPerLine?: number | undefined;
1283
+ badgeTag?: string | undefined;
1284
+ badgeBgColor?: string | undefined;
1285
+ badgeTextColor?: string | undefined;
1286
+ badgeFont?: string | undefined;
1287
+ badgeFontSize?: number | undefined;
1288
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1289
+ watermark?: string | {
1290
+ text?: string | undefined;
1291
+ imagePath?: string | undefined;
1292
+ font?: string | undefined;
1293
+ fontPath?: string | undefined;
1294
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1295
+ x?: string | number | undefined;
1296
+ y?: string | number | undefined;
1297
+ } | undefined;
1298
+ color?: string | undefined;
1299
+ strokeColor?: string | undefined;
1300
+ strokeWidth?: number | undefined;
1301
+ fontSize?: number | undefined;
1302
+ transparentBg?: boolean | undefined;
1303
+ opacity?: number | undefined;
1304
+ marginRight?: number | undefined;
1305
+ marginBottom?: number | undefined;
1306
+ marginLeft?: number | undefined;
1307
+ marginTop?: number | undefined;
1308
+ } | undefined;
1309
+ }>]>>;
1310
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1311
+ text: z.ZodOptional<z.ZodString>;
1312
+ imagePath: z.ZodOptional<z.ZodString>;
1313
+ font: z.ZodOptional<z.ZodString>;
1314
+ fontPath: z.ZodOptional<z.ZodString>;
1315
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1316
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1317
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ x?: string | number | undefined;
1320
+ y?: string | number | undefined;
1321
+ }, {
1322
+ x?: string | number | undefined;
1323
+ y?: string | number | undefined;
1324
+ }>]>>;
1325
+ color: z.ZodOptional<z.ZodString>;
1326
+ strokeColor: z.ZodOptional<z.ZodString>;
1327
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1328
+ fontSize: z.ZodOptional<z.ZodNumber>;
1329
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
1330
+ opacity: z.ZodOptional<z.ZodNumber>;
1331
+ marginRight: z.ZodOptional<z.ZodNumber>;
1332
+ marginBottom: z.ZodOptional<z.ZodNumber>;
1333
+ marginLeft: z.ZodOptional<z.ZodNumber>;
1334
+ marginTop: z.ZodOptional<z.ZodNumber>;
1335
+ }, "strip", z.ZodTypeAny, {
1336
+ text?: string | undefined;
1337
+ imagePath?: string | undefined;
1338
+ font?: string | undefined;
1339
+ fontPath?: string | undefined;
1340
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1341
+ x?: string | number | undefined;
1342
+ y?: string | number | undefined;
1343
+ } | undefined;
1344
+ color?: string | undefined;
1345
+ strokeColor?: string | undefined;
1346
+ strokeWidth?: number | undefined;
1347
+ fontSize?: number | undefined;
1348
+ transparentBg?: boolean | undefined;
1349
+ opacity?: number | undefined;
1350
+ marginRight?: number | undefined;
1351
+ marginBottom?: number | undefined;
1352
+ marginLeft?: number | undefined;
1353
+ marginTop?: number | undefined;
1354
+ }, {
1355
+ text?: string | undefined;
1356
+ imagePath?: string | undefined;
1357
+ font?: string | undefined;
1358
+ fontPath?: string | undefined;
1359
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1360
+ x?: string | number | undefined;
1361
+ y?: string | number | undefined;
1362
+ } | undefined;
1363
+ color?: string | undefined;
1364
+ strokeColor?: string | undefined;
1365
+ strokeWidth?: number | undefined;
1366
+ fontSize?: number | undefined;
1367
+ transparentBg?: boolean | undefined;
1368
+ opacity?: number | undefined;
1369
+ marginRight?: number | undefined;
1370
+ marginBottom?: number | undefined;
1371
+ marginLeft?: number | undefined;
1372
+ marginTop?: number | undefined;
1373
+ }>]>>;
1374
+ }, "strip", z.ZodTypeAny, {
1375
+ prompt: string;
1376
+ aspectRatio?: "9:16" | "16:9" | undefined;
1377
+ durationSeconds?: number | undefined;
1378
+ watermark?: string | {
1379
+ text?: string | undefined;
1380
+ imagePath?: string | undefined;
1381
+ font?: string | undefined;
1382
+ fontPath?: string | undefined;
1383
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1384
+ x?: string | number | undefined;
1385
+ y?: string | number | undefined;
1386
+ } | undefined;
1387
+ color?: string | undefined;
1388
+ strokeColor?: string | undefined;
1389
+ strokeWidth?: number | undefined;
1390
+ fontSize?: number | undefined;
1391
+ transparentBg?: boolean | undefined;
1392
+ opacity?: number | undefined;
1393
+ marginRight?: number | undefined;
1394
+ marginBottom?: number | undefined;
1395
+ marginLeft?: number | undefined;
1396
+ marginTop?: number | undefined;
1397
+ } | undefined;
1398
+ audioPrompt?: string | undefined;
1399
+ hook?: string | {
1400
+ text: string;
1401
+ font?: string | undefined;
1402
+ fontPath?: string | undefined;
1403
+ position?: "center" | "top" | "bottom" | {
1404
+ x?: string | number | undefined;
1405
+ y?: string | number | undefined;
1406
+ } | undefined;
1407
+ strokeColor?: string | undefined;
1408
+ strokeWidth?: number | undefined;
1409
+ fontSize?: number | undefined;
1410
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1411
+ alignment?: "center" | "left" | "right" | undefined;
1412
+ lineHeight?: number | undefined;
1413
+ letterSpacing?: number | undefined;
1414
+ textColor?: string | undefined;
1415
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1416
+ shadow?: boolean | {
1417
+ color?: string | undefined;
1418
+ opacity?: number | undefined;
1419
+ dx?: number | undefined;
1420
+ dy?: number | undefined;
1421
+ blur?: number | undefined;
1422
+ } | undefined;
1423
+ containerBgColor?: string | undefined;
1424
+ containerBorderColor?: string | undefined;
1425
+ containerBorderWidth?: number | undefined;
1426
+ containerBorderRadius?: number | undefined;
1427
+ paddingX?: number | undefined;
1428
+ paddingY?: number | undefined;
1429
+ maxCharsPerLine?: number | undefined;
1430
+ badgeTag?: string | undefined;
1431
+ badgeBgColor?: string | undefined;
1432
+ badgeTextColor?: string | undefined;
1433
+ badgeFont?: string | undefined;
1434
+ badgeFontSize?: number | undefined;
1435
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1436
+ watermark?: string | {
1437
+ text?: string | undefined;
1438
+ imagePath?: string | undefined;
1439
+ font?: string | undefined;
1440
+ fontPath?: string | undefined;
1441
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1442
+ x?: string | number | undefined;
1443
+ y?: string | number | undefined;
1444
+ } | undefined;
1445
+ color?: string | undefined;
1446
+ strokeColor?: string | undefined;
1447
+ strokeWidth?: number | undefined;
1448
+ fontSize?: number | undefined;
1449
+ transparentBg?: boolean | undefined;
1450
+ opacity?: number | undefined;
1451
+ marginRight?: number | undefined;
1452
+ marginBottom?: number | undefined;
1453
+ marginLeft?: number | undefined;
1454
+ marginTop?: number | undefined;
1455
+ } | undefined;
1456
+ } | undefined;
1457
+ }, {
1458
+ prompt: string;
1459
+ aspectRatio?: "9:16" | "16:9" | undefined;
1460
+ durationSeconds?: number | undefined;
1461
+ watermark?: string | {
1462
+ text?: string | undefined;
1463
+ imagePath?: string | undefined;
1464
+ font?: string | undefined;
1465
+ fontPath?: string | undefined;
1466
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1467
+ x?: string | number | undefined;
1468
+ y?: string | number | undefined;
1469
+ } | undefined;
1470
+ color?: string | undefined;
1471
+ strokeColor?: string | undefined;
1472
+ strokeWidth?: number | undefined;
1473
+ fontSize?: number | undefined;
1474
+ transparentBg?: boolean | undefined;
1475
+ opacity?: number | undefined;
1476
+ marginRight?: number | undefined;
1477
+ marginBottom?: number | undefined;
1478
+ marginLeft?: number | undefined;
1479
+ marginTop?: number | undefined;
1480
+ } | undefined;
1481
+ audioPrompt?: string | undefined;
1482
+ hook?: string | {
1483
+ text: string;
1484
+ font?: string | undefined;
1485
+ fontPath?: string | undefined;
1486
+ position?: "center" | "top" | "bottom" | {
1487
+ x?: string | number | undefined;
1488
+ y?: string | number | undefined;
1489
+ } | undefined;
1490
+ strokeColor?: string | undefined;
1491
+ strokeWidth?: number | undefined;
1492
+ fontSize?: number | undefined;
1493
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1494
+ alignment?: "center" | "left" | "right" | undefined;
1495
+ lineHeight?: number | undefined;
1496
+ letterSpacing?: number | undefined;
1497
+ textColor?: string | undefined;
1498
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1499
+ shadow?: boolean | {
1500
+ color?: string | undefined;
1501
+ opacity?: number | undefined;
1502
+ dx?: number | undefined;
1503
+ dy?: number | undefined;
1504
+ blur?: number | undefined;
1505
+ } | undefined;
1506
+ containerBgColor?: string | undefined;
1507
+ containerBorderColor?: string | undefined;
1508
+ containerBorderWidth?: number | undefined;
1509
+ containerBorderRadius?: number | undefined;
1510
+ paddingX?: number | undefined;
1511
+ paddingY?: number | undefined;
1512
+ maxCharsPerLine?: number | undefined;
1513
+ badgeTag?: string | undefined;
1514
+ badgeBgColor?: string | undefined;
1515
+ badgeTextColor?: string | undefined;
1516
+ badgeFont?: string | undefined;
1517
+ badgeFontSize?: number | undefined;
1518
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1519
+ watermark?: string | {
1520
+ text?: string | undefined;
1521
+ imagePath?: string | undefined;
1522
+ font?: string | undefined;
1523
+ fontPath?: string | undefined;
1524
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1525
+ x?: string | number | undefined;
1526
+ y?: string | number | undefined;
1527
+ } | undefined;
1528
+ color?: string | undefined;
1529
+ strokeColor?: string | undefined;
1530
+ strokeWidth?: number | undefined;
1531
+ fontSize?: number | undefined;
1532
+ transparentBg?: boolean | undefined;
1533
+ opacity?: number | undefined;
1534
+ marginRight?: number | undefined;
1535
+ marginBottom?: number | undefined;
1536
+ marginLeft?: number | undefined;
1537
+ marginTop?: number | undefined;
1538
+ } | undefined;
1539
+ } | undefined;
1540
+ }>;
1541
+ type SocialVideoGenerationPayload = z.infer<typeof SocialVideoGenerationSchema>;
1542
+ declare const VideoTranscodeSchema: z.ZodObject<{
1543
+ crf: z.ZodOptional<z.ZodNumber>;
1544
+ preset: z.ZodOptional<z.ZodString>;
1545
+ videoCodec: z.ZodOptional<z.ZodString>;
1546
+ audioCodec: z.ZodOptional<z.ZodString>;
1547
+ }, "strip", z.ZodTypeAny, {
1548
+ crf?: number | undefined;
1549
+ preset?: string | undefined;
1550
+ videoCodec?: string | undefined;
1551
+ audioCodec?: string | undefined;
1552
+ }, {
1553
+ crf?: number | undefined;
1554
+ preset?: string | undefined;
1555
+ videoCodec?: string | undefined;
1556
+ audioCodec?: string | undefined;
1557
+ }>;
1558
+ type VideoTranscodePayload = z.infer<typeof VideoTranscodeSchema>;
1559
+ declare const VideoCompressionSchema: z.ZodObject<{
1560
+ crf: z.ZodOptional<z.ZodNumber>;
1561
+ preset: z.ZodOptional<z.ZodString>;
1562
+ videoCodec: z.ZodOptional<z.ZodString>;
1563
+ audioCodec: z.ZodOptional<z.ZodString>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ crf?: number | undefined;
1566
+ preset?: string | undefined;
1567
+ videoCodec?: string | undefined;
1568
+ audioCodec?: string | undefined;
1569
+ }, {
1570
+ crf?: number | undefined;
1571
+ preset?: string | undefined;
1572
+ videoCodec?: string | undefined;
1573
+ audioCodec?: string | undefined;
1574
+ }>;
1575
+ type VideoCompressionPayload = VideoTranscodePayload;
1576
+ declare const VideoOverlayOptionsSchema: z.ZodObject<{
1577
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1578
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1579
+ crf: z.ZodOptional<z.ZodNumber>;
1580
+ preset: z.ZodOptional<z.ZodString>;
1581
+ videoCodec: z.ZodOptional<z.ZodString>;
1582
+ audioCodec: z.ZodOptional<z.ZodString>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ x?: string | number | undefined;
1585
+ y?: string | number | undefined;
1586
+ crf?: number | undefined;
1587
+ preset?: string | undefined;
1588
+ videoCodec?: string | undefined;
1589
+ audioCodec?: string | undefined;
1590
+ }, {
1591
+ x?: string | number | undefined;
1592
+ y?: string | number | undefined;
1593
+ crf?: number | undefined;
1594
+ preset?: string | undefined;
1595
+ videoCodec?: string | undefined;
1596
+ audioCodec?: string | undefined;
1597
+ }>;
1598
+ type VideoOverlayOptions = z.infer<typeof VideoOverlayOptionsSchema>;
1599
+ declare const VideoScaleAndPadSchema: z.ZodObject<{
1600
+ width: z.ZodNumber;
1601
+ height: z.ZodNumber;
1602
+ fit: z.ZodOptional<z.ZodEnum<["contain", "cover", "fill"]>>;
1603
+ background: z.ZodOptional<z.ZodString>;
1604
+ crf: z.ZodOptional<z.ZodNumber>;
1605
+ preset: z.ZodOptional<z.ZodString>;
1606
+ videoCodec: z.ZodOptional<z.ZodString>;
1607
+ audioCodec: z.ZodOptional<z.ZodString>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ width: number;
1610
+ height: number;
1611
+ crf?: number | undefined;
1612
+ preset?: string | undefined;
1613
+ videoCodec?: string | undefined;
1614
+ audioCodec?: string | undefined;
1615
+ fit?: "fill" | "contain" | "cover" | undefined;
1616
+ background?: string | undefined;
1617
+ }, {
1618
+ width: number;
1619
+ height: number;
1620
+ crf?: number | undefined;
1621
+ preset?: string | undefined;
1622
+ videoCodec?: string | undefined;
1623
+ audioCodec?: string | undefined;
1624
+ fit?: "fill" | "contain" | "cover" | undefined;
1625
+ background?: string | undefined;
1626
+ }>;
1627
+ type VideoScaleAndPad = z.infer<typeof VideoScaleAndPadSchema>;
1628
+ declare const AudioMixTrackSchema: z.ZodObject<{
1629
+ path: z.ZodString;
1630
+ volume: z.ZodOptional<z.ZodNumber>;
1631
+ delayMs: z.ZodOptional<z.ZodNumber>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ path: string;
1634
+ volume?: number | undefined;
1635
+ delayMs?: number | undefined;
1636
+ }, {
1637
+ path: string;
1638
+ volume?: number | undefined;
1639
+ delayMs?: number | undefined;
1640
+ }>;
1641
+ type AudioMixTrack = z.infer<typeof AudioMixTrackSchema>;
1642
+ declare const AudioMixOptionsSchema: z.ZodObject<{
1643
+ tracks: z.ZodArray<z.ZodObject<{
1644
+ path: z.ZodString;
1645
+ volume: z.ZodOptional<z.ZodNumber>;
1646
+ delayMs: z.ZodOptional<z.ZodNumber>;
1647
+ }, "strip", z.ZodTypeAny, {
1648
+ path: string;
1649
+ volume?: number | undefined;
1650
+ delayMs?: number | undefined;
1651
+ }, {
1652
+ path: string;
1653
+ volume?: number | undefined;
1654
+ delayMs?: number | undefined;
1655
+ }>, "many">;
1656
+ videoVolume: z.ZodOptional<z.ZodNumber>;
1657
+ crf: z.ZodOptional<z.ZodNumber>;
1658
+ preset: z.ZodOptional<z.ZodString>;
1659
+ videoCodec: z.ZodOptional<z.ZodString>;
1660
+ audioCodec: z.ZodOptional<z.ZodString>;
1661
+ }, "strip", z.ZodTypeAny, {
1662
+ tracks: {
1663
+ path: string;
1664
+ volume?: number | undefined;
1665
+ delayMs?: number | undefined;
1666
+ }[];
1667
+ crf?: number | undefined;
1668
+ preset?: string | undefined;
1669
+ videoCodec?: string | undefined;
1670
+ audioCodec?: string | undefined;
1671
+ videoVolume?: number | undefined;
1672
+ }, {
1673
+ tracks: {
1674
+ path: string;
1675
+ volume?: number | undefined;
1676
+ delayMs?: number | undefined;
1677
+ }[];
1678
+ crf?: number | undefined;
1679
+ preset?: string | undefined;
1680
+ videoCodec?: string | undefined;
1681
+ audioCodec?: string | undefined;
1682
+ videoVolume?: number | undefined;
1683
+ }>;
1684
+ type AudioMixOptions = z.infer<typeof AudioMixOptionsSchema>;
1685
+ declare const VideoPipelineSchema: z.ZodObject<{
1686
+ scaleAndPad: z.ZodOptional<z.ZodObject<{
1687
+ width: z.ZodNumber;
1688
+ height: z.ZodNumber;
1689
+ fit: z.ZodOptional<z.ZodEnum<["contain", "cover", "fill"]>>;
1690
+ background: z.ZodOptional<z.ZodString>;
1691
+ crf: z.ZodOptional<z.ZodNumber>;
1692
+ preset: z.ZodOptional<z.ZodString>;
1693
+ videoCodec: z.ZodOptional<z.ZodString>;
1694
+ audioCodec: z.ZodOptional<z.ZodString>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ width: number;
1697
+ height: number;
1698
+ crf?: number | undefined;
1699
+ preset?: string | undefined;
1700
+ videoCodec?: string | undefined;
1701
+ audioCodec?: string | undefined;
1702
+ fit?: "fill" | "contain" | "cover" | undefined;
1703
+ background?: string | undefined;
1704
+ }, {
1705
+ width: number;
1706
+ height: number;
1707
+ crf?: number | undefined;
1708
+ preset?: string | undefined;
1709
+ videoCodec?: string | undefined;
1710
+ audioCodec?: string | undefined;
1711
+ fit?: "fill" | "contain" | "cover" | undefined;
1712
+ background?: string | undefined;
1713
+ }>>;
1714
+ textOverlay: z.ZodOptional<z.ZodObject<{
1715
+ text: z.ZodString;
1716
+ style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
1717
+ font: z.ZodOptional<z.ZodString>;
1718
+ fontPath: z.ZodOptional<z.ZodString>;
1719
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
1720
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1721
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ x?: string | number | undefined;
1724
+ y?: string | number | undefined;
1725
+ }, {
1726
+ x?: string | number | undefined;
1727
+ y?: string | number | undefined;
1728
+ }>]>>;
1729
+ alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1730
+ fontSize: z.ZodOptional<z.ZodNumber>;
1731
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1732
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1733
+ textColor: z.ZodOptional<z.ZodString>;
1734
+ textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
1735
+ strokeColor: z.ZodOptional<z.ZodString>;
1736
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1737
+ shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1738
+ dx: z.ZodOptional<z.ZodNumber>;
1739
+ dy: z.ZodOptional<z.ZodNumber>;
1740
+ blur: z.ZodOptional<z.ZodNumber>;
1741
+ color: z.ZodOptional<z.ZodString>;
1742
+ opacity: z.ZodOptional<z.ZodNumber>;
1743
+ }, "strip", z.ZodTypeAny, {
1744
+ color?: string | undefined;
1745
+ opacity?: number | undefined;
1746
+ dx?: number | undefined;
1747
+ dy?: number | undefined;
1748
+ blur?: number | undefined;
1749
+ }, {
1750
+ color?: string | undefined;
1751
+ opacity?: number | undefined;
1752
+ dx?: number | undefined;
1753
+ dy?: number | undefined;
1754
+ blur?: number | undefined;
1755
+ }>]>>;
1756
+ containerBgColor: z.ZodOptional<z.ZodString>;
1757
+ containerBorderColor: z.ZodOptional<z.ZodString>;
1758
+ containerBorderWidth: z.ZodOptional<z.ZodNumber>;
1759
+ containerBorderRadius: z.ZodOptional<z.ZodNumber>;
1760
+ paddingX: z.ZodOptional<z.ZodNumber>;
1761
+ paddingY: z.ZodOptional<z.ZodNumber>;
1762
+ maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
1763
+ badgeTag: z.ZodOptional<z.ZodString>;
1764
+ badgeBgColor: z.ZodOptional<z.ZodString>;
1765
+ badgeTextColor: z.ZodOptional<z.ZodString>;
1766
+ badgeFont: z.ZodOptional<z.ZodString>;
1767
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
1768
+ badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
1769
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1770
+ text: z.ZodOptional<z.ZodString>;
1771
+ imagePath: z.ZodOptional<z.ZodString>;
1772
+ font: z.ZodOptional<z.ZodString>;
1773
+ fontPath: z.ZodOptional<z.ZodString>;
1774
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1775
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1776
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ x?: string | number | undefined;
1779
+ y?: string | number | undefined;
1780
+ }, {
1781
+ x?: string | number | undefined;
1782
+ y?: string | number | undefined;
1783
+ }>]>>;
1784
+ color: z.ZodOptional<z.ZodString>;
1785
+ strokeColor: z.ZodOptional<z.ZodString>;
1786
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1787
+ fontSize: z.ZodOptional<z.ZodNumber>;
1788
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
1789
+ opacity: z.ZodOptional<z.ZodNumber>;
1790
+ marginRight: z.ZodOptional<z.ZodNumber>;
1791
+ marginBottom: z.ZodOptional<z.ZodNumber>;
1792
+ marginLeft: z.ZodOptional<z.ZodNumber>;
1793
+ marginTop: z.ZodOptional<z.ZodNumber>;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ text?: string | undefined;
1796
+ imagePath?: string | undefined;
1797
+ font?: string | undefined;
1798
+ fontPath?: string | undefined;
1799
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1800
+ x?: string | number | undefined;
1801
+ y?: string | number | undefined;
1802
+ } | undefined;
1803
+ color?: string | undefined;
1804
+ strokeColor?: string | undefined;
1805
+ strokeWidth?: number | undefined;
1806
+ fontSize?: number | undefined;
1807
+ transparentBg?: boolean | undefined;
1808
+ opacity?: number | undefined;
1809
+ marginRight?: number | undefined;
1810
+ marginBottom?: number | undefined;
1811
+ marginLeft?: number | undefined;
1812
+ marginTop?: number | undefined;
1813
+ }, {
1814
+ text?: string | undefined;
1815
+ imagePath?: string | undefined;
1816
+ font?: string | undefined;
1817
+ fontPath?: string | undefined;
1818
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1819
+ x?: string | number | undefined;
1820
+ y?: string | number | undefined;
1821
+ } | undefined;
1822
+ color?: string | undefined;
1823
+ strokeColor?: string | undefined;
1824
+ strokeWidth?: number | undefined;
1825
+ fontSize?: number | undefined;
1826
+ transparentBg?: boolean | undefined;
1827
+ opacity?: number | undefined;
1828
+ marginRight?: number | undefined;
1829
+ marginBottom?: number | undefined;
1830
+ marginLeft?: number | undefined;
1831
+ marginTop?: number | undefined;
1832
+ }>]>>;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ text: string;
1835
+ font?: string | undefined;
1836
+ fontPath?: string | undefined;
1837
+ position?: "center" | "top" | "bottom" | {
1838
+ x?: string | number | undefined;
1839
+ y?: string | number | undefined;
1840
+ } | undefined;
1841
+ strokeColor?: string | undefined;
1842
+ strokeWidth?: number | undefined;
1843
+ fontSize?: number | undefined;
1844
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1845
+ alignment?: "center" | "left" | "right" | undefined;
1846
+ lineHeight?: number | undefined;
1847
+ letterSpacing?: number | undefined;
1848
+ textColor?: string | undefined;
1849
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1850
+ shadow?: boolean | {
1851
+ color?: string | undefined;
1852
+ opacity?: number | undefined;
1853
+ dx?: number | undefined;
1854
+ dy?: number | undefined;
1855
+ blur?: number | undefined;
1856
+ } | undefined;
1857
+ containerBgColor?: string | undefined;
1858
+ containerBorderColor?: string | undefined;
1859
+ containerBorderWidth?: number | undefined;
1860
+ containerBorderRadius?: number | undefined;
1861
+ paddingX?: number | undefined;
1862
+ paddingY?: number | undefined;
1863
+ maxCharsPerLine?: number | undefined;
1864
+ badgeTag?: string | undefined;
1865
+ badgeBgColor?: string | undefined;
1866
+ badgeTextColor?: string | undefined;
1867
+ badgeFont?: string | undefined;
1868
+ badgeFontSize?: number | undefined;
1869
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1870
+ watermark?: string | {
1871
+ text?: string | undefined;
1872
+ imagePath?: string | undefined;
1873
+ font?: string | undefined;
1874
+ fontPath?: string | undefined;
1875
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1876
+ x?: string | number | undefined;
1877
+ y?: string | number | undefined;
1878
+ } | undefined;
1879
+ color?: string | undefined;
1880
+ strokeColor?: string | undefined;
1881
+ strokeWidth?: number | undefined;
1882
+ fontSize?: number | undefined;
1883
+ transparentBg?: boolean | undefined;
1884
+ opacity?: number | undefined;
1885
+ marginRight?: number | undefined;
1886
+ marginBottom?: number | undefined;
1887
+ marginLeft?: number | undefined;
1888
+ marginTop?: number | undefined;
1889
+ } | undefined;
1890
+ }, {
1891
+ text: string;
1892
+ font?: string | undefined;
1893
+ fontPath?: string | undefined;
1894
+ position?: "center" | "top" | "bottom" | {
1895
+ x?: string | number | undefined;
1896
+ y?: string | number | undefined;
1897
+ } | undefined;
1898
+ strokeColor?: string | undefined;
1899
+ strokeWidth?: number | undefined;
1900
+ fontSize?: number | undefined;
1901
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1902
+ alignment?: "center" | "left" | "right" | undefined;
1903
+ lineHeight?: number | undefined;
1904
+ letterSpacing?: number | undefined;
1905
+ textColor?: string | undefined;
1906
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1907
+ shadow?: boolean | {
1908
+ color?: string | undefined;
1909
+ opacity?: number | undefined;
1910
+ dx?: number | undefined;
1911
+ dy?: number | undefined;
1912
+ blur?: number | undefined;
1913
+ } | undefined;
1914
+ containerBgColor?: string | undefined;
1915
+ containerBorderColor?: string | undefined;
1916
+ containerBorderWidth?: number | undefined;
1917
+ containerBorderRadius?: number | undefined;
1918
+ paddingX?: number | undefined;
1919
+ paddingY?: number | undefined;
1920
+ maxCharsPerLine?: number | undefined;
1921
+ badgeTag?: string | undefined;
1922
+ badgeBgColor?: string | undefined;
1923
+ badgeTextColor?: string | undefined;
1924
+ badgeFont?: string | undefined;
1925
+ badgeFontSize?: number | undefined;
1926
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1927
+ watermark?: string | {
1928
+ text?: string | undefined;
1929
+ imagePath?: string | undefined;
1930
+ font?: string | undefined;
1931
+ fontPath?: string | undefined;
1932
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1933
+ x?: string | number | undefined;
1934
+ y?: string | number | undefined;
1935
+ } | undefined;
1936
+ color?: string | undefined;
1937
+ strokeColor?: string | undefined;
1938
+ strokeWidth?: number | undefined;
1939
+ fontSize?: number | undefined;
1940
+ transparentBg?: boolean | undefined;
1941
+ opacity?: number | undefined;
1942
+ marginRight?: number | undefined;
1943
+ marginBottom?: number | undefined;
1944
+ marginLeft?: number | undefined;
1945
+ marginTop?: number | undefined;
1946
+ } | undefined;
1947
+ }>>;
1948
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1949
+ text: z.ZodOptional<z.ZodString>;
1950
+ imagePath: z.ZodOptional<z.ZodString>;
1951
+ font: z.ZodOptional<z.ZodString>;
1952
+ fontPath: z.ZodOptional<z.ZodString>;
1953
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1954
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1955
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1956
+ }, "strip", z.ZodTypeAny, {
1957
+ x?: string | number | undefined;
1958
+ y?: string | number | undefined;
1959
+ }, {
1960
+ x?: string | number | undefined;
1961
+ y?: string | number | undefined;
1962
+ }>]>>;
1963
+ color: z.ZodOptional<z.ZodString>;
1964
+ strokeColor: z.ZodOptional<z.ZodString>;
1965
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1966
+ fontSize: z.ZodOptional<z.ZodNumber>;
1967
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
1968
+ opacity: z.ZodOptional<z.ZodNumber>;
1969
+ marginRight: z.ZodOptional<z.ZodNumber>;
1970
+ marginBottom: z.ZodOptional<z.ZodNumber>;
1971
+ marginLeft: z.ZodOptional<z.ZodNumber>;
1972
+ marginTop: z.ZodOptional<z.ZodNumber>;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ text?: string | undefined;
1975
+ imagePath?: string | undefined;
1976
+ font?: string | undefined;
1977
+ fontPath?: string | undefined;
1978
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1979
+ x?: string | number | undefined;
1980
+ y?: string | number | undefined;
1981
+ } | undefined;
1982
+ color?: string | undefined;
1983
+ strokeColor?: string | undefined;
1984
+ strokeWidth?: number | undefined;
1985
+ fontSize?: number | undefined;
1986
+ transparentBg?: boolean | undefined;
1987
+ opacity?: number | undefined;
1988
+ marginRight?: number | undefined;
1989
+ marginBottom?: number | undefined;
1990
+ marginLeft?: number | undefined;
1991
+ marginTop?: number | undefined;
1992
+ }, {
1993
+ text?: string | undefined;
1994
+ imagePath?: string | undefined;
1995
+ font?: string | undefined;
1996
+ fontPath?: string | undefined;
1997
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1998
+ x?: string | number | undefined;
1999
+ y?: string | number | undefined;
2000
+ } | undefined;
2001
+ color?: string | undefined;
2002
+ strokeColor?: string | undefined;
2003
+ strokeWidth?: number | undefined;
2004
+ fontSize?: number | undefined;
2005
+ transparentBg?: boolean | undefined;
2006
+ opacity?: number | undefined;
2007
+ marginRight?: number | undefined;
2008
+ marginBottom?: number | undefined;
2009
+ marginLeft?: number | undefined;
2010
+ marginTop?: number | undefined;
2011
+ }>, z.ZodString]>>;
2012
+ imageOverlays: z.ZodOptional<z.ZodArray<z.ZodObject<{
2013
+ imagePath: z.ZodString;
2014
+ options: z.ZodOptional<z.ZodObject<{
2015
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2016
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2017
+ crf: z.ZodOptional<z.ZodNumber>;
2018
+ preset: z.ZodOptional<z.ZodString>;
2019
+ videoCodec: z.ZodOptional<z.ZodString>;
2020
+ audioCodec: z.ZodOptional<z.ZodString>;
2021
+ }, "strip", z.ZodTypeAny, {
2022
+ x?: string | number | undefined;
2023
+ y?: string | number | undefined;
2024
+ crf?: number | undefined;
2025
+ preset?: string | undefined;
2026
+ videoCodec?: string | undefined;
2027
+ audioCodec?: string | undefined;
2028
+ }, {
2029
+ x?: string | number | undefined;
2030
+ y?: string | number | undefined;
2031
+ crf?: number | undefined;
2032
+ preset?: string | undefined;
2033
+ videoCodec?: string | undefined;
2034
+ audioCodec?: string | undefined;
2035
+ }>>;
2036
+ }, "strip", z.ZodTypeAny, {
2037
+ imagePath: string;
2038
+ options?: {
2039
+ x?: string | number | undefined;
2040
+ y?: string | number | undefined;
2041
+ crf?: number | undefined;
2042
+ preset?: string | undefined;
2043
+ videoCodec?: string | undefined;
2044
+ audioCodec?: string | undefined;
2045
+ } | undefined;
2046
+ }, {
2047
+ imagePath: string;
2048
+ options?: {
2049
+ x?: string | number | undefined;
2050
+ y?: string | number | undefined;
2051
+ crf?: number | undefined;
2052
+ preset?: string | undefined;
2053
+ videoCodec?: string | undefined;
2054
+ audioCodec?: string | undefined;
2055
+ } | undefined;
2056
+ }>, "many">>;
2057
+ audioMix: z.ZodOptional<z.ZodObject<{
2058
+ tracks: z.ZodArray<z.ZodObject<{
2059
+ path: z.ZodString;
2060
+ volume: z.ZodOptional<z.ZodNumber>;
2061
+ delayMs: z.ZodOptional<z.ZodNumber>;
2062
+ }, "strip", z.ZodTypeAny, {
2063
+ path: string;
2064
+ volume?: number | undefined;
2065
+ delayMs?: number | undefined;
2066
+ }, {
2067
+ path: string;
2068
+ volume?: number | undefined;
2069
+ delayMs?: number | undefined;
2070
+ }>, "many">;
2071
+ videoVolume: z.ZodOptional<z.ZodNumber>;
2072
+ crf: z.ZodOptional<z.ZodNumber>;
2073
+ preset: z.ZodOptional<z.ZodString>;
2074
+ videoCodec: z.ZodOptional<z.ZodString>;
2075
+ audioCodec: z.ZodOptional<z.ZodString>;
2076
+ }, "strip", z.ZodTypeAny, {
2077
+ tracks: {
2078
+ path: string;
2079
+ volume?: number | undefined;
2080
+ delayMs?: number | undefined;
2081
+ }[];
2082
+ crf?: number | undefined;
2083
+ preset?: string | undefined;
2084
+ videoCodec?: string | undefined;
2085
+ audioCodec?: string | undefined;
2086
+ videoVolume?: number | undefined;
2087
+ }, {
2088
+ tracks: {
2089
+ path: string;
2090
+ volume?: number | undefined;
2091
+ delayMs?: number | undefined;
2092
+ }[];
2093
+ crf?: number | undefined;
2094
+ preset?: string | undefined;
2095
+ videoCodec?: string | undefined;
2096
+ audioCodec?: string | undefined;
2097
+ videoVolume?: number | undefined;
2098
+ }>>;
2099
+ compress: z.ZodOptional<z.ZodObject<{
2100
+ crf: z.ZodOptional<z.ZodNumber>;
2101
+ preset: z.ZodOptional<z.ZodString>;
2102
+ videoCodec: z.ZodOptional<z.ZodString>;
2103
+ audioCodec: z.ZodOptional<z.ZodString>;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ crf?: number | undefined;
2106
+ preset?: string | undefined;
2107
+ videoCodec?: string | undefined;
2108
+ audioCodec?: string | undefined;
2109
+ }, {
2110
+ crf?: number | undefined;
2111
+ preset?: string | undefined;
2112
+ videoCodec?: string | undefined;
2113
+ audioCodec?: string | undefined;
2114
+ }>>;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ watermark?: string | {
2117
+ text?: string | undefined;
2118
+ imagePath?: string | undefined;
2119
+ font?: string | undefined;
2120
+ fontPath?: string | undefined;
2121
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2122
+ x?: string | number | undefined;
2123
+ y?: string | number | undefined;
2124
+ } | undefined;
2125
+ color?: string | undefined;
2126
+ strokeColor?: string | undefined;
2127
+ strokeWidth?: number | undefined;
2128
+ fontSize?: number | undefined;
2129
+ transparentBg?: boolean | undefined;
2130
+ opacity?: number | undefined;
2131
+ marginRight?: number | undefined;
2132
+ marginBottom?: number | undefined;
2133
+ marginLeft?: number | undefined;
2134
+ marginTop?: number | undefined;
2135
+ } | undefined;
2136
+ scaleAndPad?: {
2137
+ width: number;
2138
+ height: number;
2139
+ crf?: number | undefined;
2140
+ preset?: string | undefined;
2141
+ videoCodec?: string | undefined;
2142
+ audioCodec?: string | undefined;
2143
+ fit?: "fill" | "contain" | "cover" | undefined;
2144
+ background?: string | undefined;
2145
+ } | undefined;
2146
+ textOverlay?: {
2147
+ text: string;
2148
+ font?: string | undefined;
2149
+ fontPath?: string | undefined;
2150
+ position?: "center" | "top" | "bottom" | {
2151
+ x?: string | number | undefined;
2152
+ y?: string | number | undefined;
2153
+ } | undefined;
2154
+ strokeColor?: string | undefined;
2155
+ strokeWidth?: number | undefined;
2156
+ fontSize?: number | undefined;
2157
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
2158
+ alignment?: "center" | "left" | "right" | undefined;
2159
+ lineHeight?: number | undefined;
2160
+ letterSpacing?: number | undefined;
2161
+ textColor?: string | undefined;
2162
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
2163
+ shadow?: boolean | {
2164
+ color?: string | undefined;
2165
+ opacity?: number | undefined;
2166
+ dx?: number | undefined;
2167
+ dy?: number | undefined;
2168
+ blur?: number | undefined;
2169
+ } | undefined;
2170
+ containerBgColor?: string | undefined;
2171
+ containerBorderColor?: string | undefined;
2172
+ containerBorderWidth?: number | undefined;
2173
+ containerBorderRadius?: number | undefined;
2174
+ paddingX?: number | undefined;
2175
+ paddingY?: number | undefined;
2176
+ maxCharsPerLine?: number | undefined;
2177
+ badgeTag?: string | undefined;
2178
+ badgeBgColor?: string | undefined;
2179
+ badgeTextColor?: string | undefined;
2180
+ badgeFont?: string | undefined;
2181
+ badgeFontSize?: number | undefined;
2182
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
2183
+ watermark?: string | {
2184
+ text?: string | undefined;
2185
+ imagePath?: string | undefined;
2186
+ font?: string | undefined;
2187
+ fontPath?: string | undefined;
2188
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2189
+ x?: string | number | undefined;
2190
+ y?: string | number | undefined;
2191
+ } | undefined;
2192
+ color?: string | undefined;
2193
+ strokeColor?: string | undefined;
2194
+ strokeWidth?: number | undefined;
2195
+ fontSize?: number | undefined;
2196
+ transparentBg?: boolean | undefined;
2197
+ opacity?: number | undefined;
2198
+ marginRight?: number | undefined;
2199
+ marginBottom?: number | undefined;
2200
+ marginLeft?: number | undefined;
2201
+ marginTop?: number | undefined;
2202
+ } | undefined;
2203
+ } | undefined;
2204
+ imageOverlays?: {
2205
+ imagePath: string;
2206
+ options?: {
2207
+ x?: string | number | undefined;
2208
+ y?: string | number | undefined;
2209
+ crf?: number | undefined;
2210
+ preset?: string | undefined;
2211
+ videoCodec?: string | undefined;
2212
+ audioCodec?: string | undefined;
2213
+ } | undefined;
2214
+ }[] | undefined;
2215
+ audioMix?: {
2216
+ tracks: {
2217
+ path: string;
2218
+ volume?: number | undefined;
2219
+ delayMs?: number | undefined;
2220
+ }[];
2221
+ crf?: number | undefined;
2222
+ preset?: string | undefined;
2223
+ videoCodec?: string | undefined;
2224
+ audioCodec?: string | undefined;
2225
+ videoVolume?: number | undefined;
2226
+ } | undefined;
2227
+ compress?: {
2228
+ crf?: number | undefined;
2229
+ preset?: string | undefined;
2230
+ videoCodec?: string | undefined;
2231
+ audioCodec?: string | undefined;
2232
+ } | undefined;
2233
+ }, {
2234
+ watermark?: string | {
2235
+ text?: string | undefined;
2236
+ imagePath?: string | undefined;
2237
+ font?: string | undefined;
2238
+ fontPath?: string | undefined;
2239
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2240
+ x?: string | number | undefined;
2241
+ y?: string | number | undefined;
2242
+ } | undefined;
2243
+ color?: string | undefined;
2244
+ strokeColor?: string | undefined;
2245
+ strokeWidth?: number | undefined;
2246
+ fontSize?: number | undefined;
2247
+ transparentBg?: boolean | undefined;
2248
+ opacity?: number | undefined;
2249
+ marginRight?: number | undefined;
2250
+ marginBottom?: number | undefined;
2251
+ marginLeft?: number | undefined;
2252
+ marginTop?: number | undefined;
2253
+ } | undefined;
2254
+ scaleAndPad?: {
2255
+ width: number;
2256
+ height: number;
2257
+ crf?: number | undefined;
2258
+ preset?: string | undefined;
2259
+ videoCodec?: string | undefined;
2260
+ audioCodec?: string | undefined;
2261
+ fit?: "fill" | "contain" | "cover" | undefined;
2262
+ background?: string | undefined;
2263
+ } | undefined;
2264
+ textOverlay?: {
2265
+ text: string;
2266
+ font?: string | undefined;
2267
+ fontPath?: string | undefined;
2268
+ position?: "center" | "top" | "bottom" | {
2269
+ x?: string | number | undefined;
2270
+ y?: string | number | undefined;
2271
+ } | undefined;
2272
+ strokeColor?: string | undefined;
2273
+ strokeWidth?: number | undefined;
2274
+ fontSize?: number | undefined;
2275
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
2276
+ alignment?: "center" | "left" | "right" | undefined;
2277
+ lineHeight?: number | undefined;
2278
+ letterSpacing?: number | undefined;
2279
+ textColor?: string | undefined;
2280
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
2281
+ shadow?: boolean | {
2282
+ color?: string | undefined;
2283
+ opacity?: number | undefined;
2284
+ dx?: number | undefined;
2285
+ dy?: number | undefined;
2286
+ blur?: number | undefined;
2287
+ } | undefined;
2288
+ containerBgColor?: string | undefined;
2289
+ containerBorderColor?: string | undefined;
2290
+ containerBorderWidth?: number | undefined;
2291
+ containerBorderRadius?: number | undefined;
2292
+ paddingX?: number | undefined;
2293
+ paddingY?: number | undefined;
2294
+ maxCharsPerLine?: number | undefined;
2295
+ badgeTag?: string | undefined;
2296
+ badgeBgColor?: string | undefined;
2297
+ badgeTextColor?: string | undefined;
2298
+ badgeFont?: string | undefined;
2299
+ badgeFontSize?: number | undefined;
2300
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
2301
+ watermark?: string | {
2302
+ text?: string | undefined;
2303
+ imagePath?: string | undefined;
2304
+ font?: string | undefined;
2305
+ fontPath?: string | undefined;
2306
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2307
+ x?: string | number | undefined;
2308
+ y?: string | number | undefined;
2309
+ } | undefined;
2310
+ color?: string | undefined;
2311
+ strokeColor?: string | undefined;
2312
+ strokeWidth?: number | undefined;
2313
+ fontSize?: number | undefined;
2314
+ transparentBg?: boolean | undefined;
2315
+ opacity?: number | undefined;
2316
+ marginRight?: number | undefined;
2317
+ marginBottom?: number | undefined;
2318
+ marginLeft?: number | undefined;
2319
+ marginTop?: number | undefined;
2320
+ } | undefined;
2321
+ } | undefined;
2322
+ imageOverlays?: {
2323
+ imagePath: string;
2324
+ options?: {
2325
+ x?: string | number | undefined;
2326
+ y?: string | number | undefined;
2327
+ crf?: number | undefined;
2328
+ preset?: string | undefined;
2329
+ videoCodec?: string | undefined;
2330
+ audioCodec?: string | undefined;
2331
+ } | undefined;
2332
+ }[] | undefined;
2333
+ audioMix?: {
2334
+ tracks: {
2335
+ path: string;
2336
+ volume?: number | undefined;
2337
+ delayMs?: number | undefined;
2338
+ }[];
2339
+ crf?: number | undefined;
2340
+ preset?: string | undefined;
2341
+ videoCodec?: string | undefined;
2342
+ audioCodec?: string | undefined;
2343
+ videoVolume?: number | undefined;
2344
+ } | undefined;
2345
+ compress?: {
2346
+ crf?: number | undefined;
2347
+ preset?: string | undefined;
2348
+ videoCodec?: string | undefined;
2349
+ audioCodec?: string | undefined;
2350
+ } | undefined;
2351
+ }>;
2352
+ type VideoPipeline = z.infer<typeof VideoPipelineSchema>;
2353
+ declare const VideoCompositingSchema: z.ZodObject<{
2354
+ scaleAndPad: z.ZodOptional<z.ZodObject<{
2355
+ width: z.ZodNumber;
2356
+ height: z.ZodNumber;
2357
+ fit: z.ZodOptional<z.ZodEnum<["contain", "cover", "fill"]>>;
2358
+ background: z.ZodOptional<z.ZodString>;
2359
+ crf: z.ZodOptional<z.ZodNumber>;
2360
+ preset: z.ZodOptional<z.ZodString>;
2361
+ videoCodec: z.ZodOptional<z.ZodString>;
2362
+ audioCodec: z.ZodOptional<z.ZodString>;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ width: number;
2365
+ height: number;
2366
+ crf?: number | undefined;
2367
+ preset?: string | undefined;
2368
+ videoCodec?: string | undefined;
2369
+ audioCodec?: string | undefined;
2370
+ fit?: "fill" | "contain" | "cover" | undefined;
2371
+ background?: string | undefined;
2372
+ }, {
2373
+ width: number;
2374
+ height: number;
2375
+ crf?: number | undefined;
2376
+ preset?: string | undefined;
2377
+ videoCodec?: string | undefined;
2378
+ audioCodec?: string | undefined;
2379
+ fit?: "fill" | "contain" | "cover" | undefined;
2380
+ background?: string | undefined;
2381
+ }>>;
2382
+ textOverlay: z.ZodOptional<z.ZodObject<{
2383
+ text: z.ZodString;
2384
+ style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
2385
+ font: z.ZodOptional<z.ZodString>;
2386
+ fontPath: z.ZodOptional<z.ZodString>;
2387
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
2388
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2389
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2390
+ }, "strip", z.ZodTypeAny, {
2391
+ x?: string | number | undefined;
2392
+ y?: string | number | undefined;
2393
+ }, {
2394
+ x?: string | number | undefined;
2395
+ y?: string | number | undefined;
2396
+ }>]>>;
2397
+ alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
2398
+ fontSize: z.ZodOptional<z.ZodNumber>;
2399
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2400
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2401
+ textColor: z.ZodOptional<z.ZodString>;
2402
+ textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
2403
+ strokeColor: z.ZodOptional<z.ZodString>;
2404
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
2405
+ shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
2406
+ dx: z.ZodOptional<z.ZodNumber>;
2407
+ dy: z.ZodOptional<z.ZodNumber>;
2408
+ blur: z.ZodOptional<z.ZodNumber>;
2409
+ color: z.ZodOptional<z.ZodString>;
2410
+ opacity: z.ZodOptional<z.ZodNumber>;
2411
+ }, "strip", z.ZodTypeAny, {
2412
+ color?: string | undefined;
2413
+ opacity?: number | undefined;
2414
+ dx?: number | undefined;
2415
+ dy?: number | undefined;
2416
+ blur?: number | undefined;
2417
+ }, {
2418
+ color?: string | undefined;
2419
+ opacity?: number | undefined;
2420
+ dx?: number | undefined;
2421
+ dy?: number | undefined;
2422
+ blur?: number | undefined;
2423
+ }>]>>;
2424
+ containerBgColor: z.ZodOptional<z.ZodString>;
2425
+ containerBorderColor: z.ZodOptional<z.ZodString>;
2426
+ containerBorderWidth: z.ZodOptional<z.ZodNumber>;
2427
+ containerBorderRadius: z.ZodOptional<z.ZodNumber>;
2428
+ paddingX: z.ZodOptional<z.ZodNumber>;
2429
+ paddingY: z.ZodOptional<z.ZodNumber>;
2430
+ maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
2431
+ badgeTag: z.ZodOptional<z.ZodString>;
2432
+ badgeBgColor: z.ZodOptional<z.ZodString>;
2433
+ badgeTextColor: z.ZodOptional<z.ZodString>;
2434
+ badgeFont: z.ZodOptional<z.ZodString>;
2435
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
2436
+ badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
2437
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2438
+ text: z.ZodOptional<z.ZodString>;
2439
+ imagePath: z.ZodOptional<z.ZodString>;
2440
+ font: z.ZodOptional<z.ZodString>;
2441
+ fontPath: z.ZodOptional<z.ZodString>;
2442
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
2443
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2444
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2445
+ }, "strip", z.ZodTypeAny, {
2446
+ x?: string | number | undefined;
2447
+ y?: string | number | undefined;
2448
+ }, {
2449
+ x?: string | number | undefined;
2450
+ y?: string | number | undefined;
2451
+ }>]>>;
2452
+ color: z.ZodOptional<z.ZodString>;
2453
+ strokeColor: z.ZodOptional<z.ZodString>;
2454
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
2455
+ fontSize: z.ZodOptional<z.ZodNumber>;
2456
+ transparentBg: z.ZodOptional<z.ZodBoolean>;
2457
+ opacity: z.ZodOptional<z.ZodNumber>;
2458
+ marginRight: z.ZodOptional<z.ZodNumber>;
2459
+ marginBottom: z.ZodOptional<z.ZodNumber>;
548
2460
  marginLeft: z.ZodOptional<z.ZodNumber>;
549
2461
  marginTop: z.ZodOptional<z.ZodNumber>;
550
2462
  }, "strip", z.ZodTypeAny, {
@@ -621,6 +2533,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
621
2533
  badgeBgColor?: string | undefined;
622
2534
  badgeTextColor?: string | undefined;
623
2535
  badgeFont?: string | undefined;
2536
+ badgeFontSize?: number | undefined;
624
2537
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
625
2538
  watermark?: string | {
626
2539
  text?: string | undefined;
@@ -677,6 +2590,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
677
2590
  badgeBgColor?: string | undefined;
678
2591
  badgeTextColor?: string | undefined;
679
2592
  badgeFont?: string | undefined;
2593
+ badgeFontSize?: number | undefined;
680
2594
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
681
2595
  watermark?: string | {
682
2596
  text?: string | undefined;
@@ -698,8 +2612,8 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
698
2612
  marginLeft?: number | undefined;
699
2613
  marginTop?: number | undefined;
700
2614
  } | undefined;
701
- }>]>>;
702
- watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2615
+ }>>;
2616
+ watermark: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
703
2617
  text: z.ZodOptional<z.ZodString>;
704
2618
  imagePath: z.ZodOptional<z.ZodString>;
705
2619
  font: z.ZodOptional<z.ZodString>;
@@ -762,93 +2676,111 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
762
2676
  marginBottom?: number | undefined;
763
2677
  marginLeft?: number | undefined;
764
2678
  marginTop?: number | undefined;
765
- }>]>>;
766
- }, "strip", z.ZodTypeAny, {
767
- prompt: string;
768
- aspectRatio?: "9:16" | "16:9" | undefined;
769
- durationSeconds?: number | undefined;
770
- watermark?: string | {
771
- text?: string | undefined;
772
- imagePath?: string | undefined;
773
- font?: string | undefined;
774
- fontPath?: string | undefined;
775
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2679
+ }>, z.ZodString]>>;
2680
+ imageOverlays: z.ZodOptional<z.ZodArray<z.ZodObject<{
2681
+ imagePath: z.ZodString;
2682
+ options: z.ZodOptional<z.ZodObject<{
2683
+ x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2684
+ y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2685
+ crf: z.ZodOptional<z.ZodNumber>;
2686
+ preset: z.ZodOptional<z.ZodString>;
2687
+ videoCodec: z.ZodOptional<z.ZodString>;
2688
+ audioCodec: z.ZodOptional<z.ZodString>;
2689
+ }, "strip", z.ZodTypeAny, {
776
2690
  x?: string | number | undefined;
777
2691
  y?: string | number | undefined;
778
- } | undefined;
779
- color?: string | undefined;
780
- strokeColor?: string | undefined;
781
- strokeWidth?: number | undefined;
782
- fontSize?: number | undefined;
783
- transparentBg?: boolean | undefined;
784
- opacity?: number | undefined;
785
- marginRight?: number | undefined;
786
- marginBottom?: number | undefined;
787
- marginLeft?: number | undefined;
788
- marginTop?: number | undefined;
789
- } | undefined;
790
- audioPrompt?: string | undefined;
791
- hook?: string | {
792
- text: string;
793
- font?: string | undefined;
794
- fontPath?: string | undefined;
795
- position?: "center" | "top" | "bottom" | {
2692
+ crf?: number | undefined;
2693
+ preset?: string | undefined;
2694
+ videoCodec?: string | undefined;
2695
+ audioCodec?: string | undefined;
2696
+ }, {
796
2697
  x?: string | number | undefined;
797
2698
  y?: string | number | undefined;
2699
+ crf?: number | undefined;
2700
+ preset?: string | undefined;
2701
+ videoCodec?: string | undefined;
2702
+ audioCodec?: string | undefined;
2703
+ }>>;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ imagePath: string;
2706
+ options?: {
2707
+ x?: string | number | undefined;
2708
+ y?: string | number | undefined;
2709
+ crf?: number | undefined;
2710
+ preset?: string | undefined;
2711
+ videoCodec?: string | undefined;
2712
+ audioCodec?: string | undefined;
798
2713
  } | undefined;
799
- strokeColor?: string | undefined;
800
- strokeWidth?: number | undefined;
801
- fontSize?: number | undefined;
802
- style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
803
- alignment?: "center" | "left" | "right" | undefined;
804
- lineHeight?: number | undefined;
805
- letterSpacing?: number | undefined;
806
- textColor?: string | undefined;
807
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
808
- shadow?: boolean | {
809
- color?: string | undefined;
810
- opacity?: number | undefined;
811
- dx?: number | undefined;
812
- dy?: number | undefined;
813
- blur?: number | undefined;
814
- } | undefined;
815
- containerBgColor?: string | undefined;
816
- containerBorderColor?: string | undefined;
817
- containerBorderWidth?: number | undefined;
818
- containerBorderRadius?: number | undefined;
819
- paddingX?: number | undefined;
820
- paddingY?: number | undefined;
821
- maxCharsPerLine?: number | undefined;
822
- badgeTag?: string | undefined;
823
- badgeBgColor?: string | undefined;
824
- badgeTextColor?: string | undefined;
825
- badgeFont?: string | undefined;
826
- badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
827
- watermark?: string | {
828
- text?: string | undefined;
829
- imagePath?: string | undefined;
830
- font?: string | undefined;
831
- fontPath?: string | undefined;
832
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
833
- x?: string | number | undefined;
834
- y?: string | number | undefined;
835
- } | undefined;
836
- color?: string | undefined;
837
- strokeColor?: string | undefined;
838
- strokeWidth?: number | undefined;
839
- fontSize?: number | undefined;
840
- transparentBg?: boolean | undefined;
841
- opacity?: number | undefined;
842
- marginRight?: number | undefined;
843
- marginBottom?: number | undefined;
844
- marginLeft?: number | undefined;
845
- marginTop?: number | undefined;
2714
+ }, {
2715
+ imagePath: string;
2716
+ options?: {
2717
+ x?: string | number | undefined;
2718
+ y?: string | number | undefined;
2719
+ crf?: number | undefined;
2720
+ preset?: string | undefined;
2721
+ videoCodec?: string | undefined;
2722
+ audioCodec?: string | undefined;
846
2723
  } | undefined;
847
- } | undefined;
848
- }, {
849
- prompt: string;
850
- aspectRatio?: "9:16" | "16:9" | undefined;
851
- durationSeconds?: number | undefined;
2724
+ }>, "many">>;
2725
+ audioMix: z.ZodOptional<z.ZodObject<{
2726
+ tracks: z.ZodArray<z.ZodObject<{
2727
+ path: z.ZodString;
2728
+ volume: z.ZodOptional<z.ZodNumber>;
2729
+ delayMs: z.ZodOptional<z.ZodNumber>;
2730
+ }, "strip", z.ZodTypeAny, {
2731
+ path: string;
2732
+ volume?: number | undefined;
2733
+ delayMs?: number | undefined;
2734
+ }, {
2735
+ path: string;
2736
+ volume?: number | undefined;
2737
+ delayMs?: number | undefined;
2738
+ }>, "many">;
2739
+ videoVolume: z.ZodOptional<z.ZodNumber>;
2740
+ crf: z.ZodOptional<z.ZodNumber>;
2741
+ preset: z.ZodOptional<z.ZodString>;
2742
+ videoCodec: z.ZodOptional<z.ZodString>;
2743
+ audioCodec: z.ZodOptional<z.ZodString>;
2744
+ }, "strip", z.ZodTypeAny, {
2745
+ tracks: {
2746
+ path: string;
2747
+ volume?: number | undefined;
2748
+ delayMs?: number | undefined;
2749
+ }[];
2750
+ crf?: number | undefined;
2751
+ preset?: string | undefined;
2752
+ videoCodec?: string | undefined;
2753
+ audioCodec?: string | undefined;
2754
+ videoVolume?: number | undefined;
2755
+ }, {
2756
+ tracks: {
2757
+ path: string;
2758
+ volume?: number | undefined;
2759
+ delayMs?: number | undefined;
2760
+ }[];
2761
+ crf?: number | undefined;
2762
+ preset?: string | undefined;
2763
+ videoCodec?: string | undefined;
2764
+ audioCodec?: string | undefined;
2765
+ videoVolume?: number | undefined;
2766
+ }>>;
2767
+ compress: z.ZodOptional<z.ZodObject<{
2768
+ crf: z.ZodOptional<z.ZodNumber>;
2769
+ preset: z.ZodOptional<z.ZodString>;
2770
+ videoCodec: z.ZodOptional<z.ZodString>;
2771
+ audioCodec: z.ZodOptional<z.ZodString>;
2772
+ }, "strip", z.ZodTypeAny, {
2773
+ crf?: number | undefined;
2774
+ preset?: string | undefined;
2775
+ videoCodec?: string | undefined;
2776
+ audioCodec?: string | undefined;
2777
+ }, {
2778
+ crf?: number | undefined;
2779
+ preset?: string | undefined;
2780
+ videoCodec?: string | undefined;
2781
+ audioCodec?: string | undefined;
2782
+ }>>;
2783
+ }, "strip", z.ZodTypeAny, {
852
2784
  watermark?: string | {
853
2785
  text?: string | undefined;
854
2786
  imagePath?: string | undefined;
@@ -869,8 +2801,17 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
869
2801
  marginLeft?: number | undefined;
870
2802
  marginTop?: number | undefined;
871
2803
  } | undefined;
872
- audioPrompt?: string | undefined;
873
- hook?: string | {
2804
+ scaleAndPad?: {
2805
+ width: number;
2806
+ height: number;
2807
+ crf?: number | undefined;
2808
+ preset?: string | undefined;
2809
+ videoCodec?: string | undefined;
2810
+ audioCodec?: string | undefined;
2811
+ fit?: "fill" | "contain" | "cover" | undefined;
2812
+ background?: string | undefined;
2813
+ } | undefined;
2814
+ textOverlay?: {
874
2815
  text: string;
875
2816
  font?: string | undefined;
876
2817
  fontPath?: string | undefined;
@@ -905,6 +2846,7 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
905
2846
  badgeBgColor?: string | undefined;
906
2847
  badgeTextColor?: string | undefined;
907
2848
  badgeFont?: string | undefined;
2849
+ badgeFontSize?: number | undefined;
908
2850
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
909
2851
  watermark?: string | {
910
2852
  text?: string | undefined;
@@ -927,141 +2869,37 @@ declare const SocialVideoGenerationSchema: z.ZodObject<{
927
2869
  marginTop?: number | undefined;
928
2870
  } | undefined;
929
2871
  } | undefined;
930
- }>;
931
- type SocialVideoGenerationPayload = z.infer<typeof SocialVideoGenerationSchema>;
932
- declare const ImageGenerationSchema: z.ZodObject<{
933
- prompt: z.ZodString;
934
- aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"]>>;
935
- seed: z.ZodOptional<z.ZodNumber>;
936
- fidelity: z.ZodOptional<z.ZodEnum<["outline", "blocked", "shaded", "polished"]>>;
937
- }, "strip", z.ZodTypeAny, {
938
- prompt: string;
939
- aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
940
- seed?: number | undefined;
941
- fidelity?: "outline" | "blocked" | "shaded" | "polished" | undefined;
942
- }, {
943
- prompt: string;
944
- aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
945
- seed?: number | undefined;
946
- fidelity?: "outline" | "blocked" | "shaded" | "polished" | undefined;
947
- }>;
948
- type ImageGenerationPayload = z.infer<typeof ImageGenerationSchema>;
949
- declare const ImageTransformationSchema: z.ZodObject<{
950
- prompt: z.ZodString;
951
- changes: z.ZodString;
952
- aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"]>>;
953
- seed: z.ZodOptional<z.ZodNumber>;
954
- }, "strip", z.ZodTypeAny, {
955
- prompt: string;
956
- changes: string;
957
- aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
958
- seed?: number | undefined;
959
- }, {
960
- prompt: string;
961
- changes: string;
962
- aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
963
- seed?: number | undefined;
964
- }>;
965
- type ImageTransformationPayload = z.infer<typeof ImageTransformationSchema>;
966
- declare const ImageTextOverlaySchema: z.ZodObject<{
967
- text: z.ZodString;
968
- style: z.ZodOptional<z.ZodEnum<["neubrutalist", "neubrutalist-dark", "badge", "meme", "custom", "none"]>>;
969
- font: z.ZodOptional<z.ZodString>;
970
- fontPath: z.ZodOptional<z.ZodString>;
971
- position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "center", "bottom"]>, z.ZodObject<{
972
- x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
973
- y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
974
- }, "strip", z.ZodTypeAny, {
975
- x?: string | number | undefined;
976
- y?: string | number | undefined;
977
- }, {
978
- x?: string | number | undefined;
979
- y?: string | number | undefined;
980
- }>]>>;
981
- alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
982
- fontSize: z.ZodOptional<z.ZodNumber>;
983
- lineHeight: z.ZodOptional<z.ZodNumber>;
984
- letterSpacing: z.ZodOptional<z.ZodNumber>;
985
- textColor: z.ZodOptional<z.ZodString>;
986
- textTransform: z.ZodOptional<z.ZodEnum<["uppercase", "lowercase", "capitalize", "none"]>>;
987
- strokeColor: z.ZodOptional<z.ZodString>;
988
- strokeWidth: z.ZodOptional<z.ZodNumber>;
989
- shadow: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
990
- dx: z.ZodOptional<z.ZodNumber>;
991
- dy: z.ZodOptional<z.ZodNumber>;
992
- blur: z.ZodOptional<z.ZodNumber>;
993
- color: z.ZodOptional<z.ZodString>;
994
- opacity: z.ZodOptional<z.ZodNumber>;
995
- }, "strip", z.ZodTypeAny, {
996
- color?: string | undefined;
997
- opacity?: number | undefined;
998
- dx?: number | undefined;
999
- dy?: number | undefined;
1000
- blur?: number | undefined;
1001
- }, {
1002
- color?: string | undefined;
1003
- opacity?: number | undefined;
1004
- dx?: number | undefined;
1005
- dy?: number | undefined;
1006
- blur?: number | undefined;
1007
- }>]>>;
1008
- containerBgColor: z.ZodOptional<z.ZodString>;
1009
- containerBorderColor: z.ZodOptional<z.ZodString>;
1010
- containerBorderWidth: z.ZodOptional<z.ZodNumber>;
1011
- containerBorderRadius: z.ZodOptional<z.ZodNumber>;
1012
- paddingX: z.ZodOptional<z.ZodNumber>;
1013
- paddingY: z.ZodOptional<z.ZodNumber>;
1014
- maxCharsPerLine: z.ZodOptional<z.ZodNumber>;
1015
- badgeTag: z.ZodOptional<z.ZodString>;
1016
- badgeBgColor: z.ZodOptional<z.ZodString>;
1017
- badgeTextColor: z.ZodOptional<z.ZodString>;
1018
- badgeFont: z.ZodOptional<z.ZodString>;
1019
- badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
1020
- watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1021
- text: z.ZodOptional<z.ZodString>;
1022
- imagePath: z.ZodOptional<z.ZodString>;
1023
- font: z.ZodOptional<z.ZodString>;
1024
- fontPath: z.ZodOptional<z.ZodString>;
1025
- position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1026
- x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1027
- y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1028
- }, "strip", z.ZodTypeAny, {
1029
- x?: string | number | undefined;
1030
- y?: string | number | undefined;
1031
- }, {
1032
- x?: string | number | undefined;
1033
- y?: string | number | undefined;
1034
- }>]>>;
1035
- color: z.ZodOptional<z.ZodString>;
1036
- strokeColor: z.ZodOptional<z.ZodString>;
1037
- strokeWidth: z.ZodOptional<z.ZodNumber>;
1038
- fontSize: z.ZodOptional<z.ZodNumber>;
1039
- transparentBg: z.ZodOptional<z.ZodBoolean>;
1040
- opacity: z.ZodOptional<z.ZodNumber>;
1041
- marginRight: z.ZodOptional<z.ZodNumber>;
1042
- marginBottom: z.ZodOptional<z.ZodNumber>;
1043
- marginLeft: z.ZodOptional<z.ZodNumber>;
1044
- marginTop: z.ZodOptional<z.ZodNumber>;
1045
- }, "strip", z.ZodTypeAny, {
1046
- text?: string | undefined;
1047
- imagePath?: string | undefined;
1048
- font?: string | undefined;
1049
- fontPath?: string | undefined;
1050
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2872
+ imageOverlays?: {
2873
+ imagePath: string;
2874
+ options?: {
1051
2875
  x?: string | number | undefined;
1052
2876
  y?: string | number | undefined;
2877
+ crf?: number | undefined;
2878
+ preset?: string | undefined;
2879
+ videoCodec?: string | undefined;
2880
+ audioCodec?: string | undefined;
1053
2881
  } | undefined;
1054
- color?: string | undefined;
1055
- strokeColor?: string | undefined;
1056
- strokeWidth?: number | undefined;
1057
- fontSize?: number | undefined;
1058
- transparentBg?: boolean | undefined;
1059
- opacity?: number | undefined;
1060
- marginRight?: number | undefined;
1061
- marginBottom?: number | undefined;
1062
- marginLeft?: number | undefined;
1063
- marginTop?: number | undefined;
1064
- }, {
2882
+ }[] | undefined;
2883
+ audioMix?: {
2884
+ tracks: {
2885
+ path: string;
2886
+ volume?: number | undefined;
2887
+ delayMs?: number | undefined;
2888
+ }[];
2889
+ crf?: number | undefined;
2890
+ preset?: string | undefined;
2891
+ videoCodec?: string | undefined;
2892
+ audioCodec?: string | undefined;
2893
+ videoVolume?: number | undefined;
2894
+ } | undefined;
2895
+ compress?: {
2896
+ crf?: number | undefined;
2897
+ preset?: string | undefined;
2898
+ videoCodec?: string | undefined;
2899
+ audioCodec?: string | undefined;
2900
+ } | undefined;
2901
+ }, {
2902
+ watermark?: string | {
1065
2903
  text?: string | undefined;
1066
2904
  imagePath?: string | undefined;
1067
2905
  font?: string | undefined;
@@ -1080,186 +2918,140 @@ declare const ImageTextOverlaySchema: z.ZodObject<{
1080
2918
  marginBottom?: number | undefined;
1081
2919
  marginLeft?: number | undefined;
1082
2920
  marginTop?: number | undefined;
1083
- }>]>>;
1084
- }, "strip", z.ZodTypeAny, {
1085
- text: string;
1086
- font?: string | undefined;
1087
- fontPath?: string | undefined;
1088
- position?: "center" | "top" | "bottom" | {
1089
- x?: string | number | undefined;
1090
- y?: string | number | undefined;
1091
2921
  } | undefined;
1092
- strokeColor?: string | undefined;
1093
- strokeWidth?: number | undefined;
1094
- fontSize?: number | undefined;
1095
- style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1096
- alignment?: "center" | "left" | "right" | undefined;
1097
- lineHeight?: number | undefined;
1098
- letterSpacing?: number | undefined;
1099
- textColor?: string | undefined;
1100
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1101
- shadow?: boolean | {
1102
- color?: string | undefined;
1103
- opacity?: number | undefined;
1104
- dx?: number | undefined;
1105
- dy?: number | undefined;
1106
- blur?: number | undefined;
2922
+ scaleAndPad?: {
2923
+ width: number;
2924
+ height: number;
2925
+ crf?: number | undefined;
2926
+ preset?: string | undefined;
2927
+ videoCodec?: string | undefined;
2928
+ audioCodec?: string | undefined;
2929
+ fit?: "fill" | "contain" | "cover" | undefined;
2930
+ background?: string | undefined;
1107
2931
  } | undefined;
1108
- containerBgColor?: string | undefined;
1109
- containerBorderColor?: string | undefined;
1110
- containerBorderWidth?: number | undefined;
1111
- containerBorderRadius?: number | undefined;
1112
- paddingX?: number | undefined;
1113
- paddingY?: number | undefined;
1114
- maxCharsPerLine?: number | undefined;
1115
- badgeTag?: string | undefined;
1116
- badgeBgColor?: string | undefined;
1117
- badgeTextColor?: string | undefined;
1118
- badgeFont?: string | undefined;
1119
- badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1120
- watermark?: string | {
1121
- text?: string | undefined;
1122
- imagePath?: string | undefined;
2932
+ textOverlay?: {
2933
+ text: string;
1123
2934
  font?: string | undefined;
1124
2935
  fontPath?: string | undefined;
1125
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2936
+ position?: "center" | "top" | "bottom" | {
1126
2937
  x?: string | number | undefined;
1127
2938
  y?: string | number | undefined;
1128
2939
  } | undefined;
1129
- color?: string | undefined;
1130
2940
  strokeColor?: string | undefined;
1131
2941
  strokeWidth?: number | undefined;
1132
2942
  fontSize?: number | undefined;
1133
- transparentBg?: boolean | undefined;
1134
- opacity?: number | undefined;
1135
- marginRight?: number | undefined;
1136
- marginBottom?: number | undefined;
1137
- marginLeft?: number | undefined;
1138
- marginTop?: number | undefined;
1139
- } | undefined;
1140
- }, {
1141
- text: string;
1142
- font?: string | undefined;
1143
- fontPath?: string | undefined;
1144
- position?: "center" | "top" | "bottom" | {
1145
- x?: string | number | undefined;
1146
- y?: string | number | undefined;
1147
- } | undefined;
1148
- strokeColor?: string | undefined;
1149
- strokeWidth?: number | undefined;
1150
- fontSize?: number | undefined;
1151
- style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
1152
- alignment?: "center" | "left" | "right" | undefined;
1153
- lineHeight?: number | undefined;
1154
- letterSpacing?: number | undefined;
1155
- textColor?: string | undefined;
1156
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
1157
- shadow?: boolean | {
1158
- color?: string | undefined;
1159
- opacity?: number | undefined;
1160
- dx?: number | undefined;
1161
- dy?: number | undefined;
1162
- blur?: number | undefined;
2943
+ style?: "custom" | "neubrutalist" | "neubrutalist-dark" | "badge" | "meme" | "none" | undefined;
2944
+ alignment?: "center" | "left" | "right" | undefined;
2945
+ lineHeight?: number | undefined;
2946
+ letterSpacing?: number | undefined;
2947
+ textColor?: string | undefined;
2948
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
2949
+ shadow?: boolean | {
2950
+ color?: string | undefined;
2951
+ opacity?: number | undefined;
2952
+ dx?: number | undefined;
2953
+ dy?: number | undefined;
2954
+ blur?: number | undefined;
2955
+ } | undefined;
2956
+ containerBgColor?: string | undefined;
2957
+ containerBorderColor?: string | undefined;
2958
+ containerBorderWidth?: number | undefined;
2959
+ containerBorderRadius?: number | undefined;
2960
+ paddingX?: number | undefined;
2961
+ paddingY?: number | undefined;
2962
+ maxCharsPerLine?: number | undefined;
2963
+ badgeTag?: string | undefined;
2964
+ badgeBgColor?: string | undefined;
2965
+ badgeTextColor?: string | undefined;
2966
+ badgeFont?: string | undefined;
2967
+ badgeFontSize?: number | undefined;
2968
+ badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
2969
+ watermark?: string | {
2970
+ text?: string | undefined;
2971
+ imagePath?: string | undefined;
2972
+ font?: string | undefined;
2973
+ fontPath?: string | undefined;
2974
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2975
+ x?: string | number | undefined;
2976
+ y?: string | number | undefined;
2977
+ } | undefined;
2978
+ color?: string | undefined;
2979
+ strokeColor?: string | undefined;
2980
+ strokeWidth?: number | undefined;
2981
+ fontSize?: number | undefined;
2982
+ transparentBg?: boolean | undefined;
2983
+ opacity?: number | undefined;
2984
+ marginRight?: number | undefined;
2985
+ marginBottom?: number | undefined;
2986
+ marginLeft?: number | undefined;
2987
+ marginTop?: number | undefined;
2988
+ } | undefined;
1163
2989
  } | undefined;
1164
- containerBgColor?: string | undefined;
1165
- containerBorderColor?: string | undefined;
1166
- containerBorderWidth?: number | undefined;
1167
- containerBorderRadius?: number | undefined;
1168
- paddingX?: number | undefined;
1169
- paddingY?: number | undefined;
1170
- maxCharsPerLine?: number | undefined;
1171
- badgeTag?: string | undefined;
1172
- badgeBgColor?: string | undefined;
1173
- badgeTextColor?: string | undefined;
1174
- badgeFont?: string | undefined;
1175
- badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1176
- watermark?: string | {
1177
- text?: string | undefined;
1178
- imagePath?: string | undefined;
1179
- font?: string | undefined;
1180
- fontPath?: string | undefined;
1181
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
2990
+ imageOverlays?: {
2991
+ imagePath: string;
2992
+ options?: {
1182
2993
  x?: string | number | undefined;
1183
2994
  y?: string | number | undefined;
2995
+ crf?: number | undefined;
2996
+ preset?: string | undefined;
2997
+ videoCodec?: string | undefined;
2998
+ audioCodec?: string | undefined;
1184
2999
  } | undefined;
1185
- color?: string | undefined;
1186
- strokeColor?: string | undefined;
1187
- strokeWidth?: number | undefined;
1188
- fontSize?: number | undefined;
1189
- transparentBg?: boolean | undefined;
1190
- opacity?: number | undefined;
1191
- marginRight?: number | undefined;
1192
- marginBottom?: number | undefined;
1193
- marginLeft?: number | undefined;
1194
- marginTop?: number | undefined;
3000
+ }[] | undefined;
3001
+ audioMix?: {
3002
+ tracks: {
3003
+ path: string;
3004
+ volume?: number | undefined;
3005
+ delayMs?: number | undefined;
3006
+ }[];
3007
+ crf?: number | undefined;
3008
+ preset?: string | undefined;
3009
+ videoCodec?: string | undefined;
3010
+ audioCodec?: string | undefined;
3011
+ videoVolume?: number | undefined;
3012
+ } | undefined;
3013
+ compress?: {
3014
+ crf?: number | undefined;
3015
+ preset?: string | undefined;
3016
+ videoCodec?: string | undefined;
3017
+ audioCodec?: string | undefined;
1195
3018
  } | undefined;
1196
3019
  }>;
1197
- type ImageTextOverlay = z.infer<typeof ImageTextOverlaySchema>;
1198
- declare const ImageWatermarkSchema: z.ZodObject<{
1199
- text: z.ZodOptional<z.ZodString>;
1200
- imagePath: z.ZodOptional<z.ZodString>;
1201
- font: z.ZodOptional<z.ZodString>;
1202
- fontPath: z.ZodOptional<z.ZodString>;
1203
- position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["bottom-right", "bottom-left", "top-right", "top-left", "center"]>, z.ZodObject<{
1204
- x: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1205
- y: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1206
- }, "strip", z.ZodTypeAny, {
1207
- x?: string | number | undefined;
1208
- y?: string | number | undefined;
1209
- }, {
1210
- x?: string | number | undefined;
1211
- y?: string | number | undefined;
1212
- }>]>>;
1213
- color: z.ZodOptional<z.ZodString>;
1214
- strokeColor: z.ZodOptional<z.ZodString>;
1215
- strokeWidth: z.ZodOptional<z.ZodNumber>;
1216
- fontSize: z.ZodOptional<z.ZodNumber>;
1217
- transparentBg: z.ZodOptional<z.ZodBoolean>;
1218
- opacity: z.ZodOptional<z.ZodNumber>;
1219
- marginRight: z.ZodOptional<z.ZodNumber>;
1220
- marginBottom: z.ZodOptional<z.ZodNumber>;
1221
- marginLeft: z.ZodOptional<z.ZodNumber>;
1222
- marginTop: z.ZodOptional<z.ZodNumber>;
3020
+ type VideoCompositingPayload = z.infer<typeof VideoCompositingSchema>;
3021
+ declare const ImageGenerationSchema: z.ZodObject<{
3022
+ prompt: z.ZodString;
3023
+ aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"]>>;
3024
+ seed: z.ZodOptional<z.ZodNumber>;
3025
+ fidelity: z.ZodOptional<z.ZodEnum<["outline", "blocked", "shaded", "polished"]>>;
1223
3026
  }, "strip", z.ZodTypeAny, {
1224
- text?: string | undefined;
1225
- imagePath?: string | undefined;
1226
- font?: string | undefined;
1227
- fontPath?: string | undefined;
1228
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1229
- x?: string | number | undefined;
1230
- y?: string | number | undefined;
1231
- } | undefined;
1232
- color?: string | undefined;
1233
- strokeColor?: string | undefined;
1234
- strokeWidth?: number | undefined;
1235
- fontSize?: number | undefined;
1236
- transparentBg?: boolean | undefined;
1237
- opacity?: number | undefined;
1238
- marginRight?: number | undefined;
1239
- marginBottom?: number | undefined;
1240
- marginLeft?: number | undefined;
1241
- marginTop?: number | undefined;
3027
+ prompt: string;
3028
+ aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
3029
+ seed?: number | undefined;
3030
+ fidelity?: "outline" | "blocked" | "shaded" | "polished" | undefined;
1242
3031
  }, {
1243
- text?: string | undefined;
1244
- imagePath?: string | undefined;
1245
- font?: string | undefined;
1246
- fontPath?: string | undefined;
1247
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "center" | {
1248
- x?: string | number | undefined;
1249
- y?: string | number | undefined;
1250
- } | undefined;
1251
- color?: string | undefined;
1252
- strokeColor?: string | undefined;
1253
- strokeWidth?: number | undefined;
1254
- fontSize?: number | undefined;
1255
- transparentBg?: boolean | undefined;
1256
- opacity?: number | undefined;
1257
- marginRight?: number | undefined;
1258
- marginBottom?: number | undefined;
1259
- marginLeft?: number | undefined;
1260
- marginTop?: number | undefined;
3032
+ prompt: string;
3033
+ aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
3034
+ seed?: number | undefined;
3035
+ fidelity?: "outline" | "blocked" | "shaded" | "polished" | undefined;
3036
+ }>;
3037
+ type ImageGenerationPayload = z.infer<typeof ImageGenerationSchema>;
3038
+ declare const ImageTransformationSchema: z.ZodObject<{
3039
+ prompt: z.ZodString;
3040
+ changes: z.ZodString;
3041
+ aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"]>>;
3042
+ seed: z.ZodOptional<z.ZodNumber>;
3043
+ }, "strip", z.ZodTypeAny, {
3044
+ prompt: string;
3045
+ changes: string;
3046
+ aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
3047
+ seed?: number | undefined;
3048
+ }, {
3049
+ prompt: string;
3050
+ changes: string;
3051
+ aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined;
3052
+ seed?: number | undefined;
1261
3053
  }>;
1262
- type ImageWatermark = z.infer<typeof ImageWatermarkSchema>;
3054
+ type ImageTransformationPayload = z.infer<typeof ImageTransformationSchema>;
1263
3055
  declare const ImageCompositingSchema: z.ZodObject<{
1264
3056
  textOverlay: z.ZodOptional<z.ZodObject<{
1265
3057
  text: z.ZodString;
@@ -1314,6 +3106,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1314
3106
  badgeBgColor: z.ZodOptional<z.ZodString>;
1315
3107
  badgeTextColor: z.ZodOptional<z.ZodString>;
1316
3108
  badgeFont: z.ZodOptional<z.ZodString>;
3109
+ badgeFontSize: z.ZodOptional<z.ZodNumber>;
1317
3110
  badgePosition: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "top-center", "bottom-left", "bottom-right", "bottom-center"]>>;
1318
3111
  watermark: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1319
3112
  text: z.ZodOptional<z.ZodString>;
@@ -1414,6 +3207,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1414
3207
  badgeBgColor?: string | undefined;
1415
3208
  badgeTextColor?: string | undefined;
1416
3209
  badgeFont?: string | undefined;
3210
+ badgeFontSize?: number | undefined;
1417
3211
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1418
3212
  watermark?: string | {
1419
3213
  text?: string | undefined;
@@ -1470,6 +3264,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1470
3264
  badgeBgColor?: string | undefined;
1471
3265
  badgeTextColor?: string | undefined;
1472
3266
  badgeFont?: string | undefined;
3267
+ badgeFontSize?: number | undefined;
1473
3268
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1474
3269
  watermark?: string | {
1475
3270
  text?: string | undefined;
@@ -1582,6 +3377,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1582
3377
  marginLeft?: number | undefined;
1583
3378
  marginTop?: number | undefined;
1584
3379
  } | undefined;
3380
+ fit?: "fill" | "contain" | "cover" | "inside" | "outside" | undefined;
1585
3381
  textOverlay?: {
1586
3382
  text: string;
1587
3383
  font?: string | undefined;
@@ -1617,6 +3413,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1617
3413
  badgeBgColor?: string | undefined;
1618
3414
  badgeTextColor?: string | undefined;
1619
3415
  badgeFont?: string | undefined;
3416
+ badgeFontSize?: number | undefined;
1620
3417
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1621
3418
  watermark?: string | {
1622
3419
  text?: string | undefined;
@@ -1639,7 +3436,6 @@ declare const ImageCompositingSchema: z.ZodObject<{
1639
3436
  marginTop?: number | undefined;
1640
3437
  } | undefined;
1641
3438
  } | undefined;
1642
- fit?: "fill" | "cover" | "contain" | "inside" | "outside" | undefined;
1643
3439
  targetWidth?: number | undefined;
1644
3440
  targetHeight?: number | undefined;
1645
3441
  format?: "png" | "jpeg" | "webp" | "avif" | undefined;
@@ -1665,6 +3461,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1665
3461
  marginLeft?: number | undefined;
1666
3462
  marginTop?: number | undefined;
1667
3463
  } | undefined;
3464
+ fit?: "fill" | "contain" | "cover" | "inside" | "outside" | undefined;
1668
3465
  textOverlay?: {
1669
3466
  text: string;
1670
3467
  font?: string | undefined;
@@ -1700,6 +3497,7 @@ declare const ImageCompositingSchema: z.ZodObject<{
1700
3497
  badgeBgColor?: string | undefined;
1701
3498
  badgeTextColor?: string | undefined;
1702
3499
  badgeFont?: string | undefined;
3500
+ badgeFontSize?: number | undefined;
1703
3501
  badgePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "top-center" | "bottom-center" | undefined;
1704
3502
  watermark?: string | {
1705
3503
  text?: string | undefined;
@@ -1722,7 +3520,6 @@ declare const ImageCompositingSchema: z.ZodObject<{
1722
3520
  marginTop?: number | undefined;
1723
3521
  } | undefined;
1724
3522
  } | undefined;
1725
- fit?: "fill" | "cover" | "contain" | "inside" | "outside" | undefined;
1726
3523
  targetWidth?: number | undefined;
1727
3524
  targetHeight?: number | undefined;
1728
3525
  format?: "png" | "jpeg" | "webp" | "avif" | undefined;
@@ -2674,8 +4471,8 @@ declare const ThemeColorsSchema: z.ZodObject<{
2674
4471
  ring: z.ZodOptional<z.ZodString>;
2675
4472
  customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2676
4473
  }, "strip", z.ZodTypeAny, {
2677
- primary: string;
2678
4474
  background: string;
4475
+ primary: string;
2679
4476
  foreground: string;
2680
4477
  primaryForeground?: string | undefined;
2681
4478
  secondary?: string | undefined;
@@ -2692,8 +4489,8 @@ declare const ThemeColorsSchema: z.ZodObject<{
2692
4489
  ring?: string | undefined;
2693
4490
  customProperties?: Record<string, string> | undefined;
2694
4491
  }, {
2695
- primary: string;
2696
4492
  background: string;
4493
+ primary: string;
2697
4494
  foreground: string;
2698
4495
  primaryForeground?: string | undefined;
2699
4496
  secondary?: string | undefined;
@@ -2758,8 +4555,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
2758
4555
  ring: z.ZodOptional<z.ZodString>;
2759
4556
  customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2760
4557
  }, "strip", z.ZodTypeAny, {
2761
- primary: string;
2762
4558
  background: string;
4559
+ primary: string;
2763
4560
  foreground: string;
2764
4561
  primaryForeground?: string | undefined;
2765
4562
  secondary?: string | undefined;
@@ -2776,8 +4573,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
2776
4573
  ring?: string | undefined;
2777
4574
  customProperties?: Record<string, string> | undefined;
2778
4575
  }, {
2779
- primary: string;
2780
4576
  background: string;
4577
+ primary: string;
2781
4578
  foreground: string;
2782
4579
  primaryForeground?: string | undefined;
2783
4580
  secondary?: string | undefined;
@@ -2813,13 +4610,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
2813
4610
  ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2814
4611
  customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2815
4612
  }, "strip", z.ZodTypeAny, {
4613
+ background?: string | undefined;
2816
4614
  primary?: string | undefined;
2817
4615
  primaryForeground?: string | undefined;
2818
4616
  secondary?: string | undefined;
2819
4617
  secondaryForeground?: string | undefined;
2820
4618
  accent?: string | undefined;
2821
4619
  accentForeground?: string | undefined;
2822
- background?: string | undefined;
2823
4620
  foreground?: string | undefined;
2824
4621
  surface?: string | undefined;
2825
4622
  surfaceForeground?: string | undefined;
@@ -2831,13 +4628,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
2831
4628
  ring?: string | undefined;
2832
4629
  customProperties?: Record<string, string> | undefined;
2833
4630
  }, {
4631
+ background?: string | undefined;
2834
4632
  primary?: string | undefined;
2835
4633
  primaryForeground?: string | undefined;
2836
4634
  secondary?: string | undefined;
2837
4635
  secondaryForeground?: string | undefined;
2838
4636
  accent?: string | undefined;
2839
4637
  accentForeground?: string | undefined;
2840
- background?: string | undefined;
2841
4638
  foreground?: string | undefined;
2842
4639
  surface?: string | undefined;
2843
4640
  surfaceForeground?: string | undefined;
@@ -2851,8 +4648,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
2851
4648
  }>>;
2852
4649
  }, "strip", z.ZodTypeAny, {
2853
4650
  light: {
2854
- primary: string;
2855
4651
  background: string;
4652
+ primary: string;
2856
4653
  foreground: string;
2857
4654
  primaryForeground?: string | undefined;
2858
4655
  secondary?: string | undefined;
@@ -2870,13 +4667,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
2870
4667
  customProperties?: Record<string, string> | undefined;
2871
4668
  };
2872
4669
  dark?: {
4670
+ background?: string | undefined;
2873
4671
  primary?: string | undefined;
2874
4672
  primaryForeground?: string | undefined;
2875
4673
  secondary?: string | undefined;
2876
4674
  secondaryForeground?: string | undefined;
2877
4675
  accent?: string | undefined;
2878
4676
  accentForeground?: string | undefined;
2879
- background?: string | undefined;
2880
4677
  foreground?: string | undefined;
2881
4678
  surface?: string | undefined;
2882
4679
  surfaceForeground?: string | undefined;
@@ -2890,8 +4687,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
2890
4687
  } | undefined;
2891
4688
  }, {
2892
4689
  light: {
2893
- primary: string;
2894
4690
  background: string;
4691
+ primary: string;
2895
4692
  foreground: string;
2896
4693
  primaryForeground?: string | undefined;
2897
4694
  secondary?: string | undefined;
@@ -2909,13 +4706,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
2909
4706
  customProperties?: Record<string, string> | undefined;
2910
4707
  };
2911
4708
  dark?: {
4709
+ background?: string | undefined;
2912
4710
  primary?: string | undefined;
2913
4711
  primaryForeground?: string | undefined;
2914
4712
  secondary?: string | undefined;
2915
4713
  secondaryForeground?: string | undefined;
2916
4714
  accent?: string | undefined;
2917
4715
  accentForeground?: string | undefined;
2918
- background?: string | undefined;
2919
4716
  foreground?: string | undefined;
2920
4717
  surface?: string | undefined;
2921
4718
  surfaceForeground?: string | undefined;
@@ -2960,8 +4757,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
2960
4757
  }, "strip", z.ZodTypeAny, {
2961
4758
  colors: {
2962
4759
  light: {
2963
- primary: string;
2964
4760
  background: string;
4761
+ primary: string;
2965
4762
  foreground: string;
2966
4763
  primaryForeground?: string | undefined;
2967
4764
  secondary?: string | undefined;
@@ -2979,13 +4776,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
2979
4776
  customProperties?: Record<string, string> | undefined;
2980
4777
  };
2981
4778
  dark?: {
4779
+ background?: string | undefined;
2982
4780
  primary?: string | undefined;
2983
4781
  primaryForeground?: string | undefined;
2984
4782
  secondary?: string | undefined;
2985
4783
  secondaryForeground?: string | undefined;
2986
4784
  accent?: string | undefined;
2987
4785
  accentForeground?: string | undefined;
2988
- background?: string | undefined;
2989
4786
  foreground?: string | undefined;
2990
4787
  surface?: string | undefined;
2991
4788
  surfaceForeground?: string | undefined;
@@ -3014,8 +4811,8 @@ declare const ThemeTokensSchema: z.ZodObject<{
3014
4811
  }, {
3015
4812
  colors: {
3016
4813
  light: {
3017
- primary: string;
3018
4814
  background: string;
4815
+ primary: string;
3019
4816
  foreground: string;
3020
4817
  primaryForeground?: string | undefined;
3021
4818
  secondary?: string | undefined;
@@ -3033,13 +4830,13 @@ declare const ThemeTokensSchema: z.ZodObject<{
3033
4830
  customProperties?: Record<string, string> | undefined;
3034
4831
  };
3035
4832
  dark?: {
4833
+ background?: string | undefined;
3036
4834
  primary?: string | undefined;
3037
4835
  primaryForeground?: string | undefined;
3038
4836
  secondary?: string | undefined;
3039
4837
  secondaryForeground?: string | undefined;
3040
4838
  accent?: string | undefined;
3041
4839
  accentForeground?: string | undefined;
3042
- background?: string | undefined;
3043
4840
  foreground?: string | undefined;
3044
4841
  surface?: string | undefined;
3045
4842
  surfaceForeground?: string | undefined;
@@ -3092,8 +4889,8 @@ declare const ThemeSchema: z.ZodObject<{
3092
4889
  ring: z.ZodOptional<z.ZodString>;
3093
4890
  customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3094
4891
  }, "strip", z.ZodTypeAny, {
3095
- primary: string;
3096
4892
  background: string;
4893
+ primary: string;
3097
4894
  foreground: string;
3098
4895
  primaryForeground?: string | undefined;
3099
4896
  secondary?: string | undefined;
@@ -3110,8 +4907,8 @@ declare const ThemeSchema: z.ZodObject<{
3110
4907
  ring?: string | undefined;
3111
4908
  customProperties?: Record<string, string> | undefined;
3112
4909
  }, {
3113
- primary: string;
3114
4910
  background: string;
4911
+ primary: string;
3115
4912
  foreground: string;
3116
4913
  primaryForeground?: string | undefined;
3117
4914
  secondary?: string | undefined;
@@ -3147,13 +4944,13 @@ declare const ThemeSchema: z.ZodObject<{
3147
4944
  ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3148
4945
  customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3149
4946
  }, "strip", z.ZodTypeAny, {
4947
+ background?: string | undefined;
3150
4948
  primary?: string | undefined;
3151
4949
  primaryForeground?: string | undefined;
3152
4950
  secondary?: string | undefined;
3153
4951
  secondaryForeground?: string | undefined;
3154
4952
  accent?: string | undefined;
3155
4953
  accentForeground?: string | undefined;
3156
- background?: string | undefined;
3157
4954
  foreground?: string | undefined;
3158
4955
  surface?: string | undefined;
3159
4956
  surfaceForeground?: string | undefined;
@@ -3165,13 +4962,13 @@ declare const ThemeSchema: z.ZodObject<{
3165
4962
  ring?: string | undefined;
3166
4963
  customProperties?: Record<string, string> | undefined;
3167
4964
  }, {
4965
+ background?: string | undefined;
3168
4966
  primary?: string | undefined;
3169
4967
  primaryForeground?: string | undefined;
3170
4968
  secondary?: string | undefined;
3171
4969
  secondaryForeground?: string | undefined;
3172
4970
  accent?: string | undefined;
3173
4971
  accentForeground?: string | undefined;
3174
- background?: string | undefined;
3175
4972
  foreground?: string | undefined;
3176
4973
  surface?: string | undefined;
3177
4974
  surfaceForeground?: string | undefined;
@@ -3185,8 +4982,8 @@ declare const ThemeSchema: z.ZodObject<{
3185
4982
  }>>;
3186
4983
  }, "strip", z.ZodTypeAny, {
3187
4984
  light: {
3188
- primary: string;
3189
4985
  background: string;
4986
+ primary: string;
3190
4987
  foreground: string;
3191
4988
  primaryForeground?: string | undefined;
3192
4989
  secondary?: string | undefined;
@@ -3204,13 +5001,13 @@ declare const ThemeSchema: z.ZodObject<{
3204
5001
  customProperties?: Record<string, string> | undefined;
3205
5002
  };
3206
5003
  dark?: {
5004
+ background?: string | undefined;
3207
5005
  primary?: string | undefined;
3208
5006
  primaryForeground?: string | undefined;
3209
5007
  secondary?: string | undefined;
3210
5008
  secondaryForeground?: string | undefined;
3211
5009
  accent?: string | undefined;
3212
5010
  accentForeground?: string | undefined;
3213
- background?: string | undefined;
3214
5011
  foreground?: string | undefined;
3215
5012
  surface?: string | undefined;
3216
5013
  surfaceForeground?: string | undefined;
@@ -3224,8 +5021,8 @@ declare const ThemeSchema: z.ZodObject<{
3224
5021
  } | undefined;
3225
5022
  }, {
3226
5023
  light: {
3227
- primary: string;
3228
5024
  background: string;
5025
+ primary: string;
3229
5026
  foreground: string;
3230
5027
  primaryForeground?: string | undefined;
3231
5028
  secondary?: string | undefined;
@@ -3243,13 +5040,13 @@ declare const ThemeSchema: z.ZodObject<{
3243
5040
  customProperties?: Record<string, string> | undefined;
3244
5041
  };
3245
5042
  dark?: {
5043
+ background?: string | undefined;
3246
5044
  primary?: string | undefined;
3247
5045
  primaryForeground?: string | undefined;
3248
5046
  secondary?: string | undefined;
3249
5047
  secondaryForeground?: string | undefined;
3250
5048
  accent?: string | undefined;
3251
5049
  accentForeground?: string | undefined;
3252
- background?: string | undefined;
3253
5050
  foreground?: string | undefined;
3254
5051
  surface?: string | undefined;
3255
5052
  surfaceForeground?: string | undefined;
@@ -3294,8 +5091,8 @@ declare const ThemeSchema: z.ZodObject<{
3294
5091
  }, "strip", z.ZodTypeAny, {
3295
5092
  colors: {
3296
5093
  light: {
3297
- primary: string;
3298
5094
  background: string;
5095
+ primary: string;
3299
5096
  foreground: string;
3300
5097
  primaryForeground?: string | undefined;
3301
5098
  secondary?: string | undefined;
@@ -3313,13 +5110,13 @@ declare const ThemeSchema: z.ZodObject<{
3313
5110
  customProperties?: Record<string, string> | undefined;
3314
5111
  };
3315
5112
  dark?: {
5113
+ background?: string | undefined;
3316
5114
  primary?: string | undefined;
3317
5115
  primaryForeground?: string | undefined;
3318
5116
  secondary?: string | undefined;
3319
5117
  secondaryForeground?: string | undefined;
3320
5118
  accent?: string | undefined;
3321
5119
  accentForeground?: string | undefined;
3322
- background?: string | undefined;
3323
5120
  foreground?: string | undefined;
3324
5121
  surface?: string | undefined;
3325
5122
  surfaceForeground?: string | undefined;
@@ -3348,8 +5145,8 @@ declare const ThemeSchema: z.ZodObject<{
3348
5145
  }, {
3349
5146
  colors: {
3350
5147
  light: {
3351
- primary: string;
3352
5148
  background: string;
5149
+ primary: string;
3353
5150
  foreground: string;
3354
5151
  primaryForeground?: string | undefined;
3355
5152
  secondary?: string | undefined;
@@ -3367,13 +5164,13 @@ declare const ThemeSchema: z.ZodObject<{
3367
5164
  customProperties?: Record<string, string> | undefined;
3368
5165
  };
3369
5166
  dark?: {
5167
+ background?: string | undefined;
3370
5168
  primary?: string | undefined;
3371
5169
  primaryForeground?: string | undefined;
3372
5170
  secondary?: string | undefined;
3373
5171
  secondaryForeground?: string | undefined;
3374
5172
  accent?: string | undefined;
3375
5173
  accentForeground?: string | undefined;
3376
- background?: string | undefined;
3377
5174
  foreground?: string | undefined;
3378
5175
  surface?: string | undefined;
3379
5176
  surfaceForeground?: string | undefined;
@@ -3412,8 +5209,8 @@ declare const ThemeSchema: z.ZodObject<{
3412
5209
  tokens: {
3413
5210
  colors: {
3414
5211
  light: {
3415
- primary: string;
3416
5212
  background: string;
5213
+ primary: string;
3417
5214
  foreground: string;
3418
5215
  primaryForeground?: string | undefined;
3419
5216
  secondary?: string | undefined;
@@ -3431,13 +5228,13 @@ declare const ThemeSchema: z.ZodObject<{
3431
5228
  customProperties?: Record<string, string> | undefined;
3432
5229
  };
3433
5230
  dark?: {
5231
+ background?: string | undefined;
3434
5232
  primary?: string | undefined;
3435
5233
  primaryForeground?: string | undefined;
3436
5234
  secondary?: string | undefined;
3437
5235
  secondaryForeground?: string | undefined;
3438
5236
  accent?: string | undefined;
3439
5237
  accentForeground?: string | undefined;
3440
- background?: string | undefined;
3441
5238
  foreground?: string | undefined;
3442
5239
  surface?: string | undefined;
3443
5240
  surfaceForeground?: string | undefined;
@@ -3475,8 +5272,8 @@ declare const ThemeSchema: z.ZodObject<{
3475
5272
  tokens: {
3476
5273
  colors: {
3477
5274
  light: {
3478
- primary: string;
3479
5275
  background: string;
5276
+ primary: string;
3480
5277
  foreground: string;
3481
5278
  primaryForeground?: string | undefined;
3482
5279
  secondary?: string | undefined;
@@ -3494,13 +5291,13 @@ declare const ThemeSchema: z.ZodObject<{
3494
5291
  customProperties?: Record<string, string> | undefined;
3495
5292
  };
3496
5293
  dark?: {
5294
+ background?: string | undefined;
3497
5295
  primary?: string | undefined;
3498
5296
  primaryForeground?: string | undefined;
3499
5297
  secondary?: string | undefined;
3500
5298
  secondaryForeground?: string | undefined;
3501
5299
  accent?: string | undefined;
3502
5300
  accentForeground?: string | undefined;
3503
- background?: string | undefined;
3504
5301
  foreground?: string | undefined;
3505
5302
  surface?: string | undefined;
3506
5303
  surfaceForeground?: string | undefined;
@@ -3557,8 +5354,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3557
5354
  ring: z.ZodOptional<z.ZodString>;
3558
5355
  customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3559
5356
  }, "strip", z.ZodTypeAny, {
3560
- primary: string;
3561
5357
  background: string;
5358
+ primary: string;
3562
5359
  foreground: string;
3563
5360
  primaryForeground?: string | undefined;
3564
5361
  secondary?: string | undefined;
@@ -3575,8 +5372,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3575
5372
  ring?: string | undefined;
3576
5373
  customProperties?: Record<string, string> | undefined;
3577
5374
  }, {
3578
- primary: string;
3579
5375
  background: string;
5376
+ primary: string;
3580
5377
  foreground: string;
3581
5378
  primaryForeground?: string | undefined;
3582
5379
  secondary?: string | undefined;
@@ -3612,13 +5409,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3612
5409
  ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3613
5410
  customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3614
5411
  }, "strip", z.ZodTypeAny, {
5412
+ background?: string | undefined;
3615
5413
  primary?: string | undefined;
3616
5414
  primaryForeground?: string | undefined;
3617
5415
  secondary?: string | undefined;
3618
5416
  secondaryForeground?: string | undefined;
3619
5417
  accent?: string | undefined;
3620
5418
  accentForeground?: string | undefined;
3621
- background?: string | undefined;
3622
5419
  foreground?: string | undefined;
3623
5420
  surface?: string | undefined;
3624
5421
  surfaceForeground?: string | undefined;
@@ -3630,13 +5427,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3630
5427
  ring?: string | undefined;
3631
5428
  customProperties?: Record<string, string> | undefined;
3632
5429
  }, {
5430
+ background?: string | undefined;
3633
5431
  primary?: string | undefined;
3634
5432
  primaryForeground?: string | undefined;
3635
5433
  secondary?: string | undefined;
3636
5434
  secondaryForeground?: string | undefined;
3637
5435
  accent?: string | undefined;
3638
5436
  accentForeground?: string | undefined;
3639
- background?: string | undefined;
3640
5437
  foreground?: string | undefined;
3641
5438
  surface?: string | undefined;
3642
5439
  surfaceForeground?: string | undefined;
@@ -3650,8 +5447,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3650
5447
  }>>;
3651
5448
  }, "strip", z.ZodTypeAny, {
3652
5449
  light: {
3653
- primary: string;
3654
5450
  background: string;
5451
+ primary: string;
3655
5452
  foreground: string;
3656
5453
  primaryForeground?: string | undefined;
3657
5454
  secondary?: string | undefined;
@@ -3669,13 +5466,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3669
5466
  customProperties?: Record<string, string> | undefined;
3670
5467
  };
3671
5468
  dark?: {
5469
+ background?: string | undefined;
3672
5470
  primary?: string | undefined;
3673
5471
  primaryForeground?: string | undefined;
3674
5472
  secondary?: string | undefined;
3675
5473
  secondaryForeground?: string | undefined;
3676
5474
  accent?: string | undefined;
3677
5475
  accentForeground?: string | undefined;
3678
- background?: string | undefined;
3679
5476
  foreground?: string | undefined;
3680
5477
  surface?: string | undefined;
3681
5478
  surfaceForeground?: string | undefined;
@@ -3689,8 +5486,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3689
5486
  } | undefined;
3690
5487
  }, {
3691
5488
  light: {
3692
- primary: string;
3693
5489
  background: string;
5490
+ primary: string;
3694
5491
  foreground: string;
3695
5492
  primaryForeground?: string | undefined;
3696
5493
  secondary?: string | undefined;
@@ -3708,13 +5505,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3708
5505
  customProperties?: Record<string, string> | undefined;
3709
5506
  };
3710
5507
  dark?: {
5508
+ background?: string | undefined;
3711
5509
  primary?: string | undefined;
3712
5510
  primaryForeground?: string | undefined;
3713
5511
  secondary?: string | undefined;
3714
5512
  secondaryForeground?: string | undefined;
3715
5513
  accent?: string | undefined;
3716
5514
  accentForeground?: string | undefined;
3717
- background?: string | undefined;
3718
5515
  foreground?: string | undefined;
3719
5516
  surface?: string | undefined;
3720
5517
  surfaceForeground?: string | undefined;
@@ -3759,8 +5556,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3759
5556
  }, "strip", z.ZodTypeAny, {
3760
5557
  colors: {
3761
5558
  light: {
3762
- primary: string;
3763
5559
  background: string;
5560
+ primary: string;
3764
5561
  foreground: string;
3765
5562
  primaryForeground?: string | undefined;
3766
5563
  secondary?: string | undefined;
@@ -3778,13 +5575,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3778
5575
  customProperties?: Record<string, string> | undefined;
3779
5576
  };
3780
5577
  dark?: {
5578
+ background?: string | undefined;
3781
5579
  primary?: string | undefined;
3782
5580
  primaryForeground?: string | undefined;
3783
5581
  secondary?: string | undefined;
3784
5582
  secondaryForeground?: string | undefined;
3785
5583
  accent?: string | undefined;
3786
5584
  accentForeground?: string | undefined;
3787
- background?: string | undefined;
3788
5585
  foreground?: string | undefined;
3789
5586
  surface?: string | undefined;
3790
5587
  surfaceForeground?: string | undefined;
@@ -3813,8 +5610,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3813
5610
  }, {
3814
5611
  colors: {
3815
5612
  light: {
3816
- primary: string;
3817
5613
  background: string;
5614
+ primary: string;
3818
5615
  foreground: string;
3819
5616
  primaryForeground?: string | undefined;
3820
5617
  secondary?: string | undefined;
@@ -3832,13 +5629,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3832
5629
  customProperties?: Record<string, string> | undefined;
3833
5630
  };
3834
5631
  dark?: {
5632
+ background?: string | undefined;
3835
5633
  primary?: string | undefined;
3836
5634
  primaryForeground?: string | undefined;
3837
5635
  secondary?: string | undefined;
3838
5636
  secondaryForeground?: string | undefined;
3839
5637
  accent?: string | undefined;
3840
5638
  accentForeground?: string | undefined;
3841
- background?: string | undefined;
3842
5639
  foreground?: string | undefined;
3843
5640
  surface?: string | undefined;
3844
5641
  surfaceForeground?: string | undefined;
@@ -3875,8 +5672,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3875
5672
  tokens?: {
3876
5673
  colors: {
3877
5674
  light: {
3878
- primary: string;
3879
5675
  background: string;
5676
+ primary: string;
3880
5677
  foreground: string;
3881
5678
  primaryForeground?: string | undefined;
3882
5679
  secondary?: string | undefined;
@@ -3894,13 +5691,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3894
5691
  customProperties?: Record<string, string> | undefined;
3895
5692
  };
3896
5693
  dark?: {
5694
+ background?: string | undefined;
3897
5695
  primary?: string | undefined;
3898
5696
  primaryForeground?: string | undefined;
3899
5697
  secondary?: string | undefined;
3900
5698
  secondaryForeground?: string | undefined;
3901
5699
  accent?: string | undefined;
3902
5700
  accentForeground?: string | undefined;
3903
- background?: string | undefined;
3904
5701
  foreground?: string | undefined;
3905
5702
  surface?: string | undefined;
3906
5703
  surfaceForeground?: string | undefined;
@@ -3937,8 +5734,8 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3937
5734
  tokens?: {
3938
5735
  colors: {
3939
5736
  light: {
3940
- primary: string;
3941
5737
  background: string;
5738
+ primary: string;
3942
5739
  foreground: string;
3943
5740
  primaryForeground?: string | undefined;
3944
5741
  secondary?: string | undefined;
@@ -3956,13 +5753,13 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3956
5753
  customProperties?: Record<string, string> | undefined;
3957
5754
  };
3958
5755
  dark?: {
5756
+ background?: string | undefined;
3959
5757
  primary?: string | undefined;
3960
5758
  primaryForeground?: string | undefined;
3961
5759
  secondary?: string | undefined;
3962
5760
  secondaryForeground?: string | undefined;
3963
5761
  accent?: string | undefined;
3964
5762
  accentForeground?: string | undefined;
3965
- background?: string | undefined;
3966
5763
  foreground?: string | undefined;
3967
5764
  surface?: string | undefined;
3968
5765
  surfaceForeground?: string | undefined;
@@ -3994,6 +5791,86 @@ declare const ThemeIngestionInputSchema: z.ZodObject<{
3994
5791
  rawCss?: string | undefined;
3995
5792
  }>;
3996
5793
  type ThemeIngestionInput = z.infer<typeof ThemeIngestionInputSchema>;
5794
+ declare const UIGenerationOptionsSchema: z.ZodObject<{
5795
+ prompt: z.ZodString;
5796
+ currentCode: z.ZodOptional<z.ZodString>;
5797
+ platform: z.ZodDefault<z.ZodOptional<z.ZodEnum<["svelte", "react", "webcomponent"]>>>;
5798
+ theme: z.ZodOptional<z.ZodString>;
5799
+ systemPrompt: z.ZodOptional<z.ZodString>;
5800
+ maxRetries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5801
+ temperature: z.ZodOptional<z.ZodNumber>;
5802
+ }, "strip", z.ZodTypeAny, {
5803
+ prompt: string;
5804
+ platform: "svelte" | "react" | "webcomponent";
5805
+ maxRetries: number;
5806
+ currentCode?: string | undefined;
5807
+ theme?: string | undefined;
5808
+ systemPrompt?: string | undefined;
5809
+ temperature?: number | undefined;
5810
+ }, {
5811
+ prompt: string;
5812
+ currentCode?: string | undefined;
5813
+ platform?: "svelte" | "react" | "webcomponent" | undefined;
5814
+ theme?: string | undefined;
5815
+ systemPrompt?: string | undefined;
5816
+ maxRetries?: number | undefined;
5817
+ temperature?: number | undefined;
5818
+ }>;
5819
+ type UIGenerationOptionsPayload = z.infer<typeof UIGenerationOptionsSchema>;
5820
+ declare const UIExtractionResultSchema: z.ZodObject<{
5821
+ code: z.ZodString;
5822
+ postamble: z.ZodOptional<z.ZodString>;
5823
+ rawText: z.ZodOptional<z.ZodString>;
5824
+ }, "strip", z.ZodTypeAny, {
5825
+ code: string;
5826
+ postamble?: string | undefined;
5827
+ rawText?: string | undefined;
5828
+ }, {
5829
+ code: string;
5830
+ postamble?: string | undefined;
5831
+ rawText?: string | undefined;
5832
+ }>;
5833
+ type UIExtractionResult = z.infer<typeof UIExtractionResultSchema>;
5834
+ declare const UIValidationResultSchema: z.ZodObject<{
5835
+ valid: z.ZodBoolean;
5836
+ error: z.ZodOptional<z.ZodString>;
5837
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5838
+ formattedCode: z.ZodOptional<z.ZodString>;
5839
+ }, "strip", z.ZodTypeAny, {
5840
+ valid: boolean;
5841
+ error?: string | undefined;
5842
+ errors?: string[] | undefined;
5843
+ formattedCode?: string | undefined;
5844
+ }, {
5845
+ valid: boolean;
5846
+ error?: string | undefined;
5847
+ errors?: string[] | undefined;
5848
+ formattedCode?: string | undefined;
5849
+ }>;
5850
+ type UIValidationResult = z.infer<typeof UIValidationResultSchema>;
5851
+ declare const UIGenerationResultSchema: z.ZodObject<{
5852
+ code: z.ZodString;
5853
+ postamble: z.ZodOptional<z.ZodString>;
5854
+ rawText: z.ZodOptional<z.ZodString>;
5855
+ isValid: z.ZodOptional<z.ZodBoolean>;
5856
+ validationAttempts: z.ZodOptional<z.ZodNumber>;
5857
+ validationError: z.ZodOptional<z.ZodString>;
5858
+ }, "strip", z.ZodTypeAny, {
5859
+ code: string;
5860
+ postamble?: string | undefined;
5861
+ rawText?: string | undefined;
5862
+ isValid?: boolean | undefined;
5863
+ validationAttempts?: number | undefined;
5864
+ validationError?: string | undefined;
5865
+ }, {
5866
+ code: string;
5867
+ postamble?: string | undefined;
5868
+ rawText?: string | undefined;
5869
+ isValid?: boolean | undefined;
5870
+ validationAttempts?: number | undefined;
5871
+ validationError?: string | undefined;
5872
+ }>;
5873
+ type UIGenerationResult = z.infer<typeof UIGenerationResultSchema>;
3997
5874
  declare const JsonGenerationSchema: z.ZodObject<{
3998
5875
  prompt: z.ZodString;
3999
5876
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -4356,8 +6233,8 @@ declare const AgentInteractionResultSchema: z.ZodObject<{
4356
6233
  agent: string;
4357
6234
  createdAt?: string | undefined;
4358
6235
  updatedAt?: string | undefined;
4359
- outputText?: string | undefined;
4360
6236
  error?: string | undefined;
6237
+ outputText?: string | undefined;
4361
6238
  latencyMs?: number | undefined;
4362
6239
  metadata?: Record<string, any> | undefined;
4363
6240
  }, {
@@ -4366,8 +6243,8 @@ declare const AgentInteractionResultSchema: z.ZodObject<{
4366
6243
  agent: string;
4367
6244
  createdAt?: string | undefined;
4368
6245
  updatedAt?: string | undefined;
4369
- outputText?: string | undefined;
4370
6246
  error?: string | undefined;
6247
+ outputText?: string | undefined;
4371
6248
  latencyMs?: number | undefined;
4372
6249
  metadata?: Record<string, any> | undefined;
4373
6250
  }>;
@@ -6579,4 +8456,4 @@ declare const FORM_SCHEMA_JSON_SCHEMA: {
6579
8456
  readonly required: readonly ["version", "stages"];
6580
8457
  };
6581
8458
 
6582
- export { type ActivityAction, ActivityActionSchema, type ActivityLog, ActivityLogSchema, type Aesthetic, AestheticSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type PlatformLanguage, PlatformLanguageSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlayPosition, TextOverlayPositionSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type UIComponentType, UIComponentTypeSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoResolution, VideoResolutionSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type WatermarkPosition, WatermarkPositionSchema };
8459
+ export { type ActivityAction, ActivityActionSchema, type ActivityLog, ActivityLogSchema, type Aesthetic, AestheticSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type PlatformLanguage, PlatformLanguageSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };