@executioncontrolprotocol/adobe-firefly-services 0.13.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.
Files changed (134) hide show
  1. package/README.md +81 -0
  2. package/dist/auth/ims.d.ts +42 -0
  3. package/dist/auth/ims.d.ts.map +1 -0
  4. package/dist/auth/ims.js +54 -0
  5. package/dist/auth/ims.js.map +1 -0
  6. package/dist/generated/audio-video/capabilities.d.ts +37 -0
  7. package/dist/generated/audio-video/capabilities.d.ts.map +1 -0
  8. package/dist/generated/audio-video/capabilities.js +488 -0
  9. package/dist/generated/audio-video/capabilities.js.map +1 -0
  10. package/dist/generated/audio-video/index.d.ts +3 -0
  11. package/dist/generated/audio-video/index.d.ts.map +1 -0
  12. package/dist/generated/audio-video/index.js +3 -0
  13. package/dist/generated/audio-video/index.js.map +1 -0
  14. package/dist/generated/audio-video/schemas.d.ts +84 -0
  15. package/dist/generated/audio-video/schemas.d.ts.map +1 -0
  16. package/dist/generated/audio-video/schemas.js +476 -0
  17. package/dist/generated/audio-video/schemas.js.map +1 -0
  18. package/dist/generated/creative-production/capabilities.d.ts +11 -0
  19. package/dist/generated/creative-production/capabilities.d.ts.map +1 -0
  20. package/dist/generated/creative-production/capabilities.js +168 -0
  21. package/dist/generated/creative-production/capabilities.js.map +1 -0
  22. package/dist/generated/creative-production/index.d.ts +3 -0
  23. package/dist/generated/creative-production/index.d.ts.map +1 -0
  24. package/dist/generated/creative-production/index.js +3 -0
  25. package/dist/generated/creative-production/index.js.map +1 -0
  26. package/dist/generated/creative-production/schemas.d.ts +23 -0
  27. package/dist/generated/creative-production/schemas.d.ts.map +1 -0
  28. package/dist/generated/creative-production/schemas.js +130 -0
  29. package/dist/generated/creative-production/schemas.js.map +1 -0
  30. package/dist/generated/express/capabilities.d.ts +11 -0
  31. package/dist/generated/express/capabilities.d.ts.map +1 -0
  32. package/dist/generated/express/capabilities.js +114 -0
  33. package/dist/generated/express/capabilities.js.map +1 -0
  34. package/dist/generated/express/index.d.ts +3 -0
  35. package/dist/generated/express/index.d.ts.map +1 -0
  36. package/dist/generated/express/index.js +3 -0
  37. package/dist/generated/express/index.js.map +1 -0
  38. package/dist/generated/express/schemas.d.ts +36 -0
  39. package/dist/generated/express/schemas.d.ts.map +1 -0
  40. package/dist/generated/express/schemas.js +136 -0
  41. package/dist/generated/express/schemas.js.map +1 -0
  42. package/dist/generated/firefly/capabilities.d.ts +29 -0
  43. package/dist/generated/firefly/capabilities.d.ts.map +1 -0
  44. package/dist/generated/firefly/capabilities.js +307 -0
  45. package/dist/generated/firefly/capabilities.js.map +1 -0
  46. package/dist/generated/firefly/index.d.ts +3 -0
  47. package/dist/generated/firefly/index.d.ts.map +1 -0
  48. package/dist/generated/firefly/index.js +3 -0
  49. package/dist/generated/firefly/index.js.map +1 -0
  50. package/dist/generated/firefly/schemas.d.ts +107 -0
  51. package/dist/generated/firefly/schemas.d.ts.map +1 -0
  52. package/dist/generated/firefly/schemas.js +453 -0
  53. package/dist/generated/firefly/schemas.js.map +1 -0
  54. package/dist/generated/illustrator/capabilities.d.ts +17 -0
  55. package/dist/generated/illustrator/capabilities.d.ts.map +1 -0
  56. package/dist/generated/illustrator/capabilities.js +169 -0
  57. package/dist/generated/illustrator/capabilities.js.map +1 -0
  58. package/dist/generated/illustrator/index.d.ts +3 -0
  59. package/dist/generated/illustrator/index.d.ts.map +1 -0
  60. package/dist/generated/illustrator/index.js +3 -0
  61. package/dist/generated/illustrator/index.js.map +1 -0
  62. package/dist/generated/illustrator/schemas.d.ts +56 -0
  63. package/dist/generated/illustrator/schemas.d.ts.map +1 -0
  64. package/dist/generated/illustrator/schemas.js +237 -0
  65. package/dist/generated/illustrator/schemas.js.map +1 -0
  66. package/dist/generated/indesign/capabilities.d.ts +33 -0
  67. package/dist/generated/indesign/capabilities.d.ts.map +1 -0
  68. package/dist/generated/indesign/capabilities.js +390 -0
  69. package/dist/generated/indesign/capabilities.js.map +1 -0
  70. package/dist/generated/indesign/index.d.ts +3 -0
  71. package/dist/generated/indesign/index.d.ts.map +1 -0
  72. package/dist/generated/indesign/index.js +3 -0
  73. package/dist/generated/indesign/index.js.map +1 -0
  74. package/dist/generated/indesign/schemas.d.ts +26 -0
  75. package/dist/generated/indesign/schemas.d.ts.map +1 -0
  76. package/dist/generated/indesign/schemas.js +250 -0
  77. package/dist/generated/indesign/schemas.js.map +1 -0
  78. package/dist/generated/index.d.ts +4 -0
  79. package/dist/generated/index.d.ts.map +1 -0
  80. package/dist/generated/index.js +98 -0
  81. package/dist/generated/index.js.map +1 -0
  82. package/dist/generated/photoshop/capabilities.d.ts +15 -0
  83. package/dist/generated/photoshop/capabilities.d.ts.map +1 -0
  84. package/dist/generated/photoshop/capabilities.js +143 -0
  85. package/dist/generated/photoshop/capabilities.js.map +1 -0
  86. package/dist/generated/photoshop/index.d.ts +3 -0
  87. package/dist/generated/photoshop/index.d.ts.map +1 -0
  88. package/dist/generated/photoshop/index.js +3 -0
  89. package/dist/generated/photoshop/index.js.map +1 -0
  90. package/dist/generated/photoshop/schemas.d.ts +154 -0
  91. package/dist/generated/photoshop/schemas.d.ts.map +1 -0
  92. package/dist/generated/photoshop/schemas.js +718 -0
  93. package/dist/generated/photoshop/schemas.js.map +1 -0
  94. package/dist/generated/substance3d/capabilities.d.ts +23 -0
  95. package/dist/generated/substance3d/capabilities.d.ts.map +1 -0
  96. package/dist/generated/substance3d/capabilities.js +236 -0
  97. package/dist/generated/substance3d/capabilities.js.map +1 -0
  98. package/dist/generated/substance3d/index.d.ts +3 -0
  99. package/dist/generated/substance3d/index.d.ts.map +1 -0
  100. package/dist/generated/substance3d/index.js +3 -0
  101. package/dist/generated/substance3d/index.js.map +1 -0
  102. package/dist/generated/substance3d/schemas.d.ts +78 -0
  103. package/dist/generated/substance3d/schemas.d.ts.map +1 -0
  104. package/dist/generated/substance3d/schemas.js +517 -0
  105. package/dist/generated/substance3d/schemas.js.map +1 -0
  106. package/dist/http/async-job.d.ts +27 -0
  107. package/dist/http/async-job.d.ts.map +1 -0
  108. package/dist/http/async-job.js +28 -0
  109. package/dist/http/async-job.js.map +1 -0
  110. package/dist/http/client.d.ts +53 -0
  111. package/dist/http/client.d.ts.map +1 -0
  112. package/dist/http/client.js +75 -0
  113. package/dist/http/client.js.map +1 -0
  114. package/dist/index.d.ts +32 -0
  115. package/dist/index.d.ts.map +1 -0
  116. package/dist/index.js +49 -0
  117. package/dist/index.js.map +1 -0
  118. package/dist/runtime/invoke.d.ts +54 -0
  119. package/dist/runtime/invoke.d.ts.map +1 -0
  120. package/dist/runtime/invoke.js +64 -0
  121. package/dist/runtime/invoke.js.map +1 -0
  122. package/openapi/audio-video/audio-video-api.json +8333 -0
  123. package/openapi/audio-video/translate-lipsync-openapi.json +1967 -0
  124. package/openapi/content-tagging/SOURCE.md +10 -0
  125. package/openapi/creative-production/workflow-builder-api.yaml +1002 -0
  126. package/openapi/express/ffs-express-api.json +2262 -0
  127. package/openapi/firefly/firefly-api.json +4964 -0
  128. package/openapi/illustrator/illustrator-api-beta.json +1329 -0
  129. package/openapi/illustrator/illustrator-api.json +2447 -0
  130. package/openapi/indesign/indesignapi.json +2907 -0
  131. package/openapi/overlays/schema-fixes.json +95 -0
  132. package/openapi/photoshop/photoshopv2-api.json +5395 -0
  133. package/openapi/substance3d/openapi.yaml +3583 -0
  134. package/package.json +36 -0
