@executioncontrolprotocol/adobe-firefly-services 0.14.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -84
- package/dist/auth/ims.d.ts +47 -14
- package/dist/auth/ims.d.ts.map +1 -1
- package/dist/auth/ims.js +127 -26
- package/dist/auth/ims.js.map +1 -1
- package/dist/config.d.ts +27 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +51 -0
- package/dist/config.js.map +1 -0
- package/dist/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +53 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/audio-video/capabilities.d.ts +21 -36
- package/dist/generated/audio-video/capabilities.d.ts.map +1 -1
- package/dist/generated/audio-video/capabilities.js +295 -259
- package/dist/generated/audio-video/capabilities.js.map +1 -1
- package/dist/generated/audio-video/operations.d.ts +13 -0
- package/dist/generated/audio-video/operations.d.ts.map +1 -0
- package/dist/generated/audio-video/operations.js +182 -0
- package/dist/generated/audio-video/operations.js.map +1 -0
- package/dist/generated/audio-video/schemas.d.ts +245 -82
- package/dist/generated/audio-video/schemas.d.ts.map +1 -1
- package/dist/generated/audio-video/schemas.js +552 -466
- package/dist/generated/audio-video/schemas.js.map +1 -1
- package/dist/generated/creative-production/capabilities.d.ts +10 -10
- package/dist/generated/creative-production/capabilities.d.ts.map +1 -1
- package/dist/generated/creative-production/capabilities.js +64 -77
- package/dist/generated/creative-production/capabilities.js.map +1 -1
- package/dist/generated/creative-production/operations.d.ts +13 -0
- package/dist/generated/creative-production/operations.d.ts.map +1 -0
- package/dist/generated/creative-production/operations.js +48 -0
- package/dist/generated/creative-production/operations.js.map +1 -0
- package/dist/generated/creative-production/schemas.d.ts +65 -21
- package/dist/generated/creative-production/schemas.d.ts.map +1 -1
- package/dist/generated/creative-production/schemas.js +149 -128
- package/dist/generated/creative-production/schemas.js.map +1 -1
- package/dist/generated/express/capabilities.d.ts +11 -10
- package/dist/generated/express/capabilities.d.ts.map +1 -1
- package/dist/generated/express/capabilities.js +65 -64
- package/dist/generated/express/capabilities.js.map +1 -1
- package/dist/generated/express/operations.d.ts +13 -0
- package/dist/generated/express/operations.d.ts.map +1 -0
- package/dist/generated/express/operations.js +58 -0
- package/dist/generated/express/operations.js.map +1 -0
- package/dist/generated/express/schemas.d.ts +100 -34
- package/dist/generated/express/schemas.d.ts.map +1 -1
- package/dist/generated/express/schemas.js +165 -134
- package/dist/generated/express/schemas.js.map +1 -1
- package/dist/generated/firefly/capabilities.d.ts +18 -28
- package/dist/generated/firefly/capabilities.d.ts.map +1 -1
- package/dist/generated/firefly/capabilities.js +289 -172
- package/dist/generated/firefly/capabilities.js.map +1 -1
- package/dist/generated/firefly/operations.d.ts +13 -0
- package/dist/generated/firefly/operations.d.ts.map +1 -0
- package/dist/generated/firefly/operations.js +145 -0
- package/dist/generated/firefly/operations.js.map +1 -0
- package/dist/generated/firefly/schemas.d.ts +250 -105
- package/dist/generated/firefly/schemas.d.ts.map +1 -1
- package/dist/generated/firefly/schemas.js +462 -451
- package/dist/generated/firefly/schemas.js.map +1 -1
- package/dist/generated/illustrator/capabilities.d.ts +11 -16
- package/dist/generated/illustrator/capabilities.d.ts.map +1 -1
- package/dist/generated/illustrator/capabilities.js +99 -100
- package/dist/generated/illustrator/capabilities.js.map +1 -1
- package/dist/generated/illustrator/operations.d.ts +13 -0
- package/dist/generated/illustrator/operations.d.ts.map +1 -0
- package/dist/generated/illustrator/operations.js +65 -0
- package/dist/generated/illustrator/operations.js.map +1 -0
- package/dist/generated/illustrator/schemas.d.ts +85 -54
- package/dist/generated/illustrator/schemas.d.ts.map +1 -1
- package/dist/generated/illustrator/schemas.js +187 -233
- package/dist/generated/illustrator/schemas.js.map +1 -1
- package/dist/generated/indesign/capabilities.d.ts +19 -32
- package/dist/generated/indesign/capabilities.d.ts.map +1 -1
- package/dist/generated/indesign/capabilities.js +394 -197
- package/dist/generated/indesign/capabilities.js.map +1 -1
- package/dist/generated/indesign/operations.d.ts +13 -0
- package/dist/generated/indesign/operations.d.ts.map +1 -0
- package/dist/generated/indesign/operations.js +133 -0
- package/dist/generated/indesign/operations.js.map +1 -0
- package/dist/generated/indesign/schemas.d.ts +75 -24
- package/dist/generated/indesign/schemas.d.ts.map +1 -1
- package/dist/generated/indesign/schemas.js +351 -240
- package/dist/generated/indesign/schemas.js.map +1 -1
- package/dist/generated/index.d.ts +74 -3
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +28 -97
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/photoshop/capabilities.d.ts +13 -14
- package/dist/generated/photoshop/capabilities.d.ts.map +1 -1
- package/dist/generated/photoshop/capabilities.js +133 -90
- package/dist/generated/photoshop/capabilities.js.map +1 -1
- package/dist/generated/photoshop/operations.d.ts +13 -0
- package/dist/generated/photoshop/operations.d.ts.map +1 -0
- package/dist/generated/photoshop/operations.js +88 -0
- package/dist/generated/photoshop/operations.js.map +1 -0
- package/dist/generated/photoshop/schemas.d.ts +430 -152
- package/dist/generated/photoshop/schemas.d.ts.map +1 -1
- package/dist/generated/photoshop/schemas.js +809 -716
- package/dist/generated/photoshop/schemas.js.map +1 -1
- package/dist/generated/substance3d/capabilities.d.ts +16 -22
- package/dist/generated/substance3d/capabilities.d.ts.map +1 -1
- package/dist/generated/substance3d/capabilities.js +181 -136
- package/dist/generated/substance3d/capabilities.js.map +1 -1
- package/dist/generated/substance3d/operations.d.ts +13 -0
- package/dist/generated/substance3d/operations.d.ts.map +1 -0
- package/dist/generated/substance3d/operations.js +114 -0
- package/dist/generated/substance3d/operations.js.map +1 -0
- package/dist/generated/substance3d/schemas.d.ts +305 -76
- package/dist/generated/substance3d/schemas.d.ts.map +1 -1
- package/dist/generated/substance3d/schemas.js +634 -515
- package/dist/generated/substance3d/schemas.js.map +1 -1
- package/dist/http/async-job.d.ts +24 -14
- package/dist/http/async-job.d.ts.map +1 -1
- package/dist/http/async-job.js +135 -69
- package/dist/http/async-job.js.map +1 -1
- package/dist/http/client.d.ts +54 -26
- package/dist/http/client.d.ts.map +1 -1
- package/dist/http/client.js +136 -53
- package/dist/http/client.js.map +1 -1
- package/dist/http/request-limit.d.ts +42 -0
- package/dist/http/request-limit.d.ts.map +1 -0
- package/dist/http/request-limit.js +46 -0
- package/dist/http/request-limit.js.map +1 -0
- package/dist/index.d.ts +84 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -34
- package/dist/index.js.map +1 -1
- package/dist/runtime/abort.d.ts +17 -0
- package/dist/runtime/abort.d.ts.map +1 -0
- package/dist/runtime/abort.js +51 -0
- package/dist/runtime/abort.js.map +1 -0
- package/dist/runtime/assemble.d.ts +99 -0
- package/dist/runtime/assemble.d.ts.map +1 -0
- package/dist/runtime/assemble.js +159 -0
- package/dist/runtime/assemble.js.map +1 -0
- package/dist/runtime/invoke-capability.d.ts +46 -0
- package/dist/runtime/invoke-capability.d.ts.map +1 -0
- package/dist/runtime/invoke-capability.js +68 -0
- package/dist/runtime/invoke-capability.js.map +1 -0
- package/dist/runtime/product-shape.d.ts +49 -0
- package/dist/runtime/product-shape.d.ts.map +1 -0
- package/dist/runtime/product-shape.js +309 -0
- package/dist/runtime/product-shape.js.map +1 -0
- package/dist/schemas.d.ts +13 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +7 -0
- package/dist/schemas.js.map +1 -0
- package/ecp.manifest.json +840 -0
- package/ecp.schema.json +23498 -0
- package/package.json +28 -21
- package/dist/generated/audio-video/capabilities.browser.d.ts +0 -37
- package/dist/generated/audio-video/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/audio-video/capabilities.browser.js +0 -44
- package/dist/generated/audio-video/capabilities.browser.js.map +0 -1
- package/dist/generated/audio-video/index.d.ts +0 -3
- package/dist/generated/audio-video/index.d.ts.map +0 -1
- package/dist/generated/audio-video/index.js +0 -3
- package/dist/generated/audio-video/index.js.map +0 -1
- package/dist/generated/audio-video/shells.d.ts +0 -39
- package/dist/generated/audio-video/shells.d.ts.map +0 -1
- package/dist/generated/audio-video/shells.js +0 -290
- package/dist/generated/audio-video/shells.js.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.d.ts +0 -11
- package/dist/generated/creative-production/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/creative-production/capabilities.browser.js +0 -18
- package/dist/generated/creative-production/capabilities.browser.js.map +0 -1
- package/dist/generated/creative-production/index.d.ts +0 -3
- package/dist/generated/creative-production/index.d.ts.map +0 -1
- package/dist/generated/creative-production/index.js +0 -3
- package/dist/generated/creative-production/index.js.map +0 -1
- package/dist/generated/creative-production/shells.d.ts +0 -13
- package/dist/generated/creative-production/shells.d.ts.map +0 -1
- package/dist/generated/creative-production/shells.js +0 -108
- package/dist/generated/creative-production/shells.js.map +0 -1
- package/dist/generated/express/capabilities.browser.d.ts +0 -11
- package/dist/generated/express/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/express/capabilities.browser.js +0 -18
- package/dist/generated/express/capabilities.browser.js.map +0 -1
- package/dist/generated/express/index.d.ts +0 -3
- package/dist/generated/express/index.d.ts.map +0 -1
- package/dist/generated/express/index.js +0 -3
- package/dist/generated/express/index.js.map +0 -1
- package/dist/generated/express/shells.d.ts +0 -13
- package/dist/generated/express/shells.d.ts.map +0 -1
- package/dist/generated/express/shells.js +0 -72
- package/dist/generated/express/shells.js.map +0 -1
- package/dist/generated/firefly/capabilities.browser.d.ts +0 -29
- package/dist/generated/firefly/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/firefly/capabilities.browser.js +0 -36
- package/dist/generated/firefly/capabilities.browser.js.map +0 -1
- package/dist/generated/firefly/index.d.ts +0 -3
- package/dist/generated/firefly/index.d.ts.map +0 -1
- package/dist/generated/firefly/index.js +0 -3
- package/dist/generated/firefly/index.js.map +0 -1
- package/dist/generated/firefly/shells.d.ts +0 -31
- package/dist/generated/firefly/shells.d.ts.map +0 -1
- package/dist/generated/firefly/shells.js +0 -199
- package/dist/generated/firefly/shells.js.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.d.ts +0 -17
- package/dist/generated/illustrator/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/illustrator/capabilities.browser.js +0 -24
- package/dist/generated/illustrator/capabilities.browser.js.map +0 -1
- package/dist/generated/illustrator/index.d.ts +0 -3
- package/dist/generated/illustrator/index.d.ts.map +0 -1
- package/dist/generated/illustrator/index.js +0 -3
- package/dist/generated/illustrator/index.js.map +0 -1
- package/dist/generated/illustrator/shells.d.ts +0 -19
- package/dist/generated/illustrator/shells.d.ts.map +0 -1
- package/dist/generated/illustrator/shells.js +0 -106
- package/dist/generated/illustrator/shells.js.map +0 -1
- package/dist/generated/indesign/capabilities.browser.d.ts +0 -33
- package/dist/generated/indesign/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/indesign/capabilities.browser.js +0 -40
- package/dist/generated/indesign/capabilities.browser.js.map +0 -1
- package/dist/generated/indesign/index.d.ts +0 -3
- package/dist/generated/indesign/index.d.ts.map +0 -1
- package/dist/generated/indesign/index.js +0 -3
- package/dist/generated/indesign/index.js.map +0 -1
- package/dist/generated/indesign/shells.d.ts +0 -35
- package/dist/generated/indesign/shells.d.ts.map +0 -1
- package/dist/generated/indesign/shells.js +0 -208
- package/dist/generated/indesign/shells.js.map +0 -1
- package/dist/generated/index.browser.d.ts +0 -4
- package/dist/generated/index.browser.d.ts.map +0 -1
- package/dist/generated/index.browser.js +0 -98
- package/dist/generated/index.browser.js.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.d.ts +0 -15
- package/dist/generated/photoshop/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/photoshop/capabilities.browser.js +0 -22
- package/dist/generated/photoshop/capabilities.browser.js.map +0 -1
- package/dist/generated/photoshop/index.d.ts +0 -3
- package/dist/generated/photoshop/index.d.ts.map +0 -1
- package/dist/generated/photoshop/index.js +0 -3
- package/dist/generated/photoshop/index.js.map +0 -1
- package/dist/generated/photoshop/shells.d.ts +0 -17
- package/dist/generated/photoshop/shells.d.ts.map +0 -1
- package/dist/generated/photoshop/shells.js +0 -92
- package/dist/generated/photoshop/shells.js.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.d.ts +0 -23
- package/dist/generated/substance3d/capabilities.browser.d.ts.map +0 -1
- package/dist/generated/substance3d/capabilities.browser.js +0 -30
- package/dist/generated/substance3d/capabilities.browser.js.map +0 -1
- package/dist/generated/substance3d/index.d.ts +0 -3
- package/dist/generated/substance3d/index.d.ts.map +0 -1
- package/dist/generated/substance3d/index.js +0 -3
- package/dist/generated/substance3d/index.js.map +0 -1
- package/dist/generated/substance3d/shells.d.ts +0 -25
- package/dist/generated/substance3d/shells.d.ts.map +0 -1
- package/dist/generated/substance3d/shells.js +0 -146
- package/dist/generated/substance3d/shells.js.map +0 -1
- package/dist/index.browser.d.ts +0 -19
- package/dist/index.browser.d.ts.map +0 -1
- package/dist/index.browser.js +0 -27
- package/dist/index.browser.js.map +0 -1
- package/dist/runtime/invoke.d.ts +0 -67
- package/dist/runtime/invoke.d.ts.map +0 -1
- package/dist/runtime/invoke.js +0 -69
- package/dist/runtime/invoke.js.map +0 -1
- package/dist/runtime/photoshop-manifest.d.ts +0 -40
- package/dist/runtime/photoshop-manifest.d.ts.map +0 -1
- package/dist/runtime/photoshop-manifest.js +0 -115
- package/dist/runtime/photoshop-manifest.js.map +0 -1
- package/dist/shared.d.ts +0 -11
- package/dist/shared.d.ts.map +0 -1
- package/dist/shared.js +0 -39
- package/dist/shared.js.map +0 -1
- package/openapi/audio-video/audio-video-api.json +0 -8333
- package/openapi/audio-video/translate-lipsync-openapi.json +0 -1967
- package/openapi/content-tagging/SOURCE.md +0 -10
- package/openapi/creative-production/workflow-builder-api.yaml +0 -1002
- package/openapi/express/ffs-express-api.json +0 -2262
- package/openapi/firefly/firefly-api.json +0 -4964
- package/openapi/illustrator/illustrator-api-beta.json +0 -1329
- package/openapi/illustrator/illustrator-api.json +0 -2447
- package/openapi/indesign/indesignapi.json +0 -2907
- package/openapi/overlays/schema-fixes.json +0 -95
- package/openapi/photoshop/photoshopv2-api.json +0 -5395
- package/openapi/substance3d/openapi.yaml +0 -3583
|
@@ -1,453 +1,464 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
|
|
2
|
+
/* Source: firefly/firefly-api.json */
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}))
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export const
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
export const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export const
|
|
87
|
-
|
|
88
|
-
"image"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
export const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
})))
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}))
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
export const
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
})))
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"size"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
})))
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export const
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
export const
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
"
|
|
372
|
-
|
|
373
|
-
}))
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
export const
|
|
379
|
-
|
|
380
|
-
}))
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
export const
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
export const
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
4
|
+
import { fileRefSchema } from "../../schemas.js";
|
|
5
|
+
/**
|
|
6
|
+
* OpenAPI component `AdaptiveCompositeRequest`, request (closed).
|
|
7
|
+
* @category Generated
|
|
8
|
+
*/
|
|
9
|
+
export const In_AdaptiveCompositeRequest = z.lazy(() => z.strictObject({
|
|
10
|
+
background: In_BackgroundInput.describe("Background image and fill area mask."),
|
|
11
|
+
object: In_AdaptiveObjectInput.describe("Object image and optional mask."),
|
|
12
|
+
numVariations: z.number().int().min(1).max(3).optional().describe("Number of output variations to generate."),
|
|
13
|
+
seeds: z.array(z.number().int()).min(1).max(3).optional().describe("Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified alongside numVariations, the number of seeds must equal numVariations. Defaults: 1 variation → [333], 2 → [333, 222], 3 → [333, 222, 111]."),
|
|
14
|
+
harmonization: z.number().min(0).max(1).optional().describe("Controls how much the object's colors and lighting are adjusted to match the background scene."),
|
|
15
|
+
shadowIntensity: z.number().min(0).max(1).optional().describe("Controls shadow intensity in the composited result. Lower values reduce shadow."),
|
|
16
|
+
preserveBackground: z.boolean().optional().describe("When true, preserves original background details within the masked area during compositing."),
|
|
17
|
+
output: In_OutputSpec.optional().describe("Output format specification.")
|
|
18
|
+
}));
|
|
19
|
+
/**
|
|
20
|
+
* OpenAPI component `AdaptiveObjectInput`, request (closed).
|
|
21
|
+
* @category Generated
|
|
22
|
+
*/
|
|
23
|
+
export const In_AdaptiveObjectInput = z.lazy(() => z.strictObject({
|
|
24
|
+
image: In_ImageRef.describe("Object image to be composited onto the background."),
|
|
25
|
+
mask: In_ImageRef.optional().describe("Optional object mask.")
|
|
26
|
+
}));
|
|
27
|
+
/**
|
|
28
|
+
* OpenAPI component `AlignmentHorizontal`, request (closed).
|
|
29
|
+
* @category Generated
|
|
30
|
+
*/
|
|
31
|
+
export const In_AlignmentHorizontal = z.lazy(() => z.enum(["center", "left", "right"])).describe("An enumeration.");
|
|
32
|
+
/**
|
|
33
|
+
* OpenAPI component `AlignmentVertical`, request (closed).
|
|
34
|
+
* @category Generated
|
|
35
|
+
*/
|
|
36
|
+
export const In_AlignmentVertical = z.lazy(() => z.enum(["center", "top", "bottom"])).describe("An enumeration.");
|
|
37
|
+
/**
|
|
38
|
+
* OpenAPI component `AspectRatio`, request (closed).
|
|
39
|
+
* @category Generated
|
|
40
|
+
*/
|
|
41
|
+
export const In_AspectRatio = z.lazy(() => z.enum(["1:1", "4:3", "3:4", "16:9", "9:16", "auto"]));
|
|
42
|
+
/**
|
|
43
|
+
* OpenAPI component `BackgroundInput`, request (closed).
|
|
44
|
+
* @category Generated
|
|
45
|
+
*/
|
|
46
|
+
export const In_BackgroundInput = z.lazy(() => z.strictObject({
|
|
47
|
+
image: In_ImageRef.describe("Background image on which the object will be placed."),
|
|
48
|
+
fillAreaMask: In_ImageRef.describe("Mask defining where the object should be placed on the background.")
|
|
49
|
+
}));
|
|
50
|
+
/**
|
|
51
|
+
* OpenAPI component `BaseInputImageV3`, request (closed).
|
|
52
|
+
* @category Generated
|
|
53
|
+
*/
|
|
54
|
+
export const In_BaseInputImageV3 = z.lazy(() => z.strictObject({
|
|
55
|
+
source: In_PublicBinaryInputV3.describe("Source image that Firefly expands, fills, uses to generate similar images, or upscales.")
|
|
56
|
+
}));
|
|
57
|
+
/**
|
|
58
|
+
* OpenAPI component `BaseInputMaskV3`, request (closed).
|
|
59
|
+
* @category Generated
|
|
60
|
+
*/
|
|
61
|
+
export const In_BaseInputMaskV3 = z.lazy(() => z.strictObject({
|
|
62
|
+
source: In_PublicBinaryInputV3.optional().describe("Original mask image.")
|
|
63
|
+
}));
|
|
64
|
+
/**
|
|
65
|
+
* OpenAPI component `CameraMotion`, request (closed).
|
|
66
|
+
* @category Generated
|
|
67
|
+
*/
|
|
68
|
+
export const In_CameraMotion = z.lazy(() => z.enum(["camera pan left", "camera pan right", "camera zoom in", "camera zoom out", "camera tilt up", "camera tilt down", "camera locked down", "camera handheld"]));
|
|
69
|
+
/**
|
|
70
|
+
* OpenAPI component `ClinetoSize`, request (closed).
|
|
71
|
+
* @category Generated
|
|
72
|
+
*/
|
|
73
|
+
export const In_ClinetoSize = z.lazy(() => z.strictObject({
|
|
74
|
+
height: z.number().int().min(1).max(8192).describe("The height of the output video."),
|
|
75
|
+
width: z.number().int().min(1).max(8192).describe("The width of the output video.")
|
|
76
|
+
}));
|
|
77
|
+
/**
|
|
78
|
+
* OpenAPI component `ContentClassV3`, request (closed).
|
|
79
|
+
* @category Generated
|
|
80
|
+
*/
|
|
81
|
+
export const In_ContentClassV3 = z.lazy(() => z.enum(["photo", "art"])).describe("The content class of the image.");
|
|
82
|
+
/**
|
|
83
|
+
* OpenAPI component `ExpandImageRequestV3`, request (closed).
|
|
84
|
+
* @category Generated
|
|
85
|
+
*/
|
|
86
|
+
export const In_ExpandImageRequestV3 = z.lazy(() => z.strictObject({
|
|
87
|
+
image: In_InputImageV3.describe("The image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com ."),
|
|
88
|
+
mask: In_InputMaskV3.optional().describe("Mask image which will be used to expand the given image."),
|
|
89
|
+
numVariations: z.number().int().min(1).max(4).optional().describe("Generate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds."),
|
|
90
|
+
placement: In_Placement.optional().describe("The position of the source image after Firefly resizes it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image."),
|
|
91
|
+
prompt: z.string().min(1).max(1024).optional().describe("An optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs."),
|
|
92
|
+
seeds: z.array(z.number().int()).min(1).max(4).optional().describe("Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations , the number of seeds must equal numVariations ."),
|
|
93
|
+
size: z.strictObject({
|
|
94
|
+
height: z.number().int().min(1).max(4096),
|
|
95
|
+
width: z.number().int().min(1).max(4096)
|
|
96
|
+
}).optional().describe("The desired width and height for the final expanded image in pixels. The maximum size for the output images is 3999px by 3999px."),
|
|
97
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the source image carries a Claim 2.x assertion (for example Firefly-generated outputs).")
|
|
98
|
+
}));
|
|
99
|
+
/**
|
|
100
|
+
* OpenAPI component `FillImageRequestV3`, request (closed).
|
|
101
|
+
* @category Generated
|
|
102
|
+
*/
|
|
103
|
+
export const In_FillImageRequestV3 = z.lazy(() => z.strictObject({
|
|
104
|
+
image: In_InputImageV3.describe("The image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com ."),
|
|
105
|
+
mask: In_InputMaskV3.describe("Required. Selected areas of a background image that Firefly uses to fill the source image."),
|
|
106
|
+
negativePrompt: z.string().max(1024).optional().describe("An optional text prompt up to 1024 characters. Avoid these characteristics in the generated image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4."),
|
|
107
|
+
numVariations: z.number().int().min(1).max(4).optional().describe("Generate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds."),
|
|
108
|
+
prompt: z.string().min(1).max(1024).optional().describe("An optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs."),
|
|
109
|
+
promptBiasingLocaleCode: z.string().optional().describe("A hyphen-separated string combining the ISO 639-1 language code and the ISO 3166-1 region, such as en-US. When a locale is set, the prompt will be biased to generate more relevant content for that region."),
|
|
110
|
+
seeds: z.array(z.number().int()).min(1).max(4).optional().describe("Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations , the number of seeds must equal numVariations ."),
|
|
111
|
+
size: z.strictObject({
|
|
112
|
+
height: z.number().int().min(1).max(4096),
|
|
113
|
+
width: z.number().int().min(1).max(4096)
|
|
114
|
+
}).optional().describe("The desired width and height for the final expanded image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Wide..."),
|
|
115
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the source image carries a Claim 2.x assertion (for example Firefly-generated outputs).")
|
|
116
|
+
}));
|
|
117
|
+
/**
|
|
118
|
+
* OpenAPI component `FireflyModelId`, request (closed).
|
|
119
|
+
* @category Generated
|
|
120
|
+
*/
|
|
121
|
+
export const In_FireflyModelId = z.lazy(() => z.enum(["firefly_image"]));
|
|
122
|
+
/**
|
|
123
|
+
* OpenAPI component `GenerateImagesRequestV3`, request (closed).
|
|
124
|
+
* @category Generated
|
|
125
|
+
*/
|
|
126
|
+
export const In_GenerateImagesRequestV3 = z.lazy(() => z.strictObject({
|
|
127
|
+
contentClass: In_ContentClassV3.optional().describe("Directs the style of a generated image to be photographic or like fine art."),
|
|
128
|
+
customModelId: z.string().optional().describe("Include the specific custom model ID when a custom model type is designated in the `x-model-version` header parameter."),
|
|
129
|
+
negativePrompt: z.string().max(1024).optional().describe("A negative prompt of things Firefly will try to avoid generating in the image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4."),
|
|
130
|
+
numVariations: z.number().int().min(1).max(4).optional().describe("The number of variations to generate. numVariations defaults to the number of seed images, or to 1 if you do not specify `seeds`."),
|
|
131
|
+
prompt: z.string().min(1).max(1024).describe("A text prompt to support the generation of an image. The longer the prompt the better Firefly performs."),
|
|
132
|
+
promptBiasingLocaleCode: z.string().optional().describe("A hyphen-separated string combining the ISO 639-1 language code and the ISO 3166-1 region (like en-US). When a locale is set, the prompt will be biased to generate more relevant content for that region."),
|
|
133
|
+
seeds: z.array(z.number().int()).min(1).max(4).optional().describe("An array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, use the same seed to generate a similar image in different styles. If specified along with numVariations , the number of seeds provided must equal numVariations ."),
|
|
134
|
+
size: z.strictObject({
|
|
135
|
+
height: z.number().int().min(1).max(4096),
|
|
136
|
+
width: z.number().int().min(1).max(4096)
|
|
137
|
+
}).optional().describe("The desired width and height for the final image, in pixels. Supported sizes for the output images with `image3` are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Wi..."),
|
|
138
|
+
structure: In_StructureReferenceV3.optional().describe("An object with the reference image details for structure."),
|
|
139
|
+
style: In_StylesV3.optional().describe("An object with the reference image details for style."),
|
|
140
|
+
upsamplerType: z.enum(["default", "low_creativity"]).optional().describe("Only supported with the model version `image4_custom`. The `default` setting upscales generated images to 2k. The `low_creativity` setting refines the image generation by removing distortions, smoothing textures, and sometimes adding details (like freckles to faces in close-up)."),
|
|
141
|
+
visualIntensity: z.number().int().min(2).max(10).optional().describe("Adjust the overall intensity of your photo's characteristics, such as contrast, shadow, and hue. This is not supported with the model version `image4_custom`."),
|
|
142
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the request includes style or structure reference images that carry a Claim 2.x assertion.")
|
|
143
|
+
}));
|
|
144
|
+
/**
|
|
145
|
+
* OpenAPI component `GenerateObjectCompositeRequestV3`, request (closed).
|
|
146
|
+
* @category Generated
|
|
147
|
+
*/
|
|
148
|
+
export const In_GenerateObjectCompositeRequestV3 = z.lazy(() => z.strictObject({
|
|
149
|
+
contentClass: In_ContentClassV3.optional(),
|
|
150
|
+
image: In_InputImageV3.describe("The image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com ."),
|
|
151
|
+
mask: In_BaseInputMaskV3.optional().describe("Selected areas of a background image that Firefly uses to fill the source image."),
|
|
152
|
+
numVariations: z.number().int().min(1).max(4).optional().describe("Generate this number of variations. Defaults to the number of seed images, or to 1 if you do not specify seeds."),
|
|
153
|
+
placement: In_Placement.optional().describe("The position of the source image after Firefly adjusts it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image."),
|
|
154
|
+
prompt: z.string().min(1).max(1024).describe("A text prompt up to 1024 characters. The longer the prompt the better Firefly performs."),
|
|
155
|
+
seeds: z.array(z.number().int()).min(1).max(4).optional().describe("Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations , the number of seeds must equal numVariations ."),
|
|
156
|
+
size: z.strictObject({
|
|
157
|
+
height: z.number().int().min(1).max(4096),
|
|
158
|
+
width: z.number().int().min(1).max(4096)
|
|
159
|
+
}).optional().describe("The desired width and height for the final image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (1..."),
|
|
160
|
+
style: In_StylesV3.optional(),
|
|
161
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the source image carries a Claim 2.x assertion (for example Firefly-generated outputs).")
|
|
162
|
+
}));
|
|
163
|
+
/**
|
|
164
|
+
* OpenAPI component `GenerateSimilarImagesRequestV3`, request (closed).
|
|
165
|
+
* @category Generated
|
|
166
|
+
*/
|
|
167
|
+
export const In_GenerateSimilarImagesRequestV3 = z.lazy(() => z.strictObject({
|
|
168
|
+
image: In_BaseInputImageV3.describe("Firefly will create similar variations. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com ."),
|
|
169
|
+
numVariations: z.number().int().min(1).max(4).optional().describe("Generate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify `seeds`."),
|
|
170
|
+
seeds: z.array(z.number().int()).min(1).max(4).optional().describe("Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations , the number of seeds must equal numVariations ."),
|
|
171
|
+
size: z.strictObject({
|
|
172
|
+
height: z.number().int().min(1).max(4096),
|
|
173
|
+
width: z.number().int().min(1).max(4096)
|
|
174
|
+
}).optional().describe("The desired width and height for the final image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (1..."),
|
|
175
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the source image carries a Claim 2.x assertion (for example Firefly-generated outputs).")
|
|
176
|
+
}));
|
|
177
|
+
/**
|
|
178
|
+
* OpenAPI component `GenerateVideoRequestV3`, request (closed).
|
|
179
|
+
* @category Generated
|
|
180
|
+
*/
|
|
181
|
+
export const In_GenerateVideoRequestV3 = z.lazy(() => z.strictObject({
|
|
182
|
+
bitRateFactor: z.number().int().min(0).max(63).optional().describe("The constant rate factor for encoding video. 0 indicates a lossless generation, with the highest quality and largest file size. 63 indicates the worst quality generation with the smallest file size. The suggested value range is 17-23."),
|
|
183
|
+
image: In_InputImageVideoV3.optional().describe("The details of the image used as a keyframe for the generated video. Provided images are used as a first frame or final frame to guide the video generation."),
|
|
184
|
+
prompt: z.string().optional().describe("The prompt used to generate the video. The longer the prompt, the better."),
|
|
185
|
+
seeds: z.array(z.number().int()).min(1).max(1).optional().describe("The seed reference value. Currently only 1 seed is supported."),
|
|
186
|
+
sizes: z.array(In_ClinetoSize).optional().describe("The dimensions of the generated video. Consult the [supported aspect ratios in the usage notes](https://developer.adobe.com/firefly-services/docs/firefly-api/getting-started/usage-notes/#supported-aspect-ratios) for allowed values."),
|
|
187
|
+
videoSettings: In_VideoSettingsV3.optional().describe("The camera and shot control settings.")
|
|
188
|
+
}));
|
|
189
|
+
/**
|
|
190
|
+
* OpenAPI component `ImageConditionV3`, request (closed).
|
|
191
|
+
* @category Generated
|
|
192
|
+
*/
|
|
193
|
+
export const In_ImageConditionV3 = z.lazy(() => z.strictObject({
|
|
194
|
+
placement: In_PlacementStart.describe("Details about the timeline placement of the image."),
|
|
195
|
+
source: In_PublicBinaryInputV3.describe("The source details of the image.")
|
|
196
|
+
}));
|
|
197
|
+
/**
|
|
198
|
+
* OpenAPI component `ImageGenerateRequestV3`, request (closed).
|
|
199
|
+
* @category Generated
|
|
200
|
+
*/
|
|
201
|
+
export const In_ImageGenerateRequestV3 = z.lazy(() => z.strictObject({
|
|
202
|
+
prompt: z.string().min(1).max(1500).describe("The prompt used to generate the image. The longer the prompt, the better."),
|
|
203
|
+
aspectRatio: In_AspectRatio.optional().describe("The aspect ratio of the requested generations. This controls the size of the generated image. When referenceBlobs is included in the request, this property should be omitted or set to auto ."),
|
|
204
|
+
resolutionLevel: z.enum(["1MP", "2.4MP", "4MP"]).optional().describe("The resolution level."),
|
|
205
|
+
modelId: In_FireflyModelId.optional().describe("The specific model to use for image generation. Available options: 'firefly_image' for Firefly Image model."),
|
|
206
|
+
modelSpecificPayload: In_ModelSpecificPayloadV3.optional().describe("Additional model-specific parameters for controlling the generation process."),
|
|
207
|
+
numVariations: z.number().int().max(1).optional().describe("The number of image variations to generate. Greater than 1 is not supported. Only one image per variation is allowed. For multiple variations, send separate requests."),
|
|
208
|
+
referenceBlobs: z.array(In_ReferenceBlobV3).max(1).optional().describe("List of reference blobs that will be used as additional input for the generation process. Only one reference image is supported. When this array is not empty, aspectRatio must be omitted or set to auto ."),
|
|
209
|
+
seeds: z.array(z.number().int()).max(1).optional().describe("The seed value to vary the image generation. Only one seed per variation is allowed. If specified alongside with numVariations, the number of seeds must be equal to numVariations."),
|
|
210
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when referenceBlobs carry a Claim 2.x assertion.")
|
|
211
|
+
}));
|
|
212
|
+
/**
|
|
213
|
+
* OpenAPI component `ImageRef`, request (closed).
|
|
214
|
+
* @category Generated
|
|
215
|
+
*/
|
|
216
|
+
export const In_ImageRef = z.lazy(() => z.strictObject({
|
|
217
|
+
source: In_ImageSource
|
|
218
|
+
}));
|
|
219
|
+
/**
|
|
220
|
+
* OpenAPI component `ImageSource`, request (closed).
|
|
221
|
+
* @category Generated
|
|
222
|
+
*/
|
|
223
|
+
export const In_ImageSource = z.lazy(() => z.strictObject({
|
|
224
|
+
uploadId: z.string().optional().describe("If this object represents a file in our S3 temp storage system, the ID for that file."),
|
|
225
|
+
url: z.string().optional().describe("Pre-signed URL of the image from a supported domain. [See Allowed storage domains](https://github.com/your-repo/your-project/blob/main/src/pages/getting-started/usage-notes/index.md#allowed-storage-domains) for the current list.")
|
|
226
|
+
})).describe("The image source. Exactly one of `url` or `uploadId` must be provided in the request.");
|
|
227
|
+
/**
|
|
228
|
+
* OpenAPI component `InputImageV3`, request (closed).
|
|
229
|
+
* @category Generated
|
|
230
|
+
*/
|
|
231
|
+
export const In_InputImageV3 = z.lazy(() => z.strictObject({
|
|
232
|
+
mask: z.strictObject({
|
|
233
|
+
uploadId: z.string().optional().describe("The `uploadId` from the storage API response."),
|
|
234
|
+
url: z.string().min(1).max(2083).optional().describe("The pre-signed URL of an uploaded file. Use a URL or an `uploadID` as the source for the image. Firefly only allows these listed domains in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .")
|
|
235
|
+
}).optional().describe("This is a deprecated property. Use mask instead."),
|
|
236
|
+
source: In_PublicBinaryInputV3.describe("Source image that Firefly expands, fills, or uses to generate similar images.")
|
|
237
|
+
}));
|
|
238
|
+
/**
|
|
239
|
+
* OpenAPI component `InputImageVideoV3`, request (closed).
|
|
240
|
+
* @category Generated
|
|
241
|
+
*/
|
|
242
|
+
export const In_InputImageVideoV3 = z.lazy(() => z.strictObject({
|
|
243
|
+
conditions: z.array(In_ImageConditionV3).optional().describe("The details about the keyframe images used for the video generation.")
|
|
244
|
+
}));
|
|
245
|
+
/**
|
|
246
|
+
* OpenAPI component `InputMaskV3`, request (closed).
|
|
247
|
+
* @category Generated
|
|
248
|
+
*/
|
|
249
|
+
export const In_InputMaskV3 = z.lazy(() => z.strictObject({
|
|
250
|
+
invert: z.boolean().optional().describe("Invert mask is an optional boolen property, use true if you want take an image mask, invert it and apply it."),
|
|
251
|
+
source: In_PublicBinaryInputV3
|
|
252
|
+
}));
|
|
253
|
+
/**
|
|
254
|
+
* OpenAPI component `ModelSpecificPayloadV3`, request (closed).
|
|
255
|
+
* @category Generated
|
|
256
|
+
*/
|
|
257
|
+
export const In_ModelSpecificPayloadV3 = z.lazy(() => z.strictObject({
|
|
258
|
+
localeCode: z.string().optional().describe("The locale code (following RFC 5646 format, e.g., 'en-US') will be used to generate content that is more relevant for user's country and language."),
|
|
259
|
+
prompt_reasoner: z.enum(["quality", "speed"]).optional().describe("Controls the prompt reasoning strategy used during image generation. When set to quality , the response includes a populated altText field with a generated description of the image. When set to speed , prompt reasoning is optimized for speed and the altText field is returned empty.")
|
|
260
|
+
})).describe("Model-specific payload parameters for V3 generation workflows.");
|
|
261
|
+
/**
|
|
262
|
+
* OpenAPI component `ObjectInput`, request (closed).
|
|
263
|
+
* @category Generated
|
|
264
|
+
*/
|
|
265
|
+
export const In_ObjectInput = z.lazy(() => z.strictObject({
|
|
266
|
+
image: In_ImageRef.describe("Object image to be composited onto the background.")
|
|
267
|
+
}));
|
|
268
|
+
/**
|
|
269
|
+
* OpenAPI component `OutputSpec`, request (closed).
|
|
270
|
+
* @category Generated
|
|
271
|
+
*/
|
|
272
|
+
export const In_OutputSpec = z.lazy(() => z.strictObject({
|
|
273
|
+
mediaType: z.enum(["image/png", "image/jpeg", "image/webp", "image/jxl"]).optional().describe("MIME type for the output image.")
|
|
274
|
+
}));
|
|
275
|
+
/**
|
|
276
|
+
* OpenAPI component `Placement`, request (closed).
|
|
277
|
+
* @category Generated
|
|
278
|
+
*/
|
|
279
|
+
export const In_Placement = z.lazy(() => z.strictObject({
|
|
280
|
+
alignment: z.strictObject({
|
|
281
|
+
horizontal: In_AlignmentHorizontal.optional(),
|
|
282
|
+
vertical: In_AlignmentVertical.optional()
|
|
283
|
+
}).optional().describe("Specify horizontal and vertical alignment. Possible values for horizontal=(center|left|right) and for vertical=(center|top|bottom)."),
|
|
284
|
+
inset: z.strictObject({
|
|
285
|
+
bottom: z.number().int().optional().describe("The space between bottom edge of the result image and bottom edge of the placed object image."),
|
|
286
|
+
left: z.number().int().optional().describe("The space between left edge of the result image and left edge of the placed object image."),
|
|
287
|
+
right: z.number().int().optional().describe("The space between right edge of the result image and right edge of the placed object image."),
|
|
288
|
+
top: z.number().int().optional().describe("The space between top edge of the result image and top edge of the placed object image.")
|
|
289
|
+
}).optional().describe("Margin values in target size.")
|
|
290
|
+
}));
|
|
291
|
+
/**
|
|
292
|
+
* OpenAPI component `PlacementStart`, request (closed).
|
|
293
|
+
* @category Generated
|
|
294
|
+
*/
|
|
295
|
+
export const In_PlacementStart = z.lazy(() => z.strictObject({
|
|
296
|
+
position: z.number().min(0).max(1).describe("The position of the image on the timeline for the generated video, 0 being the first frame and 1 being the last frame.")
|
|
297
|
+
}));
|
|
298
|
+
/**
|
|
299
|
+
* OpenAPI component `PreciseCompositeRequest`, request (closed).
|
|
300
|
+
* @category Generated
|
|
301
|
+
*/
|
|
302
|
+
export const In_PreciseCompositeRequest = z.lazy(() => z.strictObject({
|
|
303
|
+
background: In_BackgroundInput.describe("Background image and fill area mask specifying object placement."),
|
|
304
|
+
object: In_ObjectInput.describe("Object image to be placed on the background."),
|
|
305
|
+
numVariations: z.number().int().min(1).max(3).optional().describe("Number of output variations to generate."),
|
|
306
|
+
seeds: z.array(z.number().int()).min(1).max(3).optional().describe("Random seeds for each variation. Count must match numVariations if both are provided. Defaults: 1 variation → [333], 2 → [333, 222], 3 → [333, 222, 111]."),
|
|
307
|
+
blend: z.number().min(0).max(1).optional().describe("Controls blend between harmonized and original object appearance (0.0 = fully harmonized, 1.0 = original preserved)."),
|
|
308
|
+
output: In_OutputSpec.optional().describe("Output format specification.")
|
|
309
|
+
}));
|
|
310
|
+
/**
|
|
311
|
+
* OpenAPI component `PreciseUpsamplerRequestV3`, request (closed).
|
|
312
|
+
* @category Generated
|
|
313
|
+
*/
|
|
314
|
+
export const In_PreciseUpsamplerRequestV3 = z.lazy(() => z.strictObject({
|
|
315
|
+
image: In_BaseInputImageV3.describe("The input image for the upsampler (source uploadId or url)."),
|
|
316
|
+
seeds: z.array(z.number().int()).min(1).max(4).describe("The seed for each variation. Provide one seed per output (1–4 seeds)."),
|
|
317
|
+
upscaleFactor: In_UpsampleFactor.optional().describe("The upscale factor (2, 3, 4, or 6). Output dimensions are input dimensions multiplied by this factor."),
|
|
318
|
+
caiClaimVersion: z.union([z.literal(1), z.literal(2)]).optional().describe("Content Authenticity Initiative claim version for image inputs. Use 2 when the source image carries a Claim 2.x assertion (for example Firefly-generated outputs).")
|
|
319
|
+
})).describe("Request body for upscaling an image. Provide the input image via uploadId from storage or a presigned URL. Seeds are required for reproducible results.");
|
|
320
|
+
/**
|
|
321
|
+
* OpenAPI component `PublicBinaryInputV3`, request (closed).
|
|
322
|
+
* @category Generated
|
|
323
|
+
*/
|
|
324
|
+
export const In_PublicBinaryInputV3 = z.lazy(() => z.strictObject({
|
|
325
|
+
uploadId: z.string().optional().describe("The `uploadId` from the storage API response."),
|
|
326
|
+
url: z.string().min(1).max(2083).optional().describe("The pre-signed URL of an uploaded file. Use a URL or an `uploadID` as the source for the image. Firefly only allows these listed domains in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .")
|
|
327
|
+
}));
|
|
328
|
+
/**
|
|
329
|
+
* OpenAPI component `ReferenceBlobSourceV3`, request (closed).
|
|
330
|
+
* @category Generated
|
|
331
|
+
*/
|
|
332
|
+
export const In_ReferenceBlobSourceV3 = z.lazy(() => z.strictObject({
|
|
333
|
+
uploadId: z.string().optional().describe("The ID of an asset previously uploaded to the Firefly Upload Image API."),
|
|
334
|
+
url: z.string().optional().describe("URL of the reference image.")
|
|
335
|
+
})).describe("Source specification for a reference blob input asset. Input images must meet these requirements: file size must be 10 MB or less; image area must be between 512×512 and 2048×2048 pixels (inclusive); aspect ratio must be between 1:5 and 5:1 (inclusive).");
|
|
336
|
+
/**
|
|
337
|
+
* OpenAPI component `ReferenceBlobUsageV3`, request (closed).
|
|
338
|
+
* @category Generated
|
|
339
|
+
*/
|
|
340
|
+
export const In_ReferenceBlobUsageV3 = z.lazy(() => z.enum(["general"]));
|
|
341
|
+
/**
|
|
342
|
+
* OpenAPI component `ReferenceBlobV3`, request (closed).
|
|
343
|
+
* @category Generated
|
|
344
|
+
*/
|
|
345
|
+
export const In_ReferenceBlobV3 = z.lazy(() => z.strictObject({
|
|
346
|
+
source: fileRefSchema({ access: "url" }).describe("The source location of the reference image."),
|
|
347
|
+
usage: In_ReferenceBlobUsageV3.optional().describe("The usage of the reference blob. Available options: 'general' for general reference.")
|
|
348
|
+
})).describe("Reference blob for V3 API. Style Guide compliant: The source property specifies the input location, and other properties like usage are peers of source .");
|
|
349
|
+
/**
|
|
350
|
+
* OpenAPI component `ShotAngle`, request (closed).
|
|
351
|
+
* @category Generated
|
|
352
|
+
*/
|
|
353
|
+
export const In_ShotAngle = z.lazy(() => z.enum(["aerial shot", "eye_level shot", "high angle shot", "low angle shot", "top-down shot"]));
|
|
354
|
+
/**
|
|
355
|
+
* OpenAPI component `ShotSize`, request (closed).
|
|
356
|
+
* @category Generated
|
|
357
|
+
*/
|
|
358
|
+
export const In_ShotSize = z.lazy(() => z.enum(["close-up shot", "extreme close-up", "medium shot", "long shot", "extreme long shot"]));
|
|
359
|
+
/**
|
|
360
|
+
* OpenAPI component `StructureImageReferenceV3`, request (closed).
|
|
361
|
+
* @category Generated
|
|
362
|
+
*/
|
|
363
|
+
export const In_StructureImageReferenceV3 = z.lazy(() => z.strictObject({
|
|
364
|
+
source: In_PublicBinaryInputV3.optional()
|
|
365
|
+
}));
|
|
366
|
+
/**
|
|
367
|
+
* OpenAPI component `StructureReferenceV3`, request (closed).
|
|
368
|
+
* @category Generated
|
|
369
|
+
*/
|
|
370
|
+
export const In_StructureReferenceV3 = z.lazy(() => z.strictObject({
|
|
371
|
+
imageReference: fileRefSchema({ access: "url" }).optional(),
|
|
372
|
+
strength: z.number().int().min(0).max(100).optional().describe("Control how strictly Firefly adheres to the reference image when it generates the image variations. 0 means no adherence. 100 means full adherence.")
|
|
373
|
+
}));
|
|
374
|
+
/**
|
|
375
|
+
* OpenAPI component `StylesImageReferenceV3`, request (closed).
|
|
376
|
+
* @category Generated
|
|
377
|
+
*/
|
|
378
|
+
export const In_StylesImageReferenceV3 = z.lazy(() => z.strictObject({
|
|
379
|
+
source: In_PublicBinaryInputV3.optional()
|
|
380
|
+
}));
|
|
381
|
+
/**
|
|
382
|
+
* OpenAPI component `StylesV3`, request (closed).
|
|
383
|
+
* @category Generated
|
|
384
|
+
*/
|
|
385
|
+
export const In_StylesV3 = z.lazy(() => z.strictObject({
|
|
386
|
+
imageReference: fileRefSchema({ access: "url" }).optional(),
|
|
387
|
+
presets: z.array(z.string()).optional().describe("The style presets. Specify an ID for a style of image to generate."),
|
|
388
|
+
strength: z.number().int().max(100).optional().describe("How strictly Firefly should adhere to the style you provide. 0 means no adherence. 100 means full adherence.")
|
|
389
|
+
}));
|
|
390
|
+
/**
|
|
391
|
+
* OpenAPI component `UpsampleFactor`, request (closed).
|
|
392
|
+
* @category Generated
|
|
393
|
+
*/
|
|
394
|
+
export const In_UpsampleFactor = z.lazy(() => z.union([z.literal(2), z.literal(3), z.literal(4), z.literal(6)])).describe("Supported upscale factors. Output size equals input size multiplied by this factor.");
|
|
395
|
+
/**
|
|
396
|
+
* OpenAPI component `VideoPromptStyle`, request (closed).
|
|
397
|
+
* @category Generated
|
|
398
|
+
*/
|
|
399
|
+
export const In_VideoPromptStyle = z.lazy(() => z.enum(["anime", "3d", "fantasy", "cinematic", "claymation", "line art", "stop motion", "2d", "vector art", "black and white"]));
|
|
400
|
+
/**
|
|
401
|
+
* OpenAPI component `VideoSettingsV3`, request (closed).
|
|
402
|
+
* @category Generated
|
|
403
|
+
*/
|
|
404
|
+
export const In_VideoSettingsV3 = z.lazy(() => z.strictObject({
|
|
405
|
+
cameraMotion: In_CameraMotion.optional().describe("The camera motion control."),
|
|
406
|
+
promptStyle: In_VideoPromptStyle.optional().describe("The style of the generated video."),
|
|
407
|
+
shotAngle: In_ShotAngle.optional().describe("The shot angle control."),
|
|
408
|
+
shotSize: In_ShotSize.optional().describe("The shot size control.")
|
|
409
|
+
}));
|
|
410
|
+
/**
|
|
411
|
+
* OpenAPI component `BaseModel`, response (open).
|
|
412
|
+
* @category Generated
|
|
413
|
+
*/
|
|
414
|
+
export const Out_BaseModel = z.lazy(() => z.looseObject({
|
|
415
|
+
name: z.string().optional().describe("The name of the base model."),
|
|
416
|
+
version: z.string().optional().describe("The version of the base model.")
|
|
417
|
+
}));
|
|
418
|
+
/**
|
|
419
|
+
* OpenAPI component `CustomModelFF3pInfo`, response (open).
|
|
420
|
+
* @category Generated
|
|
421
|
+
*/
|
|
422
|
+
export const Out_CustomModelFF3pInfo = z.lazy(() => z.looseObject({
|
|
423
|
+
version: z.string().optional().describe("Custom Model version."),
|
|
424
|
+
assetName: z.string().optional().describe("Custom Model name."),
|
|
425
|
+
size: z.number().int().optional().describe("The storage amount used."),
|
|
426
|
+
etag: z.string().optional().describe("An identifier for the specific version of the asset."),
|
|
427
|
+
trainingMode: z.enum(["subject", "style"]).optional().describe("The training mode of the model. When this is 'subject', the 'conceptId' must be mentioned in the prompt."),
|
|
428
|
+
assetId: z.string().optional().describe("A unique identifier for the asset."),
|
|
429
|
+
mediaType: z.string().optional().describe("The media type specific to the asset."),
|
|
430
|
+
createdDate: z.string().optional(),
|
|
431
|
+
modifiedDate: z.string().optional(),
|
|
432
|
+
publishedState: z.enum(["never", "published", "unpublished"]).optional().describe("Status for the asset. The 'unpublished' value applies when an asset is published and then subsequently revoked."),
|
|
433
|
+
baseModel: Out_BaseModel.optional().describe("The underlying GenAI model used to train the Custom Model."),
|
|
434
|
+
samplePrompt: z.string().optional().describe("Example string provided by the custom model's trainer."),
|
|
435
|
+
displayName: z.string().optional().describe("The asset name provided by the user, mapped from the name of the training set library."),
|
|
436
|
+
conceptId: z.string().optional().describe("When 'trainingMode' is 'subject', this string specifies the subject for the prompt.")
|
|
437
|
+
})).describe("Custom Model info.");
|
|
438
|
+
/**
|
|
439
|
+
* OpenAPI component `CustomModelsFF3pInfo`, response (open).
|
|
440
|
+
* @category Generated
|
|
441
|
+
*/
|
|
442
|
+
export const Out_CustomModelsFF3pInfo = z.lazy(() => z.looseObject({
|
|
443
|
+
custom_models: z.array(Out_CustomModelFF3pInfo).optional().describe("List of custom models."),
|
|
444
|
+
_links: Out_Links.optional(),
|
|
445
|
+
total_count: z.number().int().optional().describe("Total number of results for the query.")
|
|
446
|
+
}));
|
|
447
|
+
/**
|
|
448
|
+
* OpenAPI component `Link`, response (open).
|
|
449
|
+
* @category Generated
|
|
450
|
+
*/
|
|
451
|
+
export const Out_Link = z.lazy(() => z.looseObject({
|
|
452
|
+
href: z.string().optional().describe("Fully qualified URI or relative path for the link."),
|
|
453
|
+
rel: z.string().optional().describe("Describes the relationship or function of the link (e.g. `next`, `page`, `self`)."),
|
|
454
|
+
templated: z.boolean().optional().describe("Indicates whether or not the `href` supports URI template parameters.")
|
|
455
|
+
})).describe("Standard representation of a hypermedia link.");
|
|
456
|
+
/**
|
|
457
|
+
* OpenAPI component `Links`, response (open).
|
|
458
|
+
* @category Generated
|
|
459
|
+
*/
|
|
460
|
+
export const Out_Links = z.lazy(() => z.looseObject({
|
|
461
|
+
page: Out_Link.optional(),
|
|
462
|
+
next: Out_Link.optional()
|
|
463
|
+
})).describe("Collection of hypermedia links for pagination, navigation, etc.");
|
|
453
464
|
//# sourceMappingURL=schemas.js.map
|