ugcinc 4.26.0 → 4.27.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/README.md +220 -0
- package/dist/automations/nodes/create-dm.d.ts +7 -2
- package/dist/automations/nodes/create-dm.js +26 -2
- package/dist/automations/nodes/index.d.ts +6 -3
- package/dist/automations/nodes/remotion-composition.d.ts +6 -6
- package/dist/cli.js +49 -8
- package/dist/content-skills.d.ts +1 -0
- package/dist/content-skills.js +10 -0
- package/dist/imessage-conversation.d.ts +907 -0
- package/dist/imessage-conversation.js +331 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +7 -3
- package/dist/media-analysis.d.ts +272 -272
- package/dist/media.d.ts +11 -0
- package/dist/media.js +12 -0
- package/dist/render/compositions/IMessageDmComposition/types.d.ts +20 -20
- package/dist/render/types/remotion-composition.d.ts +16 -16
- package/dist/skills.js +2 -61
- package/dist/types.d.ts +1 -0
- package/package.json +8 -3
- package/skills/content-automation/SKILL.md +82 -0
- package/skills/content-automation/references/build-review.md +66 -0
- package/skills/media/SKILL.md +83 -0
- package/skills/media/references/tools.md +64 -0
package/dist/media-analysis.d.ts
CHANGED
|
@@ -90,13 +90,13 @@ export declare const analysisSourceSchema: z.ZodObject<{
|
|
|
90
90
|
sha256: z.ZodString;
|
|
91
91
|
bytes: z.ZodNumber;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
durationMs: number;
|
|
93
94
|
encodedWidth: number;
|
|
94
95
|
encodedHeight: number;
|
|
95
96
|
displayWidth: number;
|
|
96
97
|
displayHeight: number;
|
|
97
98
|
rotationDegrees: number;
|
|
98
99
|
sampleAspectRatio: string;
|
|
99
|
-
durationMs: number;
|
|
100
100
|
timeBase: string;
|
|
101
101
|
startPts: string;
|
|
102
102
|
startTimeMs: number;
|
|
@@ -105,13 +105,13 @@ export declare const analysisSourceSchema: z.ZodObject<{
|
|
|
105
105
|
sha256: string;
|
|
106
106
|
bytes: number;
|
|
107
107
|
}, {
|
|
108
|
+
durationMs: number;
|
|
108
109
|
encodedWidth: number;
|
|
109
110
|
encodedHeight: number;
|
|
110
111
|
displayWidth: number;
|
|
111
112
|
displayHeight: number;
|
|
112
113
|
rotationDegrees: number;
|
|
113
114
|
sampleAspectRatio: string;
|
|
114
|
-
durationMs: number;
|
|
115
115
|
timeBase: string;
|
|
116
116
|
startPts: string;
|
|
117
117
|
startTimeMs: number;
|
|
@@ -139,13 +139,13 @@ export declare const framesResultSchema: z.ZodObject<{
|
|
|
139
139
|
sha256: z.ZodString;
|
|
140
140
|
bytes: z.ZodNumber;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
durationMs: number;
|
|
142
143
|
encodedWidth: number;
|
|
143
144
|
encodedHeight: number;
|
|
144
145
|
displayWidth: number;
|
|
145
146
|
displayHeight: number;
|
|
146
147
|
rotationDegrees: number;
|
|
147
148
|
sampleAspectRatio: string;
|
|
148
|
-
durationMs: number;
|
|
149
149
|
timeBase: string;
|
|
150
150
|
startPts: string;
|
|
151
151
|
startTimeMs: number;
|
|
@@ -154,13 +154,13 @@ export declare const framesResultSchema: z.ZodObject<{
|
|
|
154
154
|
sha256: string;
|
|
155
155
|
bytes: number;
|
|
156
156
|
}, {
|
|
157
|
+
durationMs: number;
|
|
157
158
|
encodedWidth: number;
|
|
158
159
|
encodedHeight: number;
|
|
159
160
|
displayWidth: number;
|
|
160
161
|
displayHeight: number;
|
|
161
162
|
rotationDegrees: number;
|
|
162
163
|
sampleAspectRatio: string;
|
|
163
|
-
durationMs: number;
|
|
164
164
|
timeBase: string;
|
|
165
165
|
startPts: string;
|
|
166
166
|
startTimeMs: number;
|
|
@@ -290,13 +290,13 @@ export declare const framesResultSchema: z.ZodObject<{
|
|
|
290
290
|
version: 1;
|
|
291
291
|
operation: "extract_frames";
|
|
292
292
|
source: {
|
|
293
|
+
durationMs: number;
|
|
293
294
|
encodedWidth: number;
|
|
294
295
|
encodedHeight: number;
|
|
295
296
|
displayWidth: number;
|
|
296
297
|
displayHeight: number;
|
|
297
298
|
rotationDegrees: number;
|
|
298
299
|
sampleAspectRatio: string;
|
|
299
|
-
durationMs: number;
|
|
300
300
|
timeBase: string;
|
|
301
301
|
startPts: string;
|
|
302
302
|
startTimeMs: number;
|
|
@@ -336,13 +336,13 @@ export declare const framesResultSchema: z.ZodObject<{
|
|
|
336
336
|
version: 1;
|
|
337
337
|
operation: "extract_frames";
|
|
338
338
|
source: {
|
|
339
|
+
durationMs: number;
|
|
339
340
|
encodedWidth: number;
|
|
340
341
|
encodedHeight: number;
|
|
341
342
|
displayWidth: number;
|
|
342
343
|
displayHeight: number;
|
|
343
344
|
rotationDegrees: number;
|
|
344
345
|
sampleAspectRatio: string;
|
|
345
|
-
durationMs: number;
|
|
346
346
|
timeBase: string;
|
|
347
347
|
startPts: string;
|
|
348
348
|
startTimeMs: number;
|
|
@@ -382,13 +382,13 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
382
382
|
sha256: z.ZodString;
|
|
383
383
|
bytes: z.ZodNumber;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
+
durationMs: number;
|
|
385
386
|
encodedWidth: number;
|
|
386
387
|
encodedHeight: number;
|
|
387
388
|
displayWidth: number;
|
|
388
389
|
displayHeight: number;
|
|
389
390
|
rotationDegrees: number;
|
|
390
391
|
sampleAspectRatio: string;
|
|
391
|
-
durationMs: number;
|
|
392
392
|
timeBase: string;
|
|
393
393
|
startPts: string;
|
|
394
394
|
startTimeMs: number;
|
|
@@ -397,13 +397,13 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
397
397
|
sha256: string;
|
|
398
398
|
bytes: number;
|
|
399
399
|
}, {
|
|
400
|
+
durationMs: number;
|
|
400
401
|
encodedWidth: number;
|
|
401
402
|
encodedHeight: number;
|
|
402
403
|
displayWidth: number;
|
|
403
404
|
displayHeight: number;
|
|
404
405
|
rotationDegrees: number;
|
|
405
406
|
sampleAspectRatio: string;
|
|
406
|
-
durationMs: number;
|
|
407
407
|
timeBase: string;
|
|
408
408
|
startPts: string;
|
|
409
409
|
startTimeMs: number;
|
|
@@ -442,12 +442,12 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
442
442
|
version: z.ZodString;
|
|
443
443
|
settings: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
version: string;
|
|
446
445
|
name: string;
|
|
446
|
+
version: string;
|
|
447
447
|
settings: Record<string, number>;
|
|
448
448
|
}, {
|
|
449
|
-
version: string;
|
|
450
449
|
name: string;
|
|
450
|
+
version: string;
|
|
451
451
|
settings: Record<string, number>;
|
|
452
452
|
}>;
|
|
453
453
|
warnings: z.ZodArray<z.ZodString, "many">;
|
|
@@ -456,13 +456,13 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
456
456
|
version: 1;
|
|
457
457
|
operation: "detect_scenes";
|
|
458
458
|
source: {
|
|
459
|
+
durationMs: number;
|
|
459
460
|
encodedWidth: number;
|
|
460
461
|
encodedHeight: number;
|
|
461
462
|
displayWidth: number;
|
|
462
463
|
displayHeight: number;
|
|
463
464
|
rotationDegrees: number;
|
|
464
465
|
sampleAspectRatio: string;
|
|
465
|
-
durationMs: number;
|
|
466
466
|
timeBase: string;
|
|
467
467
|
startPts: string;
|
|
468
468
|
startTimeMs: number;
|
|
@@ -482,8 +482,8 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
482
482
|
endPts: string | null;
|
|
483
483
|
}[];
|
|
484
484
|
detector: {
|
|
485
|
-
version: string;
|
|
486
485
|
name: string;
|
|
486
|
+
version: string;
|
|
487
487
|
settings: Record<string, number>;
|
|
488
488
|
};
|
|
489
489
|
warnings: string[];
|
|
@@ -491,13 +491,13 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
491
491
|
version: 1;
|
|
492
492
|
operation: "detect_scenes";
|
|
493
493
|
source: {
|
|
494
|
+
durationMs: number;
|
|
494
495
|
encodedWidth: number;
|
|
495
496
|
encodedHeight: number;
|
|
496
497
|
displayWidth: number;
|
|
497
498
|
displayHeight: number;
|
|
498
499
|
rotationDegrees: number;
|
|
499
500
|
sampleAspectRatio: string;
|
|
500
|
-
durationMs: number;
|
|
501
501
|
timeBase: string;
|
|
502
502
|
startPts: string;
|
|
503
503
|
startTimeMs: number;
|
|
@@ -517,8 +517,8 @@ export declare const scenesResultSchema: z.ZodObject<{
|
|
|
517
517
|
endPts: string | null;
|
|
518
518
|
}[];
|
|
519
519
|
detector: {
|
|
520
|
-
version: string;
|
|
521
520
|
name: string;
|
|
521
|
+
version: string;
|
|
522
522
|
settings: Record<string, number>;
|
|
523
523
|
};
|
|
524
524
|
warnings: string[];
|
|
@@ -628,34 +628,34 @@ export declare const textRegionSchema: z.ZodObject<{
|
|
|
628
628
|
}>;
|
|
629
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
630
|
status: "readable" | "unreadable";
|
|
631
|
+
id: string;
|
|
632
|
+
text: string | null;
|
|
631
633
|
box: {
|
|
632
634
|
width: number;
|
|
633
635
|
height: number;
|
|
634
636
|
x: number;
|
|
635
637
|
y: number;
|
|
636
638
|
};
|
|
637
|
-
id: string;
|
|
638
639
|
polygon: {
|
|
639
640
|
x: number;
|
|
640
641
|
y: number;
|
|
641
642
|
}[];
|
|
642
|
-
text: string | null;
|
|
643
643
|
rawText: string;
|
|
644
644
|
confidence: number;
|
|
645
645
|
}, {
|
|
646
646
|
status: "readable" | "unreadable";
|
|
647
|
+
id: string;
|
|
648
|
+
text: string | null;
|
|
647
649
|
box: {
|
|
648
650
|
width: number;
|
|
649
651
|
height: number;
|
|
650
652
|
x: number;
|
|
651
653
|
y: number;
|
|
652
654
|
};
|
|
653
|
-
id: string;
|
|
654
655
|
polygon: {
|
|
655
656
|
x: number;
|
|
656
657
|
y: number;
|
|
657
658
|
}[];
|
|
658
|
-
text: string | null;
|
|
659
659
|
rawText: string;
|
|
660
660
|
confidence: number;
|
|
661
661
|
}>;
|
|
@@ -685,28 +685,28 @@ export declare const textLineSchema: z.ZodObject<{
|
|
|
685
685
|
}>;
|
|
686
686
|
}, "strip", z.ZodTypeAny, {
|
|
687
687
|
status: "readable" | "unreadable";
|
|
688
|
+
id: string;
|
|
689
|
+
text: string | null;
|
|
688
690
|
box: {
|
|
689
691
|
width: number;
|
|
690
692
|
height: number;
|
|
691
693
|
x: number;
|
|
692
694
|
y: number;
|
|
693
695
|
};
|
|
694
|
-
id: string;
|
|
695
|
-
text: string | null;
|
|
696
696
|
rawText: string;
|
|
697
697
|
confidence: number;
|
|
698
698
|
readingOrder: number;
|
|
699
699
|
regionIds: string[];
|
|
700
700
|
}, {
|
|
701
701
|
status: "readable" | "unreadable";
|
|
702
|
+
id: string;
|
|
703
|
+
text: string | null;
|
|
702
704
|
box: {
|
|
703
705
|
width: number;
|
|
704
706
|
height: number;
|
|
705
707
|
x: number;
|
|
706
708
|
y: number;
|
|
707
709
|
};
|
|
708
|
-
id: string;
|
|
709
|
-
text: string | null;
|
|
710
710
|
rawText: string;
|
|
711
711
|
confidence: number;
|
|
712
712
|
readingOrder: number;
|
|
@@ -775,34 +775,34 @@ export declare const imageTextResultSchema: z.ZodObject<{
|
|
|
775
775
|
}>;
|
|
776
776
|
}, "strip", z.ZodTypeAny, {
|
|
777
777
|
status: "readable" | "unreadable";
|
|
778
|
+
id: string;
|
|
779
|
+
text: string | null;
|
|
778
780
|
box: {
|
|
779
781
|
width: number;
|
|
780
782
|
height: number;
|
|
781
783
|
x: number;
|
|
782
784
|
y: number;
|
|
783
785
|
};
|
|
784
|
-
id: string;
|
|
785
786
|
polygon: {
|
|
786
787
|
x: number;
|
|
787
788
|
y: number;
|
|
788
789
|
}[];
|
|
789
|
-
text: string | null;
|
|
790
790
|
rawText: string;
|
|
791
791
|
confidence: number;
|
|
792
792
|
}, {
|
|
793
793
|
status: "readable" | "unreadable";
|
|
794
|
+
id: string;
|
|
795
|
+
text: string | null;
|
|
794
796
|
box: {
|
|
795
797
|
width: number;
|
|
796
798
|
height: number;
|
|
797
799
|
x: number;
|
|
798
800
|
y: number;
|
|
799
801
|
};
|
|
800
|
-
id: string;
|
|
801
802
|
polygon: {
|
|
802
803
|
x: number;
|
|
803
804
|
y: number;
|
|
804
805
|
}[];
|
|
805
|
-
text: string | null;
|
|
806
806
|
rawText: string;
|
|
807
807
|
confidence: number;
|
|
808
808
|
}>, "many">;
|
|
@@ -832,28 +832,28 @@ export declare const imageTextResultSchema: z.ZodObject<{
|
|
|
832
832
|
}>;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
834
|
status: "readable" | "unreadable";
|
|
835
|
+
id: string;
|
|
836
|
+
text: string | null;
|
|
835
837
|
box: {
|
|
836
838
|
width: number;
|
|
837
839
|
height: number;
|
|
838
840
|
x: number;
|
|
839
841
|
y: number;
|
|
840
842
|
};
|
|
841
|
-
id: string;
|
|
842
|
-
text: string | null;
|
|
843
843
|
rawText: string;
|
|
844
844
|
confidence: number;
|
|
845
845
|
readingOrder: number;
|
|
846
846
|
regionIds: string[];
|
|
847
847
|
}, {
|
|
848
848
|
status: "readable" | "unreadable";
|
|
849
|
+
id: string;
|
|
850
|
+
text: string | null;
|
|
849
851
|
box: {
|
|
850
852
|
width: number;
|
|
851
853
|
height: number;
|
|
852
854
|
x: number;
|
|
853
855
|
y: number;
|
|
854
856
|
};
|
|
855
|
-
id: string;
|
|
856
|
-
text: string | null;
|
|
857
857
|
rawText: string;
|
|
858
858
|
confidence: number;
|
|
859
859
|
readingOrder: number;
|
|
@@ -916,31 +916,31 @@ export declare const imageTextResultSchema: z.ZodObject<{
|
|
|
916
916
|
previewUrl: string;
|
|
917
917
|
regions: {
|
|
918
918
|
status: "readable" | "unreadable";
|
|
919
|
+
id: string;
|
|
920
|
+
text: string | null;
|
|
919
921
|
box: {
|
|
920
922
|
width: number;
|
|
921
923
|
height: number;
|
|
922
924
|
x: number;
|
|
923
925
|
y: number;
|
|
924
926
|
};
|
|
925
|
-
id: string;
|
|
926
927
|
polygon: {
|
|
927
928
|
x: number;
|
|
928
929
|
y: number;
|
|
929
930
|
}[];
|
|
930
|
-
text: string | null;
|
|
931
931
|
rawText: string;
|
|
932
932
|
confidence: number;
|
|
933
933
|
}[];
|
|
934
934
|
lines: {
|
|
935
935
|
status: "readable" | "unreadable";
|
|
936
|
+
id: string;
|
|
937
|
+
text: string | null;
|
|
936
938
|
box: {
|
|
937
939
|
width: number;
|
|
938
940
|
height: number;
|
|
939
941
|
x: number;
|
|
940
942
|
y: number;
|
|
941
943
|
};
|
|
942
|
-
id: string;
|
|
943
|
-
text: string | null;
|
|
944
944
|
rawText: string;
|
|
945
945
|
confidence: number;
|
|
946
946
|
readingOrder: number;
|
|
@@ -973,31 +973,31 @@ export declare const imageTextResultSchema: z.ZodObject<{
|
|
|
973
973
|
previewUrl: string;
|
|
974
974
|
regions: {
|
|
975
975
|
status: "readable" | "unreadable";
|
|
976
|
+
id: string;
|
|
977
|
+
text: string | null;
|
|
976
978
|
box: {
|
|
977
979
|
width: number;
|
|
978
980
|
height: number;
|
|
979
981
|
x: number;
|
|
980
982
|
y: number;
|
|
981
983
|
};
|
|
982
|
-
id: string;
|
|
983
984
|
polygon: {
|
|
984
985
|
x: number;
|
|
985
986
|
y: number;
|
|
986
987
|
}[];
|
|
987
|
-
text: string | null;
|
|
988
988
|
rawText: string;
|
|
989
989
|
confidence: number;
|
|
990
990
|
}[];
|
|
991
991
|
lines: {
|
|
992
992
|
status: "readable" | "unreadable";
|
|
993
|
+
id: string;
|
|
994
|
+
text: string | null;
|
|
993
995
|
box: {
|
|
994
996
|
width: number;
|
|
995
997
|
height: number;
|
|
996
998
|
x: number;
|
|
997
999
|
y: number;
|
|
998
1000
|
};
|
|
999
|
-
id: string;
|
|
1000
|
-
text: string | null;
|
|
1001
1001
|
rawText: string;
|
|
1002
1002
|
confidence: number;
|
|
1003
1003
|
readingOrder: number;
|
|
@@ -1023,13 +1023,13 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1023
1023
|
sha256: z.ZodString;
|
|
1024
1024
|
bytes: z.ZodNumber;
|
|
1025
1025
|
}, "strip", z.ZodTypeAny, {
|
|
1026
|
+
durationMs: number;
|
|
1026
1027
|
encodedWidth: number;
|
|
1027
1028
|
encodedHeight: number;
|
|
1028
1029
|
displayWidth: number;
|
|
1029
1030
|
displayHeight: number;
|
|
1030
1031
|
rotationDegrees: number;
|
|
1031
1032
|
sampleAspectRatio: string;
|
|
1032
|
-
durationMs: number;
|
|
1033
1033
|
timeBase: string;
|
|
1034
1034
|
startPts: string;
|
|
1035
1035
|
startTimeMs: number;
|
|
@@ -1038,13 +1038,13 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1038
1038
|
sha256: string;
|
|
1039
1039
|
bytes: number;
|
|
1040
1040
|
}, {
|
|
1041
|
+
durationMs: number;
|
|
1041
1042
|
encodedWidth: number;
|
|
1042
1043
|
encodedHeight: number;
|
|
1043
1044
|
displayWidth: number;
|
|
1044
1045
|
displayHeight: number;
|
|
1045
1046
|
rotationDegrees: number;
|
|
1046
1047
|
sampleAspectRatio: string;
|
|
1047
|
-
durationMs: number;
|
|
1048
1048
|
timeBase: string;
|
|
1049
1049
|
startPts: string;
|
|
1050
1050
|
startTimeMs: number;
|
|
@@ -1117,34 +1117,34 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1117
1117
|
}>;
|
|
1118
1118
|
}, "strip", z.ZodTypeAny, {
|
|
1119
1119
|
status: "readable" | "unreadable";
|
|
1120
|
+
id: string;
|
|
1121
|
+
text: string | null;
|
|
1120
1122
|
box: {
|
|
1121
1123
|
width: number;
|
|
1122
1124
|
height: number;
|
|
1123
1125
|
x: number;
|
|
1124
1126
|
y: number;
|
|
1125
1127
|
};
|
|
1126
|
-
id: string;
|
|
1127
1128
|
polygon: {
|
|
1128
1129
|
x: number;
|
|
1129
1130
|
y: number;
|
|
1130
1131
|
}[];
|
|
1131
|
-
text: string | null;
|
|
1132
1132
|
rawText: string;
|
|
1133
1133
|
confidence: number;
|
|
1134
1134
|
}, {
|
|
1135
1135
|
status: "readable" | "unreadable";
|
|
1136
|
+
id: string;
|
|
1137
|
+
text: string | null;
|
|
1136
1138
|
box: {
|
|
1137
1139
|
width: number;
|
|
1138
1140
|
height: number;
|
|
1139
1141
|
x: number;
|
|
1140
1142
|
y: number;
|
|
1141
1143
|
};
|
|
1142
|
-
id: string;
|
|
1143
1144
|
polygon: {
|
|
1144
1145
|
x: number;
|
|
1145
1146
|
y: number;
|
|
1146
1147
|
}[];
|
|
1147
|
-
text: string | null;
|
|
1148
1148
|
rawText: string;
|
|
1149
1149
|
confidence: number;
|
|
1150
1150
|
}>, "many">;
|
|
@@ -1174,28 +1174,28 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1174
1174
|
}>;
|
|
1175
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1176
1176
|
status: "readable" | "unreadable";
|
|
1177
|
+
id: string;
|
|
1178
|
+
text: string | null;
|
|
1177
1179
|
box: {
|
|
1178
1180
|
width: number;
|
|
1179
1181
|
height: number;
|
|
1180
1182
|
x: number;
|
|
1181
1183
|
y: number;
|
|
1182
1184
|
};
|
|
1183
|
-
id: string;
|
|
1184
|
-
text: string | null;
|
|
1185
1185
|
rawText: string;
|
|
1186
1186
|
confidence: number;
|
|
1187
1187
|
readingOrder: number;
|
|
1188
1188
|
regionIds: string[];
|
|
1189
1189
|
}, {
|
|
1190
1190
|
status: "readable" | "unreadable";
|
|
1191
|
+
id: string;
|
|
1192
|
+
text: string | null;
|
|
1191
1193
|
box: {
|
|
1192
1194
|
width: number;
|
|
1193
1195
|
height: number;
|
|
1194
1196
|
x: number;
|
|
1195
1197
|
y: number;
|
|
1196
1198
|
};
|
|
1197
|
-
id: string;
|
|
1198
|
-
text: string | null;
|
|
1199
1199
|
rawText: string;
|
|
1200
1200
|
confidence: number;
|
|
1201
1201
|
readingOrder: number;
|
|
@@ -1212,31 +1212,31 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1212
1212
|
frameIndex: number;
|
|
1213
1213
|
regions: {
|
|
1214
1214
|
status: "readable" | "unreadable";
|
|
1215
|
+
id: string;
|
|
1216
|
+
text: string | null;
|
|
1215
1217
|
box: {
|
|
1216
1218
|
width: number;
|
|
1217
1219
|
height: number;
|
|
1218
1220
|
x: number;
|
|
1219
1221
|
y: number;
|
|
1220
1222
|
};
|
|
1221
|
-
id: string;
|
|
1222
1223
|
polygon: {
|
|
1223
1224
|
x: number;
|
|
1224
1225
|
y: number;
|
|
1225
1226
|
}[];
|
|
1226
|
-
text: string | null;
|
|
1227
1227
|
rawText: string;
|
|
1228
1228
|
confidence: number;
|
|
1229
1229
|
}[];
|
|
1230
1230
|
lines: {
|
|
1231
1231
|
status: "readable" | "unreadable";
|
|
1232
|
+
id: string;
|
|
1233
|
+
text: string | null;
|
|
1232
1234
|
box: {
|
|
1233
1235
|
width: number;
|
|
1234
1236
|
height: number;
|
|
1235
1237
|
x: number;
|
|
1236
1238
|
y: number;
|
|
1237
1239
|
};
|
|
1238
|
-
id: string;
|
|
1239
|
-
text: string | null;
|
|
1240
1240
|
rawText: string;
|
|
1241
1241
|
confidence: number;
|
|
1242
1242
|
readingOrder: number;
|
|
@@ -1251,31 +1251,31 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1251
1251
|
frameIndex: number;
|
|
1252
1252
|
regions: {
|
|
1253
1253
|
status: "readable" | "unreadable";
|
|
1254
|
+
id: string;
|
|
1255
|
+
text: string | null;
|
|
1254
1256
|
box: {
|
|
1255
1257
|
width: number;
|
|
1256
1258
|
height: number;
|
|
1257
1259
|
x: number;
|
|
1258
1260
|
y: number;
|
|
1259
1261
|
};
|
|
1260
|
-
id: string;
|
|
1261
1262
|
polygon: {
|
|
1262
1263
|
x: number;
|
|
1263
1264
|
y: number;
|
|
1264
1265
|
}[];
|
|
1265
|
-
text: string | null;
|
|
1266
1266
|
rawText: string;
|
|
1267
1267
|
confidence: number;
|
|
1268
1268
|
}[];
|
|
1269
1269
|
lines: {
|
|
1270
1270
|
status: "readable" | "unreadable";
|
|
1271
|
+
id: string;
|
|
1272
|
+
text: string | null;
|
|
1271
1273
|
box: {
|
|
1272
1274
|
width: number;
|
|
1273
1275
|
height: number;
|
|
1274
1276
|
x: number;
|
|
1275
1277
|
y: number;
|
|
1276
1278
|
};
|
|
1277
|
-
id: string;
|
|
1278
|
-
text: string | null;
|
|
1279
1279
|
rawText: string;
|
|
1280
1280
|
confidence: number;
|
|
1281
1281
|
readingOrder: number;
|
|
@@ -1465,13 +1465,13 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1465
1465
|
version: 1;
|
|
1466
1466
|
operation: "read_video_text";
|
|
1467
1467
|
source: {
|
|
1468
|
+
durationMs: number;
|
|
1468
1469
|
encodedWidth: number;
|
|
1469
1470
|
encodedHeight: number;
|
|
1470
1471
|
displayWidth: number;
|
|
1471
1472
|
displayHeight: number;
|
|
1472
1473
|
rotationDegrees: number;
|
|
1473
1474
|
sampleAspectRatio: string;
|
|
1474
|
-
durationMs: number;
|
|
1475
1475
|
timeBase: string;
|
|
1476
1476
|
startPts: string;
|
|
1477
1477
|
startTimeMs: number;
|
|
@@ -1487,31 +1487,31 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1487
1487
|
frameIndex: number;
|
|
1488
1488
|
regions: {
|
|
1489
1489
|
status: "readable" | "unreadable";
|
|
1490
|
+
id: string;
|
|
1491
|
+
text: string | null;
|
|
1490
1492
|
box: {
|
|
1491
1493
|
width: number;
|
|
1492
1494
|
height: number;
|
|
1493
1495
|
x: number;
|
|
1494
1496
|
y: number;
|
|
1495
1497
|
};
|
|
1496
|
-
id: string;
|
|
1497
1498
|
polygon: {
|
|
1498
1499
|
x: number;
|
|
1499
1500
|
y: number;
|
|
1500
1501
|
}[];
|
|
1501
|
-
text: string | null;
|
|
1502
1502
|
rawText: string;
|
|
1503
1503
|
confidence: number;
|
|
1504
1504
|
}[];
|
|
1505
1505
|
lines: {
|
|
1506
1506
|
status: "readable" | "unreadable";
|
|
1507
|
+
id: string;
|
|
1508
|
+
text: string | null;
|
|
1507
1509
|
box: {
|
|
1508
1510
|
width: number;
|
|
1509
1511
|
height: number;
|
|
1510
1512
|
x: number;
|
|
1511
1513
|
y: number;
|
|
1512
1514
|
};
|
|
1513
|
-
id: string;
|
|
1514
|
-
text: string | null;
|
|
1515
1515
|
rawText: string;
|
|
1516
1516
|
confidence: number;
|
|
1517
1517
|
readingOrder: number;
|
|
@@ -1575,13 +1575,13 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1575
1575
|
version: 1;
|
|
1576
1576
|
operation: "read_video_text";
|
|
1577
1577
|
source: {
|
|
1578
|
+
durationMs: number;
|
|
1578
1579
|
encodedWidth: number;
|
|
1579
1580
|
encodedHeight: number;
|
|
1580
1581
|
displayWidth: number;
|
|
1581
1582
|
displayHeight: number;
|
|
1582
1583
|
rotationDegrees: number;
|
|
1583
1584
|
sampleAspectRatio: string;
|
|
1584
|
-
durationMs: number;
|
|
1585
1585
|
timeBase: string;
|
|
1586
1586
|
startPts: string;
|
|
1587
1587
|
startTimeMs: number;
|
|
@@ -1597,31 +1597,31 @@ export declare const videoTextResultSchema: z.ZodObject<{
|
|
|
1597
1597
|
frameIndex: number;
|
|
1598
1598
|
regions: {
|
|
1599
1599
|
status: "readable" | "unreadable";
|
|
1600
|
+
id: string;
|
|
1601
|
+
text: string | null;
|
|
1600
1602
|
box: {
|
|
1601
1603
|
width: number;
|
|
1602
1604
|
height: number;
|
|
1603
1605
|
x: number;
|
|
1604
1606
|
y: number;
|
|
1605
1607
|
};
|
|
1606
|
-
id: string;
|
|
1607
1608
|
polygon: {
|
|
1608
1609
|
x: number;
|
|
1609
1610
|
y: number;
|
|
1610
1611
|
}[];
|
|
1611
|
-
text: string | null;
|
|
1612
1612
|
rawText: string;
|
|
1613
1613
|
confidence: number;
|
|
1614
1614
|
}[];
|
|
1615
1615
|
lines: {
|
|
1616
1616
|
status: "readable" | "unreadable";
|
|
1617
|
+
id: string;
|
|
1618
|
+
text: string | null;
|
|
1617
1619
|
box: {
|
|
1618
1620
|
width: number;
|
|
1619
1621
|
height: number;
|
|
1620
1622
|
x: number;
|
|
1621
1623
|
y: number;
|
|
1622
1624
|
};
|
|
1623
|
-
id: string;
|
|
1624
|
-
text: string | null;
|
|
1625
1625
|
rawText: string;
|
|
1626
1626
|
confidence: number;
|
|
1627
1627
|
readingOrder: number;
|
|
@@ -1706,8 +1706,8 @@ export declare const transcribeAudioSchema: z.ZodObject<{
|
|
|
1706
1706
|
timing: z.ZodDefault<z.ZodEnum<["word", "segment"]>>;
|
|
1707
1707
|
channel: z.ZodOptional<z.ZodNumber>;
|
|
1708
1708
|
}, "strict", z.ZodTypeAny, {
|
|
1709
|
-
url: string;
|
|
1710
1709
|
timing: "word" | "segment";
|
|
1710
|
+
url: string;
|
|
1711
1711
|
language: "auto" | "en" | "es" | "fr" | "de" | "it" | "pt" | "ja" | "ko" | "zh" | "ar" | "hi" | "ru";
|
|
1712
1712
|
range?: {
|
|
1713
1713
|
startMs: number;
|
|
@@ -1716,11 +1716,11 @@ export declare const transcribeAudioSchema: z.ZodObject<{
|
|
|
1716
1716
|
channel?: number | undefined;
|
|
1717
1717
|
}, {
|
|
1718
1718
|
url: string;
|
|
1719
|
+
timing?: "word" | "segment" | undefined;
|
|
1719
1720
|
range?: {
|
|
1720
1721
|
startMs: number;
|
|
1721
1722
|
endMs: number;
|
|
1722
1723
|
} | undefined;
|
|
1723
|
-
timing?: "word" | "segment" | undefined;
|
|
1724
1724
|
language?: "auto" | "en" | "es" | "fr" | "de" | "it" | "pt" | "ja" | "ko" | "zh" | "ar" | "hi" | "ru" | undefined;
|
|
1725
1725
|
channel?: number | undefined;
|
|
1726
1726
|
}>;
|
|
@@ -2254,8 +2254,8 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2254
2254
|
temperature: z.ZodNumber;
|
|
2255
2255
|
conditionOnPreviousText: z.ZodBoolean;
|
|
2256
2256
|
}, "strip", z.ZodTypeAny, {
|
|
2257
|
-
sha256: Record<string, string>;
|
|
2258
2257
|
name: string;
|
|
2258
|
+
sha256: Record<string, string>;
|
|
2259
2259
|
runtime: string;
|
|
2260
2260
|
device: "cpu";
|
|
2261
2261
|
repository: string;
|
|
@@ -2266,8 +2266,8 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2266
2266
|
temperature: number;
|
|
2267
2267
|
conditionOnPreviousText: boolean;
|
|
2268
2268
|
}, {
|
|
2269
|
-
sha256: Record<string, string>;
|
|
2270
2269
|
name: string;
|
|
2270
|
+
sha256: Record<string, string>;
|
|
2271
2271
|
runtime: string;
|
|
2272
2272
|
device: "cpu";
|
|
2273
2273
|
repository: string;
|
|
@@ -2293,46 +2293,46 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2293
2293
|
timing: z.ZodLiteral<"estimated">;
|
|
2294
2294
|
probability: z.ZodNumber;
|
|
2295
2295
|
}, "strip", z.ZodTypeAny, {
|
|
2296
|
-
startMs: number;
|
|
2297
|
-
endMs: number;
|
|
2298
2296
|
text: string;
|
|
2299
2297
|
timing: "estimated";
|
|
2300
|
-
probability: number;
|
|
2301
|
-
}, {
|
|
2302
2298
|
startMs: number;
|
|
2303
2299
|
endMs: number;
|
|
2300
|
+
probability: number;
|
|
2301
|
+
}, {
|
|
2304
2302
|
text: string;
|
|
2305
2303
|
timing: "estimated";
|
|
2304
|
+
startMs: number;
|
|
2305
|
+
endMs: number;
|
|
2306
2306
|
probability: number;
|
|
2307
2307
|
}>, "many">;
|
|
2308
2308
|
}, "strip", z.ZodTypeAny, {
|
|
2309
|
+
text: string;
|
|
2310
|
+
timing: "estimated";
|
|
2309
2311
|
startMs: number;
|
|
2310
2312
|
endMs: number;
|
|
2311
2313
|
index: number;
|
|
2312
|
-
text: string;
|
|
2313
|
-
timing: "estimated";
|
|
2314
2314
|
avgLogProbability: number;
|
|
2315
2315
|
noSpeechProbability: number;
|
|
2316
2316
|
words: {
|
|
2317
|
-
startMs: number;
|
|
2318
|
-
endMs: number;
|
|
2319
2317
|
text: string;
|
|
2320
2318
|
timing: "estimated";
|
|
2319
|
+
startMs: number;
|
|
2320
|
+
endMs: number;
|
|
2321
2321
|
probability: number;
|
|
2322
2322
|
}[];
|
|
2323
2323
|
}, {
|
|
2324
|
+
text: string;
|
|
2325
|
+
timing: "estimated";
|
|
2324
2326
|
startMs: number;
|
|
2325
2327
|
endMs: number;
|
|
2326
2328
|
index: number;
|
|
2327
|
-
text: string;
|
|
2328
|
-
timing: "estimated";
|
|
2329
2329
|
avgLogProbability: number;
|
|
2330
2330
|
noSpeechProbability: number;
|
|
2331
2331
|
words: {
|
|
2332
|
-
startMs: number;
|
|
2333
|
-
endMs: number;
|
|
2334
2332
|
text: string;
|
|
2335
2333
|
timing: "estimated";
|
|
2334
|
+
startMs: number;
|
|
2335
|
+
endMs: number;
|
|
2336
2336
|
probability: number;
|
|
2337
2337
|
}[];
|
|
2338
2338
|
}>, "many">;
|
|
@@ -2347,6 +2347,7 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2347
2347
|
manifestUrl: z.ZodString;
|
|
2348
2348
|
}, "strip", z.ZodTypeAny, {
|
|
2349
2349
|
status: "no_audio" | "no_speech_detected" | "transcribed";
|
|
2350
|
+
text: string;
|
|
2350
2351
|
version: 1;
|
|
2351
2352
|
operation: "transcribe_audio";
|
|
2352
2353
|
source: {
|
|
@@ -2364,10 +2365,9 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2364
2365
|
};
|
|
2365
2366
|
manifestUrl: string;
|
|
2366
2367
|
warnings: string[];
|
|
2367
|
-
text: string;
|
|
2368
2368
|
model: {
|
|
2369
|
-
sha256: Record<string, string>;
|
|
2370
2369
|
name: string;
|
|
2370
|
+
sha256: Record<string, string>;
|
|
2371
2371
|
runtime: string;
|
|
2372
2372
|
device: "cpu";
|
|
2373
2373
|
repository: string;
|
|
@@ -2394,18 +2394,18 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2394
2394
|
sampleRoundingToleranceMs: number;
|
|
2395
2395
|
};
|
|
2396
2396
|
segments: {
|
|
2397
|
+
text: string;
|
|
2398
|
+
timing: "estimated";
|
|
2397
2399
|
startMs: number;
|
|
2398
2400
|
endMs: number;
|
|
2399
2401
|
index: number;
|
|
2400
|
-
text: string;
|
|
2401
|
-
timing: "estimated";
|
|
2402
2402
|
avgLogProbability: number;
|
|
2403
2403
|
noSpeechProbability: number;
|
|
2404
2404
|
words: {
|
|
2405
|
-
startMs: number;
|
|
2406
|
-
endMs: number;
|
|
2407
2405
|
text: string;
|
|
2408
2406
|
timing: "estimated";
|
|
2407
|
+
startMs: number;
|
|
2408
|
+
endMs: number;
|
|
2409
2409
|
probability: number;
|
|
2410
2410
|
}[];
|
|
2411
2411
|
}[];
|
|
@@ -2418,6 +2418,7 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2418
2418
|
audioPreviewUrl?: string | undefined;
|
|
2419
2419
|
}, {
|
|
2420
2420
|
status: "no_audio" | "no_speech_detected" | "transcribed";
|
|
2421
|
+
text: string;
|
|
2421
2422
|
version: 1;
|
|
2422
2423
|
operation: "transcribe_audio";
|
|
2423
2424
|
source: {
|
|
@@ -2435,10 +2436,9 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2435
2436
|
};
|
|
2436
2437
|
manifestUrl: string;
|
|
2437
2438
|
warnings: string[];
|
|
2438
|
-
text: string;
|
|
2439
2439
|
model: {
|
|
2440
|
-
sha256: Record<string, string>;
|
|
2441
2440
|
name: string;
|
|
2441
|
+
sha256: Record<string, string>;
|
|
2442
2442
|
runtime: string;
|
|
2443
2443
|
device: "cpu";
|
|
2444
2444
|
repository: string;
|
|
@@ -2465,18 +2465,18 @@ export declare const audioTranscriptResultSchema: z.ZodObject<{
|
|
|
2465
2465
|
sampleRoundingToleranceMs: number;
|
|
2466
2466
|
};
|
|
2467
2467
|
segments: {
|
|
2468
|
+
text: string;
|
|
2469
|
+
timing: "estimated";
|
|
2468
2470
|
startMs: number;
|
|
2469
2471
|
endMs: number;
|
|
2470
2472
|
index: number;
|
|
2471
|
-
text: string;
|
|
2472
|
-
timing: "estimated";
|
|
2473
2473
|
avgLogProbability: number;
|
|
2474
2474
|
noSpeechProbability: number;
|
|
2475
2475
|
words: {
|
|
2476
|
-
startMs: number;
|
|
2477
|
-
endMs: number;
|
|
2478
2476
|
text: string;
|
|
2479
2477
|
timing: "estimated";
|
|
2478
|
+
startMs: number;
|
|
2479
|
+
endMs: number;
|
|
2480
2480
|
probability: number;
|
|
2481
2481
|
}[];
|
|
2482
2482
|
}[];
|
|
@@ -3094,13 +3094,13 @@ export declare const measureLayoutResultSchema: z.ZodObject<{
|
|
|
3094
3094
|
bottom: number;
|
|
3095
3095
|
}>>;
|
|
3096
3096
|
}, "strip", z.ZodTypeAny, {
|
|
3097
|
+
id: string;
|
|
3097
3098
|
box: {
|
|
3098
3099
|
width: number;
|
|
3099
3100
|
height: number;
|
|
3100
3101
|
x: number;
|
|
3101
3102
|
y: number;
|
|
3102
3103
|
} | null;
|
|
3103
|
-
id: string;
|
|
3104
3104
|
geometry: "box" | "mask";
|
|
3105
3105
|
normalizedBox: {
|
|
3106
3106
|
width: number;
|
|
@@ -3126,13 +3126,13 @@ export declare const measureLayoutResultSchema: z.ZodObject<{
|
|
|
3126
3126
|
bottom: number;
|
|
3127
3127
|
} | null;
|
|
3128
3128
|
}, {
|
|
3129
|
+
id: string;
|
|
3129
3130
|
box: {
|
|
3130
3131
|
width: number;
|
|
3131
3132
|
height: number;
|
|
3132
3133
|
x: number;
|
|
3133
3134
|
y: number;
|
|
3134
3135
|
} | null;
|
|
3135
|
-
id: string;
|
|
3136
3136
|
geometry: "box" | "mask";
|
|
3137
3137
|
normalizedBox: {
|
|
3138
3138
|
width: number;
|
|
@@ -3260,13 +3260,13 @@ export declare const measureLayoutResultSchema: z.ZodObject<{
|
|
|
3260
3260
|
coordinates: "display-oriented-source-pixels";
|
|
3261
3261
|
previewUrl: string;
|
|
3262
3262
|
elements: {
|
|
3263
|
+
id: string;
|
|
3263
3264
|
box: {
|
|
3264
3265
|
width: number;
|
|
3265
3266
|
height: number;
|
|
3266
3267
|
x: number;
|
|
3267
3268
|
y: number;
|
|
3268
3269
|
} | null;
|
|
3269
|
-
id: string;
|
|
3270
3270
|
geometry: "box" | "mask";
|
|
3271
3271
|
normalizedBox: {
|
|
3272
3272
|
width: number;
|
|
@@ -3332,13 +3332,13 @@ export declare const measureLayoutResultSchema: z.ZodObject<{
|
|
|
3332
3332
|
coordinates: "display-oriented-source-pixels";
|
|
3333
3333
|
previewUrl: string;
|
|
3334
3334
|
elements: {
|
|
3335
|
+
id: string;
|
|
3335
3336
|
box: {
|
|
3336
3337
|
width: number;
|
|
3337
3338
|
height: number;
|
|
3338
3339
|
x: number;
|
|
3339
3340
|
y: number;
|
|
3340
3341
|
} | null;
|
|
3341
|
-
id: string;
|
|
3342
3342
|
geometry: "box" | "mask";
|
|
3343
3343
|
normalizedBox: {
|
|
3344
3344
|
width: number;
|
|
@@ -3541,17 +3541,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3541
3541
|
paddingLeft: z.ZodNumber;
|
|
3542
3542
|
}, "strip", z.ZodTypeAny, {
|
|
3543
3543
|
type: "text";
|
|
3544
|
+
id: string;
|
|
3545
|
+
text: string;
|
|
3544
3546
|
width: number;
|
|
3545
3547
|
height: number;
|
|
3546
3548
|
x: number;
|
|
3547
3549
|
y: number;
|
|
3548
|
-
id: string;
|
|
3549
|
-
text: string;
|
|
3550
3550
|
zIndex: number;
|
|
3551
3551
|
textIsVariable: false;
|
|
3552
3552
|
font: "tiktok" | "arial" | "apple";
|
|
3553
3553
|
fontSize: number;
|
|
3554
|
-
fontWeight: 400 | 500 | 600 |
|
|
3554
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3555
3555
|
color: string;
|
|
3556
3556
|
strokeColor: string;
|
|
3557
3557
|
outlineWidth: number;
|
|
@@ -3566,17 +3566,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3566
3566
|
paddingLeft: number;
|
|
3567
3567
|
}, {
|
|
3568
3568
|
type: "text";
|
|
3569
|
+
id: string;
|
|
3570
|
+
text: string;
|
|
3569
3571
|
width: number;
|
|
3570
3572
|
height: number;
|
|
3571
3573
|
x: number;
|
|
3572
3574
|
y: number;
|
|
3573
|
-
id: string;
|
|
3574
|
-
text: string;
|
|
3575
3575
|
zIndex: number;
|
|
3576
3576
|
textIsVariable: false;
|
|
3577
3577
|
font: "tiktok" | "arial" | "apple";
|
|
3578
3578
|
fontSize: number;
|
|
3579
|
-
fontWeight: 400 | 500 | 600 |
|
|
3579
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3580
3580
|
color: string;
|
|
3581
3581
|
strokeColor: string;
|
|
3582
3582
|
outlineWidth: number;
|
|
@@ -3622,17 +3622,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3622
3622
|
paddingLeft: z.ZodNumber;
|
|
3623
3623
|
}, "strip", z.ZodTypeAny, {
|
|
3624
3624
|
type: "text";
|
|
3625
|
+
id: string;
|
|
3626
|
+
text: string;
|
|
3625
3627
|
width: number;
|
|
3626
3628
|
height: number;
|
|
3627
3629
|
x: number;
|
|
3628
3630
|
y: number;
|
|
3629
|
-
id: string;
|
|
3630
|
-
text: string;
|
|
3631
3631
|
zIndex: number;
|
|
3632
3632
|
textIsVariable: false;
|
|
3633
3633
|
font: "tiktok" | "arial" | "apple";
|
|
3634
3634
|
fontSize: number;
|
|
3635
|
-
fontWeight: 400 | 500 | 600 |
|
|
3635
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3636
3636
|
color: string;
|
|
3637
3637
|
strokeColor: string;
|
|
3638
3638
|
outlineWidth: number;
|
|
@@ -3647,17 +3647,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3647
3647
|
paddingLeft: number;
|
|
3648
3648
|
}, {
|
|
3649
3649
|
type: "text";
|
|
3650
|
+
id: string;
|
|
3651
|
+
text: string;
|
|
3650
3652
|
width: number;
|
|
3651
3653
|
height: number;
|
|
3652
3654
|
x: number;
|
|
3653
3655
|
y: number;
|
|
3654
|
-
id: string;
|
|
3655
|
-
text: string;
|
|
3656
3656
|
zIndex: number;
|
|
3657
3657
|
textIsVariable: false;
|
|
3658
3658
|
font: "tiktok" | "arial" | "apple";
|
|
3659
3659
|
fontSize: number;
|
|
3660
|
-
fontWeight: 400 | 500 | 600 |
|
|
3660
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3661
3661
|
color: string;
|
|
3662
3662
|
strokeColor: string;
|
|
3663
3663
|
outlineWidth: number;
|
|
@@ -3678,17 +3678,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3678
3678
|
height: number;
|
|
3679
3679
|
elements: {
|
|
3680
3680
|
type: "text";
|
|
3681
|
+
id: string;
|
|
3682
|
+
text: string;
|
|
3681
3683
|
width: number;
|
|
3682
3684
|
height: number;
|
|
3683
3685
|
x: number;
|
|
3684
3686
|
y: number;
|
|
3685
|
-
id: string;
|
|
3686
|
-
text: string;
|
|
3687
3687
|
zIndex: number;
|
|
3688
3688
|
textIsVariable: false;
|
|
3689
3689
|
font: "tiktok" | "arial" | "apple";
|
|
3690
3690
|
fontSize: number;
|
|
3691
|
-
fontWeight: 400 | 500 | 600 |
|
|
3691
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3692
3692
|
color: string;
|
|
3693
3693
|
strokeColor: string;
|
|
3694
3694
|
outlineWidth: number;
|
|
@@ -3711,17 +3711,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3711
3711
|
height: number;
|
|
3712
3712
|
elements: {
|
|
3713
3713
|
type: "text";
|
|
3714
|
+
id: string;
|
|
3715
|
+
text: string;
|
|
3714
3716
|
width: number;
|
|
3715
3717
|
height: number;
|
|
3716
3718
|
x: number;
|
|
3717
3719
|
y: number;
|
|
3718
|
-
id: string;
|
|
3719
|
-
text: string;
|
|
3720
3720
|
zIndex: number;
|
|
3721
3721
|
textIsVariable: false;
|
|
3722
3722
|
font: "tiktok" | "arial" | "apple";
|
|
3723
3723
|
fontSize: number;
|
|
3724
|
-
fontWeight: 400 | 500 | 600 |
|
|
3724
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3725
3725
|
color: string;
|
|
3726
3726
|
strokeColor: string;
|
|
3727
3727
|
outlineWidth: number;
|
|
@@ -3747,17 +3747,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3747
3747
|
}, "strip", z.ZodTypeAny, {
|
|
3748
3748
|
element: {
|
|
3749
3749
|
type: "text";
|
|
3750
|
+
id: string;
|
|
3751
|
+
text: string;
|
|
3750
3752
|
width: number;
|
|
3751
3753
|
height: number;
|
|
3752
3754
|
x: number;
|
|
3753
3755
|
y: number;
|
|
3754
|
-
id: string;
|
|
3755
|
-
text: string;
|
|
3756
3756
|
zIndex: number;
|
|
3757
3757
|
textIsVariable: false;
|
|
3758
3758
|
font: "tiktok" | "arial" | "apple";
|
|
3759
3759
|
fontSize: number;
|
|
3760
|
-
fontWeight: 400 | 500 | 600 |
|
|
3760
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3761
3761
|
color: string;
|
|
3762
3762
|
strokeColor: string;
|
|
3763
3763
|
outlineWidth: number;
|
|
@@ -3776,17 +3776,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3776
3776
|
height: number;
|
|
3777
3777
|
elements: {
|
|
3778
3778
|
type: "text";
|
|
3779
|
+
id: string;
|
|
3780
|
+
text: string;
|
|
3779
3781
|
width: number;
|
|
3780
3782
|
height: number;
|
|
3781
3783
|
x: number;
|
|
3782
3784
|
y: number;
|
|
3783
|
-
id: string;
|
|
3784
|
-
text: string;
|
|
3785
3785
|
zIndex: number;
|
|
3786
3786
|
textIsVariable: false;
|
|
3787
3787
|
font: "tiktok" | "arial" | "apple";
|
|
3788
3788
|
fontSize: number;
|
|
3789
|
-
fontWeight: 400 | 500 | 600 |
|
|
3789
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3790
3790
|
color: string;
|
|
3791
3791
|
strokeColor: string;
|
|
3792
3792
|
outlineWidth: number;
|
|
@@ -3812,17 +3812,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3812
3812
|
}, {
|
|
3813
3813
|
element: {
|
|
3814
3814
|
type: "text";
|
|
3815
|
+
id: string;
|
|
3816
|
+
text: string;
|
|
3815
3817
|
width: number;
|
|
3816
3818
|
height: number;
|
|
3817
3819
|
x: number;
|
|
3818
3820
|
y: number;
|
|
3819
|
-
id: string;
|
|
3820
|
-
text: string;
|
|
3821
3821
|
zIndex: number;
|
|
3822
3822
|
textIsVariable: false;
|
|
3823
3823
|
font: "tiktok" | "arial" | "apple";
|
|
3824
3824
|
fontSize: number;
|
|
3825
|
-
fontWeight: 400 | 500 | 600 |
|
|
3825
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3826
3826
|
color: string;
|
|
3827
3827
|
strokeColor: string;
|
|
3828
3828
|
outlineWidth: number;
|
|
@@ -3841,17 +3841,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3841
3841
|
height: number;
|
|
3842
3842
|
elements: {
|
|
3843
3843
|
type: "text";
|
|
3844
|
+
id: string;
|
|
3845
|
+
text: string;
|
|
3844
3846
|
width: number;
|
|
3845
3847
|
height: number;
|
|
3846
3848
|
x: number;
|
|
3847
3849
|
y: number;
|
|
3848
|
-
id: string;
|
|
3849
|
-
text: string;
|
|
3850
3850
|
zIndex: number;
|
|
3851
3851
|
textIsVariable: false;
|
|
3852
3852
|
font: "tiktok" | "arial" | "apple";
|
|
3853
3853
|
fontSize: number;
|
|
3854
|
-
fontWeight: 400 | 500 | 600 |
|
|
3854
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3855
3855
|
color: string;
|
|
3856
3856
|
strokeColor: string;
|
|
3857
3857
|
outlineWidth: number;
|
|
@@ -3882,6 +3882,7 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3882
3882
|
manifestUrl: z.ZodString;
|
|
3883
3883
|
}, "strip", z.ZodTypeAny, {
|
|
3884
3884
|
status: "unavailable" | "fitted";
|
|
3885
|
+
text: string | null;
|
|
3885
3886
|
version: 1;
|
|
3886
3887
|
operation: "match_text_style";
|
|
3887
3888
|
source: {
|
|
@@ -3904,7 +3905,6 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3904
3905
|
};
|
|
3905
3906
|
manifestUrl: string;
|
|
3906
3907
|
warnings: string[];
|
|
3907
|
-
text: string | null;
|
|
3908
3908
|
previewUrl: string;
|
|
3909
3909
|
surface: "image-editor-element";
|
|
3910
3910
|
reason: string | null;
|
|
@@ -3920,17 +3920,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3920
3920
|
candidates: {
|
|
3921
3921
|
element: {
|
|
3922
3922
|
type: "text";
|
|
3923
|
+
id: string;
|
|
3924
|
+
text: string;
|
|
3923
3925
|
width: number;
|
|
3924
3926
|
height: number;
|
|
3925
3927
|
x: number;
|
|
3926
3928
|
y: number;
|
|
3927
|
-
id: string;
|
|
3928
|
-
text: string;
|
|
3929
3929
|
zIndex: number;
|
|
3930
3930
|
textIsVariable: false;
|
|
3931
3931
|
font: "tiktok" | "arial" | "apple";
|
|
3932
3932
|
fontSize: number;
|
|
3933
|
-
fontWeight: 400 | 500 | 600 |
|
|
3933
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3934
3934
|
color: string;
|
|
3935
3935
|
strokeColor: string;
|
|
3936
3936
|
outlineWidth: number;
|
|
@@ -3949,17 +3949,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3949
3949
|
height: number;
|
|
3950
3950
|
elements: {
|
|
3951
3951
|
type: "text";
|
|
3952
|
+
id: string;
|
|
3953
|
+
text: string;
|
|
3952
3954
|
width: number;
|
|
3953
3955
|
height: number;
|
|
3954
3956
|
x: number;
|
|
3955
3957
|
y: number;
|
|
3956
|
-
id: string;
|
|
3957
|
-
text: string;
|
|
3958
3958
|
zIndex: number;
|
|
3959
3959
|
textIsVariable: false;
|
|
3960
3960
|
font: "tiktok" | "arial" | "apple";
|
|
3961
3961
|
fontSize: number;
|
|
3962
|
-
fontWeight: 400 | 500 | 600 |
|
|
3962
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
3963
3963
|
color: string;
|
|
3964
3964
|
strokeColor: string;
|
|
3965
3965
|
outlineWidth: number;
|
|
@@ -3986,6 +3986,7 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
3986
3986
|
renders: number;
|
|
3987
3987
|
}, {
|
|
3988
3988
|
status: "unavailable" | "fitted";
|
|
3989
|
+
text: string | null;
|
|
3989
3990
|
version: 1;
|
|
3990
3991
|
operation: "match_text_style";
|
|
3991
3992
|
source: {
|
|
@@ -4008,7 +4009,6 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
4008
4009
|
};
|
|
4009
4010
|
manifestUrl: string;
|
|
4010
4011
|
warnings: string[];
|
|
4011
|
-
text: string | null;
|
|
4012
4012
|
previewUrl: string;
|
|
4013
4013
|
surface: "image-editor-element";
|
|
4014
4014
|
reason: string | null;
|
|
@@ -4024,17 +4024,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
4024
4024
|
candidates: {
|
|
4025
4025
|
element: {
|
|
4026
4026
|
type: "text";
|
|
4027
|
+
id: string;
|
|
4028
|
+
text: string;
|
|
4027
4029
|
width: number;
|
|
4028
4030
|
height: number;
|
|
4029
4031
|
x: number;
|
|
4030
4032
|
y: number;
|
|
4031
|
-
id: string;
|
|
4032
|
-
text: string;
|
|
4033
4033
|
zIndex: number;
|
|
4034
4034
|
textIsVariable: false;
|
|
4035
4035
|
font: "tiktok" | "arial" | "apple";
|
|
4036
4036
|
fontSize: number;
|
|
4037
|
-
fontWeight: 400 | 500 | 600 |
|
|
4037
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
4038
4038
|
color: string;
|
|
4039
4039
|
strokeColor: string;
|
|
4040
4040
|
outlineWidth: number;
|
|
@@ -4053,17 +4053,17 @@ export declare const matchTextStyleResultSchema: z.ZodObject<{
|
|
|
4053
4053
|
height: number;
|
|
4054
4054
|
elements: {
|
|
4055
4055
|
type: "text";
|
|
4056
|
+
id: string;
|
|
4057
|
+
text: string;
|
|
4056
4058
|
width: number;
|
|
4057
4059
|
height: number;
|
|
4058
4060
|
x: number;
|
|
4059
4061
|
y: number;
|
|
4060
|
-
id: string;
|
|
4061
|
-
text: string;
|
|
4062
4062
|
zIndex: number;
|
|
4063
4063
|
textIsVariable: false;
|
|
4064
4064
|
font: "tiktok" | "arial" | "apple";
|
|
4065
4065
|
fontSize: number;
|
|
4066
|
-
fontWeight: 400 | 500 | 600 |
|
|
4066
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
4067
4067
|
color: string;
|
|
4068
4068
|
strokeColor: string;
|
|
4069
4069
|
outlineWidth: number;
|
|
@@ -4109,13 +4109,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4109
4109
|
sha256: z.ZodString;
|
|
4110
4110
|
bytes: z.ZodNumber;
|
|
4111
4111
|
}, "strip", z.ZodTypeAny, {
|
|
4112
|
+
durationMs: number;
|
|
4112
4113
|
encodedWidth: number;
|
|
4113
4114
|
encodedHeight: number;
|
|
4114
4115
|
displayWidth: number;
|
|
4115
4116
|
displayHeight: number;
|
|
4116
4117
|
rotationDegrees: number;
|
|
4117
4118
|
sampleAspectRatio: string;
|
|
4118
|
-
durationMs: number;
|
|
4119
4119
|
timeBase: string;
|
|
4120
4120
|
startPts: string;
|
|
4121
4121
|
startTimeMs: number;
|
|
@@ -4124,13 +4124,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4124
4124
|
sha256: string;
|
|
4125
4125
|
bytes: number;
|
|
4126
4126
|
}, {
|
|
4127
|
+
durationMs: number;
|
|
4127
4128
|
encodedWidth: number;
|
|
4128
4129
|
encodedHeight: number;
|
|
4129
4130
|
displayWidth: number;
|
|
4130
4131
|
displayHeight: number;
|
|
4131
4132
|
rotationDegrees: number;
|
|
4132
4133
|
sampleAspectRatio: string;
|
|
4133
|
-
durationMs: number;
|
|
4134
4134
|
timeBase: string;
|
|
4135
4135
|
startPts: string;
|
|
4136
4136
|
startTimeMs: number;
|
|
@@ -4260,13 +4260,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4260
4260
|
version: 1;
|
|
4261
4261
|
operation: "extract_frames";
|
|
4262
4262
|
source: {
|
|
4263
|
+
durationMs: number;
|
|
4263
4264
|
encodedWidth: number;
|
|
4264
4265
|
encodedHeight: number;
|
|
4265
4266
|
displayWidth: number;
|
|
4266
4267
|
displayHeight: number;
|
|
4267
4268
|
rotationDegrees: number;
|
|
4268
4269
|
sampleAspectRatio: string;
|
|
4269
|
-
durationMs: number;
|
|
4270
4270
|
timeBase: string;
|
|
4271
4271
|
startPts: string;
|
|
4272
4272
|
startTimeMs: number;
|
|
@@ -4306,13 +4306,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4306
4306
|
version: 1;
|
|
4307
4307
|
operation: "extract_frames";
|
|
4308
4308
|
source: {
|
|
4309
|
+
durationMs: number;
|
|
4309
4310
|
encodedWidth: number;
|
|
4310
4311
|
encodedHeight: number;
|
|
4311
4312
|
displayWidth: number;
|
|
4312
4313
|
displayHeight: number;
|
|
4313
4314
|
rotationDegrees: number;
|
|
4314
4315
|
sampleAspectRatio: string;
|
|
4315
|
-
durationMs: number;
|
|
4316
4316
|
timeBase: string;
|
|
4317
4317
|
startPts: string;
|
|
4318
4318
|
startTimeMs: number;
|
|
@@ -4351,13 +4351,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4351
4351
|
sha256: z.ZodString;
|
|
4352
4352
|
bytes: z.ZodNumber;
|
|
4353
4353
|
}, "strip", z.ZodTypeAny, {
|
|
4354
|
+
durationMs: number;
|
|
4354
4355
|
encodedWidth: number;
|
|
4355
4356
|
encodedHeight: number;
|
|
4356
4357
|
displayWidth: number;
|
|
4357
4358
|
displayHeight: number;
|
|
4358
4359
|
rotationDegrees: number;
|
|
4359
4360
|
sampleAspectRatio: string;
|
|
4360
|
-
durationMs: number;
|
|
4361
4361
|
timeBase: string;
|
|
4362
4362
|
startPts: string;
|
|
4363
4363
|
startTimeMs: number;
|
|
@@ -4366,13 +4366,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4366
4366
|
sha256: string;
|
|
4367
4367
|
bytes: number;
|
|
4368
4368
|
}, {
|
|
4369
|
+
durationMs: number;
|
|
4369
4370
|
encodedWidth: number;
|
|
4370
4371
|
encodedHeight: number;
|
|
4371
4372
|
displayWidth: number;
|
|
4372
4373
|
displayHeight: number;
|
|
4373
4374
|
rotationDegrees: number;
|
|
4374
4375
|
sampleAspectRatio: string;
|
|
4375
|
-
durationMs: number;
|
|
4376
4376
|
timeBase: string;
|
|
4377
4377
|
startPts: string;
|
|
4378
4378
|
startTimeMs: number;
|
|
@@ -4411,12 +4411,12 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4411
4411
|
version: z.ZodString;
|
|
4412
4412
|
settings: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
4413
4413
|
}, "strip", z.ZodTypeAny, {
|
|
4414
|
-
version: string;
|
|
4415
4414
|
name: string;
|
|
4415
|
+
version: string;
|
|
4416
4416
|
settings: Record<string, number>;
|
|
4417
4417
|
}, {
|
|
4418
|
-
version: string;
|
|
4419
4418
|
name: string;
|
|
4419
|
+
version: string;
|
|
4420
4420
|
settings: Record<string, number>;
|
|
4421
4421
|
}>;
|
|
4422
4422
|
warnings: z.ZodArray<z.ZodString, "many">;
|
|
@@ -4425,13 +4425,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4425
4425
|
version: 1;
|
|
4426
4426
|
operation: "detect_scenes";
|
|
4427
4427
|
source: {
|
|
4428
|
+
durationMs: number;
|
|
4428
4429
|
encodedWidth: number;
|
|
4429
4430
|
encodedHeight: number;
|
|
4430
4431
|
displayWidth: number;
|
|
4431
4432
|
displayHeight: number;
|
|
4432
4433
|
rotationDegrees: number;
|
|
4433
4434
|
sampleAspectRatio: string;
|
|
4434
|
-
durationMs: number;
|
|
4435
4435
|
timeBase: string;
|
|
4436
4436
|
startPts: string;
|
|
4437
4437
|
startTimeMs: number;
|
|
@@ -4451,8 +4451,8 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4451
4451
|
endPts: string | null;
|
|
4452
4452
|
}[];
|
|
4453
4453
|
detector: {
|
|
4454
|
-
version: string;
|
|
4455
4454
|
name: string;
|
|
4455
|
+
version: string;
|
|
4456
4456
|
settings: Record<string, number>;
|
|
4457
4457
|
};
|
|
4458
4458
|
warnings: string[];
|
|
@@ -4460,13 +4460,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4460
4460
|
version: 1;
|
|
4461
4461
|
operation: "detect_scenes";
|
|
4462
4462
|
source: {
|
|
4463
|
+
durationMs: number;
|
|
4463
4464
|
encodedWidth: number;
|
|
4464
4465
|
encodedHeight: number;
|
|
4465
4466
|
displayWidth: number;
|
|
4466
4467
|
displayHeight: number;
|
|
4467
4468
|
rotationDegrees: number;
|
|
4468
4469
|
sampleAspectRatio: string;
|
|
4469
|
-
durationMs: number;
|
|
4470
4470
|
timeBase: string;
|
|
4471
4471
|
startPts: string;
|
|
4472
4472
|
startTimeMs: number;
|
|
@@ -4486,8 +4486,8 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4486
4486
|
endPts: string | null;
|
|
4487
4487
|
}[];
|
|
4488
4488
|
detector: {
|
|
4489
|
-
version: string;
|
|
4490
4489
|
name: string;
|
|
4490
|
+
version: string;
|
|
4491
4491
|
settings: Record<string, number>;
|
|
4492
4492
|
};
|
|
4493
4493
|
warnings: string[];
|
|
@@ -4554,34 +4554,34 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4554
4554
|
}>;
|
|
4555
4555
|
}, "strip", z.ZodTypeAny, {
|
|
4556
4556
|
status: "readable" | "unreadable";
|
|
4557
|
+
id: string;
|
|
4558
|
+
text: string | null;
|
|
4557
4559
|
box: {
|
|
4558
4560
|
width: number;
|
|
4559
4561
|
height: number;
|
|
4560
4562
|
x: number;
|
|
4561
4563
|
y: number;
|
|
4562
4564
|
};
|
|
4563
|
-
id: string;
|
|
4564
4565
|
polygon: {
|
|
4565
4566
|
x: number;
|
|
4566
4567
|
y: number;
|
|
4567
4568
|
}[];
|
|
4568
|
-
text: string | null;
|
|
4569
4569
|
rawText: string;
|
|
4570
4570
|
confidence: number;
|
|
4571
4571
|
}, {
|
|
4572
4572
|
status: "readable" | "unreadable";
|
|
4573
|
+
id: string;
|
|
4574
|
+
text: string | null;
|
|
4573
4575
|
box: {
|
|
4574
4576
|
width: number;
|
|
4575
4577
|
height: number;
|
|
4576
4578
|
x: number;
|
|
4577
4579
|
y: number;
|
|
4578
4580
|
};
|
|
4579
|
-
id: string;
|
|
4580
4581
|
polygon: {
|
|
4581
4582
|
x: number;
|
|
4582
4583
|
y: number;
|
|
4583
4584
|
}[];
|
|
4584
|
-
text: string | null;
|
|
4585
4585
|
rawText: string;
|
|
4586
4586
|
confidence: number;
|
|
4587
4587
|
}>, "many">;
|
|
@@ -4611,28 +4611,28 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4611
4611
|
}>;
|
|
4612
4612
|
}, "strip", z.ZodTypeAny, {
|
|
4613
4613
|
status: "readable" | "unreadable";
|
|
4614
|
+
id: string;
|
|
4615
|
+
text: string | null;
|
|
4614
4616
|
box: {
|
|
4615
4617
|
width: number;
|
|
4616
4618
|
height: number;
|
|
4617
4619
|
x: number;
|
|
4618
4620
|
y: number;
|
|
4619
4621
|
};
|
|
4620
|
-
id: string;
|
|
4621
|
-
text: string | null;
|
|
4622
4622
|
rawText: string;
|
|
4623
4623
|
confidence: number;
|
|
4624
4624
|
readingOrder: number;
|
|
4625
4625
|
regionIds: string[];
|
|
4626
4626
|
}, {
|
|
4627
4627
|
status: "readable" | "unreadable";
|
|
4628
|
+
id: string;
|
|
4629
|
+
text: string | null;
|
|
4628
4630
|
box: {
|
|
4629
4631
|
width: number;
|
|
4630
4632
|
height: number;
|
|
4631
4633
|
x: number;
|
|
4632
4634
|
y: number;
|
|
4633
4635
|
};
|
|
4634
|
-
id: string;
|
|
4635
|
-
text: string | null;
|
|
4636
4636
|
rawText: string;
|
|
4637
4637
|
confidence: number;
|
|
4638
4638
|
readingOrder: number;
|
|
@@ -4695,31 +4695,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4695
4695
|
previewUrl: string;
|
|
4696
4696
|
regions: {
|
|
4697
4697
|
status: "readable" | "unreadable";
|
|
4698
|
+
id: string;
|
|
4699
|
+
text: string | null;
|
|
4698
4700
|
box: {
|
|
4699
4701
|
width: number;
|
|
4700
4702
|
height: number;
|
|
4701
4703
|
x: number;
|
|
4702
4704
|
y: number;
|
|
4703
4705
|
};
|
|
4704
|
-
id: string;
|
|
4705
4706
|
polygon: {
|
|
4706
4707
|
x: number;
|
|
4707
4708
|
y: number;
|
|
4708
4709
|
}[];
|
|
4709
|
-
text: string | null;
|
|
4710
4710
|
rawText: string;
|
|
4711
4711
|
confidence: number;
|
|
4712
4712
|
}[];
|
|
4713
4713
|
lines: {
|
|
4714
4714
|
status: "readable" | "unreadable";
|
|
4715
|
+
id: string;
|
|
4716
|
+
text: string | null;
|
|
4715
4717
|
box: {
|
|
4716
4718
|
width: number;
|
|
4717
4719
|
height: number;
|
|
4718
4720
|
x: number;
|
|
4719
4721
|
y: number;
|
|
4720
4722
|
};
|
|
4721
|
-
id: string;
|
|
4722
|
-
text: string | null;
|
|
4723
4723
|
rawText: string;
|
|
4724
4724
|
confidence: number;
|
|
4725
4725
|
readingOrder: number;
|
|
@@ -4752,31 +4752,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4752
4752
|
previewUrl: string;
|
|
4753
4753
|
regions: {
|
|
4754
4754
|
status: "readable" | "unreadable";
|
|
4755
|
+
id: string;
|
|
4756
|
+
text: string | null;
|
|
4755
4757
|
box: {
|
|
4756
4758
|
width: number;
|
|
4757
4759
|
height: number;
|
|
4758
4760
|
x: number;
|
|
4759
4761
|
y: number;
|
|
4760
4762
|
};
|
|
4761
|
-
id: string;
|
|
4762
4763
|
polygon: {
|
|
4763
4764
|
x: number;
|
|
4764
4765
|
y: number;
|
|
4765
4766
|
}[];
|
|
4766
|
-
text: string | null;
|
|
4767
4767
|
rawText: string;
|
|
4768
4768
|
confidence: number;
|
|
4769
4769
|
}[];
|
|
4770
4770
|
lines: {
|
|
4771
4771
|
status: "readable" | "unreadable";
|
|
4772
|
+
id: string;
|
|
4773
|
+
text: string | null;
|
|
4772
4774
|
box: {
|
|
4773
4775
|
width: number;
|
|
4774
4776
|
height: number;
|
|
4775
4777
|
x: number;
|
|
4776
4778
|
y: number;
|
|
4777
4779
|
};
|
|
4778
|
-
id: string;
|
|
4779
|
-
text: string | null;
|
|
4780
4780
|
rawText: string;
|
|
4781
4781
|
confidence: number;
|
|
4782
4782
|
readingOrder: number;
|
|
@@ -4801,13 +4801,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4801
4801
|
sha256: z.ZodString;
|
|
4802
4802
|
bytes: z.ZodNumber;
|
|
4803
4803
|
}, "strip", z.ZodTypeAny, {
|
|
4804
|
+
durationMs: number;
|
|
4804
4805
|
encodedWidth: number;
|
|
4805
4806
|
encodedHeight: number;
|
|
4806
4807
|
displayWidth: number;
|
|
4807
4808
|
displayHeight: number;
|
|
4808
4809
|
rotationDegrees: number;
|
|
4809
4810
|
sampleAspectRatio: string;
|
|
4810
|
-
durationMs: number;
|
|
4811
4811
|
timeBase: string;
|
|
4812
4812
|
startPts: string;
|
|
4813
4813
|
startTimeMs: number;
|
|
@@ -4816,13 +4816,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4816
4816
|
sha256: string;
|
|
4817
4817
|
bytes: number;
|
|
4818
4818
|
}, {
|
|
4819
|
+
durationMs: number;
|
|
4819
4820
|
encodedWidth: number;
|
|
4820
4821
|
encodedHeight: number;
|
|
4821
4822
|
displayWidth: number;
|
|
4822
4823
|
displayHeight: number;
|
|
4823
4824
|
rotationDegrees: number;
|
|
4824
4825
|
sampleAspectRatio: string;
|
|
4825
|
-
durationMs: number;
|
|
4826
4826
|
timeBase: string;
|
|
4827
4827
|
startPts: string;
|
|
4828
4828
|
startTimeMs: number;
|
|
@@ -4895,34 +4895,34 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4895
4895
|
}>;
|
|
4896
4896
|
}, "strip", z.ZodTypeAny, {
|
|
4897
4897
|
status: "readable" | "unreadable";
|
|
4898
|
+
id: string;
|
|
4899
|
+
text: string | null;
|
|
4898
4900
|
box: {
|
|
4899
4901
|
width: number;
|
|
4900
4902
|
height: number;
|
|
4901
4903
|
x: number;
|
|
4902
4904
|
y: number;
|
|
4903
4905
|
};
|
|
4904
|
-
id: string;
|
|
4905
4906
|
polygon: {
|
|
4906
4907
|
x: number;
|
|
4907
4908
|
y: number;
|
|
4908
4909
|
}[];
|
|
4909
|
-
text: string | null;
|
|
4910
4910
|
rawText: string;
|
|
4911
4911
|
confidence: number;
|
|
4912
4912
|
}, {
|
|
4913
4913
|
status: "readable" | "unreadable";
|
|
4914
|
+
id: string;
|
|
4915
|
+
text: string | null;
|
|
4914
4916
|
box: {
|
|
4915
4917
|
width: number;
|
|
4916
4918
|
height: number;
|
|
4917
4919
|
x: number;
|
|
4918
4920
|
y: number;
|
|
4919
4921
|
};
|
|
4920
|
-
id: string;
|
|
4921
4922
|
polygon: {
|
|
4922
4923
|
x: number;
|
|
4923
4924
|
y: number;
|
|
4924
4925
|
}[];
|
|
4925
|
-
text: string | null;
|
|
4926
4926
|
rawText: string;
|
|
4927
4927
|
confidence: number;
|
|
4928
4928
|
}>, "many">;
|
|
@@ -4952,28 +4952,28 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4952
4952
|
}>;
|
|
4953
4953
|
}, "strip", z.ZodTypeAny, {
|
|
4954
4954
|
status: "readable" | "unreadable";
|
|
4955
|
+
id: string;
|
|
4956
|
+
text: string | null;
|
|
4955
4957
|
box: {
|
|
4956
4958
|
width: number;
|
|
4957
4959
|
height: number;
|
|
4958
4960
|
x: number;
|
|
4959
4961
|
y: number;
|
|
4960
4962
|
};
|
|
4961
|
-
id: string;
|
|
4962
|
-
text: string | null;
|
|
4963
4963
|
rawText: string;
|
|
4964
4964
|
confidence: number;
|
|
4965
4965
|
readingOrder: number;
|
|
4966
4966
|
regionIds: string[];
|
|
4967
4967
|
}, {
|
|
4968
4968
|
status: "readable" | "unreadable";
|
|
4969
|
+
id: string;
|
|
4970
|
+
text: string | null;
|
|
4969
4971
|
box: {
|
|
4970
4972
|
width: number;
|
|
4971
4973
|
height: number;
|
|
4972
4974
|
x: number;
|
|
4973
4975
|
y: number;
|
|
4974
4976
|
};
|
|
4975
|
-
id: string;
|
|
4976
|
-
text: string | null;
|
|
4977
4977
|
rawText: string;
|
|
4978
4978
|
confidence: number;
|
|
4979
4979
|
readingOrder: number;
|
|
@@ -4990,31 +4990,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
4990
4990
|
frameIndex: number;
|
|
4991
4991
|
regions: {
|
|
4992
4992
|
status: "readable" | "unreadable";
|
|
4993
|
+
id: string;
|
|
4994
|
+
text: string | null;
|
|
4993
4995
|
box: {
|
|
4994
4996
|
width: number;
|
|
4995
4997
|
height: number;
|
|
4996
4998
|
x: number;
|
|
4997
4999
|
y: number;
|
|
4998
5000
|
};
|
|
4999
|
-
id: string;
|
|
5000
5001
|
polygon: {
|
|
5001
5002
|
x: number;
|
|
5002
5003
|
y: number;
|
|
5003
5004
|
}[];
|
|
5004
|
-
text: string | null;
|
|
5005
5005
|
rawText: string;
|
|
5006
5006
|
confidence: number;
|
|
5007
5007
|
}[];
|
|
5008
5008
|
lines: {
|
|
5009
5009
|
status: "readable" | "unreadable";
|
|
5010
|
+
id: string;
|
|
5011
|
+
text: string | null;
|
|
5010
5012
|
box: {
|
|
5011
5013
|
width: number;
|
|
5012
5014
|
height: number;
|
|
5013
5015
|
x: number;
|
|
5014
5016
|
y: number;
|
|
5015
5017
|
};
|
|
5016
|
-
id: string;
|
|
5017
|
-
text: string | null;
|
|
5018
5018
|
rawText: string;
|
|
5019
5019
|
confidence: number;
|
|
5020
5020
|
readingOrder: number;
|
|
@@ -5029,31 +5029,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5029
5029
|
frameIndex: number;
|
|
5030
5030
|
regions: {
|
|
5031
5031
|
status: "readable" | "unreadable";
|
|
5032
|
+
id: string;
|
|
5033
|
+
text: string | null;
|
|
5032
5034
|
box: {
|
|
5033
5035
|
width: number;
|
|
5034
5036
|
height: number;
|
|
5035
5037
|
x: number;
|
|
5036
5038
|
y: number;
|
|
5037
5039
|
};
|
|
5038
|
-
id: string;
|
|
5039
5040
|
polygon: {
|
|
5040
5041
|
x: number;
|
|
5041
5042
|
y: number;
|
|
5042
5043
|
}[];
|
|
5043
|
-
text: string | null;
|
|
5044
5044
|
rawText: string;
|
|
5045
5045
|
confidence: number;
|
|
5046
5046
|
}[];
|
|
5047
5047
|
lines: {
|
|
5048
5048
|
status: "readable" | "unreadable";
|
|
5049
|
+
id: string;
|
|
5050
|
+
text: string | null;
|
|
5049
5051
|
box: {
|
|
5050
5052
|
width: number;
|
|
5051
5053
|
height: number;
|
|
5052
5054
|
x: number;
|
|
5053
5055
|
y: number;
|
|
5054
5056
|
};
|
|
5055
|
-
id: string;
|
|
5056
|
-
text: string | null;
|
|
5057
5057
|
rawText: string;
|
|
5058
5058
|
confidence: number;
|
|
5059
5059
|
readingOrder: number;
|
|
@@ -5243,13 +5243,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5243
5243
|
version: 1;
|
|
5244
5244
|
operation: "read_video_text";
|
|
5245
5245
|
source: {
|
|
5246
|
+
durationMs: number;
|
|
5246
5247
|
encodedWidth: number;
|
|
5247
5248
|
encodedHeight: number;
|
|
5248
5249
|
displayWidth: number;
|
|
5249
5250
|
displayHeight: number;
|
|
5250
5251
|
rotationDegrees: number;
|
|
5251
5252
|
sampleAspectRatio: string;
|
|
5252
|
-
durationMs: number;
|
|
5253
5253
|
timeBase: string;
|
|
5254
5254
|
startPts: string;
|
|
5255
5255
|
startTimeMs: number;
|
|
@@ -5265,31 +5265,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5265
5265
|
frameIndex: number;
|
|
5266
5266
|
regions: {
|
|
5267
5267
|
status: "readable" | "unreadable";
|
|
5268
|
+
id: string;
|
|
5269
|
+
text: string | null;
|
|
5268
5270
|
box: {
|
|
5269
5271
|
width: number;
|
|
5270
5272
|
height: number;
|
|
5271
5273
|
x: number;
|
|
5272
5274
|
y: number;
|
|
5273
5275
|
};
|
|
5274
|
-
id: string;
|
|
5275
5276
|
polygon: {
|
|
5276
5277
|
x: number;
|
|
5277
5278
|
y: number;
|
|
5278
5279
|
}[];
|
|
5279
|
-
text: string | null;
|
|
5280
5280
|
rawText: string;
|
|
5281
5281
|
confidence: number;
|
|
5282
5282
|
}[];
|
|
5283
5283
|
lines: {
|
|
5284
5284
|
status: "readable" | "unreadable";
|
|
5285
|
+
id: string;
|
|
5286
|
+
text: string | null;
|
|
5285
5287
|
box: {
|
|
5286
5288
|
width: number;
|
|
5287
5289
|
height: number;
|
|
5288
5290
|
x: number;
|
|
5289
5291
|
y: number;
|
|
5290
5292
|
};
|
|
5291
|
-
id: string;
|
|
5292
|
-
text: string | null;
|
|
5293
5293
|
rawText: string;
|
|
5294
5294
|
confidence: number;
|
|
5295
5295
|
readingOrder: number;
|
|
@@ -5353,13 +5353,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5353
5353
|
version: 1;
|
|
5354
5354
|
operation: "read_video_text";
|
|
5355
5355
|
source: {
|
|
5356
|
+
durationMs: number;
|
|
5356
5357
|
encodedWidth: number;
|
|
5357
5358
|
encodedHeight: number;
|
|
5358
5359
|
displayWidth: number;
|
|
5359
5360
|
displayHeight: number;
|
|
5360
5361
|
rotationDegrees: number;
|
|
5361
5362
|
sampleAspectRatio: string;
|
|
5362
|
-
durationMs: number;
|
|
5363
5363
|
timeBase: string;
|
|
5364
5364
|
startPts: string;
|
|
5365
5365
|
startTimeMs: number;
|
|
@@ -5375,31 +5375,31 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5375
5375
|
frameIndex: number;
|
|
5376
5376
|
regions: {
|
|
5377
5377
|
status: "readable" | "unreadable";
|
|
5378
|
+
id: string;
|
|
5379
|
+
text: string | null;
|
|
5378
5380
|
box: {
|
|
5379
5381
|
width: number;
|
|
5380
5382
|
height: number;
|
|
5381
5383
|
x: number;
|
|
5382
5384
|
y: number;
|
|
5383
5385
|
};
|
|
5384
|
-
id: string;
|
|
5385
5386
|
polygon: {
|
|
5386
5387
|
x: number;
|
|
5387
5388
|
y: number;
|
|
5388
5389
|
}[];
|
|
5389
|
-
text: string | null;
|
|
5390
5390
|
rawText: string;
|
|
5391
5391
|
confidence: number;
|
|
5392
5392
|
}[];
|
|
5393
5393
|
lines: {
|
|
5394
5394
|
status: "readable" | "unreadable";
|
|
5395
|
+
id: string;
|
|
5396
|
+
text: string | null;
|
|
5395
5397
|
box: {
|
|
5396
5398
|
width: number;
|
|
5397
5399
|
height: number;
|
|
5398
5400
|
x: number;
|
|
5399
5401
|
y: number;
|
|
5400
5402
|
};
|
|
5401
|
-
id: string;
|
|
5402
|
-
text: string | null;
|
|
5403
5403
|
rawText: string;
|
|
5404
5404
|
confidence: number;
|
|
5405
5405
|
readingOrder: number;
|
|
@@ -5575,8 +5575,8 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5575
5575
|
temperature: z.ZodNumber;
|
|
5576
5576
|
conditionOnPreviousText: z.ZodBoolean;
|
|
5577
5577
|
}, "strip", z.ZodTypeAny, {
|
|
5578
|
-
sha256: Record<string, string>;
|
|
5579
5578
|
name: string;
|
|
5579
|
+
sha256: Record<string, string>;
|
|
5580
5580
|
runtime: string;
|
|
5581
5581
|
device: "cpu";
|
|
5582
5582
|
repository: string;
|
|
@@ -5587,8 +5587,8 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5587
5587
|
temperature: number;
|
|
5588
5588
|
conditionOnPreviousText: boolean;
|
|
5589
5589
|
}, {
|
|
5590
|
-
sha256: Record<string, string>;
|
|
5591
5590
|
name: string;
|
|
5591
|
+
sha256: Record<string, string>;
|
|
5592
5592
|
runtime: string;
|
|
5593
5593
|
device: "cpu";
|
|
5594
5594
|
repository: string;
|
|
@@ -5614,46 +5614,46 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5614
5614
|
timing: z.ZodLiteral<"estimated">;
|
|
5615
5615
|
probability: z.ZodNumber;
|
|
5616
5616
|
}, "strip", z.ZodTypeAny, {
|
|
5617
|
-
startMs: number;
|
|
5618
|
-
endMs: number;
|
|
5619
5617
|
text: string;
|
|
5620
5618
|
timing: "estimated";
|
|
5621
|
-
probability: number;
|
|
5622
|
-
}, {
|
|
5623
5619
|
startMs: number;
|
|
5624
5620
|
endMs: number;
|
|
5621
|
+
probability: number;
|
|
5622
|
+
}, {
|
|
5625
5623
|
text: string;
|
|
5626
5624
|
timing: "estimated";
|
|
5625
|
+
startMs: number;
|
|
5626
|
+
endMs: number;
|
|
5627
5627
|
probability: number;
|
|
5628
5628
|
}>, "many">;
|
|
5629
5629
|
}, "strip", z.ZodTypeAny, {
|
|
5630
|
+
text: string;
|
|
5631
|
+
timing: "estimated";
|
|
5630
5632
|
startMs: number;
|
|
5631
5633
|
endMs: number;
|
|
5632
5634
|
index: number;
|
|
5633
|
-
text: string;
|
|
5634
|
-
timing: "estimated";
|
|
5635
5635
|
avgLogProbability: number;
|
|
5636
5636
|
noSpeechProbability: number;
|
|
5637
5637
|
words: {
|
|
5638
|
-
startMs: number;
|
|
5639
|
-
endMs: number;
|
|
5640
5638
|
text: string;
|
|
5641
5639
|
timing: "estimated";
|
|
5640
|
+
startMs: number;
|
|
5641
|
+
endMs: number;
|
|
5642
5642
|
probability: number;
|
|
5643
5643
|
}[];
|
|
5644
5644
|
}, {
|
|
5645
|
+
text: string;
|
|
5646
|
+
timing: "estimated";
|
|
5645
5647
|
startMs: number;
|
|
5646
5648
|
endMs: number;
|
|
5647
5649
|
index: number;
|
|
5648
|
-
text: string;
|
|
5649
|
-
timing: "estimated";
|
|
5650
5650
|
avgLogProbability: number;
|
|
5651
5651
|
noSpeechProbability: number;
|
|
5652
5652
|
words: {
|
|
5653
|
-
startMs: number;
|
|
5654
|
-
endMs: number;
|
|
5655
5653
|
text: string;
|
|
5656
5654
|
timing: "estimated";
|
|
5655
|
+
startMs: number;
|
|
5656
|
+
endMs: number;
|
|
5657
5657
|
probability: number;
|
|
5658
5658
|
}[];
|
|
5659
5659
|
}>, "many">;
|
|
@@ -5668,6 +5668,7 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5668
5668
|
manifestUrl: z.ZodString;
|
|
5669
5669
|
}, "strip", z.ZodTypeAny, {
|
|
5670
5670
|
status: "no_audio" | "no_speech_detected" | "transcribed";
|
|
5671
|
+
text: string;
|
|
5671
5672
|
version: 1;
|
|
5672
5673
|
operation: "transcribe_audio";
|
|
5673
5674
|
source: {
|
|
@@ -5685,10 +5686,9 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5685
5686
|
};
|
|
5686
5687
|
manifestUrl: string;
|
|
5687
5688
|
warnings: string[];
|
|
5688
|
-
text: string;
|
|
5689
5689
|
model: {
|
|
5690
|
-
sha256: Record<string, string>;
|
|
5691
5690
|
name: string;
|
|
5691
|
+
sha256: Record<string, string>;
|
|
5692
5692
|
runtime: string;
|
|
5693
5693
|
device: "cpu";
|
|
5694
5694
|
repository: string;
|
|
@@ -5715,18 +5715,18 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5715
5715
|
sampleRoundingToleranceMs: number;
|
|
5716
5716
|
};
|
|
5717
5717
|
segments: {
|
|
5718
|
+
text: string;
|
|
5719
|
+
timing: "estimated";
|
|
5718
5720
|
startMs: number;
|
|
5719
5721
|
endMs: number;
|
|
5720
5722
|
index: number;
|
|
5721
|
-
text: string;
|
|
5722
|
-
timing: "estimated";
|
|
5723
5723
|
avgLogProbability: number;
|
|
5724
5724
|
noSpeechProbability: number;
|
|
5725
5725
|
words: {
|
|
5726
|
-
startMs: number;
|
|
5727
|
-
endMs: number;
|
|
5728
5726
|
text: string;
|
|
5729
5727
|
timing: "estimated";
|
|
5728
|
+
startMs: number;
|
|
5729
|
+
endMs: number;
|
|
5730
5730
|
probability: number;
|
|
5731
5731
|
}[];
|
|
5732
5732
|
}[];
|
|
@@ -5739,6 +5739,7 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5739
5739
|
audioPreviewUrl?: string | undefined;
|
|
5740
5740
|
}, {
|
|
5741
5741
|
status: "no_audio" | "no_speech_detected" | "transcribed";
|
|
5742
|
+
text: string;
|
|
5742
5743
|
version: 1;
|
|
5743
5744
|
operation: "transcribe_audio";
|
|
5744
5745
|
source: {
|
|
@@ -5756,10 +5757,9 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5756
5757
|
};
|
|
5757
5758
|
manifestUrl: string;
|
|
5758
5759
|
warnings: string[];
|
|
5759
|
-
text: string;
|
|
5760
5760
|
model: {
|
|
5761
|
-
sha256: Record<string, string>;
|
|
5762
5761
|
name: string;
|
|
5762
|
+
sha256: Record<string, string>;
|
|
5763
5763
|
runtime: string;
|
|
5764
5764
|
device: "cpu";
|
|
5765
5765
|
repository: string;
|
|
@@ -5786,18 +5786,18 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
5786
5786
|
sampleRoundingToleranceMs: number;
|
|
5787
5787
|
};
|
|
5788
5788
|
segments: {
|
|
5789
|
+
text: string;
|
|
5790
|
+
timing: "estimated";
|
|
5789
5791
|
startMs: number;
|
|
5790
5792
|
endMs: number;
|
|
5791
5793
|
index: number;
|
|
5792
|
-
text: string;
|
|
5793
|
-
timing: "estimated";
|
|
5794
5794
|
avgLogProbability: number;
|
|
5795
5795
|
noSpeechProbability: number;
|
|
5796
5796
|
words: {
|
|
5797
|
-
startMs: number;
|
|
5798
|
-
endMs: number;
|
|
5799
5797
|
text: string;
|
|
5800
5798
|
timing: "estimated";
|
|
5799
|
+
startMs: number;
|
|
5800
|
+
endMs: number;
|
|
5801
5801
|
probability: number;
|
|
5802
5802
|
}[];
|
|
5803
5803
|
}[];
|
|
@@ -6460,13 +6460,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6460
6460
|
bottom: number;
|
|
6461
6461
|
}>>;
|
|
6462
6462
|
}, "strip", z.ZodTypeAny, {
|
|
6463
|
+
id: string;
|
|
6463
6464
|
box: {
|
|
6464
6465
|
width: number;
|
|
6465
6466
|
height: number;
|
|
6466
6467
|
x: number;
|
|
6467
6468
|
y: number;
|
|
6468
6469
|
} | null;
|
|
6469
|
-
id: string;
|
|
6470
6470
|
geometry: "box" | "mask";
|
|
6471
6471
|
normalizedBox: {
|
|
6472
6472
|
width: number;
|
|
@@ -6492,13 +6492,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6492
6492
|
bottom: number;
|
|
6493
6493
|
} | null;
|
|
6494
6494
|
}, {
|
|
6495
|
+
id: string;
|
|
6495
6496
|
box: {
|
|
6496
6497
|
width: number;
|
|
6497
6498
|
height: number;
|
|
6498
6499
|
x: number;
|
|
6499
6500
|
y: number;
|
|
6500
6501
|
} | null;
|
|
6501
|
-
id: string;
|
|
6502
6502
|
geometry: "box" | "mask";
|
|
6503
6503
|
normalizedBox: {
|
|
6504
6504
|
width: number;
|
|
@@ -6626,13 +6626,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6626
6626
|
coordinates: "display-oriented-source-pixels";
|
|
6627
6627
|
previewUrl: string;
|
|
6628
6628
|
elements: {
|
|
6629
|
+
id: string;
|
|
6629
6630
|
box: {
|
|
6630
6631
|
width: number;
|
|
6631
6632
|
height: number;
|
|
6632
6633
|
x: number;
|
|
6633
6634
|
y: number;
|
|
6634
6635
|
} | null;
|
|
6635
|
-
id: string;
|
|
6636
6636
|
geometry: "box" | "mask";
|
|
6637
6637
|
normalizedBox: {
|
|
6638
6638
|
width: number;
|
|
@@ -6698,13 +6698,13 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6698
6698
|
coordinates: "display-oriented-source-pixels";
|
|
6699
6699
|
previewUrl: string;
|
|
6700
6700
|
elements: {
|
|
6701
|
+
id: string;
|
|
6701
6702
|
box: {
|
|
6702
6703
|
width: number;
|
|
6703
6704
|
height: number;
|
|
6704
6705
|
x: number;
|
|
6705
6706
|
y: number;
|
|
6706
6707
|
} | null;
|
|
6707
|
-
id: string;
|
|
6708
6708
|
geometry: "box" | "mask";
|
|
6709
6709
|
normalizedBox: {
|
|
6710
6710
|
width: number;
|
|
@@ -6855,17 +6855,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6855
6855
|
paddingLeft: z.ZodNumber;
|
|
6856
6856
|
}, "strip", z.ZodTypeAny, {
|
|
6857
6857
|
type: "text";
|
|
6858
|
+
id: string;
|
|
6859
|
+
text: string;
|
|
6858
6860
|
width: number;
|
|
6859
6861
|
height: number;
|
|
6860
6862
|
x: number;
|
|
6861
6863
|
y: number;
|
|
6862
|
-
id: string;
|
|
6863
|
-
text: string;
|
|
6864
6864
|
zIndex: number;
|
|
6865
6865
|
textIsVariable: false;
|
|
6866
6866
|
font: "tiktok" | "arial" | "apple";
|
|
6867
6867
|
fontSize: number;
|
|
6868
|
-
fontWeight: 400 | 500 | 600 |
|
|
6868
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
6869
6869
|
color: string;
|
|
6870
6870
|
strokeColor: string;
|
|
6871
6871
|
outlineWidth: number;
|
|
@@ -6880,17 +6880,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6880
6880
|
paddingLeft: number;
|
|
6881
6881
|
}, {
|
|
6882
6882
|
type: "text";
|
|
6883
|
+
id: string;
|
|
6884
|
+
text: string;
|
|
6883
6885
|
width: number;
|
|
6884
6886
|
height: number;
|
|
6885
6887
|
x: number;
|
|
6886
6888
|
y: number;
|
|
6887
|
-
id: string;
|
|
6888
|
-
text: string;
|
|
6889
6889
|
zIndex: number;
|
|
6890
6890
|
textIsVariable: false;
|
|
6891
6891
|
font: "tiktok" | "arial" | "apple";
|
|
6892
6892
|
fontSize: number;
|
|
6893
|
-
fontWeight: 400 | 500 | 600 |
|
|
6893
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
6894
6894
|
color: string;
|
|
6895
6895
|
strokeColor: string;
|
|
6896
6896
|
outlineWidth: number;
|
|
@@ -6936,17 +6936,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6936
6936
|
paddingLeft: z.ZodNumber;
|
|
6937
6937
|
}, "strip", z.ZodTypeAny, {
|
|
6938
6938
|
type: "text";
|
|
6939
|
+
id: string;
|
|
6940
|
+
text: string;
|
|
6939
6941
|
width: number;
|
|
6940
6942
|
height: number;
|
|
6941
6943
|
x: number;
|
|
6942
6944
|
y: number;
|
|
6943
|
-
id: string;
|
|
6944
|
-
text: string;
|
|
6945
6945
|
zIndex: number;
|
|
6946
6946
|
textIsVariable: false;
|
|
6947
6947
|
font: "tiktok" | "arial" | "apple";
|
|
6948
6948
|
fontSize: number;
|
|
6949
|
-
fontWeight: 400 | 500 | 600 |
|
|
6949
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
6950
6950
|
color: string;
|
|
6951
6951
|
strokeColor: string;
|
|
6952
6952
|
outlineWidth: number;
|
|
@@ -6961,17 +6961,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6961
6961
|
paddingLeft: number;
|
|
6962
6962
|
}, {
|
|
6963
6963
|
type: "text";
|
|
6964
|
+
id: string;
|
|
6965
|
+
text: string;
|
|
6964
6966
|
width: number;
|
|
6965
6967
|
height: number;
|
|
6966
6968
|
x: number;
|
|
6967
6969
|
y: number;
|
|
6968
|
-
id: string;
|
|
6969
|
-
text: string;
|
|
6970
6970
|
zIndex: number;
|
|
6971
6971
|
textIsVariable: false;
|
|
6972
6972
|
font: "tiktok" | "arial" | "apple";
|
|
6973
6973
|
fontSize: number;
|
|
6974
|
-
fontWeight: 400 | 500 | 600 |
|
|
6974
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
6975
6975
|
color: string;
|
|
6976
6976
|
strokeColor: string;
|
|
6977
6977
|
outlineWidth: number;
|
|
@@ -6992,17 +6992,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
6992
6992
|
height: number;
|
|
6993
6993
|
elements: {
|
|
6994
6994
|
type: "text";
|
|
6995
|
+
id: string;
|
|
6996
|
+
text: string;
|
|
6995
6997
|
width: number;
|
|
6996
6998
|
height: number;
|
|
6997
6999
|
x: number;
|
|
6998
7000
|
y: number;
|
|
6999
|
-
id: string;
|
|
7000
|
-
text: string;
|
|
7001
7001
|
zIndex: number;
|
|
7002
7002
|
textIsVariable: false;
|
|
7003
7003
|
font: "tiktok" | "arial" | "apple";
|
|
7004
7004
|
fontSize: number;
|
|
7005
|
-
fontWeight: 400 | 500 | 600 |
|
|
7005
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7006
7006
|
color: string;
|
|
7007
7007
|
strokeColor: string;
|
|
7008
7008
|
outlineWidth: number;
|
|
@@ -7025,17 +7025,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7025
7025
|
height: number;
|
|
7026
7026
|
elements: {
|
|
7027
7027
|
type: "text";
|
|
7028
|
+
id: string;
|
|
7029
|
+
text: string;
|
|
7028
7030
|
width: number;
|
|
7029
7031
|
height: number;
|
|
7030
7032
|
x: number;
|
|
7031
7033
|
y: number;
|
|
7032
|
-
id: string;
|
|
7033
|
-
text: string;
|
|
7034
7034
|
zIndex: number;
|
|
7035
7035
|
textIsVariable: false;
|
|
7036
7036
|
font: "tiktok" | "arial" | "apple";
|
|
7037
7037
|
fontSize: number;
|
|
7038
|
-
fontWeight: 400 | 500 | 600 |
|
|
7038
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7039
7039
|
color: string;
|
|
7040
7040
|
strokeColor: string;
|
|
7041
7041
|
outlineWidth: number;
|
|
@@ -7061,17 +7061,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7061
7061
|
}, "strip", z.ZodTypeAny, {
|
|
7062
7062
|
element: {
|
|
7063
7063
|
type: "text";
|
|
7064
|
+
id: string;
|
|
7065
|
+
text: string;
|
|
7064
7066
|
width: number;
|
|
7065
7067
|
height: number;
|
|
7066
7068
|
x: number;
|
|
7067
7069
|
y: number;
|
|
7068
|
-
id: string;
|
|
7069
|
-
text: string;
|
|
7070
7070
|
zIndex: number;
|
|
7071
7071
|
textIsVariable: false;
|
|
7072
7072
|
font: "tiktok" | "arial" | "apple";
|
|
7073
7073
|
fontSize: number;
|
|
7074
|
-
fontWeight: 400 | 500 | 600 |
|
|
7074
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7075
7075
|
color: string;
|
|
7076
7076
|
strokeColor: string;
|
|
7077
7077
|
outlineWidth: number;
|
|
@@ -7090,17 +7090,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7090
7090
|
height: number;
|
|
7091
7091
|
elements: {
|
|
7092
7092
|
type: "text";
|
|
7093
|
+
id: string;
|
|
7094
|
+
text: string;
|
|
7093
7095
|
width: number;
|
|
7094
7096
|
height: number;
|
|
7095
7097
|
x: number;
|
|
7096
7098
|
y: number;
|
|
7097
|
-
id: string;
|
|
7098
|
-
text: string;
|
|
7099
7099
|
zIndex: number;
|
|
7100
7100
|
textIsVariable: false;
|
|
7101
7101
|
font: "tiktok" | "arial" | "apple";
|
|
7102
7102
|
fontSize: number;
|
|
7103
|
-
fontWeight: 400 | 500 | 600 |
|
|
7103
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7104
7104
|
color: string;
|
|
7105
7105
|
strokeColor: string;
|
|
7106
7106
|
outlineWidth: number;
|
|
@@ -7126,17 +7126,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7126
7126
|
}, {
|
|
7127
7127
|
element: {
|
|
7128
7128
|
type: "text";
|
|
7129
|
+
id: string;
|
|
7130
|
+
text: string;
|
|
7129
7131
|
width: number;
|
|
7130
7132
|
height: number;
|
|
7131
7133
|
x: number;
|
|
7132
7134
|
y: number;
|
|
7133
|
-
id: string;
|
|
7134
|
-
text: string;
|
|
7135
7135
|
zIndex: number;
|
|
7136
7136
|
textIsVariable: false;
|
|
7137
7137
|
font: "tiktok" | "arial" | "apple";
|
|
7138
7138
|
fontSize: number;
|
|
7139
|
-
fontWeight: 400 | 500 | 600 |
|
|
7139
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7140
7140
|
color: string;
|
|
7141
7141
|
strokeColor: string;
|
|
7142
7142
|
outlineWidth: number;
|
|
@@ -7155,17 +7155,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7155
7155
|
height: number;
|
|
7156
7156
|
elements: {
|
|
7157
7157
|
type: "text";
|
|
7158
|
+
id: string;
|
|
7159
|
+
text: string;
|
|
7158
7160
|
width: number;
|
|
7159
7161
|
height: number;
|
|
7160
7162
|
x: number;
|
|
7161
7163
|
y: number;
|
|
7162
|
-
id: string;
|
|
7163
|
-
text: string;
|
|
7164
7164
|
zIndex: number;
|
|
7165
7165
|
textIsVariable: false;
|
|
7166
7166
|
font: "tiktok" | "arial" | "apple";
|
|
7167
7167
|
fontSize: number;
|
|
7168
|
-
fontWeight: 400 | 500 | 600 |
|
|
7168
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7169
7169
|
color: string;
|
|
7170
7170
|
strokeColor: string;
|
|
7171
7171
|
outlineWidth: number;
|
|
@@ -7196,6 +7196,7 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7196
7196
|
manifestUrl: z.ZodString;
|
|
7197
7197
|
}, "strip", z.ZodTypeAny, {
|
|
7198
7198
|
status: "unavailable" | "fitted";
|
|
7199
|
+
text: string | null;
|
|
7199
7200
|
version: 1;
|
|
7200
7201
|
operation: "match_text_style";
|
|
7201
7202
|
source: {
|
|
@@ -7218,7 +7219,6 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7218
7219
|
};
|
|
7219
7220
|
manifestUrl: string;
|
|
7220
7221
|
warnings: string[];
|
|
7221
|
-
text: string | null;
|
|
7222
7222
|
previewUrl: string;
|
|
7223
7223
|
surface: "image-editor-element";
|
|
7224
7224
|
reason: string | null;
|
|
@@ -7234,17 +7234,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7234
7234
|
candidates: {
|
|
7235
7235
|
element: {
|
|
7236
7236
|
type: "text";
|
|
7237
|
+
id: string;
|
|
7238
|
+
text: string;
|
|
7237
7239
|
width: number;
|
|
7238
7240
|
height: number;
|
|
7239
7241
|
x: number;
|
|
7240
7242
|
y: number;
|
|
7241
|
-
id: string;
|
|
7242
|
-
text: string;
|
|
7243
7243
|
zIndex: number;
|
|
7244
7244
|
textIsVariable: false;
|
|
7245
7245
|
font: "tiktok" | "arial" | "apple";
|
|
7246
7246
|
fontSize: number;
|
|
7247
|
-
fontWeight: 400 | 500 | 600 |
|
|
7247
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7248
7248
|
color: string;
|
|
7249
7249
|
strokeColor: string;
|
|
7250
7250
|
outlineWidth: number;
|
|
@@ -7263,17 +7263,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7263
7263
|
height: number;
|
|
7264
7264
|
elements: {
|
|
7265
7265
|
type: "text";
|
|
7266
|
+
id: string;
|
|
7267
|
+
text: string;
|
|
7266
7268
|
width: number;
|
|
7267
7269
|
height: number;
|
|
7268
7270
|
x: number;
|
|
7269
7271
|
y: number;
|
|
7270
|
-
id: string;
|
|
7271
|
-
text: string;
|
|
7272
7272
|
zIndex: number;
|
|
7273
7273
|
textIsVariable: false;
|
|
7274
7274
|
font: "tiktok" | "arial" | "apple";
|
|
7275
7275
|
fontSize: number;
|
|
7276
|
-
fontWeight: 400 | 500 | 600 |
|
|
7276
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7277
7277
|
color: string;
|
|
7278
7278
|
strokeColor: string;
|
|
7279
7279
|
outlineWidth: number;
|
|
@@ -7300,6 +7300,7 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7300
7300
|
renders: number;
|
|
7301
7301
|
}, {
|
|
7302
7302
|
status: "unavailable" | "fitted";
|
|
7303
|
+
text: string | null;
|
|
7303
7304
|
version: 1;
|
|
7304
7305
|
operation: "match_text_style";
|
|
7305
7306
|
source: {
|
|
@@ -7322,7 +7323,6 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7322
7323
|
};
|
|
7323
7324
|
manifestUrl: string;
|
|
7324
7325
|
warnings: string[];
|
|
7325
|
-
text: string | null;
|
|
7326
7326
|
previewUrl: string;
|
|
7327
7327
|
surface: "image-editor-element";
|
|
7328
7328
|
reason: string | null;
|
|
@@ -7338,17 +7338,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7338
7338
|
candidates: {
|
|
7339
7339
|
element: {
|
|
7340
7340
|
type: "text";
|
|
7341
|
+
id: string;
|
|
7342
|
+
text: string;
|
|
7341
7343
|
width: number;
|
|
7342
7344
|
height: number;
|
|
7343
7345
|
x: number;
|
|
7344
7346
|
y: number;
|
|
7345
|
-
id: string;
|
|
7346
|
-
text: string;
|
|
7347
7347
|
zIndex: number;
|
|
7348
7348
|
textIsVariable: false;
|
|
7349
7349
|
font: "tiktok" | "arial" | "apple";
|
|
7350
7350
|
fontSize: number;
|
|
7351
|
-
fontWeight: 400 | 500 | 600 |
|
|
7351
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7352
7352
|
color: string;
|
|
7353
7353
|
strokeColor: string;
|
|
7354
7354
|
outlineWidth: number;
|
|
@@ -7367,17 +7367,17 @@ export declare const mediaAnalysisResultSchema: z.ZodDiscriminatedUnion<"operati
|
|
|
7367
7367
|
height: number;
|
|
7368
7368
|
elements: {
|
|
7369
7369
|
type: "text";
|
|
7370
|
+
id: string;
|
|
7371
|
+
text: string;
|
|
7370
7372
|
width: number;
|
|
7371
7373
|
height: number;
|
|
7372
7374
|
x: number;
|
|
7373
7375
|
y: number;
|
|
7374
|
-
id: string;
|
|
7375
|
-
text: string;
|
|
7376
7376
|
zIndex: number;
|
|
7377
7377
|
textIsVariable: false;
|
|
7378
7378
|
font: "tiktok" | "arial" | "apple";
|
|
7379
7379
|
fontSize: number;
|
|
7380
|
-
fontWeight: 400 | 500 | 600 |
|
|
7380
|
+
fontWeight: 700 | 400 | 500 | 600 | 800 | 900;
|
|
7381
7381
|
color: string;
|
|
7382
7382
|
strokeColor: string;
|
|
7383
7383
|
outlineWidth: number;
|