transloadit 6.1.2 → 6.2.1
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 +14 -0
- package/dist/alphalib/stepParsing.d.ts +1 -0
- package/dist/alphalib/stepParsing.d.ts.map +1 -1
- package/dist/alphalib/stepParsing.js +15 -4
- package/dist/alphalib/stepParsing.js.map +1 -1
- package/dist/alphalib/types/builtinTemplates.d.ts +40 -0
- package/dist/alphalib/types/builtinTemplates.d.ts.map +1 -1
- package/dist/alphalib/types/builtinTemplates.js +29 -0
- package/dist/alphalib/types/builtinTemplates.js.map +1 -1
- package/dist/alphalib/types/responseErrors/DocumentConvertRobot.d.ts +17 -0
- package/dist/alphalib/types/responseErrors/DocumentConvertRobot.d.ts.map +1 -0
- package/dist/alphalib/types/responseErrors/DocumentConvertRobot.js +17 -0
- package/dist/alphalib/types/responseErrors/DocumentConvertRobot.js.map +1 -0
- package/dist/alphalib/types/robots/document-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-convert.js +19 -0
- package/dist/alphalib/types/robots/document-convert.js.map +1 -1
- package/dist/alphalib/types/robots/document-extract.d.ts +32 -20
- package/dist/alphalib/types/robots/document-extract.d.ts.map +1 -1
- package/dist/alphalib/types/robots/document-extract.js +51 -1
- package/dist/alphalib/types/robots/document-extract.js.map +1 -1
- package/dist/alphalib/types/robots/html-convert.d.ts.map +1 -1
- package/dist/alphalib/types/robots/html-convert.js +1 -0
- package/dist/alphalib/types/robots/html-convert.js.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.d.ts +14 -0
- package/dist/alphalib/types/robots/speech-transcribe.d.ts.map +1 -1
- package/dist/alphalib/types/robots/speech-transcribe.js +42 -2
- package/dist/alphalib/types/robots/speech-transcribe.js.map +1 -1
- package/dist/alphalib/types/robots/video-split.d.ts +11 -0
- package/dist/alphalib/types/robots/video-split.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-split.js +2 -1
- package/dist/alphalib/types/robots/video-split.js.map +1 -1
- package/dist/alphalib/types/robots/video-subtitle.d.ts +24 -24
- package/dist/alphalib/types/robots/video-subtitle.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-subtitle.js +12 -11
- package/dist/alphalib/types/robots/video-subtitle.js.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.d.ts +36 -36
- package/dist/alphalib/types/robots/video-thumbs.d.ts.map +1 -1
- package/dist/alphalib/types/robots/video-thumbs.js +8 -3
- package/dist/alphalib/types/robots/video-thumbs.js.map +1 -1
- package/dist/alphalib/types/template.d.ts.map +1 -1
- package/dist/alphalib/types/template.js +5 -2
- package/dist/alphalib/types/template.js.map +1 -1
- package/dist/cli/commands/assemblies.js +3 -3
- package/dist/cli/commands/assemblies.js.map +1 -1
- package/dist/cli/commands/auth.d.ts.map +1 -1
- package/dist/cli/commands/auth.js +4 -3
- package/dist/cli/commands/auth.js.map +1 -1
- package/dist/cli/commands/templates.d.ts.map +1 -1
- package/dist/cli/commands/templates.js +11 -5
- package/dist/cli/commands/templates.js.map +1 -1
- package/dist/cli/stepsInput.d.ts +6 -2
- package/dist/cli/stepsInput.d.ts.map +1 -1
- package/dist/cli/stepsInput.js +24 -5
- package/dist/cli/stepsInput.js.map +1 -1
- package/dist/cli/types.d.ts +0 -1
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/types.js +0 -7
- package/dist/cli/types.js.map +1 -1
- package/package.json +1 -1
- package/src/alphalib/stepParsing.ts +16 -4
- package/src/alphalib/types/builtinTemplates.ts +37 -0
- package/src/alphalib/types/responseErrors/DocumentConvertRobot.ts +21 -0
- package/src/alphalib/types/robots/document-convert.ts +25 -0
- package/src/alphalib/types/robots/document-extract.ts +76 -0
- package/src/alphalib/types/robots/html-convert.ts +1 -0
- package/src/alphalib/types/robots/speech-transcribe.ts +47 -2
- package/src/alphalib/types/robots/video-split.ts +2 -1
- package/src/alphalib/types/robots/video-subtitle.ts +12 -11
- package/src/alphalib/types/robots/video-thumbs.ts +8 -3
- package/src/alphalib/types/template.ts +3 -0
- package/src/cli/commands/assemblies.ts +3 -3
- package/src/cli/commands/auth.ts +7 -2
- package/src/cli/commands/templates.ts +13 -6
- package/src/cli/stepsInput.ts +34 -5
- package/src/cli/types.ts +0 -9
|
@@ -440,10 +440,10 @@ export declare const robotVideoSubtitleInstructionsSchema: z.ZodObject<{
|
|
|
440
440
|
max_words_per_caption: z.ZodDefault<z.ZodNumber>;
|
|
441
441
|
border_style: z.ZodDefault<z.ZodEnum<["box", "outline", "shadow"]>>;
|
|
442
442
|
border_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
443
|
-
font: z.
|
|
443
|
+
font: z.ZodOptional<z.ZodString>;
|
|
444
444
|
font_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
445
|
-
font_size: z.
|
|
446
|
-
bold: z.
|
|
445
|
+
font_size: z.ZodOptional<z.ZodNumber>;
|
|
446
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
447
447
|
italic: z.ZodDefault<z.ZodBoolean>;
|
|
448
448
|
outline_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
449
449
|
position: z.ZodDefault<z.ZodEnum<["bottom", "bottom-left", "bottom-right", "center", "left", "right", "top", "top-left", "top-right"]>>;
|
|
@@ -451,7 +451,6 @@ export declare const robotVideoSubtitleInstructionsSchema: z.ZodObject<{
|
|
|
451
451
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
452
452
|
keep_subtitles: z.ZodDefault<z.ZodBoolean>;
|
|
453
453
|
}, "strict", z.ZodTypeAny, {
|
|
454
|
-
bold: boolean;
|
|
455
454
|
user_meta: Record<string, unknown>;
|
|
456
455
|
robot: "/video/subtitle";
|
|
457
456
|
result: boolean;
|
|
@@ -459,8 +458,6 @@ export declare const robotVideoSubtitleInstructionsSchema: z.ZodObject<{
|
|
|
459
458
|
ignore_errors: string[];
|
|
460
459
|
ffmpeg_stack: string;
|
|
461
460
|
border_color: string;
|
|
462
|
-
font: string;
|
|
463
|
-
font_size: number;
|
|
464
461
|
font_color: string;
|
|
465
462
|
subtitles_type: "burned" | "external";
|
|
466
463
|
highlight_color: string;
|
|
@@ -469,6 +466,7 @@ export declare const robotVideoSubtitleInstructionsSchema: z.ZodObject<{
|
|
|
469
466
|
italic: boolean;
|
|
470
467
|
position: "left" | "right" | "bottom" | "bottom-left" | "bottom-right" | "center" | "top" | "top-left" | "top-right";
|
|
471
468
|
keep_subtitles: boolean;
|
|
469
|
+
bold?: boolean | undefined;
|
|
472
470
|
name?: string | null | undefined;
|
|
473
471
|
width?: number | null | undefined;
|
|
474
472
|
height?: number | null | undefined;
|
|
@@ -612,6 +610,8 @@ export declare const robotVideoSubtitleInstructionsSchema: z.ZodObject<{
|
|
|
612
610
|
output_meta?: boolean | string[] | Record<string, boolean> | undefined;
|
|
613
611
|
preset?: "flash" | "empty" | "aac" | "alac" | "audio/aac" | "audio/alac" | "audio/flac" | "audio/mp3" | "audio/ogg" | "dash-32k-audio" | "dash-64k-audio" | "dash-128k-audio" | "dash-256k-audio" | "dash/32k-audio" | "dash/64k-audio" | "dash/128k-audio" | "dash/256k-audio" | "flac" | "hg-transformers-audio" | "mp3" | "ogg" | "opus" | "speech" | "wav" | "android" | "android-high" | "android-low" | "dash-270p-video" | "dash-360p-video" | "dash-480p-video" | "dash-540p-video" | "dash-576p-video" | "dash-720p-video" | "dash-1080p-video" | "dash/270p-video" | "dash/360p-video" | "dash/480p-video" | "dash/540p-video" | "dash/576p-video" | "dash/720p-video" | "dash/1080p-video" | "gif" | "hevc" | "hls-270p" | "hls-360p" | "hls-480p" | "hls-540p" | "hls-576p" | "hls-720p" | "hls-1080p" | "hls/270p" | "hls/360p" | "hls/480p" | "hls/540p" | "hls/720p" | "hls/1080p" | "hls/4k" | "ipad" | "ipad-high" | "ipad-low" | "iphone" | "iphone-high" | "iphone-low" | "ogv" | "vod/270p" | "vod/480p" | "vod/720p" | "vod/1080p" | "vp9" | "vp9-270p" | "vp9-360p" | "vp9-480p" | "vp9-540p" | "vp9-576p" | "vp9-720p" | "vp9-1080p" | "web/mp4-x265/240p" | "web/mp4-x265/360p" | "web/mp4-x265/480p" | "web/mp4-x265/720p" | "web/mp4-x265/1080p" | "web/mp4-x265/4k" | "web/mp4-x265/8k" | "web/mp4/240p" | "web/mp4/360p" | "web/mp4/480p" | "web/mp4/540p" | "web/mp4/720p" | "web/mp4/1080p" | "web/mp4/4k" | "web/mp4/8k" | "web/webm-av1/240p" | "web/webm-av1/360p" | "web/webm-av1/480p" | "web/webm-av1/720p" | "web/webm-av1/1080p" | "web/webm-av1/4k" | "web/webm-av1/8k" | "web/webm/240p" | "web/webm/360p" | "web/webm/480p" | "web/webm/720p" | "web/webm/1080p" | "web/webm/4k" | "web/webm/8k" | "webm" | "webm-270p" | "webm-360p" | "webm-480p" | "webm-540p" | "webm-576p" | "webm-720p" | "webm-1080p" | "wmv" | undefined;
|
|
614
612
|
style?: "social" | undefined;
|
|
613
|
+
font?: string | undefined;
|
|
614
|
+
font_size?: number | undefined;
|
|
615
615
|
outline_width?: number | null | undefined;
|
|
616
616
|
language?: string | null | undefined;
|
|
617
617
|
}, {
|
|
@@ -1207,10 +1207,10 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1207
1207
|
max_words_per_caption: z.ZodDefault<z.ZodNumber>;
|
|
1208
1208
|
border_style: z.ZodDefault<z.ZodEnum<["box", "outline", "shadow"]>>;
|
|
1209
1209
|
border_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1210
|
-
font: z.
|
|
1210
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1211
1211
|
font_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1212
|
-
font_size: z.
|
|
1213
|
-
bold: z.
|
|
1212
|
+
font_size: z.ZodOptional<z.ZodNumber>;
|
|
1213
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1214
1214
|
italic: z.ZodDefault<z.ZodBoolean>;
|
|
1215
1215
|
outline_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1216
1216
|
position: z.ZodDefault<z.ZodEnum<["bottom", "bottom-left", "bottom-right", "center", "left", "right", "top", "top-left", "top-right"]>>;
|
|
@@ -1220,15 +1220,12 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1220
1220
|
} & {
|
|
1221
1221
|
result: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"debug">, z.ZodDefault<z.ZodBoolean>]>>;
|
|
1222
1222
|
}, "strict", z.ZodTypeAny, {
|
|
1223
|
-
bold: boolean;
|
|
1224
1223
|
user_meta: Record<string, unknown>;
|
|
1225
1224
|
robot: "/video/subtitle";
|
|
1226
1225
|
force_accept: boolean;
|
|
1227
1226
|
ignore_errors: string[];
|
|
1228
1227
|
ffmpeg_stack: string;
|
|
1229
1228
|
border_color: string;
|
|
1230
|
-
font: string;
|
|
1231
|
-
font_size: number;
|
|
1232
1229
|
font_color: string;
|
|
1233
1230
|
subtitles_type: "burned" | "external";
|
|
1234
1231
|
highlight_color: string;
|
|
@@ -1237,6 +1234,7 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1237
1234
|
italic: boolean;
|
|
1238
1235
|
position: "left" | "right" | "bottom" | "bottom-left" | "bottom-right" | "center" | "top" | "top-left" | "top-right";
|
|
1239
1236
|
keep_subtitles: boolean;
|
|
1237
|
+
bold?: boolean | undefined;
|
|
1240
1238
|
name?: string | null | undefined;
|
|
1241
1239
|
width?: number | null | undefined;
|
|
1242
1240
|
height?: number | null | undefined;
|
|
@@ -1381,6 +1379,8 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1381
1379
|
result?: boolean | "debug" | undefined;
|
|
1382
1380
|
preset?: "flash" | "empty" | "aac" | "alac" | "audio/aac" | "audio/alac" | "audio/flac" | "audio/mp3" | "audio/ogg" | "dash-32k-audio" | "dash-64k-audio" | "dash-128k-audio" | "dash-256k-audio" | "dash/32k-audio" | "dash/64k-audio" | "dash/128k-audio" | "dash/256k-audio" | "flac" | "hg-transformers-audio" | "mp3" | "ogg" | "opus" | "speech" | "wav" | "android" | "android-high" | "android-low" | "dash-270p-video" | "dash-360p-video" | "dash-480p-video" | "dash-540p-video" | "dash-576p-video" | "dash-720p-video" | "dash-1080p-video" | "dash/270p-video" | "dash/360p-video" | "dash/480p-video" | "dash/540p-video" | "dash/576p-video" | "dash/720p-video" | "dash/1080p-video" | "gif" | "hevc" | "hls-270p" | "hls-360p" | "hls-480p" | "hls-540p" | "hls-576p" | "hls-720p" | "hls-1080p" | "hls/270p" | "hls/360p" | "hls/480p" | "hls/540p" | "hls/720p" | "hls/1080p" | "hls/4k" | "ipad" | "ipad-high" | "ipad-low" | "iphone" | "iphone-high" | "iphone-low" | "ogv" | "vod/270p" | "vod/480p" | "vod/720p" | "vod/1080p" | "vp9" | "vp9-270p" | "vp9-360p" | "vp9-480p" | "vp9-540p" | "vp9-576p" | "vp9-720p" | "vp9-1080p" | "web/mp4-x265/240p" | "web/mp4-x265/360p" | "web/mp4-x265/480p" | "web/mp4-x265/720p" | "web/mp4-x265/1080p" | "web/mp4-x265/4k" | "web/mp4-x265/8k" | "web/mp4/240p" | "web/mp4/360p" | "web/mp4/480p" | "web/mp4/540p" | "web/mp4/720p" | "web/mp4/1080p" | "web/mp4/4k" | "web/mp4/8k" | "web/webm-av1/240p" | "web/webm-av1/360p" | "web/webm-av1/480p" | "web/webm-av1/720p" | "web/webm-av1/1080p" | "web/webm-av1/4k" | "web/webm-av1/8k" | "web/webm/240p" | "web/webm/360p" | "web/webm/480p" | "web/webm/720p" | "web/webm/1080p" | "web/webm/4k" | "web/webm/8k" | "webm" | "webm-270p" | "webm-360p" | "webm-480p" | "webm-540p" | "webm-576p" | "webm-720p" | "webm-1080p" | "wmv" | undefined;
|
|
1383
1381
|
style?: "social" | undefined;
|
|
1382
|
+
font?: string | undefined;
|
|
1383
|
+
font_size?: number | undefined;
|
|
1384
1384
|
outline_width?: number | null | undefined;
|
|
1385
1385
|
language?: string | null | undefined;
|
|
1386
1386
|
}, {
|
|
@@ -1975,10 +1975,10 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1975
1975
|
max_words_per_caption: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1976
1976
|
border_style: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["box", "outline", "shadow"]>]>>;
|
|
1977
1977
|
border_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1978
|
-
font: z.
|
|
1978
|
+
font: z.ZodOptional<z.ZodString>;
|
|
1979
1979
|
font_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1980
|
-
font_size: z.
|
|
1981
|
-
bold: z.
|
|
1980
|
+
font_size: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1981
|
+
bold: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1982
1982
|
italic: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1983
1983
|
outline_width: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1984
1984
|
position: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["bottom", "bottom-left", "bottom-right", "center", "left", "right", "top", "top-left", "top-right"]>]>>;
|
|
@@ -1986,7 +1986,6 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1986
1986
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1987
1987
|
keep_subtitles: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1988
1988
|
}, "strict", z.ZodTypeAny, {
|
|
1989
|
-
bold: string | boolean;
|
|
1990
1989
|
user_meta: Record<string, unknown>;
|
|
1991
1990
|
robot: "/video/subtitle";
|
|
1992
1991
|
result: string | boolean;
|
|
@@ -1994,8 +1993,6 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
1994
1993
|
ignore_errors: string | string[];
|
|
1995
1994
|
ffmpeg_stack: string;
|
|
1996
1995
|
border_color: string;
|
|
1997
|
-
font: string;
|
|
1998
|
-
font_size: string | number;
|
|
1999
1996
|
font_color: string;
|
|
2000
1997
|
subtitles_type: string;
|
|
2001
1998
|
highlight_color: string;
|
|
@@ -2004,6 +2001,7 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2004
2001
|
italic: string | boolean;
|
|
2005
2002
|
position: string;
|
|
2006
2003
|
keep_subtitles: string | boolean;
|
|
2004
|
+
bold?: string | boolean | undefined;
|
|
2007
2005
|
name?: string | null | undefined;
|
|
2008
2006
|
width?: string | number | null | undefined;
|
|
2009
2007
|
height?: string | number | null | undefined;
|
|
@@ -2147,6 +2145,8 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2147
2145
|
output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
|
|
2148
2146
|
preset?: string | undefined;
|
|
2149
2147
|
style?: string | undefined;
|
|
2148
|
+
font?: string | undefined;
|
|
2149
|
+
font_size?: string | number | undefined;
|
|
2150
2150
|
outline_width?: string | number | null | undefined;
|
|
2151
2151
|
language?: string | null | undefined;
|
|
2152
2152
|
}, {
|
|
@@ -2740,10 +2740,10 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2740
2740
|
max_words_per_caption: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2741
2741
|
border_style: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["box", "outline", "shadow"]>]>>;
|
|
2742
2742
|
border_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2743
|
-
font: z.
|
|
2743
|
+
font: z.ZodOptional<z.ZodString>;
|
|
2744
2744
|
font_color: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2745
|
-
font_size: z.
|
|
2746
|
-
bold: z.
|
|
2745
|
+
font_size: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2746
|
+
bold: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2747
2747
|
italic: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2748
2748
|
outline_width: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2749
2749
|
position: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["bottom", "bottom-left", "bottom-right", "center", "left", "right", "top", "top-left", "top-right"]>]>>;
|
|
@@ -2752,15 +2752,12 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2752
2752
|
keep_subtitles: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2753
2753
|
result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<"debug">]>, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>]>>;
|
|
2754
2754
|
}, "strict", z.ZodTypeAny, {
|
|
2755
|
-
bold: string | boolean;
|
|
2756
2755
|
user_meta: Record<string, unknown>;
|
|
2757
2756
|
robot: "/video/subtitle";
|
|
2758
2757
|
force_accept: string | boolean;
|
|
2759
2758
|
ignore_errors: string | string[];
|
|
2760
2759
|
ffmpeg_stack: string;
|
|
2761
2760
|
border_color: string;
|
|
2762
|
-
font: string;
|
|
2763
|
-
font_size: string | number;
|
|
2764
2761
|
font_color: string;
|
|
2765
2762
|
subtitles_type: string;
|
|
2766
2763
|
highlight_color: string;
|
|
@@ -2769,6 +2766,7 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2769
2766
|
italic: string | boolean;
|
|
2770
2767
|
position: string;
|
|
2771
2768
|
keep_subtitles: string | boolean;
|
|
2769
|
+
bold?: string | boolean | undefined;
|
|
2772
2770
|
name?: string | null | undefined;
|
|
2773
2771
|
width?: string | number | null | undefined;
|
|
2774
2772
|
height?: string | number | null | undefined;
|
|
@@ -2913,6 +2911,8 @@ export declare const robotVideoSubtitleInstructionsWithHiddenFieldsSchema: z.Zod
|
|
|
2913
2911
|
result?: string | boolean | undefined;
|
|
2914
2912
|
preset?: string | undefined;
|
|
2915
2913
|
style?: string | undefined;
|
|
2914
|
+
font?: string | undefined;
|
|
2915
|
+
font_size?: string | number | undefined;
|
|
2916
2916
|
outline_width?: string | number | null | undefined;
|
|
2917
2917
|
language?: string | null | undefined;
|
|
2918
2918
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-subtitle.d.ts","sourceRoot":"","sources":["../../../../src/alphalib/types/robots/video-subtitle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,uBAAuB,EACxB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkBvB,oFAAoF;AACpF,eAAO,MAAM,wBAAwB;;;;;CAOpC,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,cAmClB,CAAA;AAED,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;AAEnB,KAAK,YAAY,GAAG,uBAAuB,CAAC,OAAO,eAAe,CAAC,CAAA;AAEnE,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA;AACnE,MAAM,MAAM,8CAA8C,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AACzF,MAAM,MAAM,4CAA4C,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAA;AAC9F,MAAM,MAAM,iDAAiD,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAA;AACnG,MAAM,MAAM,4DAA4D,GACtE,YAAY,CAAC,4BAA4B,CAAC,CAAA;AAC5C,MAAM,MAAM,iEAAiE,GAC3E,YAAY,CAAC,2BAA2B,CAAC,CAAA"}
|
|
@@ -39,7 +39,7 @@ export const meta = {
|
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
|
-
example_code_description: 'Transcribe an uploaded video into timestamped words, then burn in uppercase social captions with the spoken word highlighted. Captions normally contain up to three words, breaking at sentence endings and pauses longer than 0.4 seconds.
|
|
42
|
+
example_code_description: 'Transcribe an uploaded video into timestamped words, then burn in uppercase social captions with the spoken word highlighted. Captions normally contain up to three words, breaking at sentence endings and pauses longer than 0.4 seconds. Social phrasing can use one extra word to keep a short phrase together or avoid a sentence-final orphan:',
|
|
43
43
|
purpose_sentence: 'adds subtitles and closed captions to videos',
|
|
44
44
|
purpose_verb: 'subtitle',
|
|
45
45
|
purpose_word: 'subtitle',
|
|
@@ -66,7 +66,7 @@ Determines if subtitles are added as a separate stream to the video (value \`"ex
|
|
|
66
66
|
.enum(['social'])
|
|
67
67
|
.optional()
|
|
68
68
|
.describe(`
|
|
69
|
-
Applies a ready-made appearance for burned subtitles: heavy Poppins text
|
|
69
|
+
Applies a ready-made appearance for burned subtitles: heavy Poppins text, a thick outline, and a soft black shadow. JSON captions render in uppercase in the lower third. By default, JSON font sizing uses the shorter side of the video and fits each caption within the safe width, preferring one line and using at most two. Words are never split. Each caption grows from 85% to full size over 120 milliseconds, then its words stay in place while the highlight changes color. The transcript file is preserved. Existing styling parameters override the preset; an explicit \`font_size\` disables automatic fitting. ASS files retain their own styles. With timestamped JSON from \`/speech/transcribe\`, the active word is highlighted until the next word or caption starts; other words use \`font_color\`. Trailing commas and periods are omitted from social JSON captions; question marks and exclamation marks are preserved. Word highlighting and grouping require JSON input.
|
|
70
70
|
`),
|
|
71
71
|
highlight_color: subtitleColorSchema.default('FFD60A').describe(`
|
|
72
72
|
The accent color of the active word in JSON subtitles. Only applies to burned JSON subtitles. With \`"style": "social"\`, the previous word stays highlighted through short gaps until the next word or caption starts. Without the social style, gaps use \`font_color\` for the entire caption.
|
|
@@ -79,7 +79,7 @@ ${subtitleColorDescription}
|
|
|
79
79
|
.min(1)
|
|
80
80
|
.default(3)
|
|
81
81
|
.describe(`
|
|
82
|
-
The target maximum number of timestamped JSON words shown in a caption. Captions break earlier at sentence-ending punctuation or pauses longer than 0.4 seconds. With \`"style": "social"\`, a trailing English function word such as “by,” “to,” or “the” moves to the next caption when possible,
|
|
82
|
+
The target maximum number of timestamped JSON words shown in a caption. Captions break earlier at sentence-ending punctuation or pauses longer than 0.4 seconds. With \`"style": "social"\`, a trailing English function word such as “by,” “to,” or “the” moves to the next caption when possible. Short phrases such as “line of code” can stay together, and a sentence-final single word can join the previous caption. These adjustments allow at most one extra word per caption, without crossing sentence endings or long pauses. Single-word captions are preserved when the limit is 1. A caption stays visible until the next caption starts when the pause is at most 0.4 seconds, and disappears at its last word’s end during longer pauses. Does not change SRT, VTT, or ASS cues.
|
|
83
83
|
`),
|
|
84
84
|
border_style: z
|
|
85
85
|
.enum(['box', 'outline', 'shadow'])
|
|
@@ -92,12 +92,13 @@ The color for the subtitle border. The default is opaque black. Only applies to
|
|
|
92
92
|
|
|
93
93
|
${subtitleColorDescription}
|
|
94
94
|
`),
|
|
95
|
+
// Preserve omitted appearance fields so parsing cannot override the selected style's defaults.
|
|
95
96
|
// TODO: Make font an enum
|
|
96
97
|
font: z
|
|
97
98
|
.string()
|
|
98
|
-
.
|
|
99
|
+
.optional()
|
|
99
100
|
.describe(`
|
|
100
|
-
The font family to use. Also includes boldness and style of the font. With \`"style": "social"\`, the default is
|
|
101
|
+
The font family to use. Also includes boldness and style of the font. The default is Arial. With \`"style": "social"\`, the default is ${videoSubtitleSocialStyle.font}, using its ExtraBold weight for JSON captions. An explicit font overrides the style.
|
|
101
102
|
|
|
102
103
|
[Here](/docs/supported-formats/fonts/) is a list of all supported fonts.
|
|
103
104
|
`),
|
|
@@ -110,15 +111,15 @@ ${subtitleColorDescription}
|
|
|
110
111
|
.number()
|
|
111
112
|
.int()
|
|
112
113
|
.min(1)
|
|
113
|
-
.
|
|
114
|
+
.optional()
|
|
114
115
|
.describe(`
|
|
115
|
-
Specifies the size of the text in the 288-pixel subtitle coordinate space, scaled with the video height. With \`"style": "social"\`, the default is
|
|
116
|
+
Specifies the size of the text in the 288-pixel subtitle coordinate space, scaled with the video height. The default is 16. With \`"style": "social"\`, the default is ${videoSubtitleSocialStyle.font_size}. For social JSON captions, an omitted value scales this default with the shorter side of the video, increases it by 18% for portrait video, and shrinks captions as needed to fit at most two lines. Poppins capital letters are about 7.5% of the shorter side before fitting, or about 9% for portrait video. An explicit value keeps height-relative sizing and disables automatic fitting.
|
|
116
117
|
`),
|
|
117
118
|
bold: z
|
|
118
119
|
.boolean()
|
|
119
|
-
.
|
|
120
|
+
.optional()
|
|
120
121
|
.describe(`
|
|
121
|
-
Specifies whether the subtitle text should be bold. Only applies to burned subtitles. With \`"style": "social"\`, the default is
|
|
122
|
+
Specifies whether the subtitle text should be bold. Only applies to burned subtitles. The default is \`false\`. With \`"style": "social"\`, the default is \`${videoSubtitleSocialStyle.bold}\`; an explicit \`false\` overrides the style.
|
|
122
123
|
`),
|
|
123
124
|
italic: z
|
|
124
125
|
.boolean()
|
|
@@ -134,10 +135,10 @@ Specifies whether the subtitle text should be italic. Only applies to burned sub
|
|
|
134
135
|
.optional()
|
|
135
136
|
.nullable()
|
|
136
137
|
.describe(`
|
|
137
|
-
Specifies the width of the text outline in the 288-pixel subtitle coordinate space, scaled with the video height. Numeric strings such as \`"4"\` are also accepted. Only applies to burned subtitles with \`"outline"\` or \`"box"\` border styles. If omitted or \`null\`, the default width is used (2 with \`"style": "social"\`,
|
|
138
|
+
Specifies the width of the text outline in the 288-pixel subtitle coordinate space, scaled with the video height. Numeric strings such as \`"4"\` are also accepted. Only applies to burned subtitles with \`"outline"\` or \`"box"\` border styles. If omitted or \`null\`, the default width is used (2 with \`"style": "social"\`, proportional to the final fitted font size for social JSON captions).
|
|
138
139
|
`),
|
|
139
140
|
position: positionSchema.default('bottom').describe(`
|
|
140
|
-
Specifies the position of the subtitles. With \`"style": "social"\`, the default bottom position places JSON captions in the lower third. An explicit value overrides the style.
|
|
141
|
+
Specifies the position of the subtitles. With \`"style": "social"\`, the default bottom position places JSON captions in the lower third, with extra bottom clearance on portrait video. An explicit value overrides the style.
|
|
141
142
|
`),
|
|
142
143
|
language: z
|
|
143
144
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-subtitle.js","sourceRoot":"","sources":["../../../../src/alphalib/types/robots/video-subtitle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,sBAAsB,GACvB,MAAM,+BAA+B,CAAA;AAEtC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC,CAAA;AAC5E,MAAM,wBAAwB,GAAG,2SAA2S,CAAA;AAE5U,oFAAoF;AACpF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,qFAAqF;IACrF,IAAI,EAAE,SAAS;IACf,uFAAuF;IACvF,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,IAAI;IACV,aAAa,EAAE,CAAC;CACjB,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAmB;IAClC,GAAG,sBAAsB;IACzB,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,KAAK,EAAE,oBAAoB;gBAC3B,GAAG,EAAE,WAAW;gBAChB,QAAQ,EAAE,KAAK;gBACf,MAAM,EAAE,MAAM;gBACd,eAAe,EAAE,OAAO;aACzB;YACD,SAAS,EAAE;gBACT,KAAK,EAAE,iBAAiB;gBACxB,GAAG,EAAE;oBACH,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE;wBAClC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,EAAE;qBACxC;iBACF;gBACD,cAAc,EAAE,QAAQ;gBACxB,MAAM,EAAE,OAAO;gBACf,KAAK,EAAE,QAAQ;gBACf,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC,kBAAkB;aACtD;SACF;KACF;IACD,wBAAwB,EACtB,
|
|
1
|
+
{"version":3,"file":"video-subtitle.js","sourceRoot":"","sources":["../../../../src/alphalib/types/robots/video-subtitle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,sBAAsB,GACvB,MAAM,+BAA+B,CAAA;AAEtC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE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|
@@ -434,10 +434,10 @@ export declare const robotVideoThumbsInstructionsSchema: z.ZodObject<{
|
|
|
434
434
|
} & {
|
|
435
435
|
robot: z.ZodLiteral<"/video/thumbs">;
|
|
436
436
|
count: z.ZodDefault<z.ZodNumber>;
|
|
437
|
-
offsets: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]
|
|
437
|
+
offsets: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>>>;
|
|
438
438
|
format: z.ZodDefault<z.ZodEnum<["jpeg", "jpg", "png"]>>;
|
|
439
|
-
width: z.ZodOptional<z.ZodNumber
|
|
440
|
-
height: z.ZodOptional<z.ZodNumber
|
|
439
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
440
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
441
441
|
resize_strategy: z.ZodDefault<z.ZodEnum<["crop", "fit", "fillcrop", "min_fit", "pad", "stretch"]>>;
|
|
442
442
|
background: z.ZodDefault<z.ZodString>;
|
|
443
443
|
rotate: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>, z.ZodLiteral<360>]>>;
|
|
@@ -458,9 +458,9 @@ export declare const robotVideoThumbsInstructionsSchema: z.ZodObject<{
|
|
|
458
458
|
count: number;
|
|
459
459
|
smart: boolean;
|
|
460
460
|
smart_max_candidates: number;
|
|
461
|
-
offsets: string[] | number[];
|
|
462
|
-
width?: number | undefined;
|
|
463
|
-
height?: number | undefined;
|
|
461
|
+
offsets: string[] | number[] | null;
|
|
462
|
+
width?: number | null | undefined;
|
|
463
|
+
height?: number | null | undefined;
|
|
464
464
|
queue?: "batch" | undefined;
|
|
465
465
|
ffmpeg?: z.objectOutputType<{
|
|
466
466
|
af: z.ZodOptional<z.ZodString>;
|
|
@@ -602,8 +602,8 @@ export declare const robotVideoThumbsInstructionsSchema: z.ZodObject<{
|
|
|
602
602
|
input_codec?: string | undefined;
|
|
603
603
|
}, {
|
|
604
604
|
robot: "/video/thumbs";
|
|
605
|
-
width?: number | undefined;
|
|
606
|
-
height?: number | undefined;
|
|
605
|
+
width?: number | null | undefined;
|
|
606
|
+
height?: number | null | undefined;
|
|
607
607
|
user_meta?: Record<string, unknown> | undefined;
|
|
608
608
|
queue?: "batch" | undefined;
|
|
609
609
|
ffmpeg?: z.objectInputType<{
|
|
@@ -754,7 +754,7 @@ export declare const robotVideoThumbsInstructionsSchema: z.ZodObject<{
|
|
|
754
754
|
count?: number | undefined;
|
|
755
755
|
smart?: boolean | undefined;
|
|
756
756
|
smart_max_candidates?: number | undefined;
|
|
757
|
-
offsets?: string[] | number[] | undefined;
|
|
757
|
+
offsets?: string[] | number[] | null | undefined;
|
|
758
758
|
input_codec?: string | undefined;
|
|
759
759
|
}>;
|
|
760
760
|
export declare const robotDefinition: RobotDefinition<typeof robotVideoThumbsInstructionsSchema.shape>;
|
|
@@ -1177,10 +1177,10 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1177
1177
|
ffmpeg_stack: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["v6", "v7", "v8"]>, z.ZodString]>>;
|
|
1178
1178
|
robot: z.ZodLiteral<"/video/thumbs">;
|
|
1179
1179
|
count: z.ZodDefault<z.ZodNumber>;
|
|
1180
|
-
offsets: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]
|
|
1180
|
+
offsets: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>>>;
|
|
1181
1181
|
format: z.ZodDefault<z.ZodEnum<["jpeg", "jpg", "png"]>>;
|
|
1182
|
-
width: z.ZodOptional<z.ZodNumber
|
|
1183
|
-
height: z.ZodOptional<z.ZodNumber
|
|
1182
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1183
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1184
1184
|
resize_strategy: z.ZodDefault<z.ZodEnum<["crop", "fit", "fillcrop", "min_fit", "pad", "stretch"]>>;
|
|
1185
1185
|
background: z.ZodDefault<z.ZodString>;
|
|
1186
1186
|
rotate: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>, z.ZodLiteral<360>]>>;
|
|
@@ -1202,9 +1202,9 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1202
1202
|
count: number;
|
|
1203
1203
|
smart: boolean;
|
|
1204
1204
|
smart_max_candidates: number;
|
|
1205
|
-
offsets: string[] | number[];
|
|
1206
|
-
width?: number | undefined;
|
|
1207
|
-
height?: number | undefined;
|
|
1205
|
+
offsets: string[] | number[] | null;
|
|
1206
|
+
width?: number | null | undefined;
|
|
1207
|
+
height?: number | null | undefined;
|
|
1208
1208
|
queue?: "batch" | undefined;
|
|
1209
1209
|
ffmpeg?: z.objectOutputType<{
|
|
1210
1210
|
af: z.ZodOptional<z.ZodString>;
|
|
@@ -1347,8 +1347,8 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1347
1347
|
input_codec?: string | undefined;
|
|
1348
1348
|
}, {
|
|
1349
1349
|
robot: "/video/thumbs";
|
|
1350
|
-
width?: number | undefined;
|
|
1351
|
-
height?: number | undefined;
|
|
1350
|
+
width?: number | null | undefined;
|
|
1351
|
+
height?: number | null | undefined;
|
|
1352
1352
|
user_meta?: Record<string, unknown> | undefined;
|
|
1353
1353
|
queue?: "batch" | undefined;
|
|
1354
1354
|
ffmpeg?: z.objectInputType<{
|
|
@@ -1499,7 +1499,7 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1499
1499
|
count?: number | undefined;
|
|
1500
1500
|
smart?: boolean | undefined;
|
|
1501
1501
|
smart_max_candidates?: number | undefined;
|
|
1502
|
-
offsets?: string[] | number[] | undefined;
|
|
1502
|
+
offsets?: string[] | number[] | null | undefined;
|
|
1503
1503
|
input_codec?: string | undefined;
|
|
1504
1504
|
}>, interpolatableRobotVideoThumbsInstructionsSchema: z.ZodObject<{
|
|
1505
1505
|
interpolate: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "false" | "true">, z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "false" | "true">>]>>;
|
|
@@ -1921,10 +1921,10 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1921
1921
|
ffmpeg_stack: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodEnum<["v6", "v7", "v8"]>]>, z.ZodString]>>;
|
|
1922
1922
|
robot: z.ZodLiteral<"/video/thumbs">;
|
|
1923
1923
|
count: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1924
|
-
offsets: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]
|
|
1924
|
+
offsets: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>>;
|
|
1925
1925
|
format: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["jpeg", "jpg", "png"]>]>>;
|
|
1926
|
-
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1927
|
-
height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1926
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1927
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1928
1928
|
resize_strategy: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["crop", "fit", "fillcrop", "min_fit", "pad", "stretch"]>]>>;
|
|
1929
1929
|
background: z.ZodDefault<z.ZodString>;
|
|
1930
1930
|
rotate: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<0>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<90>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<180>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<270>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<360>]>]>>;
|
|
@@ -1945,9 +1945,9 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
1945
1945
|
count: string | number;
|
|
1946
1946
|
smart: string | boolean;
|
|
1947
1947
|
smart_max_candidates: string | number;
|
|
1948
|
-
offsets: string | string[] | (string | number)[];
|
|
1949
|
-
width?: string | number | undefined;
|
|
1950
|
-
height?: string | number | undefined;
|
|
1948
|
+
offsets: string | string[] | (string | number)[] | null;
|
|
1949
|
+
width?: string | number | null | undefined;
|
|
1950
|
+
height?: string | number | null | undefined;
|
|
1951
1951
|
queue?: string | undefined;
|
|
1952
1952
|
ffmpeg?: string | z.objectOutputType<{
|
|
1953
1953
|
af: z.ZodOptional<z.ZodString>;
|
|
@@ -2089,8 +2089,8 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2089
2089
|
input_codec?: string | undefined;
|
|
2090
2090
|
}, {
|
|
2091
2091
|
robot: "/video/thumbs";
|
|
2092
|
-
width?: string | number | undefined;
|
|
2093
|
-
height?: string | number | undefined;
|
|
2092
|
+
width?: string | number | null | undefined;
|
|
2093
|
+
height?: string | number | null | undefined;
|
|
2094
2094
|
user_meta?: Record<string, unknown> | undefined;
|
|
2095
2095
|
queue?: string | undefined;
|
|
2096
2096
|
ffmpeg?: string | z.objectInputType<{
|
|
@@ -2241,7 +2241,7 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2241
2241
|
count?: string | number | undefined;
|
|
2242
2242
|
smart?: string | boolean | undefined;
|
|
2243
2243
|
smart_max_candidates?: string | number | undefined;
|
|
2244
|
-
offsets?: string | string[] | (string | number)[] | undefined;
|
|
2244
|
+
offsets?: string | string[] | (string | number)[] | null | undefined;
|
|
2245
2245
|
input_codec?: string | undefined;
|
|
2246
2246
|
}>, interpolatableRobotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodObject<{
|
|
2247
2247
|
interpolate: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "false" | "true">, z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "false" | "true">>]>>;
|
|
@@ -2662,10 +2662,10 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2662
2662
|
ffmpeg_stack: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodEnum<["v6", "v7", "v8"]>]>, z.ZodString]>>;
|
|
2663
2663
|
robot: z.ZodLiteral<"/video/thumbs">;
|
|
2664
2664
|
count: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2665
|
-
offsets: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]
|
|
2665
|
+
offsets: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>>;
|
|
2666
2666
|
format: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["jpeg", "jpg", "png"]>]>>;
|
|
2667
|
-
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
2668
|
-
height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
2667
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2668
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2669
2669
|
resize_strategy: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodEnum<["crop", "fit", "fillcrop", "min_fit", "pad", "stretch"]>]>>;
|
|
2670
2670
|
background: z.ZodDefault<z.ZodString>;
|
|
2671
2671
|
rotate: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<0>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<90>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<180>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<270>]>, z.ZodUnion<[z.ZodString, z.ZodLiteral<360>]>]>>;
|
|
@@ -2686,9 +2686,9 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2686
2686
|
count: string | number;
|
|
2687
2687
|
smart: string | boolean;
|
|
2688
2688
|
smart_max_candidates: string | number;
|
|
2689
|
-
offsets: string | string[] | (string | number)[];
|
|
2690
|
-
width?: string | number | undefined;
|
|
2691
|
-
height?: string | number | undefined;
|
|
2689
|
+
offsets: string | string[] | (string | number)[] | null;
|
|
2690
|
+
width?: string | number | null | undefined;
|
|
2691
|
+
height?: string | number | null | undefined;
|
|
2692
2692
|
queue?: string | undefined;
|
|
2693
2693
|
ffmpeg?: string | z.objectOutputType<{
|
|
2694
2694
|
af: z.ZodOptional<z.ZodString>;
|
|
@@ -2831,8 +2831,8 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2831
2831
|
input_codec?: string | undefined;
|
|
2832
2832
|
}, {
|
|
2833
2833
|
robot: "/video/thumbs";
|
|
2834
|
-
width?: string | number | undefined;
|
|
2835
|
-
height?: string | number | undefined;
|
|
2834
|
+
width?: string | number | null | undefined;
|
|
2835
|
+
height?: string | number | null | undefined;
|
|
2836
2836
|
user_meta?: Record<string, unknown> | undefined;
|
|
2837
2837
|
queue?: string | undefined;
|
|
2838
2838
|
ffmpeg?: string | z.objectInputType<{
|
|
@@ -2983,7 +2983,7 @@ export declare const robotVideoThumbsInstructionsWithHiddenFieldsSchema: z.ZodOb
|
|
|
2983
2983
|
count?: string | number | undefined;
|
|
2984
2984
|
smart?: string | boolean | undefined;
|
|
2985
2985
|
smart_max_candidates?: string | number | undefined;
|
|
2986
|
-
offsets?: string | string[] | (string | number)[] | undefined;
|
|
2986
|
+
offsets?: string | string[] | (string | number)[] | null | undefined;
|
|
2987
2987
|
input_codec?: string | undefined;
|
|
2988
2988
|
}>;
|
|
2989
2989
|
type Instructions = RobotSchemaVariantTypes<typeof robotDefinition>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-thumbs.d.ts","sourceRoot":"","sources":["../../../../src/alphalib/types/robots/video-thumbs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,uBAAuB,EACxB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,sEAAsE;AAC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ract thumbnails for specific timestamps, use the \`offsets\` parameter.
|
|
68
68
|
`),
|
|
69
69
|
offsets: z
|
|
70
|
-
.union([z.array(z.number()), z.array(percentageSchema)])
|
|
70
|
+
.union([z.array(z.number().finite()), z.array(percentageSchema)])
|
|
71
|
+
.nullable()
|
|
71
72
|
.default([])
|
|
72
73
|
.describe(`
|
|
73
74
|
An array of offsets representing seconds of the file duration, such as \`[ 2, 45, 120 ]\`. Millisecond durations of a file can also be used by using decimal place values. For example, an offset from 1250 milliseconds would be represented with \`1.25\`. Offsets can also be percentage values such as \`[ "2%", "50%", "75%" ]\`.
|
|
@@ -75,6 +76,8 @@ An array of offsets representing seconds of the file duration, such as \`[ 2, 45
|
|
|
75
76
|
This option cannot be used with the \`count\` parameter, and takes precedence if both are specified. Out-of-range offsets are silently ignored.
|
|
76
77
|
|
|
77
78
|
When \`smart\` is \`true\`, smart selection ignores \`offsets\` and uses \`count\` to select from its own candidate timestamps. If no smart candidates can be extracted, the Robot falls back to standard extraction, where \`offsets\` takes precedence. Use \`smart: false\` to consistently extract the specified timestamps.
|
|
79
|
+
|
|
80
|
+
Use \`null\` to leave timestamp selection to \`count\` and \`smart\`.
|
|
78
81
|
`),
|
|
79
82
|
format: z
|
|
80
83
|
.enum(['jpeg', 'jpg', 'png'])
|
|
@@ -87,18 +90,20 @@ The format of the extracted thumbnail. Supported values are \`"jpg"\`, \`"jpeg"\
|
|
|
87
90
|
.int()
|
|
88
91
|
.min(1)
|
|
89
92
|
.max(1920)
|
|
93
|
+
.nullable()
|
|
90
94
|
.optional()
|
|
91
95
|
.describe(`
|
|
92
|
-
The width of the thumbnail, in pixels.
|
|
96
|
+
The width of the thumbnail, in pixels. Omit or use \`null\` for the original width of the video.
|
|
93
97
|
`),
|
|
94
98
|
height: z
|
|
95
99
|
.number()
|
|
96
100
|
.int()
|
|
97
101
|
.min(1)
|
|
98
102
|
.max(1080)
|
|
103
|
+
.nullable()
|
|
99
104
|
.optional()
|
|
100
105
|
.describe(`
|
|
101
|
-
The height of the thumbnail, in pixels.
|
|
106
|
+
The height of the thumbnail, in pixels. Omit or use \`null\` for the original height of the video.
|
|
102
107
|
`),
|
|
103
108
|
resize_strategy: resize_strategy.describe(`
|
|
104
109
|
One of the [available resize strategies](/docs/topics/resize-strategies/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-thumbs.js","sourceRoot":"","sources":["../../../../src/alphalib/types/robots/video-thumbs.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,WAAW,EACX,QAAQ,EACR,sBAAsB,GACvB,MAAM,+BAA+B,CAAA;AAEtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,CAAA;AAE7C,kGAAkG;AAClG,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAA+D,CAAA;AAElG,mGAAmG;AACnG,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,CAAA;AAEhD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,CAAA;AAElD,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;AACxE,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;AACjF,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;AACnE,MAAM,6BAA6B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,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC;;CAEf,CAAC;IACE,KAAK,EAAE,CAAC;SACL,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC;;;;;;;;;;4HAU4G,6BAA6B,6CAA6C,6BAA6B,oKAAoK,2BAA2B;;;;;CAKja,CAAC;IACE,oBAAoB,EAAE,4BAA4B,CAAC,QAAQ,CAAC;;;oHAGoD,qBAAqB,kCAAkC,6BAA6B,0BAA0B,+BAA+B,CAAC,qBAAqB,EAAE,6BAA6B,CAAC,gCAAgC,qBAAqB;;;;;CAK3W,CAAC;CACC,CAAC;KACD,MAAM,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,eAAe,GAC1B,WAAW,CAAC,IAAI,EAAE,kCAAkC,CAAC,CAAA;AAEvD,MAAM,CAAC,MAAM,EACX,gBAAgB,EAAE,kDAAkD,EACpE,cAAc,EAAE,gDAAgD,EAChE,8BAA8B,EAAE,gEAAgE,GACjG,GAAG,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/alphalib/types/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,KAAK,EACV,YAAY,EACZ,6BAA6B,EAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAA;
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/alphalib/types/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,KAAK,EACV,YAAY,EACZ,6BAA6B,EAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAA;AAIpE,MAAM,MAAM,I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