@pixerate/schemas 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -154,6 +154,7 @@ __export(index_exports, {
154
154
  VideoAnalysisCategorySchema: () => VideoAnalysisCategorySchema,
155
155
  VideoAnalysisSchema: () => VideoAnalysisSchema,
156
156
  VideoAspectRatioSchema: () => VideoAspectRatioSchema,
157
+ VideoAttachmentSchema: () => VideoAttachmentSchema,
157
158
  VideoCompositingSchema: () => VideoCompositingSchema,
158
159
  VideoCompressionSchema: () => VideoCompressionSchema,
159
160
  VideoFrameImageSchema: () => VideoFrameImageSchema,
@@ -189,7 +190,7 @@ var AspectRatioSchema = import_zod.z.enum([
189
190
  "21:9"
190
191
  ]);
191
192
  var VideoAspectRatioSchema = import_zod.z.enum(["9:16", "16:9"]);
192
- var VideoResolutionSchema = import_zod.z.enum(["720p", "1080p", "4k", "720P", "1080P", "4K"]);
193
+ var VideoResolutionSchema = import_zod.z.enum(["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]);
193
194
  var VideoFrameImageSchema = import_zod.z.union([
194
195
  import_zod.z.string(),
195
196
  import_zod.z.object({
@@ -198,6 +199,15 @@ var VideoFrameImageSchema = import_zod.z.union([
198
199
  mimeType: import_zod.z.string().optional()
199
200
  })
200
201
  ]);
202
+ var VideoAttachmentSchema = import_zod.z.union([
203
+ import_zod.z.string(),
204
+ import_zod.z.object({
205
+ bytesBase64Encoded: import_zod.z.string().optional(),
206
+ data: import_zod.z.any().optional(),
207
+ mimeType: import_zod.z.string().optional(),
208
+ url: import_zod.z.string().optional()
209
+ })
210
+ ]);
201
211
  var VideoGenerationSchema = import_zod.z.object({
202
212
  prompt: import_zod.z.string(),
203
213
  aspectRatio: VideoAspectRatioSchema.optional(),
@@ -209,7 +219,10 @@ var VideoGenerationSchema = import_zod.z.object({
209
219
  isMultimedia: import_zod.z.boolean().optional(),
210
220
  multimedia: import_zod.z.boolean().optional(),
211
221
  firstFrame: VideoFrameImageSchema.optional(),
212
- lastFrame: VideoFrameImageSchema.optional()
222
+ lastFrame: VideoFrameImageSchema.optional(),
223
+ image: VideoAttachmentSchema.optional(),
224
+ images: import_zod.z.array(VideoAttachmentSchema).optional(),
225
+ attachments: import_zod.z.array(VideoAttachmentSchema).optional()
213
226
  });
214
227
  var VideoUpscaleSchema = import_zod.z.object({
215
228
  video: import_zod.z.string().optional(),
@@ -492,6 +505,9 @@ var VideoModificationSchema = import_zod.z.object({
492
505
  changes: import_zod.z.string().optional(),
493
506
  aspectRatio: VideoAspectRatioSchema.optional(),
494
507
  durationSeconds: import_zod.z.number().optional(),
508
+ resolution: VideoResolutionSchema.optional(),
509
+ task: import_zod.z.enum(["modify", "extend"]).optional(),
510
+ previousInteractionId: import_zod.z.string().optional(),
495
511
  seed: import_zod.z.number().int().optional()
496
512
  });
497
513
  var CodeGenerationSchema = import_zod.z.object({
@@ -1716,6 +1732,7 @@ var CRDTSnapshotSchema = import_zod.z.object({
1716
1732
  VideoAnalysisCategorySchema,
1717
1733
  VideoAnalysisSchema,
1718
1734
  VideoAspectRatioSchema,
1735
+ VideoAttachmentSchema,
1719
1736
  VideoCompositingSchema,
1720
1737
  VideoCompressionSchema,
1721
1738
  VideoFrameImageSchema,
package/dist/index.d.cts CHANGED
@@ -6,7 +6,7 @@ declare const AspectRatioSchema: z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "
6
6
  type AspectRatio = z.infer<typeof AspectRatioSchema>;
7
7
  declare const VideoAspectRatioSchema: z.ZodEnum<["9:16", "16:9"]>;
8
8
  type VideoAspectRatio = z.infer<typeof VideoAspectRatioSchema>;
9
- declare const VideoResolutionSchema: z.ZodEnum<["720p", "1080p", "4k", "720P", "1080P", "4K"]>;
9
+ declare const VideoResolutionSchema: z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>;
10
10
  type VideoResolution = z.infer<typeof VideoResolutionSchema>;
11
11
  declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
12
12
  bytesBase64Encoded: z.ZodOptional<z.ZodString>;
@@ -22,13 +22,30 @@ declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
22
22
  mimeType?: string | undefined;
23
23
  }>]>;
24
24
  type VideoFrameImage = z.infer<typeof VideoFrameImageSchema>;
25
+ declare const VideoAttachmentSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
26
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
27
+ data: z.ZodOptional<z.ZodAny>;
28
+ mimeType: z.ZodOptional<z.ZodString>;
29
+ url: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ bytesBase64Encoded?: string | undefined;
32
+ data?: any;
33
+ mimeType?: string | undefined;
34
+ url?: string | undefined;
35
+ }, {
36
+ bytesBase64Encoded?: string | undefined;
37
+ data?: any;
38
+ mimeType?: string | undefined;
39
+ url?: string | undefined;
40
+ }>]>;
41
+ type VideoAttachment = z.infer<typeof VideoAttachmentSchema>;
25
42
  declare const VideoGenerationSchema: z.ZodObject<{
26
43
  prompt: z.ZodString;
27
44
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
28
45
  durationSeconds: z.ZodOptional<z.ZodNumber>;
29
46
  generateAudio: z.ZodOptional<z.ZodBoolean>;
30
47
  modelName: z.ZodOptional<z.ZodString>;
31
- resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p", "4k", "720P", "1080P", "4K"]>>;
48
+ resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
32
49
  fps: z.ZodOptional<z.ZodNumber>;
33
50
  isMultimedia: z.ZodOptional<z.ZodBoolean>;
34
51
  multimedia: z.ZodOptional<z.ZodBoolean>;
@@ -58,13 +75,61 @@ declare const VideoGenerationSchema: z.ZodObject<{
58
75
  data?: string | undefined;
59
76
  mimeType?: string | undefined;
60
77
  }>]>>;
78
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
79
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
80
+ data: z.ZodOptional<z.ZodAny>;
81
+ mimeType: z.ZodOptional<z.ZodString>;
82
+ url: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ bytesBase64Encoded?: string | undefined;
85
+ data?: any;
86
+ mimeType?: string | undefined;
87
+ url?: string | undefined;
88
+ }, {
89
+ bytesBase64Encoded?: string | undefined;
90
+ data?: any;
91
+ mimeType?: string | undefined;
92
+ url?: string | undefined;
93
+ }>]>>;
94
+ images: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
95
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
96
+ data: z.ZodOptional<z.ZodAny>;
97
+ mimeType: z.ZodOptional<z.ZodString>;
98
+ url: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ bytesBase64Encoded?: string | undefined;
101
+ data?: any;
102
+ mimeType?: string | undefined;
103
+ url?: string | undefined;
104
+ }, {
105
+ bytesBase64Encoded?: string | undefined;
106
+ data?: any;
107
+ mimeType?: string | undefined;
108
+ url?: string | undefined;
109
+ }>]>, "many">>;
110
+ attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
111
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
112
+ data: z.ZodOptional<z.ZodAny>;
113
+ mimeType: z.ZodOptional<z.ZodString>;
114
+ url: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ bytesBase64Encoded?: string | undefined;
117
+ data?: any;
118
+ mimeType?: string | undefined;
119
+ url?: string | undefined;
120
+ }, {
121
+ bytesBase64Encoded?: string | undefined;
122
+ data?: any;
123
+ mimeType?: string | undefined;
124
+ url?: string | undefined;
125
+ }>]>, "many">>;
61
126
  }, "strip", z.ZodTypeAny, {
62
127
  prompt: string;
63
128
  aspectRatio?: "9:16" | "16:9" | undefined;
64
129
  durationSeconds?: number | undefined;
65
130
  generateAudio?: boolean | undefined;
66
131
  modelName?: string | undefined;
67
- resolution?: "720p" | "1080p" | "4k" | "720P" | "1080P" | "4K" | undefined;
132
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
68
133
  fps?: number | undefined;
69
134
  isMultimedia?: boolean | undefined;
70
135
  multimedia?: boolean | undefined;
@@ -78,13 +143,31 @@ declare const VideoGenerationSchema: z.ZodObject<{
78
143
  data?: string | undefined;
79
144
  mimeType?: string | undefined;
80
145
  } | undefined;
146
+ image?: string | {
147
+ bytesBase64Encoded?: string | undefined;
148
+ data?: any;
149
+ mimeType?: string | undefined;
150
+ url?: string | undefined;
151
+ } | undefined;
152
+ images?: (string | {
153
+ bytesBase64Encoded?: string | undefined;
154
+ data?: any;
155
+ mimeType?: string | undefined;
156
+ url?: string | undefined;
157
+ })[] | undefined;
158
+ attachments?: (string | {
159
+ bytesBase64Encoded?: string | undefined;
160
+ data?: any;
161
+ mimeType?: string | undefined;
162
+ url?: string | undefined;
163
+ })[] | undefined;
81
164
  }, {
82
165
  prompt: string;
83
166
  aspectRatio?: "9:16" | "16:9" | undefined;
84
167
  durationSeconds?: number | undefined;
85
168
  generateAudio?: boolean | undefined;
86
169
  modelName?: string | undefined;
87
- resolution?: "720p" | "1080p" | "4k" | "720P" | "1080P" | "4K" | undefined;
170
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
88
171
  fps?: number | undefined;
89
172
  isMultimedia?: boolean | undefined;
90
173
  multimedia?: boolean | undefined;
@@ -98,6 +181,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
98
181
  data?: string | undefined;
99
182
  mimeType?: string | undefined;
100
183
  } | undefined;
184
+ image?: string | {
185
+ bytesBase64Encoded?: string | undefined;
186
+ data?: any;
187
+ mimeType?: string | undefined;
188
+ url?: string | undefined;
189
+ } | undefined;
190
+ images?: (string | {
191
+ bytesBase64Encoded?: string | undefined;
192
+ data?: any;
193
+ mimeType?: string | undefined;
194
+ url?: string | undefined;
195
+ })[] | undefined;
196
+ attachments?: (string | {
197
+ bytesBase64Encoded?: string | undefined;
198
+ data?: any;
199
+ mimeType?: string | undefined;
200
+ url?: string | undefined;
201
+ })[] | undefined;
101
202
  }>;
102
203
  type VideoGenerationPayload = z.infer<typeof VideoGenerationSchema>;
103
204
  declare const VideoUpscaleSchema: z.ZodObject<{
@@ -5055,19 +5156,28 @@ declare const VideoModificationSchema: z.ZodObject<{
5055
5156
  changes: z.ZodOptional<z.ZodString>;
5056
5157
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
5057
5158
  durationSeconds: z.ZodOptional<z.ZodNumber>;
5159
+ resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
5160
+ task: z.ZodOptional<z.ZodEnum<["modify", "extend"]>>;
5161
+ previousInteractionId: z.ZodOptional<z.ZodString>;
5058
5162
  seed: z.ZodOptional<z.ZodNumber>;
5059
5163
  }, "strip", z.ZodTypeAny, {
5060
5164
  prompt: string;
5061
5165
  aspectRatio?: "9:16" | "16:9" | undefined;
5062
5166
  durationSeconds?: number | undefined;
5167
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
5063
5168
  seed?: number | undefined;
5064
5169
  changes?: string | undefined;
5170
+ task?: "modify" | "extend" | undefined;
5171
+ previousInteractionId?: string | undefined;
5065
5172
  }, {
5066
5173
  prompt: string;
5067
5174
  aspectRatio?: "9:16" | "16:9" | undefined;
5068
5175
  durationSeconds?: number | undefined;
5176
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
5069
5177
  seed?: number | undefined;
5070
5178
  changes?: string | undefined;
5179
+ task?: "modify" | "extend" | undefined;
5180
+ previousInteractionId?: string | undefined;
5071
5181
  }>;
5072
5182
  type VideoModificationPayload = z.infer<typeof VideoModificationSchema>;
5073
5183
  declare const CodeGenerationSchema: z.ZodObject<{
@@ -7787,7 +7897,7 @@ declare const QueueJobSchema: z.ZodObject<{
7787
7897
  createdAt: z.ZodOptional<z.ZodAny>;
7788
7898
  updatedAt: z.ZodOptional<z.ZodAny>;
7789
7899
  }, "strip", z.ZodTypeAny, {
7790
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7900
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7791
7901
  status: "queued" | "completed" | "failed" | "processing";
7792
7902
  id: string;
7793
7903
  createdAt?: any;
@@ -7795,7 +7905,7 @@ declare const QueueJobSchema: z.ZodObject<{
7795
7905
  client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
7796
7906
  payload?: Record<string, any> | undefined;
7797
7907
  }, {
7798
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7908
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7799
7909
  status: "queued" | "completed" | "failed" | "processing";
7800
7910
  id: string;
7801
7911
  createdAt?: any;
@@ -11345,4 +11455,4 @@ declare const CRDTSnapshotSchema: z.ZodObject<{
11345
11455
  }>;
11346
11456
  type CRDTSnapshot = z.infer<typeof CRDTSnapshotSchema>;
11347
11457
 
11348
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
11458
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ declare const AspectRatioSchema: z.ZodEnum<["1:1", "2:3", "3:2", "3:4", "4:3", "
6
6
  type AspectRatio = z.infer<typeof AspectRatioSchema>;
7
7
  declare const VideoAspectRatioSchema: z.ZodEnum<["9:16", "16:9"]>;
8
8
  type VideoAspectRatio = z.infer<typeof VideoAspectRatioSchema>;
9
- declare const VideoResolutionSchema: z.ZodEnum<["720p", "1080p", "4k", "720P", "1080P", "4K"]>;
9
+ declare const VideoResolutionSchema: z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>;
10
10
  type VideoResolution = z.infer<typeof VideoResolutionSchema>;
11
11
  declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
12
12
  bytesBase64Encoded: z.ZodOptional<z.ZodString>;
@@ -22,13 +22,30 @@ declare const VideoFrameImageSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
22
22
  mimeType?: string | undefined;
23
23
  }>]>;
24
24
  type VideoFrameImage = z.infer<typeof VideoFrameImageSchema>;
25
+ declare const VideoAttachmentSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
26
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
27
+ data: z.ZodOptional<z.ZodAny>;
28
+ mimeType: z.ZodOptional<z.ZodString>;
29
+ url: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ bytesBase64Encoded?: string | undefined;
32
+ data?: any;
33
+ mimeType?: string | undefined;
34
+ url?: string | undefined;
35
+ }, {
36
+ bytesBase64Encoded?: string | undefined;
37
+ data?: any;
38
+ mimeType?: string | undefined;
39
+ url?: string | undefined;
40
+ }>]>;
41
+ type VideoAttachment = z.infer<typeof VideoAttachmentSchema>;
25
42
  declare const VideoGenerationSchema: z.ZodObject<{
26
43
  prompt: z.ZodString;
27
44
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
28
45
  durationSeconds: z.ZodOptional<z.ZodNumber>;
29
46
  generateAudio: z.ZodOptional<z.ZodBoolean>;
30
47
  modelName: z.ZodOptional<z.ZodString>;
31
- resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p", "4k", "720P", "1080P", "4K"]>>;
48
+ resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
32
49
  fps: z.ZodOptional<z.ZodNumber>;
33
50
  isMultimedia: z.ZodOptional<z.ZodBoolean>;
34
51
  multimedia: z.ZodOptional<z.ZodBoolean>;
@@ -58,13 +75,61 @@ declare const VideoGenerationSchema: z.ZodObject<{
58
75
  data?: string | undefined;
59
76
  mimeType?: string | undefined;
60
77
  }>]>>;
78
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
79
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
80
+ data: z.ZodOptional<z.ZodAny>;
81
+ mimeType: z.ZodOptional<z.ZodString>;
82
+ url: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ bytesBase64Encoded?: string | undefined;
85
+ data?: any;
86
+ mimeType?: string | undefined;
87
+ url?: string | undefined;
88
+ }, {
89
+ bytesBase64Encoded?: string | undefined;
90
+ data?: any;
91
+ mimeType?: string | undefined;
92
+ url?: string | undefined;
93
+ }>]>>;
94
+ images: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
95
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
96
+ data: z.ZodOptional<z.ZodAny>;
97
+ mimeType: z.ZodOptional<z.ZodString>;
98
+ url: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ bytesBase64Encoded?: string | undefined;
101
+ data?: any;
102
+ mimeType?: string | undefined;
103
+ url?: string | undefined;
104
+ }, {
105
+ bytesBase64Encoded?: string | undefined;
106
+ data?: any;
107
+ mimeType?: string | undefined;
108
+ url?: string | undefined;
109
+ }>]>, "many">>;
110
+ attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
111
+ bytesBase64Encoded: z.ZodOptional<z.ZodString>;
112
+ data: z.ZodOptional<z.ZodAny>;
113
+ mimeType: z.ZodOptional<z.ZodString>;
114
+ url: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ bytesBase64Encoded?: string | undefined;
117
+ data?: any;
118
+ mimeType?: string | undefined;
119
+ url?: string | undefined;
120
+ }, {
121
+ bytesBase64Encoded?: string | undefined;
122
+ data?: any;
123
+ mimeType?: string | undefined;
124
+ url?: string | undefined;
125
+ }>]>, "many">>;
61
126
  }, "strip", z.ZodTypeAny, {
62
127
  prompt: string;
63
128
  aspectRatio?: "9:16" | "16:9" | undefined;
64
129
  durationSeconds?: number | undefined;
65
130
  generateAudio?: boolean | undefined;
66
131
  modelName?: string | undefined;
67
- resolution?: "720p" | "1080p" | "4k" | "720P" | "1080P" | "4K" | undefined;
132
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
68
133
  fps?: number | undefined;
69
134
  isMultimedia?: boolean | undefined;
70
135
  multimedia?: boolean | undefined;
@@ -78,13 +143,31 @@ declare const VideoGenerationSchema: z.ZodObject<{
78
143
  data?: string | undefined;
79
144
  mimeType?: string | undefined;
80
145
  } | undefined;
146
+ image?: string | {
147
+ bytesBase64Encoded?: string | undefined;
148
+ data?: any;
149
+ mimeType?: string | undefined;
150
+ url?: string | undefined;
151
+ } | undefined;
152
+ images?: (string | {
153
+ bytesBase64Encoded?: string | undefined;
154
+ data?: any;
155
+ mimeType?: string | undefined;
156
+ url?: string | undefined;
157
+ })[] | undefined;
158
+ attachments?: (string | {
159
+ bytesBase64Encoded?: string | undefined;
160
+ data?: any;
161
+ mimeType?: string | undefined;
162
+ url?: string | undefined;
163
+ })[] | undefined;
81
164
  }, {
82
165
  prompt: string;
83
166
  aspectRatio?: "9:16" | "16:9" | undefined;
84
167
  durationSeconds?: number | undefined;
85
168
  generateAudio?: boolean | undefined;
86
169
  modelName?: string | undefined;
87
- resolution?: "720p" | "1080p" | "4k" | "720P" | "1080P" | "4K" | undefined;
170
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
88
171
  fps?: number | undefined;
89
172
  isMultimedia?: boolean | undefined;
90
173
  multimedia?: boolean | undefined;
@@ -98,6 +181,24 @@ declare const VideoGenerationSchema: z.ZodObject<{
98
181
  data?: string | undefined;
99
182
  mimeType?: string | undefined;
100
183
  } | undefined;
184
+ image?: string | {
185
+ bytesBase64Encoded?: string | undefined;
186
+ data?: any;
187
+ mimeType?: string | undefined;
188
+ url?: string | undefined;
189
+ } | undefined;
190
+ images?: (string | {
191
+ bytesBase64Encoded?: string | undefined;
192
+ data?: any;
193
+ mimeType?: string | undefined;
194
+ url?: string | undefined;
195
+ })[] | undefined;
196
+ attachments?: (string | {
197
+ bytesBase64Encoded?: string | undefined;
198
+ data?: any;
199
+ mimeType?: string | undefined;
200
+ url?: string | undefined;
201
+ })[] | undefined;
101
202
  }>;