@@ -0,0 +1,136 @@
1
+ /* eslint-disable */
2
+ /** Generated from express/ffs-express-api.json — do not edit. */
3
+ import { z } from "zod";
4
+ export const Schema_TaggedDocumentsSortBy = z.lazy(() => (z.enum(["+modifiedDate", "+name", "-modifiedDate", "-name", "-relevance", "modifiedDate", "name", "relevance"])));
5
+ export const Schema_TaggedDocumentsResponse = z.lazy(() => (z.object({
6
+ "paging": Schema_Pagination.optional(),
7
+ "documents": z.array(Schema_ExpressDocument).optional()
8
+ })));
9
+ export const Schema_Pagination = z.lazy(() => (z.object({
10
+ "nextUrl": z.string(),
11
+ "totalRecords": z.number()
12
+ })));
13
+ export const Schema_ExpressDocument = z.lazy(() => (z.object({
14
+ "id": z.string(),
15
+ "name": z.string(),
16
+ "thumbnailUrl": z.string()
17
+ })));
18
+ export const Schema_ErrorResponseDetails = z.lazy(() => (z.object({
19
+ "error_code": z.string(),
20
+ "message": z.string().optional(),
21
+ "validation_errors": z.array(z.string()).optional()
22
+ })));
23
+ export const Schema_TaggedDocumentDetailsResponse = z.lazy(() => (z.object({
24
+ "name": z.string(),
25
+ "id": z.string(),
26
+ "paging": Schema_Pagination.optional(),
27
+ "documentPages": z.array(Schema_DocumentPageDetails)
28
+ })));
29
+ export const Schema_DocumentPageDetails = z.lazy(() => (z.object({
30
+ "pageNumber": z.number(),
31
+ "pageTitle": z.string(),
32
+ "thumbnailUrl": z.string(),
33
+ "size": Schema_Size,
34
+ "taggedElements": z.array(Schema_TaggedElement).optional()
35
+ })));
36
+ export const Schema_Size = z.lazy(() => (z.object({
37
+ "width": z.number(),
38
+ "height": z.number()
39
+ })));
40
+ export const Schema_TaggedElement = z.lazy(() => (z.object({
41
+ "name": z.string(),
42
+ "type": Schema_TaggedElementType,
43
+ "position": Schema_Point,
44
+ "size": Schema_Size
45
+ })));
46
+ export const Schema_TaggedElementType = z.lazy(() => (z.enum(["image", "text", "video"])));
47
+ export const Schema_Point = z.lazy(() => (z.object({
48
+ "x": z.number(),
49
+ "y": z.number()
50
+ })));
51
+ export const Schema_GenerateVariationRequest = z.lazy(() => (z.object({
52
+ "id": z.string(),
53
+ "variationDetails": Schema_VariationDetails
54
+ })));
55
+ export const Schema_VariationDetails = z.lazy(() => (z.object({
56
+ "tagMappings": z.record(z.string(), z.string()),
57
+ "pages": z.string().optional(),
58
+ "preferredDocumentName": z.string().optional(),
59
+ "projectId": z.string().optional()
60
+ })));
61
+ export const Schema_JobResponse = z.lazy(() => (z.object({
62
+ "jobId": z.string(),
63
+ "statusUrl": z.string()
64
+ })));
65
+ export const Schema_ExportRenditionRequest = z.lazy(() => (z.object({
66
+ "id": z.string(),
67
+ "pages": z.string().optional(),
68
+ "options": z.union([Schema_ImageRenditionOptions, Schema_VideoRenditionOptions, Schema_PdfRenditionOptions])
69
+ })));
70
+ export const Schema_ImageRenditionOptions = z.lazy(() => (z.object({
71
+ "format": Schema_ImageRenditionFormat,
72
+ "size": z.number().optional()
73
+ })));
74
+ export const Schema_ImageRenditionFormat = z.lazy(() => (z.enum(["image/jpeg", "image/png"])));
75
+ export const Schema_VideoRenditionOptions = z.lazy(() => (z.object({
76
+ "format": z.enum(["video/mp4"]),
77
+ "size": z.number().optional()
78
+ })));
79
+ export const Schema_PdfRenditionOptions = z.lazy(() => (z.object({
80
+ "format": z.enum(["application/pdf"]),
81
+ "pdfType": z.enum(["print", "standard"]).optional(),
82
+ "downloadIndividualPdfFiles": z.boolean().optional(),
83
+ "config": z.union([Schema_PrintConfig, Schema_StandardConfig]).optional()
84
+ })));
85
+ export const Schema_PrintConfig = z.lazy(() => (z.object({
86
+ "bleed": z.boolean().optional(),
87
+ "bleedSettings": Schema_ValueWithUnit.optional(),
88
+ "cropMargins": z.boolean().optional(),
89
+ "cropMarginsSettings": Schema_ValueWithUnit.optional()
90
+ })));
91
+ export const Schema_ValueWithUnit = z.lazy(() => (z.object({
92
+ "amount": z.number(),
93
+ "unit": Schema_PdfMarginUnit
94
+ })));
95
+ export const Schema_PdfMarginUnit = z.lazy(() => (z.enum(["in", "mm"])));
96
+ export const Schema_StandardConfig = z.lazy(() => (z.object({
97
+ "accessibilityTags": z.boolean().optional()
98
+ })));
99
+ export const Schema_JobStatusResponse = z.lazy(() => (z.object({
100
+ "jobId": z.string(),
101
+ "status": Schema_JobStatus
102
+ })));
103
+ export const Schema_JobStatus = z.lazy(() => (z.enum(["cancel_requested", "cancelled", "failed", "partially_succeeded", "pending", "running", "succeeded"])));
104
+ export const Schema_ExportRenditionResponse = z.lazy(() => (z.union([Schema_PageRenditionResponse, Schema_PdfRenditionResponse])));
105
+ export const Schema_PageRenditionResponse = z.lazy(() => (z.object({
106
+ "id": z.string(),
107
+ "pageRenditionsResult": z.array(z.union([Schema_SuccessfulPageRendition, Schema_FailedPageRendition])),
108
+ "jobId": z.string(),
109
+ "status": Schema_JobStatus
110
+ })));
111
+ export const Schema_SuccessfulPageRendition = z.lazy(() => (z.object({
112
+ "pageNumber": z.number(),
113
+ "renditionUrl": z.string()
114
+ })));
115
+ export const Schema_FailedPageRendition = z.lazy(() => (z.object({
116
+ "pageNumber": z.number(),
117
+ "error": Schema_ErrorResponseDetails
118
+ })));
119
+ export const Schema_PdfRenditionResponse = z.lazy(() => (z.object({
120
+ "id": z.string(),
121
+ "pageRenditionsResult": z.array(z.union([Schema_SuccessfulPdfRendition, Schema_FailedPdfRendition])),
122
+ "jobId": z.string(),
123
+ "status": Schema_JobStatus
124
+ })));
125
+ export const Schema_SuccessfulPdfRendition = z.lazy(() => (z.object({
126
+ "renditionUrl": z.string()
127
+ })));
128
+ export const Schema_FailedPdfRendition = z.lazy(() => (z.object({
129
+ "error": Schema_ErrorResponseDetails
130
+ })));
131
+ export const Schema_GenerateVariationResponse = z.lazy(() => (z.object({
132
+ "document": Schema_ExpressDocument,
133
+ "jobId": z.string(),
134
+ "status": Schema_JobStatus
135
+ })));
136
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/generated/express/schemas.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iEAAiE;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;AAEzL,MAAM,CAAC,MAAM,8BAA8B,GAAiB,CAAC,CAAC,IA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C,CAAC,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,2BAA2B,GAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,EAAE,yBAAyB,CAAC,CAAC,CAAC;IACpG,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,gBAAgB;CAC3B,CAAC,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,6BAA6B,GAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAChF,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,yBAAyB,GAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5E,OAAO,EAAE,2BAA2B;CACrC,CAAC,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,gCAAgC,GAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IACnF,UAAU,EAAE,sBAAsB;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,gBAAgB;CAC3B,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ /** Generate images */
2
+ export declare const firefly_generate_images_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
3
+ /** Generate images with Image5 */
4
+ export declare const firefly_generate_images_v5_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
5
+ /** Generate similar images */
6
+ export declare const firefly_generate_similar_images_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
7
+ /** Expand image */
8
+ export declare const firefly_expand_images_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
9
+ /** Fill image */
10
+ export declare const firefly_fill_images_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
11
+ /** Generate object composite */
12
+ export declare const firefly_generate_object_composite_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
13
+ /** Generate precise composite */
14
+ export declare const firefly_precise_composite: import("@executioncontrolprotocol/core").CapabilityDefinition;
15
+ /** Generate adaptive composite */
16
+ export declare const firefly_adaptive_composite: import("@executioncontrolprotocol/core").CapabilityDefinition;
17
+ /** Upscale image */
18
+ export declare const firefly_precise_upsampler_v3_async: import("@executioncontrolprotocol/core").CapabilityDefinition;
19
+ /** Generate video */
20
+ export declare const firefly_generate_video_v3: import("@executioncontrolprotocol/core").CapabilityDefinition;
21
+ /** Retrieve custom models */
22
+ export declare const firefly_get_custom_models: import("@executioncontrolprotocol/core").CapabilityDefinition;
23
+ /** Upload image */
24
+ export declare const firefly_storage_image_v2: import("@executioncontrolprotocol/core").CapabilityDefinition;
25
+ /** Get job status */
26
+ export declare const firefly_job_result_v3: import("@executioncontrolprotocol/core").CapabilityDefinition;
27
+ /** Cancel job */
28
+ export declare const firefly_cancel_job_v4: import("@executioncontrolprotocol/core").CapabilityDefinition;
29
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/generated/firefly/capabilities.ts"],"names":[],"mappings":"AASA,sBAAsB;AACtB,eAAO,MAAM,gCAAgC,+DA4BzC,CAAA;AAEJ,kCAAkC;AAClC,eAAO,MAAM,gCAAgC,+DA4BzC,CAAA;AAEJ,8BAA8B;AAC9B,eAAO,MAAM,wCAAwC,+DA4BjD,CAAA;AAEJ,mBAAmB;AACnB,eAAO,MAAM,8BAA8B,+DAyBvC,CAAA;AAEJ,iBAAiB;AACjB,eAAO,MAAM,4BAA4B,+DAyBrC,CAAA;AAEJ,gCAAgC;AAChC,eAAO,MAAM,0CAA0C,+DAyBnD,CAAA;AAEJ,iCAAiC;AACjC,eAAO,MAAM,yBAAyB,+DA4BlC,CAAA;AAEJ,kCAAkC;AAClC,eAAO,MAAM,0BAA0B,+DA4BnC,CAAA;AAEJ,oBAAoB;AACpB,eAAO,MAAM,kCAAkC,+DA4B3C,CAAA;AAEJ,qBAAqB;AACrB,eAAO,MAAM,yBAAyB,+DA4BlC,CAAA;AAEJ,6BAA6B;AAC7B,eAAO,MAAM,yBAAyB,+DAkClC,CAAA;AAEJ,mBAAmB;AACnB,eAAO,MAAM,wBAAwB,+DAwBjC,CAAA;AAEJ,qBAAqB;AACrB,eAAO,MAAM,qBAAqB,+DA2B9B,CAAA;AAEJ,iBAAiB;AACjB,eAAO,MAAM,qBAAqB,+DA2B9B,CAAA"}
@@ -0,0 +1,307 @@
1
+ /* eslint-disable */
2
+ /** Generated Adobe firefly capabilities — do not edit. */
3
+ import { capabilityFor } from "@executioncontrolprotocol/core";
4
+ import { z } from "zod";
5
+ import * as schemas from "./schemas.js";
6
+ import { invokeAdobeOperation } from "../../runtime/invoke.js";
7
+ const EXT_ID = "@executioncontrolprotocol/adobe-firefly-services";
8
+ /** Generate images */
9
+ export const firefly_generate_images_v3_async = capabilityFor(EXT_ID, "firefly.generate-images-v3-async")
10
+ .withInput(z.object({
11
+ headers: z.object({
12
+ "x-model-version": z.enum(["image3", "image3_custom", "image4_standard", "image4_ultra", "image4_custom"]).optional()
13
+ }).optional(),
14
+ body: schemas.Schema_GenerateImagesRequestV3,
15
+ poll: z.boolean().optional(),
16
+ pollIntervalMs: z.number().int().positive().optional(),
17
+ pollTimeoutMs: z.number().int().positive().optional()
18
+ }))
19
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
20
+ .withHandler(async (input, ctx) => {
21
+ return invokeAdobeOperation({
22
+ method: "POST",
23
+ pathTemplate: "/v3/images/generate-async",
24
+ baseUrl: "https://firefly-api.adobe.io/",
25
+ input: input,
26
+ ctx,
27
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
28
+ });
29
+ });
30
+ /** Generate images with Image5 */
31
+ export const firefly_generate_images_v5_async = capabilityFor(EXT_ID, "firefly.generate-images-v5-async")
32
+ .withInput(z.object({
33
+ headers: z.object({
34
+ "x-model-version": z.enum(["image5"])
35
+ }).optional(),
36
+ body: schemas.Schema_ImageGenerateRequestV3,
37
+ poll: z.boolean().optional(),
38
+ pollIntervalMs: z.number().int().positive().optional(),
39
+ pollTimeoutMs: z.number().int().positive().optional()
40
+ }))
41
+ .withOutput(schemas.Schema_AsyncTaskResponse)
42
+ .withHandler(async (input, ctx) => {
43
+ return invokeAdobeOperation({
44
+ method: "POST",
45
+ pathTemplate: "/v4/images/generate-async",
46
+ baseUrl: "https://firefly-api.adobe.io/",
47
+ input: input,
48
+ ctx,
49
+ outputSchema: schemas.Schema_AsyncTaskResponse,
50
+ });
51
+ });
52
+ /** Generate similar images */
53
+ export const firefly_generate_similar_images_v3_async = capabilityFor(EXT_ID, "firefly.generate-similar-images-v3-async")
54
+ .withInput(z.object({
55
+ headers: z.object({
56
+ "x-model-version": z.enum(["image3", "image4_standard", "image4_ultra"]).optional()
57
+ }).optional(),
58
+ body: schemas.Schema_GenerateSimilarImagesRequestV3,
59
+ poll: z.boolean().optional(),
60
+ pollIntervalMs: z.number().int().positive().optional(),
61
+ pollTimeoutMs: z.number().int().positive().optional()
62
+ }))
63
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
64
+ .withHandler(async (input, ctx) => {
65
+ return invokeAdobeOperation({
66
+ method: "POST",
67
+ pathTemplate: "/v3/images/generate-similar-async",
68
+ baseUrl: "https://firefly-api.adobe.io/",
69
+ input: input,
70
+ ctx,
71
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
72
+ });
73
+ });
74
+ /** Expand image */
75
+ export const firefly_expand_images_v3_async = capabilityFor(EXT_ID, "firefly.expand-images-v3-async")
76
+ .withInput(z.object({
77
+ body: schemas.Schema_ExpandImageRequestV3,
78
+ poll: z.boolean().optional(),
79
+ pollIntervalMs: z.number().int().positive().optional(),
80
+ pollTimeoutMs: z.number().int().positive().optional()
81
+ }))
82
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
83
+ .withHandler(async (input, ctx) => {
84
+ return invokeAdobeOperation({
85
+ method: "POST",
86
+ pathTemplate: "/v3/images/expand-async",
87
+ baseUrl: "https://firefly-api.adobe.io/",
88
+ input: input,
89
+ ctx,
90
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
91
+ });
92
+ });
93
+ /** Fill image */
94
+ export const firefly_fill_images_v3_async = capabilityFor(EXT_ID, "firefly.fill-images-v3-async")
95
+ .withInput(z.object({
96
+ body: schemas.Schema_FillImageRequestV3,
97
+ poll: z.boolean().optional(),
98
+ pollIntervalMs: z.number().int().positive().optional(),
99
+ pollTimeoutMs: z.number().int().positive().optional()
100
+ }))
101
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
102
+ .withHandler(async (input, ctx) => {
103
+ return invokeAdobeOperation({
104
+ method: "POST",
105
+ pathTemplate: "/v3/images/fill-async",
106
+ baseUrl: "https://firefly-api.adobe.io/",
107
+ input: input,
108
+ ctx,
109
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
110
+ });
111
+ });
112
+ /** Generate object composite */
113
+ export const firefly_generate_object_composite_v3_async = capabilityFor(EXT_ID, "firefly.generate-object-composite-v3-async")
114
+ .withInput(z.object({
115
+ body: schemas.Schema_GenerateObjectCompositeRequestV3,
116
+ poll: z.boolean().optional(),
117
+ pollIntervalMs: z.number().int().positive().optional(),
118
+ pollTimeoutMs: z.number().int().positive().optional()
119
+ }))
120
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
121
+ .withHandler(async (input, ctx) => {
122
+ return invokeAdobeOperation({
123
+ method: "POST",
124
+ pathTemplate: "/v3/images/generate-object-composite-async",
125
+ baseUrl: "https://firefly-api.adobe.io/",
126
+ input: input,
127
+ ctx,
128
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
129
+ });
130
+ });
131
+ /** Generate precise composite */
132
+ export const firefly_precise_composite = capabilityFor(EXT_ID, "firefly.precise-composite")
133
+ .withInput(z.object({
134
+ headers: z.object({
135
+ "content-type": z.enum(["application/json"])
136
+ }).optional(),
137
+ body: schemas.Schema_PreciseCompositeRequest,
138
+ poll: z.boolean().optional(),
139
+ pollIntervalMs: z.number().int().positive().optional(),
140
+ pollTimeoutMs: z.number().int().positive().optional()
141
+ }))
142
+ .withOutput(schemas.Schema_AsyncJobResponse)
143
+ .withHandler(async (input, ctx) => {
144
+ return invokeAdobeOperation({
145
+ method: "POST",
146
+ pathTemplate: "/v3/images/precise-composite",
147
+ baseUrl: "https://firefly-api.adobe.io/",
148
+ input: input,
149
+ ctx,
150
+ outputSchema: schemas.Schema_AsyncJobResponse,
151
+ });
152
+ });
153
+ /** Generate adaptive composite */
154
+ export const firefly_adaptive_composite = capabilityFor(EXT_ID, "firefly.adaptive-composite")
155
+ .withInput(z.object({
156
+ headers: z.object({
157
+ "content-type": z.enum(["application/json"])
158
+ }).optional(),
159
+ body: schemas.Schema_AdaptiveCompositeRequest,
160
+ poll: z.boolean().optional(),
161
+ pollIntervalMs: z.number().int().positive().optional(),
162
+ pollTimeoutMs: z.number().int().positive().optional()
163
+ }))
164
+ .withOutput(schemas.Schema_AsyncJobResponse)
165
+ .withHandler(async (input, ctx) => {
166
+ return invokeAdobeOperation({
167
+ method: "POST",
168
+ pathTemplate: "/v3/images/adaptive-composite",
169
+ baseUrl: "https://firefly-api.adobe.io/",
170
+ input: input,
171
+ ctx,
172
+ outputSchema: schemas.Schema_AsyncJobResponse,
173
+ });
174
+ });
175
+ /** Upscale image */
176
+ export const firefly_precise_upsampler_v3_async = capabilityFor(EXT_ID, "firefly.precise-upsampler-v3-async")
177
+ .withInput(z.object({
178
+ headers: z.object({
179
+ "x-model-version": z.enum(["precise_upsampler_v1"]).optional()
180
+ }).optional(),
181
+ body: schemas.Schema_PreciseUpsamplerRequestV3,
182
+ poll: z.boolean().optional(),
183
+ pollIntervalMs: z.number().int().positive().optional(),
184
+ pollTimeoutMs: z.number().int().positive().optional()
185
+ }))
186
+ .withOutput(schemas.Schema_PreciseUpscaleAcceptResponseV3)
187
+ .withHandler(async (input, ctx) => {
188
+ return invokeAdobeOperation({
189
+ method: "POST",
190
+ pathTemplate: "/v3/images/upscale",
191
+ baseUrl: "https://firefly-api.adobe.io/",
192
+ input: input,
193
+ ctx,
194
+ outputSchema: schemas.Schema_PreciseUpscaleAcceptResponseV3,
195
+ });
196
+ });
197
+ /** Generate video */
198
+ export const firefly_generate_video_v3 = capabilityFor(EXT_ID, "firefly.generate-video-v3")
199
+ .withInput(z.object({
200
+ headers: z.object({
201
+ "x-model-version": z.enum(["video1_standard"])
202
+ }).optional(),
203
+ body: schemas.Schema_GenerateVideoRequestV3,
204
+ poll: z.boolean().optional(),
205
+ pollIntervalMs: z.number().int().positive().optional(),
206
+ pollTimeoutMs: z.number().int().positive().optional()
207
+ }))
208
+ .withOutput(schemas.Schema_AsyncAcceptResponseV3)
209
+ .withHandler(async (input, ctx) => {
210
+ return invokeAdobeOperation({
211
+ method: "POST",
212
+ pathTemplate: "/v3/videos/generate",
213
+ baseUrl: "https://firefly-api.adobe.io/",
214
+ input: input,
215
+ ctx,
216
+ outputSchema: schemas.Schema_AsyncAcceptResponseV3,
217
+ });
218
+ });
219
+ /** Retrieve custom models */
220
+ export const firefly_get_custom_models = capabilityFor(EXT_ID, "firefly.get-custom-models")
221
+ .withInput(z.object({
222
+ query: z.object({
223
+ "sortBy": z.enum(["assetName", "createdDate", "modifiedDate"]).optional(),
224
+ "start": z.string().optional(),
225
+ "limit": z.string().optional(),
226
+ "publishedState": z.enum(["all", "ready", "published", "unpublished", "queued", "training", "failed", "cancelled"]).optional()
227
+ }).optional(),
228
+ headers: z.object({
229
+ "x-user-token": z.string().optional(),
230
+ "x-request-id": z.string()
231
+ }).optional(),
232
+ poll: z.boolean().optional(),
233
+ pollIntervalMs: z.number().int().positive().optional(),
234
+ pollTimeoutMs: z.number().int().positive().optional()
235
+ }))
236
+ .withOutput(schemas.Schema_CustomModelsFF3pInfo)
237
+ .withHandler(async (input, ctx) => {
238
+ return invokeAdobeOperation({
239
+ method: "GET",
240
+ pathTemplate: "/v3/custom-models",
241
+ baseUrl: "https://firefly-api.adobe.io/",
242
+ input: input,
243
+ ctx,
244
+ outputSchema: schemas.Schema_CustomModelsFF3pInfo,
245
+ });
246
+ });
247
+ /** Upload image */
248
+ export const firefly_storage_image_v2 = capabilityFor(EXT_ID, "firefly.storage-image-v2")
249
+ .withInput(z.object({
250
+ poll: z.boolean().optional(),
251
+ pollIntervalMs: z.number().int().positive().optional(),
252
+ pollTimeoutMs: z.number().int().positive().optional()
253
+ }))
254
+ .withOutput(schemas.Schema_StorageImageResponse)
255
+ .withHandler(async (input, ctx) => {
256
+ return invokeAdobeOperation({
257
+ method: "POST",
258
+ pathTemplate: "/v2/storage/image",
259
+ baseUrl: "https://firefly-api.adobe.io/",
260
+ input: input,
261
+ ctx,
262
+ outputSchema: schemas.Schema_StorageImageResponse,
263
+ });
264
+ });
265
+ /** Get job status */
266
+ export const firefly_job_result_v3 = capabilityFor(EXT_ID, "firefly.job-result-v3")
267
+ .withInput(z.object({
268
+ path: z.object({
269
+ "jobId": z.string()
270
+ }),
271
+ poll: z.boolean().optional(),
272
+ pollIntervalMs: z.number().int().positive().optional(),
273
+ pollTimeoutMs: z.number().int().positive().optional()
274
+ }))
275
+ .withOutput(schemas.Schema_JobResponse)
276
+ .withHandler(async (input, ctx) => {
277
+ return invokeAdobeOperation({
278
+ method: "GET",
279
+ pathTemplate: "/v3/status/{jobId}",
280
+ baseUrl: "https://firefly-api.adobe.io/",
281
+ input: input,
282
+ ctx,
283
+ outputSchema: schemas.Schema_JobResponse,
284
+ });
285
+ });
286
+ /** Cancel job */
287
+ export const firefly_cancel_job_v4 = capabilityFor(EXT_ID, "firefly.cancel-job-v4")
288
+ .withInput(z.object({
289
+ path: z.object({
290
+ "jobId": z.string()
291
+ }),
292
+ poll: z.boolean().optional(),
293
+ pollIntervalMs: z.number().int().positive().optional(),
294
+ pollTimeoutMs: z.number().int().positive().optional()
295
+ }))
296
+ .withOutput(z.object({}))
297
+ .withHandler(async (input, ctx) => {
298
+ return invokeAdobeOperation({
299
+ method: "PUT",
300
+ pathTemplate: "/v3/cancel/{jobId}",
301
+ baseUrl: "https://firefly-api.adobe.io/",
302
+ input: input,
303
+ ctx,
304
+ outputSchema: z.object({}),
305
+ });
306
+ });
307
+ //# sourceMappingURL=capabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../src/generated/firefly/capabilities.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,0DAA0D;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,MAAM,GAAG,kDAAkD,CAAA;AAEjE,sBAAsB;AACtB,MAAM,CAAC,MAAM,gCAAgC,GAAG,aAAa,CAAC,MAAM,EAAE,kCAAkC,CAAC;KACtG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAClB,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,QAAQ,EAAE;KACtH,CAAC,CAAC,QAAQ,EAAE;IACX,IAAI,EAAE,OAAO,CAAC,8BAA8B;IAC5C,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC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images_v3_async, firefly_expand_images_v3_async, firefly_fill_images_v3_async, firefly_generate_object_composite_v3_async, firefly_precise_composite, firefly_adaptive_composite, firefly_precise_upsampler_v3_async, firefly_generate_video_v3, firefly_get_custom_models, firefly_storage_image_v2, firefly_job_result_v3, firefly_cancel_job_v4 } from "./capabilities.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/firefly/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,gCAAgC,EAAE,gCAAgC,EAAE,wCAAwC,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,0CAA0C,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** Generated — do not edit. */
2
+ export { firefly_generate_images_v3_async, firefly_generate_images_v5_async, firefly_generate_similar_images_v3_async, firefly_expand_images_v3_async, firefly_fill_images_v3_async, firefly_generate_object_composite_v3_async, firefly_precise_composite, firefly_adaptive_composite, firefly_precise_upsampler_v3_async, firefly_generate_video_v3, firefly_get_custom_models, firefly_storage_image_v2, firefly_job_result_v3, firefly_cancel_job_v4 } from "./capabilities.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/firefly/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,gCAAgC,EAAE,gCAAgC,EAAE,wCAAwC,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,0CAA0C,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,107 @@
1
+ /** Generated from firefly/firefly-api.json — do not edit. */
2
+ import { z } from "zod";
3
+ export declare const Schema_AlignmentHorizontal: z.ZodTypeAny;
4
+ export declare const Schema_AlignmentVertical: z.ZodTypeAny;
5
+ export declare const Schema_ApiError: z.ZodTypeAny;
6
+ export declare const Schema_ColligoErrorCodeAsyncV3: z.ZodTypeAny;
7
+ export declare const Schema_ValidationErrorMessage: z.ZodTypeAny;
8
+ export declare const Schema_AspectRatio: z.ZodTypeAny;
9
+ export declare const Schema_ApiErrorGeneric: z.ZodTypeAny;
10
+ export declare const Schema_AdaptiveCompositeRequest: z.ZodTypeAny;
11
+ export declare const Schema_BackgroundInput: z.ZodTypeAny;
12
+ export declare const Schema_ImageRef: z.ZodTypeAny;
13
+ export declare const Schema_ImageSource: z.ZodTypeAny;
14
+ export declare const Schema_AdaptiveObjectInput: z.ZodTypeAny;
15
+ export declare const Schema_OutputSpec: z.ZodTypeAny;
16
+ export declare const Schema_AsyncJobResponse: z.ZodTypeAny;
17
+ export declare const Schema_ObjectInput: z.ZodTypeAny;
18
+ export declare const Schema_PreciseCompositeRequest: z.ZodTypeAny;
19
+ export declare const Schema_ValidationErrorDetail: z.ZodTypeAny;
20
+ export declare const Schema_ValidationErrorCode422: z.ZodTypeAny;
21
+ export declare const Schema_ValidationErrorResponse: z.ZodTypeAny;
22
+ export declare const Schema_ContentPolicyErrorCode451: z.ZodTypeAny;
23
+ export declare const Schema_ContentPolicyErrorResponse: z.ZodTypeAny;
24
+ export declare const Schema_JobOutput: z.ZodTypeAny;
25
+ export declare const Schema_PublicBinary_Output: z.ZodTypeAny;
26
+ export declare const Schema_JobPollPayload: z.ZodTypeAny;
27
+ export declare const Schema_JobResult: z.ZodTypeAny;
28
+ export declare const Schema_JobResponse: z.ZodTypeAny;
29
+ export declare const Schema_JobSucceededPayload: z.ZodTypeAny;
30
+ export declare const Schema_PreciseUpsamplerResponse: z.ZodTypeAny;
31
+ export declare const Schema_UpscaleBinaryOutput: z.ZodTypeAny;
32
+ export declare const Schema_AsyncAcceptResponseV3: z.ZodTypeAny;
33
+ export declare const Schema_AsyncApiErrorV3: z.ZodTypeAny;
34
+ export declare const Schema_ColliogAsyncStatusErrorCodeV3: z.ZodTypeAny;
35
+ export declare const Schema_ColligoAsyncCancelErrorCodeV3: z.ZodTypeAny;
36
+ export declare const Schema_AsyncTaskLink: z.ZodTypeAny;
37
+ export declare const Schema_AsyncTaskLinkType: z.ZodTypeAny;
38
+ export declare const Schema_AsyncTaskResponse: z.ZodTypeAny;
39
+ export declare const Schema_AsyncTaskResponseV3: z.ZodTypeAny;
40
+ export declare const Schema_GenerateImagesResponseV3: z.ZodTypeAny;
41
+ export declare const Schema_ContentClassV3: z.ZodTypeAny;
42
+ export declare const Schema_OutputImageV3: z.ZodTypeAny;
43
+ export declare const Schema_PublicBinaryOutputV3: z.ZodTypeAny;
44
+ export declare const Schema_Size: z.ZodTypeAny;
45
+ export declare const Schema_GenerateSimilarImagesResponseV3: z.ZodTypeAny;
46
+ export declare const Schema_ExpandImageResponseV3: z.ZodTypeAny;
47
+ export declare const Schema_FillImageResponseV3: z.ZodTypeAny;
48
+ export declare const Schema_GenerateObjectCompositeResponseV3: z.ZodTypeAny;
49
+ export declare const Schema_BaseInputImageV3: z.ZodTypeAny;
50
+ export declare const Schema_PublicBinaryInputV3: z.ZodTypeAny;
51
+ export declare const Schema_PreciseUpscaleAcceptResponseV3: z.ZodTypeAny;
52
+ export declare const Schema_PreciseUpscaleTaskLink: z.ZodTypeAny;
53
+ export declare const Schema_PreciseUpsamplerRequestV3: z.ZodTypeAny;
54
+ export declare const Schema_UpsampleFactor: z.ZodTypeAny;
55
+ export declare const Schema_BaseInputMaskV3: z.ZodTypeAny;
56
+ export declare const Schema_Body_expandImagesV3Async: z.ZodTypeAny;
57
+ export declare const Schema_ExpandImageRequestV3: z.ZodTypeAny;
58
+ export declare const Schema_InputImageV3: z.ZodTypeAny;
59
+ export declare const Schema_InputMaskV3: z.ZodTypeAny;
60
+ export declare const Schema_Placement: z.ZodTypeAny;
61
+ export declare const Schema_PlacementAlignment: z.ZodTypeAny;
62
+ export declare const Schema_PlacementInset: z.ZodTypeAny;
63
+ export declare const Schema_Body_fillImagesV3Async: z.ZodTypeAny;
64
+ export declare const Schema_FillImageRequestV3: z.ZodTypeAny;
65
+ export declare const Schema_Body_generateImagesV3Async: z.ZodTypeAny;
66
+ export declare const Schema_GenerateImagesRequestV3: z.ZodTypeAny;
67
+ export declare const Schema_StructureReferenceV3: z.ZodTypeAny;
68
+ export declare const Schema_StructureImageReferenceV3: z.ZodTypeAny;
69
+ export declare const Schema_StylesV3: z.ZodTypeAny;
70
+ export declare const Schema_StylesImageReferenceV3: z.ZodTypeAny;
71
+ export declare const Schema_Body_generateObjectCompositeV3Async: z.ZodTypeAny;
72
+ export declare const Schema_GenerateObjectCompositeRequestV3: z.ZodTypeAny;
73
+ export declare const Schema_Body_generateSimilarImagesV3Async: z.ZodTypeAny;
74
+ export declare const Schema_GenerateSimilarImagesRequestV3: z.ZodTypeAny;
75
+ export declare const Schema_FireflyModelId: z.ZodTypeAny;
76
+ export declare const Schema_ImageGenerateRequestV3: z.ZodTypeAny;
77
+ export declare const Schema_ModelSpecificPayloadV3: z.ZodTypeAny;
78
+ export declare const Schema_ReferenceBlobV3: z.ZodTypeAny;
79
+ export declare const Schema_ReferenceBlobSourceV3: z.ZodTypeAny;
80
+ export declare const Schema_ReferenceBlobUsageV3: z.ZodTypeAny;
81
+ export declare const Schema_HTTPValidationError: z.ZodTypeAny;
82
+ export declare const Schema_ValidationError: z.ZodTypeAny;
83
+ export declare const Schema_GenerateVideoRequestV3: z.ZodTypeAny;
84
+ export declare const Schema_InputImageVideoV3: z.ZodTypeAny;
85
+ export declare const Schema_ImageConditionV3: z.ZodTypeAny;
86
+ export declare const Schema_PlacementStart: z.ZodTypeAny;
87
+ export declare const Schema_ClinetoSize: z.ZodTypeAny;
88
+ export declare const Schema_VideoSettingsV3: z.ZodTypeAny;
89
+ export declare const Schema_CameraMotion: z.ZodTypeAny;
90
+ export declare const Schema_VideoPromptStyle: z.ZodTypeAny;
91
+ export declare const Schema_ShotAngle: z.ZodTypeAny;
92
+ export declare const Schema_ShotSize: z.ZodTypeAny;
93
+ export declare const Schema_VideoResult: z.ZodTypeAny;
94
+ export declare const Schema_VideoOutput: z.ZodTypeAny;
95
+ export declare const Schema_AsyncResult: z.ZodTypeAny;
96
+ export declare const Schema_AsyncResponseV3: z.ZodTypeAny;
97
+ export declare const Schema_ErrorResponse: z.ZodTypeAny;
98
+ export declare const Schema_CustomModelsFF3pInfo: z.ZodTypeAny;
99
+ export declare const Schema_CustomModelFF3pInfo: z.ZodTypeAny;
100
+ export declare const Schema_BaseModel: z.ZodTypeAny;
101
+ export declare const Schema_Links: z.ZodTypeAny;
102
+ export declare const Schema_Link: z.ZodTypeAny;
103
+ export declare const Schema_PageSpec: z.ZodTypeAny;
104
+ export declare const Schema_StorageImageResponse: z.ZodTypeAny;
105
+ export declare const Schema_StorageImage: z.ZodTypeAny;
106
+ export declare const Schema_ErrorBody: z.ZodTypeAny;
107
+ //# sourceMappingURL=schemas.d.ts.map