@shotstack/schemas 1.20.3 → 1.21.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/dist/api.bundled.json +57 -20
- package/dist/json-schema/edit.json +10 -6
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +50 -10
- package/dist/zod/zod.gen.cjs +38 -15
- package/dist/zod/zod.gen.d.ts +43 -178
- package/dist/zod/zod.gen.js +32 -9
- package/dist/zod/zod.gen.ts +34 -9
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -688,7 +688,8 @@ export interface components {
|
|
|
688
688
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
689
689
|
* - **Generated:** set `prompt` to describe the motion. Choose a generator
|
|
690
690
|
* with `model` and configure it with model-specific `options`. Models that
|
|
691
|
-
* animate
|
|
691
|
+
* animate an image take it as `options.startSrc` (the original
|
|
692
|
+
* image-to-video models use `options.inputSrc`); the default model
|
|
692
693
|
* generates from the prompt alone. The generated `src` is filled in
|
|
693
694
|
* automatically.
|
|
694
695
|
* - **Both:** `src` acts as a preview placeholder while `prompt` drives
|
|
@@ -707,7 +708,7 @@ export interface components {
|
|
|
707
708
|
*/
|
|
708
709
|
src?: string;
|
|
709
710
|
/**
|
|
710
|
-
* @description A text prompt to generate the video from. The engine generates a video at render time and fills `src` automatically; an existing `src` is treated as a preview placeholder and replaced. Use `model` to choose the generator and `options` to configure it. A starting image goes in `options.inputSrc
|
|
711
|
+
* @description A text prompt to generate the video from. The engine generates a video at render time and fills `src` automatically; an existing `src` is treated as a preview placeholder and replaced. Use `model` to choose the generator and `options` to configure it. A starting image goes in `options.startSrc` — or `options.inputSrc` on the original image-to-video models — on the models that accept one.
|
|
711
712
|
* @example Slowly zoom out and orbit left around the object.
|
|
712
713
|
*/
|
|
713
714
|
prompt?: string;
|
|
@@ -1344,7 +1345,7 @@ export interface components {
|
|
|
1344
1345
|
* @deprecated
|
|
1345
1346
|
* @description **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
1346
1347
|
* with `prompt`, a `model` that accepts a starting image, and that image in
|
|
1347
|
-
* `options.
|
|
1348
|
+
* `options.startSrc` — for example `seedance-2.0-image-to-video`.** This type continues to
|
|
1348
1349
|
* function and is internally rewritten to VideoAsset; no behaviour change for
|
|
1349
1350
|
* existing integrations.
|
|
1350
1351
|
*
|
|
@@ -2455,7 +2456,10 @@ export interface components {
|
|
|
2455
2456
|
* @example tiktok
|
|
2456
2457
|
*/
|
|
2457
2458
|
provider: string;
|
|
2458
|
-
/**
|
|
2459
|
+
/**
|
|
2460
|
+
* @deprecated
|
|
2461
|
+
* @description Additional TikTok configuration options.
|
|
2462
|
+
*/
|
|
2459
2463
|
options?: {
|
|
2460
2464
|
/** @description A title for the video that will be displayed on TikTok. */
|
|
2461
2465
|
title?: string;
|
|
@@ -2560,7 +2564,11 @@ export interface components {
|
|
|
2560
2564
|
*/
|
|
2561
2565
|
exclude?: boolean;
|
|
2562
2566
|
};
|
|
2563
|
-
/**
|
|
2567
|
+
/**
|
|
2568
|
+
* @deprecated
|
|
2569
|
+
* @description **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
2570
|
+
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
2571
|
+
*/
|
|
2564
2572
|
MuxDestination: {
|
|
2565
2573
|
/**
|
|
2566
2574
|
* @description The destination to send video to - set to `mux` for Mux.
|
|
@@ -2571,7 +2579,11 @@ export interface components {
|
|
|
2571
2579
|
/** @description Additional Mux configuration and features. */
|
|
2572
2580
|
options?: components["schemas"]["MuxDestinationOptions"];
|
|
2573
2581
|
};
|
|
2574
|
-
/**
|
|
2582
|
+
/**
|
|
2583
|
+
* @deprecated
|
|
2584
|
+
* @description **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
2585
|
+
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
2586
|
+
*/
|
|
2575
2587
|
MuxDestinationOptions: {
|
|
2576
2588
|
/** @description Sets the Mux `playback_policy` option. Value is an array of strings - use `public`, `signed`, or both. */
|
|
2577
2589
|
playbackPolicy?: ("public" | "signed")[];
|
|
@@ -2960,6 +2972,34 @@ export interface components {
|
|
|
2960
2972
|
/** @description Specify the storage locations and hosting services to send the file to. */
|
|
2961
2973
|
destinations: components["schemas"]["Destinations"][];
|
|
2962
2974
|
};
|
|
2975
|
+
/** @description An image, video or audio asset to generate from a text prompt. */
|
|
2976
|
+
GenerationAsset: {
|
|
2977
|
+
/**
|
|
2978
|
+
* @description The kind of asset to generate.
|
|
2979
|
+
* @example image
|
|
2980
|
+
* @enum {string}
|
|
2981
|
+
*/
|
|
2982
|
+
type: "image" | "video" | "audio";
|
|
2983
|
+
/**
|
|
2984
|
+
* @description A description of the asset to generate. For text-to-speech models it is the text spoken.
|
|
2985
|
+
* @example A lighthouse on a rocky coast at sunset, cinematic lighting
|
|
2986
|
+
*/
|
|
2987
|
+
prompt: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* @description The generation model. Defaults to `nano-banana-2` for images, `seedance-2.0-text-to-video` for video and `elevenlabs-multilingual-v2` for audio. `GET /models` lists the models for each type.
|
|
2990
|
+
* @example nano-banana-2
|
|
2991
|
+
*/
|
|
2992
|
+
model?: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* @description Settings for the chosen `model`. `GET /models` lists the options each model accepts; omitted options use the model's defaults and unknown or invalid options are rejected. A starting image for video goes in `startSrc` (`inputSrc` on the original image-to-video models) and a speech voice in `voice`.
|
|
2995
|
+
* @example {
|
|
2996
|
+
* "aspectRatio": "16:9"
|
|
2997
|
+
* }
|
|
2998
|
+
*/
|
|
2999
|
+
options?: {
|
|
3000
|
+
[key: string]: unknown;
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
2963
3003
|
/** @description A generation model available to `prompt`-bearing image, video and audio assets, with the options it accepts and what it costs. Render a model picker and its option fields from this rather than hard coding a model list, so a newly launched model is available without a client release. */
|
|
2964
3004
|
GenerationModel: {
|
|
2965
3005
|
/**
|
|
@@ -3501,7 +3541,7 @@ export interface components {
|
|
|
3501
3541
|
*/
|
|
3502
3542
|
renderId?: string;
|
|
3503
3543
|
/**
|
|
3504
|
-
* @description The third party id of an asset transferred to an external provider,
|
|
3544
|
+
* @description The third party id of an asset transferred to an external provider, such as Vimeo or S3. If the provider is Shotstack, the providerID is the same as the asset id.
|
|
3505
3545
|
* @example a4482cbf-e321-42a2-ac8b-947d26886840
|
|
3506
3546
|
*/
|
|
3507
3547
|
providerId?: string;
|
|
@@ -4375,8 +4415,8 @@ export interface operations {
|
|
|
4375
4415
|
path?: never;
|
|
4376
4416
|
cookie?: never;
|
|
4377
4417
|
};
|
|
4378
|
-
/** @description
|
|
4379
|
-
requestBody
|
|
4418
|
+
/** @description The asset to generate and, for models that generate to a duration, the length of the clip it fills. */
|
|
4419
|
+
requestBody: {
|
|
4380
4420
|
content: {
|
|
4381
4421
|
/**
|
|
4382
4422
|
* @example {
|
|
@@ -4388,7 +4428,7 @@ export interface operations {
|
|
|
4388
4428
|
* }
|
|
4389
4429
|
*/
|
|
4390
4430
|
"application/json": {
|
|
4391
|
-
asset: components["schemas"]["
|
|
4431
|
+
asset: components["schemas"]["GenerationAsset"];
|
|
4392
4432
|
/**
|
|
4393
4433
|
* @description The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.
|
|
4394
4434
|
* @example 5
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.s3DestinationSchema = exports.s3DestinationS3DestinationSchema = exports.s3DestinationOptionsSchema = exports.s3DestinationOptionsS3DestinationOptionsSchema = exports.muxDestinationSchema = exports.muxDestinationMuxDestinationSchema = exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema = exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema = exports.googleDriveDestinationOptionsSchema = exports.googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = exports.googleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationGoogleCloudStorageDestinationSchema = exports.googleCloudStorageDestinationOptionsSchema = exports.googleCloudStorageDestinationOptionsGoogleCloudStorageDestinationOptionsSchema = exports.azureBlobStorageDestinationAzureBlobStorageDestinationSchema = exports.azureBlobStorageDestinationOptionsAzureBlobStorageDestinationOptionsSchema = exports.akamaiNetStorageDestinationAkamaiNetStorageDestinationSchema = exports.akamaiNetStorageDestinationOptionsAkamaiNetStorageDestinationOptionsSchema = exports.cropSchema = exports.cropCropSchema = exports.chromaKeySchema = exports.chromakeyChromaKeySchema = exports.captionAssetSchema = exports.captionassetCaptionAssetSchema = exports.captionMarginSchema = exports.captionpropertiesCaptionMarginSchema = exports.captionFontSchema = exports.captionpropertiesCaptionFontSchema = exports.captionBackgroundSchema = exports.captionpropertiesCaptionBackgroundSchema = exports.uploadRootSchema = exports.templatesrenderRootSchema = exports.templatesidRootSchema = exports.templatesRootSchema = exports.sourcesidRootSchema = exports.sourcesRootSchema = exports.renderidRootSchema = exports.renderRootSchema = exports.probeRootSchema = exports.modelsidRootSchema = exports.modelsRootSchema = exports.generateidRootSchema = exports.generateRootSchema = exports.assetsrenderidRootSchema = exports.assetsidRootSchema = exports.assetsRootSchema = exports.sourceRootSchema = exports.editRootSchema = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = void 0;
|
|
5
|
+
exports.uploadResponseDataSchema = exports.uploadresponsedataUploadResponseDataSchema = exports.uploadResponseAttributesSchema = exports.uploadresponseattributesUploadResponseAttributesSchema = exports.queuedSourceResponseSchema = exports.queuedsourceresponseQueuedSourceResponseSchema = exports.queuedSourceResponseDataSchema = exports.queuedsourceresponsedataQueuedSourceResponseDataSchema = exports.ingestErrorResponseSchema = exports.ingesterrorresponseIngestErrorResponseSchema = exports.ingestErrorResponseDataSchema = exports.ingesterrorresponsedataIngestErrorResponseDataSchema = exports.enhancementsSchema = exports.enhancementsEnhancementsSchema = exports.audioEnhancementSchema = exports.audioEnhancementAudioEnhancementSchema = exports.dolbyEnhancementSchema = exports.dolbyEnhancementDolbyEnhancementSchema = exports.dolbyEnhancementOptionsSchema = exports.dolbyEnhancementOptionsDolbyEnhancementOptionsSchema = exports.imageToVideoAssetSchema = exports.imagetovideoassetImageToVideoAssetSchema = exports.imageAssetSchema = exports.imageassetImageAssetSchema = exports.htmlAssetSchema = exports.htmlassetHtmlAssetSchema = exports.html5AssetSchema = exports.html5AssetHtml5AssetSchema = exports.generationModelSchema = exports.generationmodelGenerationModelSchema = exports.generationModelPricingSchema = exports.generationmodelpricingGenerationModelPricingSchema = exports.generationAssetSchema = exports.generationassetGenerationAssetSchema = exports.fontSchema = exports.fontFontSchema = exports.flipTransformationSchema = exports.fliptransformationFlipTransformationSchema = exports.destinationsSchema = exports.destinationsDestinationsSchema = exports.vimeoDestinationSchema = exports.vimeoDestinationVimeoDestinationSchema = exports.vimeoDestinationOptionsSchema = exports.vimeoDestinationOptionsVimeoDestinationOptionsSchema = exports.vimeoDestinationPrivacyOptionsSchema = exports.vimeoDestinationPrivacyOptionsVimeoDestinationPrivacyOptionsSchema = exports.tiktokDestinationTiktokDestinationSchema = exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema = void 0;
|
|
6
|
+
exports.richCaptionAnimationSchema = exports.richcaptionpropertiesRichCaptionAnimationSchema = exports.richCaptionActiveFontSchema = exports.richcaptionpropertiesRichCaptionActiveFontSchema = exports.templateResponseSchema = exports.templateresponseTemplateResponseSchema = exports.templateResponseDataSchema = exports.templateresponsedataTemplateResponseDataSchema = exports.templateListResponseSchema = exports.templatelistresponseTemplateListResponseSchema = exports.templateListResponseDataSchema = exports.templatelistresponsedataTemplateListResponseDataSchema = exports.templateListResponseItemSchema = exports.templatelistresponseitemTemplateListResponseItemSchema = exports.queuedResponseSchema = exports.queuedresponseQueuedResponseSchema = exports.queuedResponseDataSchema = exports.queuedresponsedataQueuedResponseDataSchema = exports.probeResponseSchema = exports.proberesponseProbeResponseSchema = exports.generationResponseSchema = exports.generationresponseGenerationResponseSchema = exports.generationModelListResponseSchema = exports.generationmodellistresponseGenerationModelListResponseSchema = exports.generationModelErrorResponseSchema = exports.generationmodelerrorresponseGenerationModelErrorResponseSchema = exports.generationErrorResponseSchema = exports.generationerrorresponseGenerationErrorResponseSchema = exports.assetResponseSchema = exports.assetresponseAssetResponseSchema = exports.assetRenderResponseSchema = exports.assetrenderresponseAssetRenderResponseSchema = exports.assetResponseDataSchema = exports.assetresponsedataAssetResponseDataSchema = exports.assetResponseAttributesSchema = exports.assetresponseattributesAssetResponseAttributesSchema = exports.rangeSchema = exports.rangeRangeSchema = exports.posterSchema = exports.posterPosterSchema = exports.mergeFieldSchema = exports.mergefieldMergeFieldSchema = exports.lumaAssetSchema = exports.lumaassetLumaAssetSchema = exports.transcriptionSchema = exports.transcriptionTranscriptionSchema = exports.speedSchema = exports.speedSpeedSchema = exports.uploadResponseSchema = exports.uploadresponseUploadResponseSchema = void 0;
|
|
7
|
+
exports.sourceResponseAttributesSchema = exports.sourceresponseattributesSourceResponseAttributesSchema = exports.outputsResponseSchema = exports.outputsresponseOutputsResponseSchema = exports.renditionResponseAttributesSchema = exports.renditionresponseattributesRenditionResponseAttributesSchema = exports.outputsSchema = exports.outputsOutputsSchema = exports.renditionSchema = exports.renditionRenditionSchema = exports.sizeSchema = exports.sizeSizeSchema = exports.shapeAssetSchema = exports.shapeassetShapeAssetSchema = exports.transferSchema = exports.transferTransferSchema = exports.transferResponseSchema = exports.transferresponseTransferResponseSchema = exports.transferResponseDataSchema = exports.transferresponsedataTransferResponseDataSchema = exports.transferResponseAttributesSchema = exports.transferresponseattributesTransferResponseAttributesSchema = exports.richTextAssetSchema = exports.richtextassetRichTextAssetSchema = exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema = exports.richTextFontSchema = exports.richtextpropertiesRichTextFontSchema = exports.richCaptionAssetSchema = exports.richcaptionassetRichCaptionAssetSchema = exports.richCaptionActiveSchema = exports.richcaptionpropertiesRichCaptionActiveSchema = exports.richTextStrokeSchema = exports.richtextpropertiesRichTextStrokeSchema = exports.richTextShadowSchema = exports.richtextpropertiesRichTextShadowSchema = exports.richTextPaddingSchema = exports.richtextpropertiesRichTextPaddingSchema = exports.richcaptionpropertiesRichCaptionStyleSchema = exports.richTextGradientSchema = exports.richtextpropertiesRichTextGradientSchema = exports.richTextBorderSchema = exports.richtextpropertiesRichTextBorderSchema = exports.richTextBackgroundSchema = exports.richtextpropertiesRichTextBackgroundSchema = exports.richTextAnimationSchema = exports.richtextpropertiesRichTextAnimationSchema = exports.richTextAlignmentSchema = exports.richtextpropertiesRichTextAlignmentSchema = exports.richcaptionpropertiesRichCaptionFontSchema = void 0;
|
|
8
|
+
exports.videoAssetSchema = exports.videoassetVideoAssetSchema = exports.transformationSchema = exports.transformationTransformationSchema = exports.titleAssetSchema = exports.titleassetTitleAssetSchema = exports.textToSpeechAssetSchema = exports.texttospeechassetTextToSpeechAssetSchema = exports.skewTransformationSchema = exports.skewtransformationSkewTransformationSchema = exports.rotateTransformationSchema = exports.rotatetransformationRotateTransformationSchema = exports.offsetSchema = exports.offsetOffsetSchema = exports.audioAssetSchema = exports.audioassetAudioAssetSchema = exports.tweenSchema = exports.tweenTweenSchema = exports.transitionSchema = exports.transitionTransitionSchema = exports.outputSchema = exports.outputOutputSchema = exports.thumbnailSchema = exports.thumbnailThumbnailSchema = exports.textToImageAssetSchema = exports.texttoimageassetTextToImageAssetSchema = exports.textAssetSchema = exports.textassetTextAssetSchema = exports.textpropertiesTextStrokeSchema = exports.textFontSchema = exports.textpropertiesTextFontSchema = exports.textBackgroundSchema = exports.textpropertiesTextBackgroundSchema = exports.textpropertiesTextAnimationSchema = exports.textAlignmentSchema = exports.textpropertiesTextAlignmentSchema = exports.templateRenderSchema = exports.templaterenderTemplateRenderSchema = exports.svgAssetSchema = exports.svgassetSvgAssetSchema = exports.soundtrackSchema = exports.soundtrackSoundtrackSchema = exports.sourceSchema = exports.sourceSourceSchema = exports.sourceResponseSchema = exports.sourceresponseSourceResponseSchema = exports.sourceListResponseSchema = exports.sourcelistresponseSourceListResponseSchema = exports.sourceResponseDataSchema = exports.sourceresponsedataSourceResponseDataSchema = void 0;
|
|
9
|
+
exports.getAssetResponse = exports.getAssetRequest = exports.deleteAssetResponse = exports.deleteAssetRequest = exports.getModelResponse = exports.getModelRequest = exports.getModelsResponse = exports.getModelsRequest = exports.getGenerateResponse = exports.getGenerateRequest = exports.postGenerateResponse = exports.postGenerateRequest = exports.probeResponse = exports.probeRequest = exports.postTemplateRenderResponse = exports.postTemplateRenderRequest = exports.putTemplateResponse = exports.putTemplateRequest = exports.getTemplateResponse = exports.getTemplateRequest = exports.deleteTemplateResponse = exports.deleteTemplateRequest = exports.postTemplateResponse = exports.postTemplateRequest = exports.getTemplatesResponse = exports.getTemplatesRequest = exports.getRenderResponse = exports.getRenderRequest = exports.postRenderResponse = exports.postRenderRequest = exports.templateSchema = exports.templateTemplateSchema = exports.templateDataResponseSchema = exports.templatedataresponseTemplateDataResponseSchema = exports.templateDataResponseDataSchema = exports.templatedataresponsedataTemplateDataResponseDataSchema = exports.renderResponseSchema = exports.renderresponseRenderResponseSchema = exports.renderResponseDataSchema = exports.renderresponsedataRenderResponseDataSchema = exports.editSchema = exports.editEditSchema = exports.timelineSchema = exports.timelineTimelineSchema = exports.trackSchema = exports.trackTrackSchema = exports.clipSchema = exports.clipClipSchema = exports.assetSchema = exports.assetAssetSchema = void 0;
|
|
10
|
+
exports.getUploadSignedUrlResponse = exports.getUploadSignedUrlRequest = exports.getSourceResponse = exports.getSourceRequest = exports.deleteSourceResponse = exports.deleteSourceRequest = exports.postSourceResponse = exports.postSourceRequest = exports.getSourcesResponse = exports.getSourcesRequest = exports.postServeAssetResponse = exports.postServeAssetRequest = exports.getAssetByRenderIdResponse = exports.getAssetByRenderIdRequest = void 0;
|
|
11
11
|
const zod_1 = require("zod");
|
|
12
12
|
exports.editRootSchema = zod_1.z.unknown();
|
|
13
13
|
exports.sourceRootSchema = zod_1.z.unknown();
|
|
@@ -290,7 +290,10 @@ exports.googleDriveDestinationGoogleDriveDestinationSchema = zod_1.z.object({
|
|
|
290
290
|
}).strict();
|
|
291
291
|
exports.googleDriveDestinationSchema = exports.googleDriveDestinationGoogleDriveDestinationSchema;
|
|
292
292
|
/**
|
|
293
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
293
294
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
295
|
+
*
|
|
296
|
+
* @deprecated
|
|
294
297
|
*/
|
|
295
298
|
exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
296
299
|
playbackPolicy: zod_1.z.optional(zod_1.z.array(zod_1.z.enum(['public', 'signed']))),
|
|
@@ -298,7 +301,10 @@ exports.muxDestinationOptionsMuxDestinationOptionsSchema = zod_1.z.object({
|
|
|
298
301
|
}).strict();
|
|
299
302
|
exports.muxDestinationOptionsSchema = exports.muxDestinationOptionsMuxDestinationOptionsSchema;
|
|
300
303
|
/**
|
|
304
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
301
305
|
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
306
|
+
*
|
|
307
|
+
* @deprecated
|
|
302
308
|
*/
|
|
303
309
|
exports.muxDestinationMuxDestinationSchema = zod_1.z.object({
|
|
304
310
|
provider: zod_1.z.literal("mux"),
|
|
@@ -333,7 +339,10 @@ exports.shotstackDestinationShotstackDestinationSchema = zod_1.z.object({
|
|
|
333
339
|
}).strict();
|
|
334
340
|
exports.shotstackDestinationSchema = exports.shotstackDestinationShotstackDestinationSchema;
|
|
335
341
|
/**
|
|
342
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
336
343
|
* Pass additional options to control how TikTok publishes video.
|
|
344
|
+
*
|
|
345
|
+
* @deprecated
|
|
337
346
|
*/
|
|
338
347
|
exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object({
|
|
339
348
|
title: zod_1.z.optional(zod_1.z.string().max(150)),
|
|
@@ -347,7 +356,10 @@ exports.tiktokDestinationOptionsTiktokDestinationOptionsSchema = zod_1.z.object(
|
|
|
347
356
|
disableComment: zod_1.z.optional(zod_1.z.boolean()).default(false)
|
|
348
357
|
}).strict();
|
|
349
358
|
/**
|
|
359
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
350
360
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
361
|
+
*
|
|
362
|
+
* @deprecated
|
|
351
363
|
*/
|
|
352
364
|
exports.tiktokDestinationTiktokDestinationSchema = zod_1.z.object({
|
|
353
365
|
provider: zod_1.z.literal("tiktok"),
|
|
@@ -428,6 +440,20 @@ exports.fontFontSchema = zod_1.z.object({
|
|
|
428
440
|
src: zod_1.z.string()
|
|
429
441
|
}).strict();
|
|
430
442
|
exports.fontSchema = exports.fontFontSchema;
|
|
443
|
+
/**
|
|
444
|
+
* An image, video or audio asset to generate from a text prompt.
|
|
445
|
+
*/
|
|
446
|
+
exports.generationassetGenerationAssetSchema = zod_1.z.object({
|
|
447
|
+
type: zod_1.z.enum([
|
|
448
|
+
'image',
|
|
449
|
+
'video',
|
|
450
|
+
'audio'
|
|
451
|
+
]),
|
|
452
|
+
prompt: zod_1.z.string().min(1).max(4000).regex(/\S/),
|
|
453
|
+
model: zod_1.z.optional(zod_1.z.string()),
|
|
454
|
+
options: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()))
|
|
455
|
+
}).strict();
|
|
456
|
+
exports.generationAssetSchema = exports.generationassetGenerationAssetSchema;
|
|
431
457
|
/**
|
|
432
458
|
* What one generation costs, in credits: the rate multiplied by the units consumed. `quantity` says how to count the units, and is absent when one generation is one unit. Where a model charges differently per option value, `credits` is an object keyed by that value and `tieredBy` names the option that selects it.
|
|
433
459
|
*/
|
|
@@ -598,7 +624,7 @@ exports.imageAssetSchema = exports.imageassetImageAssetSchema;
|
|
|
598
624
|
/**
|
|
599
625
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
600
626
|
* with `prompt`, a `model` that accepts a starting image, and that image in
|
|
601
|
-
* `options.
|
|
627
|
+
* `options.startSrc` — for example `seedance-2.0-image-to-video`.** This type continues to
|
|
602
628
|
* function and is internally rewritten to VideoAsset; no behaviour change for
|
|
603
629
|
* existing integrations.
|
|
604
630
|
*
|
|
@@ -2573,7 +2599,8 @@ exports.transformationSchema = exports.transformationTransformationSchema;
|
|
|
2573
2599
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
2574
2600
|
* - **Generated:** set `prompt` to describe the motion. Choose a generator
|
|
2575
2601
|
* with `model` and configure it with model-specific `options`. Models that
|
|
2576
|
-
* animate
|
|
2602
|
+
* animate an image take it as `options.startSrc` (the original
|
|
2603
|
+
* image-to-video models use `options.inputSrc`); the default model
|
|
2577
2604
|
* generates from the prompt alone. The generated `src` is filled in
|
|
2578
2605
|
* automatically.
|
|
2579
2606
|
* - **Both:** `src` acts as a preview placeholder while `prompt` drives
|
|
@@ -2994,12 +3021,8 @@ exports.probeRequest = zod_1.z.object({
|
|
|
2994
3021
|
*/
|
|
2995
3022
|
exports.probeResponse = exports.proberesponseProbeResponseSchema;
|
|
2996
3023
|
exports.postGenerateRequest = zod_1.z.object({
|
|
2997
|
-
body: zod_1.z.
|
|
2998
|
-
asset:
|
|
2999
|
-
exports.imageassetImageAssetSchema,
|
|
3000
|
-
exports.videoassetVideoAssetSchema,
|
|
3001
|
-
exports.audioassetAudioAssetSchema
|
|
3002
|
-
]),
|
|
3024
|
+
body: zod_1.z.object({
|
|
3025
|
+
asset: exports.generationassetGenerationAssetSchema,
|
|
3003
3026
|
length: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
3004
3027
|
return undefined; if (Array.isArray(v))
|
|
3005
3028
|
return v; if (typeof v === 'string') {
|
|
@@ -3007,7 +3030,7 @@ exports.postGenerateRequest = zod_1.z.object({
|
|
|
3007
3030
|
return v;
|
|
3008
3031
|
return Number(v);
|
|
3009
3032
|
} return v; }), zod_1.z.number().gt(0)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
3010
|
-
})
|
|
3033
|
+
}),
|
|
3011
3034
|
path: zod_1.z.optional(zod_1.z.never()),
|
|
3012
3035
|
query: zod_1.z.optional(zod_1.z.never()),
|
|
3013
3036
|
headers: zod_1.z.optional(zod_1.z.object({
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -269,7 +269,10 @@ export declare const googleDriveDestinationSchema: z.ZodObject<{
|
|
|
269
269
|
}, z.core.$strict>>;
|
|
270
270
|
}, z.core.$strict>;
|
|
271
271
|
/**
|
|
272
|
+
* **Notice: MuxDestinationOptions, like the Mux destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
272
273
|
* Pass additional options to control how Mux processes video. Currently supports playback_policy and passthrough options.
|
|
274
|
+
*
|
|
275
|
+
* @deprecated
|
|
273
276
|
*/
|
|
274
277
|
export declare const muxDestinationOptionsMuxDestinationOptionsSchema: z.ZodObject<{
|
|
275
278
|
playbackPolicy: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -286,7 +289,10 @@ export declare const muxDestinationOptionsSchema: z.ZodObject<{
|
|
|
286
289
|
passthrough: z.ZodOptional<z.ZodString>;
|
|
287
290
|
}, z.core.$strict>;
|
|
288
291
|
/**
|
|
292
|
+
* **Notice: The Mux destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
289
293
|
* Send videos to the [Mux](https://www.mux.com/docs) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
|
|
294
|
+
*
|
|
295
|
+
* @deprecated
|
|
290
296
|
*/
|
|
291
297
|
export declare const muxDestinationMuxDestinationSchema: z.ZodObject<{
|
|
292
298
|
provider: z.ZodLiteral<"mux">;
|
|
@@ -360,7 +366,10 @@ export declare const shotstackDestinationSchema: z.ZodObject<{
|
|
|
360
366
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
361
367
|
}, z.core.$strict>;
|
|
362
368
|
/**
|
|
369
|
+
* **Notice: TiktokDestinationOptions, like the TikTok destination, is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
363
370
|
* Pass additional options to control how TikTok publishes video.
|
|
371
|
+
*
|
|
372
|
+
* @deprecated
|
|
364
373
|
*/
|
|
365
374
|
export declare const tiktokDestinationOptionsTiktokDestinationOptionsSchema: z.ZodObject<{
|
|
366
375
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -374,7 +383,10 @@ export declare const tiktokDestinationOptionsTiktokDestinationOptionsSchema: z.Z
|
|
|
374
383
|
disableComment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
375
384
|
}, z.core.$strict>;
|
|
376
385
|
/**
|
|
386
|
+
* **Notice: The TikTok destination is deprecated.** It continues to work, with no behaviour change for existing integrations.
|
|
377
387
|
* Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request.
|
|
388
|
+
*
|
|
389
|
+
* @deprecated
|
|
378
390
|
*/
|
|
379
391
|
export declare const tiktokDestinationTiktokDestinationSchema: z.ZodObject<{
|
|
380
392
|
provider: z.ZodLiteral<"tiktok">;
|
|
@@ -760,6 +772,29 @@ export declare const fontFontSchema: z.ZodObject<{
|
|
|
760
772
|
export declare const fontSchema: z.ZodObject<{
|
|
761
773
|
src: z.ZodString;
|
|
762
774
|
}, z.core.$strict>;
|
|
775
|
+
/**
|
|
776
|
+
* An image, video or audio asset to generate from a text prompt.
|
|
777
|
+
*/
|
|
778
|
+
export declare const generationassetGenerationAssetSchema: z.ZodObject<{
|
|
779
|
+
type: z.ZodEnum<{
|
|
780
|
+
image: "image";
|
|
781
|
+
video: "video";
|
|
782
|
+
audio: "audio";
|
|
783
|
+
}>;
|
|
784
|
+
prompt: z.ZodString;
|
|
785
|
+
model: z.ZodOptional<z.ZodString>;
|
|
786
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
787
|
+
}, z.core.$strict>;
|
|
788
|
+
export declare const generationAssetSchema: z.ZodObject<{
|
|
789
|
+
type: z.ZodEnum<{
|
|
790
|
+
image: "image";
|
|
791
|
+
video: "video";
|
|
792
|
+
audio: "audio";
|
|
793
|
+
}>;
|
|
794
|
+
prompt: z.ZodString;
|
|
795
|
+
model: z.ZodOptional<z.ZodString>;
|
|
796
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
797
|
+
}, z.core.$strict>;
|
|
763
798
|
/**
|
|
764
799
|
* What one generation costs, in credits: the rate multiplied by the units consumed. `quantity` says how to count the units, and is absent when one generation is one unit. Where a model charges differently per option value, `credits` is an object keyed by that value and `tieredBy` names the option that selects it.
|
|
765
800
|
*/
|
|
@@ -1003,7 +1038,7 @@ export declare const imageAssetSchema: z.ZodObject<{
|
|
|
1003
1038
|
/**
|
|
1004
1039
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
1005
1040
|
* with `prompt`, a `model` that accepts a starting image, and that image in
|
|
1006
|
-
* `options.
|
|
1041
|
+
* `options.startSrc` — for example `seedance-2.0-image-to-video`.** This type continues to
|
|
1007
1042
|
* function and is internally rewritten to VideoAsset; no behaviour change for
|
|
1008
1043
|
* existing integrations.
|
|
1009
1044
|
*
|
|
@@ -7185,7 +7220,8 @@ export declare const transformationSchema: z.ZodObject<{
|
|
|
7185
7220
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
7186
7221
|
* - **Generated:** set `prompt` to describe the motion. Choose a generator
|
|
7187
7222
|
* with `model` and configure it with model-specific `options`. Models that
|
|
7188
|
-
* animate
|
|
7223
|
+
* animate an image take it as `options.startSrc` (the original
|
|
7224
|
+
* image-to-video models use `options.inputSrc`); the default model
|
|
7189
7225
|
* generates from the prompt alone. The generated `src` is filled in
|
|
7190
7226
|
* automatically.
|
|
7191
7227
|
* - **Both:** `src` acts as a preview placeholder while `prompt` drives
|
|
@@ -61871,190 +61907,19 @@ export declare const probeResponse: z.ZodObject<{
|
|
|
61871
61907
|
response: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
61872
61908
|
}, z.core.$strict>;
|
|
61873
61909
|
export declare const postGenerateRequest: z.ZodObject<{
|
|
61874
|
-
body: z.
|
|
61875
|
-
asset: z.
|
|
61910
|
+
body: z.ZodObject<{
|
|
61911
|
+
asset: z.ZodObject<{
|
|
61876
61912
|
type: z.ZodEnum<{
|
|
61877
61913
|
image: "image";
|
|
61878
|
-
}>;
|
|
61879
|
-
src: z.ZodOptional<z.ZodString>;
|
|
61880
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
61881
|
-
model: z.ZodOptional<z.ZodString>;
|
|
61882
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61883
|
-
crop: z.ZodOptional<z.ZodObject<{
|
|
61884
|
-
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61885
|
-
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61886
|
-
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61887
|
-
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61888
|
-
}, z.core.$strict>>;
|
|
61889
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
61890
|
-
type: z.ZodEnum<{
|
|
61891
61914
|
video: "video";
|
|
61892
|
-
}>;
|
|
61893
|
-
src: z.ZodOptional<z.ZodString>;
|
|
61894
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
61895
|
-
model: z.ZodOptional<z.ZodString>;
|
|
61896
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61897
|
-
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
61898
|
-
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61899
|
-
volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodArray<z.ZodObject<{
|
|
61900
|
-
from: z.ZodOptional<z.ZodUnknown>;
|
|
61901
|
-
to: z.ZodOptional<z.ZodUnknown>;
|
|
61902
|
-
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61903
|
-
length: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61904
|
-
interpolation: z.ZodOptional<z.ZodEnum<{
|
|
61905
|
-
linear: "linear";
|
|
61906
|
-
bezier: "bezier";
|
|
61907
|
-
constant: "constant";
|
|
61908
|
-
}>>;
|
|
61909
|
-
easing: z.ZodOptional<z.ZodEnum<{
|
|
61910
|
-
ease: "ease";
|
|
61911
|
-
easeIn: "easeIn";
|
|
61912
|
-
easeOut: "easeOut";
|
|
61913
|
-
easeInOut: "easeInOut";
|
|
61914
|
-
easeInQuad: "easeInQuad";
|
|
61915
|
-
easeInCubic: "easeInCubic";
|
|
61916
|
-
easeInQuart: "easeInQuart";
|
|
61917
|
-
easeInQuint: "easeInQuint";
|
|
61918
|
-
easeInSine: "easeInSine";
|
|
61919
|
-
easeInExpo: "easeInExpo";
|
|
61920
|
-
easeInCirc: "easeInCirc";
|
|
61921
|
-
easeInBack: "easeInBack";
|
|
61922
|
-
easeOutQuad: "easeOutQuad";
|
|
61923
|
-
easeOutCubic: "easeOutCubic";
|
|
61924
|
-
easeOutQuart: "easeOutQuart";
|
|
61925
|
-
easeOutQuint: "easeOutQuint";
|
|
61926
|
-
easeOutSine: "easeOutSine";
|
|
61927
|
-
easeOutExpo: "easeOutExpo";
|
|
61928
|
-
easeOutCirc: "easeOutCirc";
|
|
61929
|
-
easeOutBack: "easeOutBack";
|
|
61930
|
-
easeInOutQuad: "easeInOutQuad";
|
|
61931
|
-
easeInOutCubic: "easeInOutCubic";
|
|
61932
|
-
easeInOutQuart: "easeInOutQuart";
|
|
61933
|
-
easeInOutQuint: "easeInOutQuint";
|
|
61934
|
-
easeInOutSine: "easeInOutSine";
|
|
61935
|
-
easeInOutExpo: "easeInOutExpo";
|
|
61936
|
-
easeInOutCirc: "easeInOutCirc";
|
|
61937
|
-
easeInOutBack: "easeInOutBack";
|
|
61938
|
-
}>>;
|
|
61939
|
-
}, z.core.$strict>>]>>;
|
|
61940
|
-
volumeEffect: z.ZodOptional<z.ZodEnum<{
|
|
61941
|
-
none: "none";
|
|
61942
|
-
fadeIn: "fadeIn";
|
|
61943
|
-
fadeOut: "fadeOut";
|
|
61944
|
-
fadeInFadeOut: "fadeInFadeOut";
|
|
61945
|
-
}>>;
|
|
61946
|
-
speed: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodArray<z.ZodObject<{
|
|
61947
|
-
from: z.ZodOptional<z.ZodUnknown>;
|
|
61948
|
-
to: z.ZodOptional<z.ZodUnknown>;
|
|
61949
|
-
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61950
|
-
length: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61951
|
-
interpolation: z.ZodOptional<z.ZodEnum<{
|
|
61952
|
-
linear: "linear";
|
|
61953
|
-
bezier: "bezier";
|
|
61954
|
-
constant: "constant";
|
|
61955
|
-
}>>;
|
|
61956
|
-
easing: z.ZodOptional<z.ZodEnum<{
|
|
61957
|
-
ease: "ease";
|
|
61958
|
-
easeIn: "easeIn";
|
|
61959
|
-
easeOut: "easeOut";
|
|
61960
|
-
easeInOut: "easeInOut";
|
|
61961
|
-
easeInQuad: "easeInQuad";
|
|
61962
|
-
easeInCubic: "easeInCubic";
|
|
61963
|
-
easeInQuart: "easeInQuart";
|
|
61964
|
-
easeInQuint: "easeInQuint";
|
|
61965
|
-
easeInSine: "easeInSine";
|
|
61966
|
-
easeInExpo: "easeInExpo";
|
|
61967
|
-
easeInCirc: "easeInCirc";
|
|
61968
|
-
easeInBack: "easeInBack";
|
|
61969
|
-
easeOutQuad: "easeOutQuad";
|
|
61970
|
-
easeOutCubic: "easeOutCubic";
|
|
61971
|
-
easeOutQuart: "easeOutQuart";
|
|
61972
|
-
easeOutQuint: "easeOutQuint";
|
|
61973
|
-
easeOutSine: "easeOutSine";
|
|
61974
|
-
easeOutExpo: "easeOutExpo";
|
|
61975
|
-
easeOutCirc: "easeOutCirc";
|
|
61976
|
-
easeOutBack: "easeOutBack";
|
|
61977
|
-
easeInOutQuad: "easeInOutQuad";
|
|
61978
|
-
easeInOutCubic: "easeInOutCubic";
|
|
61979
|
-
easeInOutQuart: "easeInOutQuart";
|
|
61980
|
-
easeInOutQuint: "easeInOutQuint";
|
|
61981
|
-
easeInOutSine: "easeInOutSine";
|
|
61982
|
-
easeInOutExpo: "easeInOutExpo";
|
|
61983
|
-
easeInOutCirc: "easeInOutCirc";
|
|
61984
|
-
easeInOutBack: "easeInOutBack";
|
|
61985
|
-
}>>;
|
|
61986
|
-
}, z.core.$strict>>]>>;
|
|
61987
|
-
crop: z.ZodOptional<z.ZodObject<{
|
|
61988
|
-
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61989
|
-
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61990
|
-
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61991
|
-
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61992
|
-
}, z.core.$strict>>;
|
|
61993
|
-
chromaKey: z.ZodOptional<z.ZodObject<{
|
|
61994
|
-
color: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
61995
|
-
threshold: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61996
|
-
halo: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
61997
|
-
}, z.core.$strict>>;
|
|
61998
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
61999
|
-
type: z.ZodEnum<{
|
|
62000
61915
|
audio: "audio";
|
|
62001
61916
|
}>;
|
|
62002
|
-
|
|
62003
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
61917
|
+
prompt: z.ZodString;
|
|
62004
61918
|
model: z.ZodOptional<z.ZodString>;
|
|
62005
61919
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62006
|
-
|
|
62007
|
-
volume: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>, z.ZodArray<z.ZodObject<{
|
|
62008
|
-
from: z.ZodOptional<z.ZodUnknown>;
|
|
62009
|
-
to: z.ZodOptional<z.ZodUnknown>;
|
|
62010
|
-
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
62011
|
-
length: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
62012
|
-
interpolation: z.ZodOptional<z.ZodEnum<{
|
|
62013
|
-
linear: "linear";
|
|
62014
|
-
bezier: "bezier";
|
|
62015
|
-
constant: "constant";
|
|
62016
|
-
}>>;
|
|
62017
|
-
easing: z.ZodOptional<z.ZodEnum<{
|
|
62018
|
-
ease: "ease";
|
|
62019
|
-
easeIn: "easeIn";
|
|
62020
|
-
easeOut: "easeOut";
|
|
62021
|
-
easeInOut: "easeInOut";
|
|
62022
|
-
easeInQuad: "easeInQuad";
|
|
62023
|
-
easeInCubic: "easeInCubic";
|
|
62024
|
-
easeInQuart: "easeInQuart";
|
|
62025
|
-
easeInQuint: "easeInQuint";
|
|
62026
|
-
easeInSine: "easeInSine";
|
|
62027
|
-
easeInExpo: "easeInExpo";
|
|
62028
|
-
easeInCirc: "easeInCirc";
|
|
62029
|
-
easeInBack: "easeInBack";
|
|
62030
|
-
easeOutQuad: "easeOutQuad";
|
|
62031
|
-
easeOutCubic: "easeOutCubic";
|
|
62032
|
-
easeOutQuart: "easeOutQuart";
|
|
62033
|
-
easeOutQuint: "easeOutQuint";
|
|
62034
|
-
easeOutSine: "easeOutSine";
|
|
62035
|
-
easeOutExpo: "easeOutExpo";
|
|
62036
|
-
easeOutCirc: "easeOutCirc";
|
|
62037
|
-
easeOutBack: "easeOutBack";
|
|
62038
|
-
easeInOutQuad: "easeInOutQuad";
|
|
62039
|
-
easeInOutCubic: "easeInOutCubic";
|
|
62040
|
-
easeInOutQuart: "easeInOutQuart";
|
|
62041
|
-
easeInOutQuint: "easeInOutQuint";
|
|
62042
|
-
easeInOutSine: "easeInOutSine";
|
|
62043
|
-
easeInOutExpo: "easeInOutExpo";
|
|
62044
|
-
easeInOutCirc: "easeInOutCirc";
|
|
62045
|
-
easeInOutBack: "easeInOutBack";
|
|
62046
|
-
}>>;
|
|
62047
|
-
}, z.core.$strict>>]>>;
|
|
62048
|
-
speed: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
62049
|
-
effect: z.ZodOptional<z.ZodEnum<{
|
|
62050
|
-
none: "none";
|
|
62051
|
-
fadeIn: "fadeIn";
|
|
62052
|
-
fadeOut: "fadeOut";
|
|
62053
|
-
fadeInFadeOut: "fadeInFadeOut";
|
|
62054
|
-
}>>;
|
|
62055
|
-
}, z.core.$strict>]>;
|
|
61920
|
+
}, z.core.$strict>;
|
|
62056
61921
|
length: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
62057
|
-
}, z.core.$strip
|
|
61922
|
+
}, z.core.$strip>;
|
|
62058
61923
|
path: z.ZodOptional<z.ZodNever>;
|
|
62059
61924
|
query: z.ZodOptional<z.ZodNever>;
|
|
62060
61925
|
headers: z.ZodOptional<z.ZodObject<{
|