102
203
  type VideoGenerationPayload = z.infer<typeof VideoGenerationSchema>;
103
204
  declare const VideoUpscaleSchema: z.ZodObject<{
@@ -5055,19 +5156,28 @@ declare const VideoModificationSchema: z.ZodObject<{
5055
5156
  changes: z.ZodOptional<z.ZodString>;
5056
5157
  aspectRatio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
5057
5158
  durationSeconds: z.ZodOptional<z.ZodNumber>;
5159
+ resolution: z.ZodOptional<z.ZodEnum<["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]>>;
5160
+ task: z.ZodOptional<z.ZodEnum<["modify", "extend"]>>;
5161
+ previousInteractionId: z.ZodOptional<z.ZodString>;
5058
5162
  seed: z.ZodOptional<z.ZodNumber>;
5059
5163
  }, "strip", z.ZodTypeAny, {
5060
5164
  prompt: string;
5061
5165
  aspectRatio?: "9:16" | "16:9" | undefined;
5062
5166
  durationSeconds?: number | undefined;
5167
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
5063
5168
  seed?: number | undefined;
5064
5169
  changes?: string | undefined;
5170
+ task?: "modify" | "extend" | undefined;
5171
+ previousInteractionId?: string | undefined;
5065
5172
  }, {
5066
5173
  prompt: string;
5067
5174
  aspectRatio?: "9:16" | "16:9" | undefined;
5068
5175
  durationSeconds?: number | undefined;
5176
+ resolution?: "360p" | "720p" | "1080p" | "4k" | "360P" | "720P" | "1080P" | "4K" | undefined;
5069
5177
  seed?: number | undefined;
5070
5178
  changes?: string | undefined;
5179
+ task?: "modify" | "extend" | undefined;
5180
+ previousInteractionId?: string | undefined;
5071
5181
  }>;
5072
5182
  type VideoModificationPayload = z.infer<typeof VideoModificationSchema>;
5073
5183
  declare const CodeGenerationSchema: z.ZodObject<{
@@ -7787,7 +7897,7 @@ declare const QueueJobSchema: z.ZodObject<{
7787
7897
  createdAt: z.ZodOptional<z.ZodAny>;
7788
7898
  updatedAt: z.ZodOptional<z.ZodAny>;
7789
7899
  }, "strip", z.ZodTypeAny, {
7790
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7900
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7791
7901
  status: "queued" | "completed" | "failed" | "processing";
7792
7902
  id: string;
7793
7903
  createdAt?: any;
@@ -7795,7 +7905,7 @@ declare const QueueJobSchema: z.ZodObject<{
7795
7905
  client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
7796
7906
  payload?: Record<string, any> | undefined;
7797
7907
  }, {
7798
- type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
7908
+ type: "code" | "image" | "video" | "text" | "agent" | "analysis" | "audio" | "component" | "upscale";
7799
7909
  status: "queued" | "completed" | "failed" | "processing";
7800
7910
  id: string;
7801
7911
  createdAt?: any;
@@ -11345,4 +11455,4 @@ declare const CRDTSnapshotSchema: z.ZodObject<{
11345
11455
  }>;
11346
11456
  type CRDTSnapshot = z.infer<typeof CRDTSnapshotSchema>;
11347
11457
 
11348
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
11458
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var AspectRatioSchema = z.enum([
14
14
  "21:9"
15
15
  ]);
16
16
  var VideoAspectRatioSchema = z.enum(["9:16", "16:9"]);
17
- var VideoResolutionSchema = z.enum(["720p", "1080p", "4k", "720P", "1080P", "4K"]);
17
+ var VideoResolutionSchema = z.enum(["360p", "720p", "1080p", "4k", "360P", "720P", "1080P", "4K"]);
18
18
  var VideoFrameImageSchema = z.union([
19
19
  z.string(),
20
20
  z.object({
@@ -23,6 +23,15 @@ var VideoFrameImageSchema = z.union([
23
23
  mimeType: z.string().optional()
24
24
  })
25
25
  ]);
26
+ var VideoAttachmentSchema = z.union([
27
+ z.string(),
28
+ z.object({
29
+ bytesBase64Encoded: z.string().optional(),
30
+ data: z.any().optional(),
31
+ mimeType: z.string().optional(),
32
+ url: z.string().optional()
33
+ })
34
+ ]);
26
35
  var VideoGenerationSchema = z.object({
27
36
  prompt: z.string(),
28
37
  aspectRatio: VideoAspectRatioSchema.optional(),
@@ -34,7 +43,10 @@ var VideoGenerationSchema = z.object({
34
43
  isMultimedia: z.boolean().optional(),
35
44
  multimedia: z.boolean().optional(),
36
45
  firstFrame: VideoFrameImageSchema.optional(),
37
- lastFrame: VideoFrameImageSchema.optional()
46
+ lastFrame: VideoFrameImageSchema.optional(),
47
+ image: VideoAttachmentSchema.optional(),
48
+ images: z.array(VideoAttachmentSchema).optional(),
49
+ attachments: z.array(VideoAttachmentSchema).optional()
38
50
  });
39
51
  var VideoUpscaleSchema = z.object({
40
52
  video: z.string().optional(),
@@ -317,6 +329,9 @@ var VideoModificationSchema = z.object({
317
329
  changes: z.string().optional(),
318
330
  aspectRatio: VideoAspectRatioSchema.optional(),
319
331
  durationSeconds: z.number().optional(),
332
+ resolution: VideoResolutionSchema.optional(),
333
+ task: z.enum(["modify", "extend"]).optional(),
334
+ previousInteractionId: z.string().optional(),
320
335
  seed: z.number().int().optional()
321
336
  });
322
337
  var CodeGenerationSchema = z.object({
@@ -1540,6 +1555,7 @@ export {
1540
1555
  VideoAnalysisCategorySchema,
1541
1556
  VideoAnalysisSchema,
1542
1557
  VideoAspectRatioSchema,
1558
+ VideoAttachmentSchema,
1543
1559
  VideoCompositingSchema,
1544
1560
  VideoCompressionSchema,
1545
1561
  VideoFrameImageSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",