@apicity/fal 0.5.4 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +74 -55
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +927 -1438
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js.map +1 -1
- package/package.json +2 -2
package/dist/src/zod.d.ts
CHANGED
|
@@ -1,545 +1,521 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const FalPricingEstimateRequestSchema: z.ZodObject<{
|
|
3
|
-
estimate_type: z.ZodEnum<
|
|
3
|
+
estimate_type: z.ZodEnum<{
|
|
4
|
+
unit_price: "unit_price";
|
|
5
|
+
historical_api_price: "historical_api_price";
|
|
6
|
+
}>;
|
|
4
7
|
endpoints: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5
|
-
},
|
|
6
|
-
estimate_type: "unit_price" | "historical_api_price";
|
|
7
|
-
endpoints: Record<string, unknown>;
|
|
8
|
-
}, {
|
|
9
|
-
estimate_type: "unit_price" | "historical_api_price";
|
|
10
|
-
endpoints: Record<string, unknown>;
|
|
11
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
12
9
|
export declare const FalQueueSubmitRequestSchema: z.ZodObject<{
|
|
13
10
|
endpoint_id: z.ZodString;
|
|
14
11
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
12
|
webhook: z.ZodOptional<z.ZodString>;
|
|
16
|
-
priority: z.ZodOptional<z.ZodEnum<
|
|
13
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
low: "low";
|
|
15
|
+
normal: "normal";
|
|
16
|
+
}>>;
|
|
17
17
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
no_retry: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
runner_hint: z.ZodOptional<z.ZodString>;
|
|
20
20
|
store_io: z.ZodOptional<z.ZodString>;
|
|
21
21
|
object_lifecycle_preference: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
endpoint_id: string;
|
|
24
|
-
input: Record<string, unknown>;
|
|
25
|
-
webhook?: string | undefined;
|
|
26
|
-
priority?: "low" | "normal" | undefined;
|
|
27
|
-
timeout?: number | undefined;
|
|
28
|
-
no_retry?: boolean | undefined;
|
|
29
|
-
runner_hint?: string | undefined;
|
|
30
|
-
store_io?: string | undefined;
|
|
31
|
-
object_lifecycle_preference?: string | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
endpoint_id: string;
|
|
34
|
-
input: Record<string, unknown>;
|
|
35
|
-
webhook?: string | undefined;
|
|
36
|
-
priority?: "low" | "normal" | undefined;
|
|
37
|
-
timeout?: number | undefined;
|
|
38
|
-
no_retry?: boolean | undefined;
|
|
39
|
-
runner_hint?: string | undefined;
|
|
40
|
-
store_io?: string | undefined;
|
|
41
|
-
object_lifecycle_preference?: string | undefined;
|
|
42
|
-
}>;
|
|
22
|
+
}, z.core.$strip>;
|
|
43
23
|
export declare const FalLogsStreamRequestSchema: z.ZodObject<{
|
|
44
24
|
start: z.ZodOptional<z.ZodString>;
|
|
45
25
|
end: z.ZodOptional<z.ZodString>;
|
|
46
|
-
app_id: z.ZodOptional<z.ZodArray<z.ZodString
|
|
26
|
+
app_id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
27
|
revision: z.ZodOptional<z.ZodString>;
|
|
48
|
-
run_source: z.ZodOptional<z.ZodEnum<
|
|
28
|
+
run_source: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
"grpc-run": "grpc-run";
|
|
30
|
+
"grpc-register": "grpc-register";
|
|
31
|
+
gateway: "gateway";
|
|
32
|
+
cron: "cron";
|
|
33
|
+
}>>;
|
|
49
34
|
traceback: z.ZodOptional<z.ZodBoolean>;
|
|
50
35
|
search: z.ZodOptional<z.ZodString>;
|
|
51
36
|
level: z.ZodOptional<z.ZodString>;
|
|
52
37
|
job_id: z.ZodOptional<z.ZodString>;
|
|
53
38
|
request_id: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
start?: string | undefined;
|
|
56
|
-
end?: string | undefined;
|
|
57
|
-
app_id?: string[] | undefined;
|
|
58
|
-
revision?: string | undefined;
|
|
59
|
-
run_source?: "grpc-run" | "grpc-register" | "gateway" | "cron" | undefined;
|
|
60
|
-
traceback?: boolean | undefined;
|
|
61
|
-
search?: string | undefined;
|
|
62
|
-
level?: string | undefined;
|
|
63
|
-
job_id?: string | undefined;
|
|
64
|
-
request_id?: string | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
start?: string | undefined;
|
|
67
|
-
end?: string | undefined;
|
|
68
|
-
app_id?: string[] | undefined;
|
|
69
|
-
revision?: string | undefined;
|
|
70
|
-
run_source?: "grpc-run" | "grpc-register" | "gateway" | "cron" | undefined;
|
|
71
|
-
traceback?: boolean | undefined;
|
|
72
|
-
search?: string | undefined;
|
|
73
|
-
level?: string | undefined;
|
|
74
|
-
job_id?: string | undefined;
|
|
75
|
-
request_id?: string | undefined;
|
|
76
|
-
}>;
|
|
39
|
+
}, z.core.$strip>;
|
|
77
40
|
export declare const FalFilesUploadUrlRequestSchema: z.ZodObject<{
|
|
78
41
|
file: z.ZodString;
|
|
79
42
|
url: z.ZodString;
|
|
80
|
-
},
|
|
81
|
-
file: string;
|
|
82
|
-
url: string;
|
|
83
|
-
}, {
|
|
84
|
-
file: string;
|
|
85
|
-
url: string;
|
|
86
|
-
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
87
44
|
export declare const FalFilesUploadLocalRequestSchema: z.ZodObject<{
|
|
88
45
|
target_path: z.ZodString;
|
|
89
|
-
file: z.
|
|
46
|
+
file: z.ZodCustom<Blob, Blob>;
|
|
90
47
|
filename: z.ZodOptional<z.ZodString>;
|
|
91
48
|
unzip: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
-
},
|
|
93
|
-
file: Blob;
|
|
94
|
-
target_path: string;
|
|
95
|
-
filename?: string | undefined;
|
|
96
|
-
unzip?: boolean | undefined;
|
|
97
|
-
}, {
|
|
98
|
-
file: Blob;
|
|
99
|
-
target_path: string;
|
|
100
|
-
filename?: string | undefined;
|
|
101
|
-
unzip?: boolean | undefined;
|
|
102
|
-
}>;
|
|
49
|
+
}, z.core.$strip>;
|
|
103
50
|
export declare const FalDeletePayloadsRequestSchema: z.ZodObject<{
|
|
104
51
|
request_id: z.ZodString;
|
|
105
52
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
106
|
-
},
|
|
107
|
-
request_id: string;
|
|
108
|
-
idempotency_key?: string | undefined;
|
|
109
|
-
}, {
|
|
110
|
-
request_id: string;
|
|
111
|
-
idempotency_key?: string | undefined;
|
|
112
|
-
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
113
54
|
export declare const FalSeedance2p0ImageToVideoRequestSchema: z.ZodObject<{
|
|
114
55
|
prompt: z.ZodString;
|
|
115
56
|
image_url: z.ZodString;
|
|
116
57
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
117
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
118
|
-
|
|
119
|
-
|
|
58
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
"480p": "480p";
|
|
60
|
+
"720p": "720p";
|
|
61
|
+
}>>;
|
|
62
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
4: "4";
|
|
64
|
+
5: "5";
|
|
65
|
+
auto: "auto";
|
|
66
|
+
6: "6";
|
|
67
|
+
7: "7";
|
|
68
|
+
8: "8";
|
|
69
|
+
9: "9";
|
|
70
|
+
10: "10";
|
|
71
|
+
11: "11";
|
|
72
|
+
12: "12";
|
|
73
|
+
13: "13";
|
|
74
|
+
14: "14";
|
|
75
|
+
15: "15";
|
|
76
|
+
}>>;
|
|
77
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
"1:1": "1:1";
|
|
79
|
+
"16:9": "16:9";
|
|
80
|
+
auto: "auto";
|
|
81
|
+
"21:9": "21:9";
|
|
82
|
+
"4:3": "4:3";
|
|
83
|
+
"3:4": "3:4";
|
|
84
|
+
"9:16": "9:16";
|
|
85
|
+
}>>;
|
|
120
86
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
121
87
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
122
88
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
123
|
-
},
|
|
124
|
-
prompt: string;
|
|
125
|
-
image_url: string;
|
|
126
|
-
end_image_url?: string | undefined;
|
|
127
|
-
resolution?: "480p" | "720p" | undefined;
|
|
128
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
129
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
130
|
-
generate_audio?: boolean | undefined;
|
|
131
|
-
seed?: number | undefined;
|
|
132
|
-
end_user_id?: string | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
prompt: string;
|
|
135
|
-
image_url: string;
|
|
136
|
-
end_image_url?: string | undefined;
|
|
137
|
-
resolution?: "480p" | "720p" | undefined;
|
|
138
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
139
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
140
|
-
generate_audio?: boolean | undefined;
|
|
141
|
-
seed?: number | undefined;
|
|
142
|
-
end_user_id?: string | undefined;
|
|
143
|
-
}>;
|
|
89
|
+
}, z.core.$strip>;
|
|
144
90
|
export declare const FalSeedance2p0TextToVideoRequestSchema: z.ZodObject<{
|
|
145
91
|
prompt: z.ZodString;
|
|
146
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
147
|
-
|
|
148
|
-
|
|
92
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
"480p": "480p";
|
|
94
|
+
"720p": "720p";
|
|
95
|
+
}>>;
|
|
96
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
4: "4";
|
|
98
|
+
5: "5";
|
|
99
|
+
auto: "auto";
|
|
100
|
+
6: "6";
|
|
101
|
+
7: "7";
|
|
102
|
+
8: "8";
|
|
103
|
+
9: "9";
|
|
104
|
+
10: "10";
|
|
105
|
+
11: "11";
|
|
106
|
+
12: "12";
|
|
107
|
+
13: "13";
|
|
108
|
+
14: "14";
|
|
109
|
+
15: "15";
|
|
110
|
+
}>>;
|
|
111
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
"1:1": "1:1";
|
|
113
|
+
"16:9": "16:9";
|
|
114
|
+
auto: "auto";
|
|
115
|
+
"21:9": "21:9";
|
|
116
|
+
"4:3": "4:3";
|
|
117
|
+
"3:4": "3:4";
|
|
118
|
+
"9:16": "9:16";
|
|
119
|
+
}>>;
|
|
149
120
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
150
121
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
151
122
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
152
|
-
},
|
|
153
|
-
prompt: string;
|
|
154
|
-
resolution?: "480p" | "720p" | undefined;
|
|
155
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
156
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
157
|
-
generate_audio?: boolean | undefined;
|
|
158
|
-
seed?: number | undefined;
|
|
159
|
-
end_user_id?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
prompt: string;
|
|
162
|
-
resolution?: "480p" | "720p" | undefined;
|
|
163
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
164
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
165
|
-
generate_audio?: boolean | undefined;
|
|
166
|
-
seed?: number | undefined;
|
|
167
|
-
end_user_id?: string | undefined;
|
|
168
|
-
}>;
|
|
123
|
+
}, z.core.$strip>;
|
|
169
124
|
export declare const FalSeedance2p0FastImageToVideoRequestSchema: z.ZodObject<{
|
|
170
125
|
prompt: z.ZodString;
|
|
171
126
|
image_url: z.ZodString;
|
|
172
127
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
173
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
174
|
-
|
|
175
|
-
|
|
128
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
"480p": "480p";
|
|
130
|
+
"720p": "720p";
|
|
131
|
+
}>>;
|
|
132
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
4: "4";
|
|
134
|
+
5: "5";
|
|
135
|
+
auto: "auto";
|
|
136
|
+
6: "6";
|
|
137
|
+
7: "7";
|
|
138
|
+
8: "8";
|
|
139
|
+
9: "9";
|
|
140
|
+
10: "10";
|
|
141
|
+
11: "11";
|
|
142
|
+
12: "12";
|
|
143
|
+
13: "13";
|
|
144
|
+
14: "14";
|
|
145
|
+
15: "15";
|
|
146
|
+
}>>;
|
|
147
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
"1:1": "1:1";
|
|
149
|
+
"16:9": "16:9";
|
|
150
|
+
auto: "auto";
|
|
151
|
+
"21:9": "21:9";
|
|
152
|
+
"4:3": "4:3";
|
|
153
|
+
"3:4": "3:4";
|
|
154
|
+
"9:16": "9:16";
|
|
155
|
+
}>>;
|
|
176
156
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
177
157
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
178
158
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
179
|
-
},
|
|
180
|
-
prompt: string;
|
|
181
|
-
image_url: string;
|
|
182
|
-
end_image_url?: string | undefined;
|
|
183
|
-
resolution?: "480p" | "720p" | undefined;
|
|
184
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
185
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
186
|
-
generate_audio?: boolean | undefined;
|
|
187
|
-
seed?: number | undefined;
|
|
188
|
-
end_user_id?: string | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
prompt: string;
|
|
191
|
-
image_url: string;
|
|
192
|
-
end_image_url?: string | undefined;
|
|
193
|
-
resolution?: "480p" | "720p" | undefined;
|
|
194
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
195
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
196
|
-
generate_audio?: boolean | undefined;
|
|
197
|
-
seed?: number | undefined;
|
|
198
|
-
end_user_id?: string | undefined;
|
|
199
|
-
}>;
|
|
159
|
+
}, z.core.$strip>;
|
|
200
160
|
export declare const FalSeedance2p0FastTextToVideoRequestSchema: z.ZodObject<{
|
|
201
161
|
prompt: z.ZodString;
|
|
202
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
203
|
-
|
|
204
|
-
|
|
162
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
"480p": "480p";
|
|
164
|
+
"720p": "720p";
|
|
165
|
+
}>>;
|
|
166
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
167
|
+
4: "4";
|
|
168
|
+
5: "5";
|
|
169
|
+
auto: "auto";
|
|
170
|
+
6: "6";
|
|
171
|
+
7: "7";
|
|
172
|
+
8: "8";
|
|
173
|
+
9: "9";
|
|
174
|
+
10: "10";
|
|
175
|
+
11: "11";
|
|
176
|
+
12: "12";
|
|
177
|
+
13: "13";
|
|
178
|
+
14: "14";
|
|
179
|
+
15: "15";
|
|
180
|
+
}>>;
|
|
181
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
"1:1": "1:1";
|
|
183
|
+
"16:9": "16:9";
|
|
184
|
+
auto: "auto";
|
|
185
|
+
"21:9": "21:9";
|
|
186
|
+
"4:3": "4:3";
|
|
187
|
+
"3:4": "3:4";
|
|
188
|
+
"9:16": "9:16";
|
|
189
|
+
}>>;
|
|
205
190
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
206
191
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
207
192
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
208
|
-
},
|
|
209
|
-
prompt: string;
|
|
210
|
-
resolution?: "480p" | "720p" | undefined;
|
|
211
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
212
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
213
|
-
generate_audio?: boolean | undefined;
|
|
214
|
-
seed?: number | undefined;
|
|
215
|
-
end_user_id?: string | undefined;
|
|
216
|
-
}, {
|
|
217
|
-
prompt: string;
|
|
218
|
-
resolution?: "480p" | "720p" | undefined;
|
|
219
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
220
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
221
|
-
generate_audio?: boolean | undefined;
|
|
222
|
-
seed?: number | undefined;
|
|
223
|
-
end_user_id?: string | undefined;
|
|
224
|
-
}>;
|
|
193
|
+
}, z.core.$strip>;
|
|
225
194
|
export declare const FalSeedance2p0ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
226
195
|
prompt: z.ZodString;
|
|
227
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
228
|
-
video_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
229
|
-
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
230
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
231
|
-
|
|
232
|
-
|
|
196
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
197
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
198
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
199
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
"480p": "480p";
|
|
201
|
+
"720p": "720p";
|
|
202
|
+
}>>;
|
|
203
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
4: "4";
|
|
205
|
+
5: "5";
|
|
206
|
+
auto: "auto";
|
|
207
|
+
6: "6";
|
|
208
|
+
7: "7";
|
|
209
|
+
8: "8";
|
|
210
|
+
9: "9";
|
|
211
|
+
10: "10";
|
|
212
|
+
11: "11";
|
|
213
|
+
12: "12";
|
|
214
|
+
13: "13";
|
|
215
|
+
14: "14";
|
|
216
|
+
15: "15";
|
|
217
|
+
}>>;
|
|
218
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
219
|
+
"1:1": "1:1";
|
|
220
|
+
"16:9": "16:9";
|
|
221
|
+
auto: "auto";
|
|
222
|
+
"21:9": "21:9";
|
|
223
|
+
"4:3": "4:3";
|
|
224
|
+
"3:4": "3:4";
|
|
225
|
+
"9:16": "9:16";
|
|
226
|
+
}>>;
|
|
233
227
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
234
228
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
235
229
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
236
|
-
},
|
|
237
|
-
prompt: string;
|
|
238
|
-
resolution?: "480p" | "720p" | undefined;
|
|
239
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
240
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
241
|
-
generate_audio?: boolean | undefined;
|
|
242
|
-
seed?: number | undefined;
|
|
243
|
-
end_user_id?: string | undefined;
|
|
244
|
-
image_urls?: string[] | undefined;
|
|
245
|
-
video_urls?: string[] | undefined;
|
|
246
|
-
audio_urls?: string[] | undefined;
|
|
247
|
-
}, {
|
|
248
|
-
prompt: string;
|
|
249
|
-
resolution?: "480p" | "720p" | undefined;
|
|
250
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
251
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
252
|
-
generate_audio?: boolean | undefined;
|
|
253
|
-
seed?: number | undefined;
|
|
254
|
-
end_user_id?: string | undefined;
|
|
255
|
-
image_urls?: string[] | undefined;
|
|
256
|
-
video_urls?: string[] | undefined;
|
|
257
|
-
audio_urls?: string[] | undefined;
|
|
258
|
-
}>;
|
|
230
|
+
}, z.core.$strip>;
|
|
259
231
|
export declare const FalSeedance2p0FastReferenceToVideoRequestSchema: z.ZodObject<{
|
|
260
232
|
prompt: z.ZodString;
|
|
261
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
262
|
-
video_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
263
|
-
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
264
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
265
|
-
|
|
266
|
-
|
|
233
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
234
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
235
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
236
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
"480p": "480p";
|
|
238
|
+
"720p": "720p";
|
|
239
|
+
}>>;
|
|
240
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
4: "4";
|
|
242
|
+
5: "5";
|
|
243
|
+
auto: "auto";
|
|
244
|
+
6: "6";
|
|
245
|
+
7: "7";
|
|
246
|
+
8: "8";
|
|
247
|
+
9: "9";
|
|
248
|
+
10: "10";
|
|
249
|
+
11: "11";
|
|
250
|
+
12: "12";
|
|
251
|
+
13: "13";
|
|
252
|
+
14: "14";
|
|
253
|
+
15: "15";
|
|
254
|
+
}>>;
|
|
255
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
"1:1": "1:1";
|
|
257
|
+
"16:9": "16:9";
|
|
258
|
+
auto: "auto";
|
|
259
|
+
"21:9": "21:9";
|
|
260
|
+
"4:3": "4:3";
|
|
261
|
+
"3:4": "3:4";
|
|
262
|
+
"9:16": "9:16";
|
|
263
|
+
}>>;
|
|
267
264
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
268
265
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
269
266
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
270
|
-
},
|
|
271
|
-
prompt: string;
|
|
272
|
-
resolution?: "480p" | "720p" | undefined;
|
|
273
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
274
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
275
|
-
generate_audio?: boolean | undefined;
|
|
276
|
-
seed?: number | undefined;
|
|
277
|
-
end_user_id?: string | undefined;
|
|
278
|
-
image_urls?: string[] | undefined;
|
|
279
|
-
video_urls?: string[] | undefined;
|
|
280
|
-
audio_urls?: string[] | undefined;
|
|
281
|
-
}, {
|
|
282
|
-
prompt: string;
|
|
283
|
-
resolution?: "480p" | "720p" | undefined;
|
|
284
|
-
duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
285
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
286
|
-
generate_audio?: boolean | undefined;
|
|
287
|
-
seed?: number | undefined;
|
|
288
|
-
end_user_id?: string | undefined;
|
|
289
|
-
image_urls?: string[] | undefined;
|
|
290
|
-
video_urls?: string[] | undefined;
|
|
291
|
-
audio_urls?: string[] | undefined;
|
|
292
|
-
}>;
|
|
267
|
+
}, z.core.$strip>;
|
|
293
268
|
export declare const FalNanoBanana2TextToImageRequestSchema: z.ZodObject<{
|
|
294
269
|
prompt: z.ZodString;
|
|
295
270
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
296
271
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
297
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
298
|
-
|
|
299
|
-
|
|
272
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
273
|
+
"1:1": "1:1";
|
|
274
|
+
"16:9": "16:9";
|
|
275
|
+
auto: "auto";
|
|
276
|
+
"21:9": "21:9";
|
|
277
|
+
"4:3": "4:3";
|
|
278
|
+
"3:4": "3:4";
|
|
279
|
+
"9:16": "9:16";
|
|
280
|
+
"3:2": "3:2";
|
|
281
|
+
"5:4": "5:4";
|
|
282
|
+
"4:5": "4:5";
|
|
283
|
+
"2:3": "2:3";
|
|
284
|
+
"4:1": "4:1";
|
|
285
|
+
"1:4": "1:4";
|
|
286
|
+
"8:1": "8:1";
|
|
287
|
+
"1:8": "1:8";
|
|
288
|
+
}>>;
|
|
289
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
png: "png";
|
|
291
|
+
jpeg: "jpeg";
|
|
292
|
+
webp: "webp";
|
|
293
|
+
}>>;
|
|
294
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
4: "4";
|
|
296
|
+
5: "5";
|
|
297
|
+
1: "1";
|
|
298
|
+
2: "2";
|
|
299
|
+
3: "3";
|
|
300
|
+
6: "6";
|
|
301
|
+
}>>;
|
|
300
302
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
303
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
"1K": "1K";
|
|
305
|
+
"0.5K": "0.5K";
|
|
306
|
+
"2K": "2K";
|
|
307
|
+
"4K": "4K";
|
|
308
|
+
}>>;
|
|
302
309
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
303
310
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
-
thinking_level: z.ZodOptional<z.ZodEnum<
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
seed?: number | undefined;
|
|
310
|
-
num_images?: number | undefined;
|
|
311
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
312
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
313
|
-
sync_mode?: boolean | undefined;
|
|
314
|
-
limit_generations?: boolean | undefined;
|
|
315
|
-
enable_web_search?: boolean | undefined;
|
|
316
|
-
thinking_level?: "minimal" | "high" | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
prompt: string;
|
|
319
|
-
resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
|
|
320
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
|
|
321
|
-
seed?: number | undefined;
|
|
322
|
-
num_images?: number | undefined;
|
|
323
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
324
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
325
|
-
sync_mode?: boolean | undefined;
|
|
326
|
-
limit_generations?: boolean | undefined;
|
|
327
|
-
enable_web_search?: boolean | undefined;
|
|
328
|
-
thinking_level?: "minimal" | "high" | undefined;
|
|
329
|
-
}>;
|
|
311
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
312
|
+
minimal: "minimal";
|
|
313
|
+
high: "high";
|
|
314
|
+
}>>;
|
|
315
|
+
}, z.core.$strip>;
|
|
330
316
|
export declare const FalNanoBanana2EditRequestSchema: z.ZodObject<{
|
|
331
317
|
prompt: z.ZodString;
|
|
332
|
-
image_urls: z.ZodArray<z.ZodString
|
|
318
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
333
319
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
334
320
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
335
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
336
|
-
|
|
337
|
-
|
|
321
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
"1:1": "1:1";
|
|
323
|
+
"16:9": "16:9";
|
|
324
|
+
auto: "auto";
|
|
325
|
+
"21:9": "21:9";
|
|
326
|
+
"4:3": "4:3";
|
|
327
|
+
"3:4": "3:4";
|
|
328
|
+
"9:16": "9:16";
|
|
329
|
+
"3:2": "3:2";
|
|
330
|
+
"5:4": "5:4";
|
|
331
|
+
"4:5": "4:5";
|
|
332
|
+
"2:3": "2:3";
|
|
333
|
+
"4:1": "4:1";
|
|
334
|
+
"1:4": "1:4";
|
|
335
|
+
"8:1": "8:1";
|
|
336
|
+
"1:8": "1:8";
|
|
337
|
+
}>>;
|
|
338
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
339
|
+
png: "png";
|
|
340
|
+
jpeg: "jpeg";
|
|
341
|
+
webp: "webp";
|
|
342
|
+
}>>;
|
|
343
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
344
|
+
4: "4";
|
|
345
|
+
5: "5";
|
|
346
|
+
1: "1";
|
|
347
|
+
2: "2";
|
|
348
|
+
3: "3";
|
|
349
|
+
6: "6";
|
|
350
|
+
}>>;
|
|
338
351
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
352
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
"1K": "1K";
|
|
354
|
+
"0.5K": "0.5K";
|
|
355
|
+
"2K": "2K";
|
|
356
|
+
"4K": "4K";
|
|
357
|
+
}>>;
|
|
340
358
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
341
359
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
-
thinking_level: z.ZodOptional<z.ZodEnum<
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
|
|
348
|
-
seed?: number | undefined;
|
|
349
|
-
num_images?: number | undefined;
|
|
350
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
351
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
352
|
-
sync_mode?: boolean | undefined;
|
|
353
|
-
limit_generations?: boolean | undefined;
|
|
354
|
-
enable_web_search?: boolean | undefined;
|
|
355
|
-
thinking_level?: "minimal" | "high" | undefined;
|
|
356
|
-
}, {
|
|
357
|
-
prompt: string;
|
|
358
|
-
image_urls: string[];
|
|
359
|
-
resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
|
|
360
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
|
|
361
|
-
seed?: number | undefined;
|
|
362
|
-
num_images?: number | undefined;
|
|
363
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
364
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
365
|
-
sync_mode?: boolean | undefined;
|
|
366
|
-
limit_generations?: boolean | undefined;
|
|
367
|
-
enable_web_search?: boolean | undefined;
|
|
368
|
-
thinking_level?: "minimal" | "high" | undefined;
|
|
369
|
-
}>;
|
|
360
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
minimal: "minimal";
|
|
362
|
+
high: "high";
|
|
363
|
+
}>>;
|
|
364
|
+
}, z.core.$strip>;
|
|
370
365
|
export declare const FalNanoBananaTextToImageRequestSchema: z.ZodObject<{
|
|
371
366
|
prompt: z.ZodString;
|
|
372
367
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
373
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
369
|
+
"1:1": "1:1";
|
|
370
|
+
"16:9": "16:9";
|
|
371
|
+
"21:9": "21:9";
|
|
372
|
+
"4:3": "4:3";
|
|
373
|
+
"3:4": "3:4";
|
|
374
|
+
"9:16": "9:16";
|
|
375
|
+
"3:2": "3:2";
|
|
376
|
+
"5:4": "5:4";
|
|
377
|
+
"4:5": "4:5";
|
|
378
|
+
"2:3": "2:3";
|
|
379
|
+
}>>;
|
|
380
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
png: "png";
|
|
382
|
+
jpeg: "jpeg";
|
|
383
|
+
webp: "webp";
|
|
384
|
+
}>>;
|
|
385
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
4: "4";
|
|
387
|
+
5: "5";
|
|
388
|
+
1: "1";
|
|
389
|
+
2: "2";
|
|
390
|
+
3: "3";
|
|
391
|
+
6: "6";
|
|
392
|
+
}>>;
|
|
376
393
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
377
394
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
378
395
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
-
},
|
|
380
|
-
prompt: string;
|
|
381
|
-
aspect_ratio?: "1:1" | "16:9" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
382
|
-
seed?: number | undefined;
|
|
383
|
-
num_images?: number | undefined;
|
|
384
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
385
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
386
|
-
sync_mode?: boolean | undefined;
|
|
387
|
-
limit_generations?: boolean | undefined;
|
|
388
|
-
}, {
|
|
389
|
-
prompt: string;
|
|
390
|
-
aspect_ratio?: "1:1" | "16:9" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
391
|
-
seed?: number | undefined;
|
|
392
|
-
num_images?: number | undefined;
|
|
393
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
394
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
395
|
-
sync_mode?: boolean | undefined;
|
|
396
|
-
limit_generations?: boolean | undefined;
|
|
397
|
-
}>;
|
|
396
|
+
}, z.core.$strip>;
|
|
398
397
|
export declare const FalNanoBananaEditRequestSchema: z.ZodObject<{
|
|
399
398
|
prompt: z.ZodString;
|
|
400
|
-
image_urls: z.ZodArray<z.ZodString
|
|
399
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
401
400
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
402
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
402
|
+
"1:1": "1:1";
|
|
403
|
+
"16:9": "16:9";
|
|
404
|
+
auto: "auto";
|
|
405
|
+
"21:9": "21:9";
|
|
406
|
+
"4:3": "4:3";
|
|
407
|
+
"3:4": "3:4";
|
|
408
|
+
"9:16": "9:16";
|
|
409
|
+
"3:2": "3:2";
|
|
410
|
+
"5:4": "5:4";
|
|
411
|
+
"4:5": "4:5";
|
|
412
|
+
"2:3": "2:3";
|
|
413
|
+
}>>;
|
|
414
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
png: "png";
|
|
416
|
+
jpeg: "jpeg";
|
|
417
|
+
webp: "webp";
|
|
418
|
+
}>>;
|
|
419
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
4: "4";
|
|
421
|
+
5: "5";
|
|
422
|
+
1: "1";
|
|
423
|
+
2: "2";
|
|
424
|
+
3: "3";
|
|
425
|
+
6: "6";
|
|
426
|
+
}>>;
|
|
405
427
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
406
428
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
407
429
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
-
},
|
|
409
|
-
prompt: string;
|
|
410
|
-
image_urls: string[];
|
|
411
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
412
|
-
seed?: number | undefined;
|
|
413
|
-
num_images?: number | undefined;
|
|
414
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
415
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
416
|
-
sync_mode?: boolean | undefined;
|
|
417
|
-
limit_generations?: boolean | undefined;
|
|
418
|
-
}, {
|
|
419
|
-
prompt: string;
|
|
420
|
-
image_urls: string[];
|
|
421
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
422
|
-
seed?: number | undefined;
|
|
423
|
-
num_images?: number | undefined;
|
|
424
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
425
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
426
|
-
sync_mode?: boolean | undefined;
|
|
427
|
-
limit_generations?: boolean | undefined;
|
|
428
|
-
}>;
|
|
430
|
+
}, z.core.$strip>;
|
|
429
431
|
export declare const FalGptImage1p5RequestSchema: z.ZodObject<{
|
|
430
432
|
prompt: z.ZodString;
|
|
431
|
-
image_size: z.ZodOptional<z.ZodEnum<
|
|
433
|
+
image_size: z.ZodOptional<z.ZodEnum<{
|
|
434
|
+
"1024x1024": "1024x1024";
|
|
435
|
+
"1536x1024": "1536x1024";
|
|
436
|
+
"1024x1536": "1024x1536";
|
|
437
|
+
}>>;
|
|
432
438
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
433
|
-
background: z.ZodOptional<z.ZodEnum<
|
|
434
|
-
|
|
435
|
-
|
|
439
|
+
background: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
auto: "auto";
|
|
441
|
+
transparent: "transparent";
|
|
442
|
+
opaque: "opaque";
|
|
443
|
+
}>>;
|
|
444
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
png: "png";
|
|
446
|
+
jpeg: "jpeg";
|
|
447
|
+
webp: "webp";
|
|
448
|
+
}>>;
|
|
449
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
low: "low";
|
|
451
|
+
high: "high";
|
|
452
|
+
medium: "medium";
|
|
453
|
+
}>>;
|
|
436
454
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
-
},
|
|
438
|
-
prompt: string;
|
|
439
|
-
num_images?: number | undefined;
|
|
440
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
441
|
-
sync_mode?: boolean | undefined;
|
|
442
|
-
image_size?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
|
|
443
|
-
background?: "auto" | "transparent" | "opaque" | undefined;
|
|
444
|
-
quality?: "low" | "high" | "medium" | undefined;
|
|
445
|
-
}, {
|
|
446
|
-
prompt: string;
|
|
447
|
-
num_images?: number | undefined;
|
|
448
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
449
|
-
sync_mode?: boolean | undefined;
|
|
450
|
-
image_size?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
|
|
451
|
-
background?: "auto" | "transparent" | "opaque" | undefined;
|
|
452
|
-
quality?: "low" | "high" | "medium" | undefined;
|
|
453
|
-
}>;
|
|
455
|
+
}, z.core.$strip>;
|
|
454
456
|
export declare const FalGptImage1p5EditRequestSchema: z.ZodObject<{
|
|
455
457
|
prompt: z.ZodString;
|
|
456
|
-
image_urls: z.ZodArray<z.ZodString
|
|
457
|
-
image_size: z.ZodOptional<z.ZodEnum<
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
459
|
+
image_size: z.ZodOptional<z.ZodEnum<{
|
|
460
|
+
"1024x1024": "1024x1024";
|
|
461
|
+
auto: "auto";
|
|
462
|
+
"1536x1024": "1536x1024";
|
|
463
|
+
"1024x1536": "1024x1536";
|
|
464
|
+
}>>;
|
|
465
|
+
background: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
auto: "auto";
|
|
467
|
+
transparent: "transparent";
|
|
468
|
+
opaque: "opaque";
|
|
469
|
+
}>>;
|
|
470
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
471
|
+
low: "low";
|
|
472
|
+
high: "high";
|
|
473
|
+
medium: "medium";
|
|
474
|
+
}>>;
|
|
460
475
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
461
|
-
input_fidelity: z.ZodOptional<z.ZodEnum<
|
|
462
|
-
|
|
476
|
+
input_fidelity: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
low: "low";
|
|
478
|
+
high: "high";
|
|
479
|
+
}>>;
|
|
480
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
481
|
+
png: "png";
|
|
482
|
+
jpeg: "jpeg";
|
|
483
|
+
webp: "webp";
|
|
484
|
+
}>>;
|
|
463
485
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
464
486
|
mask_image_url: z.ZodOptional<z.ZodString>;
|
|
465
|
-
},
|
|
466
|
-
prompt: string;
|
|
467
|
-
image_urls: string[];
|
|
468
|
-
num_images?: number | undefined;
|
|
469
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
470
|
-
sync_mode?: boolean | undefined;
|
|
471
|
-
image_size?: "1024x1024" | "auto" | "1536x1024" | "1024x1536" | undefined;
|
|
472
|
-
background?: "auto" | "transparent" | "opaque" | undefined;
|
|
473
|
-
quality?: "low" | "high" | "medium" | undefined;
|
|
474
|
-
input_fidelity?: "low" | "high" | undefined;
|
|
475
|
-
mask_image_url?: string | undefined;
|
|
476
|
-
}, {
|
|
477
|
-
prompt: string;
|
|
478
|
-
image_urls: string[];
|
|
479
|
-
num_images?: number | undefined;
|
|
480
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
481
|
-
sync_mode?: boolean | undefined;
|
|
482
|
-
image_size?: "1024x1024" | "auto" | "1536x1024" | "1024x1536" | undefined;
|
|
483
|
-
background?: "auto" | "transparent" | "opaque" | undefined;
|
|
484
|
-
quality?: "low" | "high" | "medium" | undefined;
|
|
485
|
-
input_fidelity?: "low" | "high" | undefined;
|
|
486
|
-
mask_image_url?: string | undefined;
|
|
487
|
-
}>;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
488
|
export declare const FalQwenImageRequestSchema: z.ZodObject<{
|
|
489
489
|
prompt: z.ZodString;
|
|
490
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
490
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
491
|
+
square_hd: "square_hd";
|
|
492
|
+
square: "square";
|
|
493
|
+
portrait_4_3: "portrait_4_3";
|
|
494
|
+
portrait_16_9: "portrait_16_9";
|
|
495
|
+
landscape_4_3: "landscape_4_3";
|
|
496
|
+
landscape_16_9: "landscape_16_9";
|
|
497
|
+
}>, z.ZodObject<{
|
|
491
498
|
width: z.ZodNumber;
|
|
492
499
|
height: z.ZodNumber;
|
|
493
|
-
},
|
|
494
|
-
width: number;
|
|
495
|
-
height: number;
|
|
496
|
-
}, {
|
|
497
|
-
width: number;
|
|
498
|
-
height: number;
|
|
499
|
-
}>]>>;
|
|
500
|
+
}, z.core.$strip>]>>;
|
|
500
501
|
num_inference_steps: z.ZodOptional<z.ZodNumber>;
|
|
501
502
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
502
503
|
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
503
504
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
504
|
-
output_format: z.ZodOptional<z.ZodEnum<
|
|
505
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
506
|
+
png: "png";
|
|
507
|
+
jpeg: "jpeg";
|
|
508
|
+
}>>;
|
|
505
509
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
506
|
-
acceleration: z.ZodOptional<z.ZodEnum<
|
|
510
|
+
acceleration: z.ZodOptional<z.ZodEnum<{
|
|
511
|
+
high: "high";
|
|
512
|
+
none: "none";
|
|
513
|
+
regular: "regular";
|
|
514
|
+
}>>;
|
|
507
515
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
508
516
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
509
517
|
use_turbo: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
-
},
|
|
511
|
-
prompt: string;
|
|
512
|
-
seed?: number | undefined;
|
|
513
|
-
num_images?: number | undefined;
|
|
514
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
515
|
-
sync_mode?: boolean | undefined;
|
|
516
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
517
|
-
width: number;
|
|
518
|
-
height: number;
|
|
519
|
-
} | undefined;
|
|
520
|
-
num_inference_steps?: number | undefined;
|
|
521
|
-
guidance_scale?: number | undefined;
|
|
522
|
-
negative_prompt?: string | undefined;
|
|
523
|
-
acceleration?: "high" | "none" | "regular" | undefined;
|
|
524
|
-
enable_safety_checker?: boolean | undefined;
|
|
525
|
-
use_turbo?: boolean | undefined;
|
|
526
|
-
}, {
|
|
527
|
-
prompt: string;
|
|
528
|
-
seed?: number | undefined;
|
|
529
|
-
num_images?: number | undefined;
|
|
530
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
531
|
-
sync_mode?: boolean | undefined;
|
|
532
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
533
|
-
width: number;
|
|
534
|
-
height: number;
|
|
535
|
-
} | undefined;
|
|
536
|
-
num_inference_steps?: number | undefined;
|
|
537
|
-
guidance_scale?: number | undefined;
|
|
538
|
-
negative_prompt?: string | undefined;
|
|
539
|
-
acceleration?: "high" | "none" | "regular" | undefined;
|
|
540
|
-
enable_safety_checker?: boolean | undefined;
|
|
541
|
-
use_turbo?: boolean | undefined;
|
|
542
|
-
}>;
|
|
518
|
+
}, z.core.$strip>;
|
|
543
519
|
export declare const FalQwenImageEditRequestSchema: z.ZodObject<{
|
|
544
520
|
prompt: z.ZodString;
|
|
545
521
|
image_url: z.ZodString;
|
|
@@ -548,693 +524,467 @@ export declare const FalQwenImageEditRequestSchema: z.ZodObject<{
|
|
|
548
524
|
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
549
525
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
550
526
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
551
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
527
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
528
|
+
square_hd: "square_hd";
|
|
529
|
+
square: "square";
|
|
530
|
+
portrait_4_3: "portrait_4_3";
|
|
531
|
+
portrait_16_9: "portrait_16_9";
|
|
532
|
+
landscape_4_3: "landscape_4_3";
|
|
533
|
+
landscape_16_9: "landscape_16_9";
|
|
534
|
+
}>, z.ZodObject<{
|
|
552
535
|
width: z.ZodNumber;
|
|
553
536
|
height: z.ZodNumber;
|
|
554
|
-
},
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
height: number;
|
|
560
|
-
}>]>>;
|
|
561
|
-
output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png"]>>;
|
|
537
|
+
}, z.core.$strip>]>>;
|
|
538
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
539
|
+
png: "png";
|
|
540
|
+
jpeg: "jpeg";
|
|
541
|
+
}>>;
|
|
562
542
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
-
acceleration: z.ZodOptional<z.ZodEnum<
|
|
543
|
+
acceleration: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
high: "high";
|
|
545
|
+
none: "none";
|
|
546
|
+
regular: "regular";
|
|
547
|
+
}>>;
|
|
564
548
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
565
|
-
},
|
|
566
|
-
prompt: string;
|
|
567
|
-
image_url: string;
|
|
568
|
-
seed?: number | undefined;
|
|
569
|
-
num_images?: number | undefined;
|
|
570
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
571
|
-
sync_mode?: boolean | undefined;
|
|
572
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
573
|
-
width: number;
|
|
574
|
-
height: number;
|
|
575
|
-
} | undefined;
|
|
576
|
-
num_inference_steps?: number | undefined;
|
|
577
|
-
guidance_scale?: number | undefined;
|
|
578
|
-
negative_prompt?: string | undefined;
|
|
579
|
-
acceleration?: "high" | "none" | "regular" | undefined;
|
|
580
|
-
enable_safety_checker?: boolean | undefined;
|
|
581
|
-
}, {
|
|
582
|
-
prompt: string;
|
|
583
|
-
image_url: string;
|
|
584
|
-
seed?: number | undefined;
|
|
585
|
-
num_images?: number | undefined;
|
|
586
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
587
|
-
sync_mode?: boolean | undefined;
|
|
588
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
589
|
-
width: number;
|
|
590
|
-
height: number;
|
|
591
|
-
} | undefined;
|
|
592
|
-
num_inference_steps?: number | undefined;
|
|
593
|
-
guidance_scale?: number | undefined;
|
|
594
|
-
negative_prompt?: string | undefined;
|
|
595
|
-
acceleration?: "high" | "none" | "regular" | undefined;
|
|
596
|
-
enable_safety_checker?: boolean | undefined;
|
|
597
|
-
}>;
|
|
549
|
+
}, z.core.$strip>;
|
|
598
550
|
export declare const FalNanoBananaProTextToImageRequestSchema: z.ZodObject<{
|
|
599
551
|
prompt: z.ZodString;
|
|
600
552
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
601
553
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
602
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
603
|
-
|
|
604
|
-
|
|
554
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
555
|
+
"1:1": "1:1";
|
|
556
|
+
"16:9": "16:9";
|
|
557
|
+
auto: "auto";
|
|
558
|
+
"21:9": "21:9";
|
|
559
|
+
"4:3": "4:3";
|
|
560
|
+
"3:4": "3:4";
|
|
561
|
+
"9:16": "9:16";
|
|
562
|
+
"3:2": "3:2";
|
|
563
|
+
"5:4": "5:4";
|
|
564
|
+
"4:5": "4:5";
|
|
565
|
+
"2:3": "2:3";
|
|
566
|
+
}>>;
|
|
567
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
568
|
+
png: "png";
|
|
569
|
+
jpeg: "jpeg";
|
|
570
|
+
webp: "webp";
|
|
571
|
+
}>>;
|
|
572
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
4: "4";
|
|
574
|
+
5: "5";
|
|
575
|
+
1: "1";
|
|
576
|
+
2: "2";
|
|
577
|
+
3: "3";
|
|
578
|
+
6: "6";
|
|
579
|
+
}>>;
|
|
605
580
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
581
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
582
|
+
"1K": "1K";
|
|
583
|
+
"2K": "2K";
|
|
584
|
+
"4K": "4K";
|
|
585
|
+
}>>;
|
|
607
586
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
608
587
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
609
|
-
},
|
|
610
|
-
prompt: string;
|
|
611
|
-
resolution?: "1K" | "2K" | "4K" | undefined;
|
|
612
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
613
|
-
seed?: number | undefined;
|
|
614
|
-
num_images?: number | undefined;
|
|
615
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
616
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
617
|
-
sync_mode?: boolean | undefined;
|
|
618
|
-
limit_generations?: boolean | undefined;
|
|
619
|
-
enable_web_search?: boolean | undefined;
|
|
620
|
-
}, {
|
|
621
|
-
prompt: string;
|
|
622
|
-
resolution?: "1K" | "2K" | "4K" | undefined;
|
|
623
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
624
|
-
seed?: number | undefined;
|
|
625
|
-
num_images?: number | undefined;
|
|
626
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
627
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
628
|
-
sync_mode?: boolean | undefined;
|
|
629
|
-
limit_generations?: boolean | undefined;
|
|
630
|
-
enable_web_search?: boolean | undefined;
|
|
631
|
-
}>;
|
|
588
|
+
}, z.core.$strip>;
|
|
632
589
|
export declare const FalNanoBananaProEditRequestSchema: z.ZodObject<{
|
|
633
590
|
prompt: z.ZodString;
|
|
634
|
-
image_urls: z.ZodArray<z.ZodString
|
|
591
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
635
592
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
636
593
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
637
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
638
|
-
|
|
639
|
-
|
|
594
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
595
|
+
"1:1": "1:1";
|
|
596
|
+
"16:9": "16:9";
|
|
597
|
+
auto: "auto";
|
|
598
|
+
"21:9": "21:9";
|
|
599
|
+
"4:3": "4:3";
|
|
600
|
+
"3:4": "3:4";
|
|
601
|
+
"9:16": "9:16";
|
|
602
|
+
"3:2": "3:2";
|
|
603
|
+
"5:4": "5:4";
|
|
604
|
+
"4:5": "4:5";
|
|
605
|
+
"2:3": "2:3";
|
|
606
|
+
}>>;
|
|
607
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
png: "png";
|
|
609
|
+
jpeg: "jpeg";
|
|
610
|
+
webp: "webp";
|
|
611
|
+
}>>;
|
|
612
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
613
|
+
4: "4";
|
|
614
|
+
5: "5";
|
|
615
|
+
1: "1";
|
|
616
|
+
2: "2";
|
|
617
|
+
3: "3";
|
|
618
|
+
6: "6";
|
|
619
|
+
}>>;
|
|
640
620
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
641
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
621
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
622
|
+
"1K": "1K";
|
|
623
|
+
"2K": "2K";
|
|
624
|
+
"4K": "4K";
|
|
625
|
+
}>>;
|
|
642
626
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
643
627
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
644
|
-
},
|
|
645
|
-
prompt: string;
|
|
646
|
-
image_urls: string[];
|
|
647
|
-
resolution?: "1K" | "2K" | "4K" | undefined;
|
|
648
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
649
|
-
seed?: number | undefined;
|
|
650
|
-
num_images?: number | undefined;
|
|
651
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
652
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
653
|
-
sync_mode?: boolean | undefined;
|
|
654
|
-
limit_generations?: boolean | undefined;
|
|
655
|
-
enable_web_search?: boolean | undefined;
|
|
656
|
-
}, {
|
|
657
|
-
prompt: string;
|
|
658
|
-
image_urls: string[];
|
|
659
|
-
resolution?: "1K" | "2K" | "4K" | undefined;
|
|
660
|
-
aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
|
|
661
|
-
seed?: number | undefined;
|
|
662
|
-
num_images?: number | undefined;
|
|
663
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
664
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
665
|
-
sync_mode?: boolean | undefined;
|
|
666
|
-
limit_generations?: boolean | undefined;
|
|
667
|
-
enable_web_search?: boolean | undefined;
|
|
668
|
-
}>;
|
|
628
|
+
}, z.core.$strip>;
|
|
669
629
|
export declare const FalSeedreamV5LiteEditRequestSchema: z.ZodObject<{
|
|
670
630
|
prompt: z.ZodString;
|
|
671
|
-
image_urls: z.ZodArray<z.ZodString
|
|
672
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
631
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
632
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
633
|
+
square_hd: "square_hd";
|
|
634
|
+
square: "square";
|
|
635
|
+
portrait_4_3: "portrait_4_3";
|
|
636
|
+
portrait_16_9: "portrait_16_9";
|
|
637
|
+
landscape_4_3: "landscape_4_3";
|
|
638
|
+
landscape_16_9: "landscape_16_9";
|
|
639
|
+
auto_2K: "auto_2K";
|
|
640
|
+
auto_3K: "auto_3K";
|
|
641
|
+
}>, z.ZodObject<{
|
|
673
642
|
width: z.ZodNumber;
|
|
674
643
|
height: z.ZodNumber;
|
|
675
|
-
},
|
|
676
|
-
width: number;
|
|
677
|
-
height: number;
|
|
678
|
-
}, {
|
|
679
|
-
width: number;
|
|
680
|
-
height: number;
|
|
681
|
-
}>]>>;
|
|
644
|
+
}, z.core.$strip>]>>;
|
|
682
645
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
683
646
|
max_images: z.ZodOptional<z.ZodNumber>;
|
|
684
647
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
685
648
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
-
},
|
|
687
|
-
prompt: string;
|
|
688
|
-
image_urls: string[];
|
|
689
|
-
num_images?: number | undefined;
|
|
690
|
-
sync_mode?: boolean | undefined;
|
|
691
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
|
|
692
|
-
width: number;
|
|
693
|
-
height: number;
|
|
694
|
-
} | undefined;
|
|
695
|
-
enable_safety_checker?: boolean | undefined;
|
|
696
|
-
max_images?: number | undefined;
|
|
697
|
-
}, {
|
|
698
|
-
prompt: string;
|
|
699
|
-
image_urls: string[];
|
|
700
|
-
num_images?: number | undefined;
|
|
701
|
-
sync_mode?: boolean | undefined;
|
|
702
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
|
|
703
|
-
width: number;
|
|
704
|
-
height: number;
|
|
705
|
-
} | undefined;
|
|
706
|
-
enable_safety_checker?: boolean | undefined;
|
|
707
|
-
max_images?: number | undefined;
|
|
708
|
-
}>;
|
|
649
|
+
}, z.core.$strip>;
|
|
709
650
|
export declare const FalSeedreamV5LiteTextToImageRequestSchema: z.ZodObject<{
|
|
710
651
|
prompt: z.ZodString;
|
|
711
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
652
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
653
|
+
square_hd: "square_hd";
|
|
654
|
+
square: "square";
|
|
655
|
+
portrait_4_3: "portrait_4_3";
|
|
656
|
+
portrait_16_9: "portrait_16_9";
|
|
657
|
+
landscape_4_3: "landscape_4_3";
|
|
658
|
+
landscape_16_9: "landscape_16_9";
|
|
659
|
+
auto_2K: "auto_2K";
|
|
660
|
+
auto_3K: "auto_3K";
|
|
661
|
+
}>, z.ZodObject<{
|
|
712
662
|
width: z.ZodNumber;
|
|
713
663
|
height: z.ZodNumber;
|
|
714
|
-
},
|
|
715
|
-
width: number;
|
|
716
|
-
height: number;
|
|
717
|
-
}, {
|
|
718
|
-
width: number;
|
|
719
|
-
height: number;
|
|
720
|
-
}>]>>;
|
|
664
|
+
}, z.core.$strip>]>>;
|
|
721
665
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
722
666
|
max_images: z.ZodOptional<z.ZodNumber>;
|
|
723
667
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
724
668
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
725
|
-
},
|
|
726
|
-
prompt: string;
|
|
727
|
-
num_images?: number | undefined;
|
|
728
|
-
sync_mode?: boolean | undefined;
|
|
729
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
|
|
730
|
-
width: number;
|
|
731
|
-
height: number;
|
|
732
|
-
} | undefined;
|
|
733
|
-
enable_safety_checker?: boolean | undefined;
|
|
734
|
-
max_images?: number | undefined;
|
|
735
|
-
}, {
|
|
736
|
-
prompt: string;
|
|
737
|
-
num_images?: number | undefined;
|
|
738
|
-
sync_mode?: boolean | undefined;
|
|
739
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
|
|
740
|
-
width: number;
|
|
741
|
-
height: number;
|
|
742
|
-
} | undefined;
|
|
743
|
-
enable_safety_checker?: boolean | undefined;
|
|
744
|
-
max_images?: number | undefined;
|
|
745
|
-
}>;
|
|
669
|
+
}, z.core.$strip>;
|
|
746
670
|
export declare const FalSeedSpeechTtsV2RequestSchema: z.ZodObject<{
|
|
747
671
|
text: z.ZodString;
|
|
748
|
-
voice: z.ZodOptional<z.ZodEnum<
|
|
749
|
-
|
|
750
|
-
|
|
672
|
+
voice: z.ZodOptional<z.ZodEnum<{
|
|
673
|
+
stokie_en: "stokie_en";
|
|
674
|
+
vivi_mixed_en_zh_ja_es_id: "vivi_mixed_en_zh_ja_es_id";
|
|
675
|
+
mindy_en_es_id_pt_zh: "mindy_en_es_id_pt_zh";
|
|
676
|
+
dacey_en: "dacey_en";
|
|
677
|
+
tim_en: "tim_en";
|
|
678
|
+
kian_en_zh: "kian_en_zh";
|
|
679
|
+
cedric_en_zh: "cedric_en_zh";
|
|
680
|
+
sophie_en_zh: "sophie_en_zh";
|
|
681
|
+
jean_en_zh: "jean_en_zh";
|
|
682
|
+
magnus_en_zh: "magnus_en_zh";
|
|
683
|
+
mabel_en_zh: "mabel_en_zh";
|
|
684
|
+
nadia_en_zh: "nadia_en_zh";
|
|
685
|
+
opal_en_zh: "opal_en_zh";
|
|
686
|
+
pearl_en_zh: "pearl_en_zh";
|
|
687
|
+
quentin_en_zh: "quentin_en_zh";
|
|
688
|
+
vienna_mixed_en_zh: "vienna_mixed_en_zh";
|
|
689
|
+
alina_mixed_en_zh: "alina_mixed_en_zh";
|
|
690
|
+
corinne_mixed_en_zh: "corinne_mixed_en_zh";
|
|
691
|
+
esther_mixed_en_zh: "esther_mixed_en_zh";
|
|
692
|
+
freya_mixed_en_zh: "freya_mixed_en_zh";
|
|
693
|
+
gigi_mixed_en_zh: "gigi_mixed_en_zh";
|
|
694
|
+
holly_mixed_en_zh: "holly_mixed_en_zh";
|
|
695
|
+
lyla_mixed_en_zh: "lyla_mixed_en_zh";
|
|
696
|
+
daisy_mixed_en_zh: "daisy_mixed_en_zh";
|
|
697
|
+
tracy_es_zh: "tracy_es_zh";
|
|
698
|
+
jess_ja_es_id_pt_en_zh: "jess_ja_es_id_pt_en_zh";
|
|
699
|
+
pinky_es_ko_mixed_en_zh: "pinky_es_ko_mixed_en_zh";
|
|
700
|
+
sweety_ja_es: "sweety_ja_es";
|
|
701
|
+
sandy_es_mixed_en_zh: "sandy_es_mixed_en_zh";
|
|
702
|
+
sven_de: "sven_de";
|
|
703
|
+
minimi_ja: "minimi_ja";
|
|
704
|
+
usseau_fr: "usseau_fr";
|
|
705
|
+
felipe_es: "felipe_es";
|
|
706
|
+
han_id: "han_id";
|
|
707
|
+
martins_pt: "martins_pt";
|
|
708
|
+
enzo_it: "enzo_it";
|
|
709
|
+
shane_ko: "shane_ko";
|
|
710
|
+
bonnie_zh: "bonnie_zh";
|
|
711
|
+
felix_zh: "felix_zh";
|
|
712
|
+
celeste_zh: "celeste_zh";
|
|
713
|
+
monkey_king_zh: "monkey_king_zh";
|
|
714
|
+
}>>;
|
|
715
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
716
|
+
mp3: "mp3";
|
|
717
|
+
opus: "opus";
|
|
718
|
+
}>>;
|
|
719
|
+
sample_rate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<8000>, z.ZodLiteral<16000>, z.ZodLiteral<22050>, z.ZodLiteral<24000>, z.ZodLiteral<32000>, z.ZodLiteral<44100>, z.ZodLiteral<48000>]>>;
|
|
751
720
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
752
721
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
753
722
|
pitch: z.ZodOptional<z.ZodNumber>;
|
|
754
|
-
language: z.ZodOptional<z.ZodNullable<z.ZodEnum<
|
|
723
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
724
|
+
en: "en";
|
|
725
|
+
zh: "zh";
|
|
726
|
+
ja: "ja";
|
|
727
|
+
"es-mx": "es-mx";
|
|
728
|
+
id: "id";
|
|
729
|
+
"pt-br": "pt-br";
|
|
730
|
+
ko: "ko";
|
|
731
|
+
it: "it";
|
|
732
|
+
de: "de";
|
|
733
|
+
fr: "fr";
|
|
734
|
+
}>>>;
|
|
755
735
|
voice_instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
756
|
-
},
|
|
757
|
-
text: string;
|
|
758
|
-
output_format?: "mp3" | "opus" | undefined;
|
|
759
|
-
voice?: "stokie_en" | "vivi_mixed_en_zh_ja_es_id" | "mindy_en_es_id_pt_zh" | "dacey_en" | "tim_en" | "kian_en_zh" | "cedric_en_zh" | "sophie_en_zh" | "jean_en_zh" | "magnus_en_zh" | "mabel_en_zh" | "nadia_en_zh" | "opal_en_zh" | "pearl_en_zh" | "quentin_en_zh" | "vienna_mixed_en_zh" | "alina_mixed_en_zh" | "corinne_mixed_en_zh" | "esther_mixed_en_zh" | "freya_mixed_en_zh" | "gigi_mixed_en_zh" | "holly_mixed_en_zh" | "lyla_mixed_en_zh" | "daisy_mixed_en_zh" | "tracy_es_zh" | "jess_ja_es_id_pt_en_zh" | "pinky_es_ko_mixed_en_zh" | "sweety_ja_es" | "sandy_es_mixed_en_zh" | "sven_de" | "minimi_ja" | "usseau_fr" | "felipe_es" | "han_id" | "martins_pt" | "enzo_it" | "shane_ko" | "bonnie_zh" | "felix_zh" | "celeste_zh" | "monkey_king_zh" | undefined;
|
|
760
|
-
sample_rate?: 24000 | 32000 | 8000 | 16000 | 22050 | 44100 | 48000 | undefined;
|
|
761
|
-
speed?: number | undefined;
|
|
762
|
-
volume?: number | undefined;
|
|
763
|
-
pitch?: number | undefined;
|
|
764
|
-
language?: "en" | "zh" | "ja" | "es-mx" | "id" | "pt-br" | "ko" | "it" | "de" | "fr" | null | undefined;
|
|
765
|
-
voice_instruction?: string | null | undefined;
|
|
766
|
-
}, {
|
|
767
|
-
text: string;
|
|
768
|
-
output_format?: "mp3" | "opus" | undefined;
|
|
769
|
-
voice?: "stokie_en" | "vivi_mixed_en_zh_ja_es_id" | "mindy_en_es_id_pt_zh" | "dacey_en" | "tim_en" | "kian_en_zh" | "cedric_en_zh" | "sophie_en_zh" | "jean_en_zh" | "magnus_en_zh" | "mabel_en_zh" | "nadia_en_zh" | "opal_en_zh" | "pearl_en_zh" | "quentin_en_zh" | "vienna_mixed_en_zh" | "alina_mixed_en_zh" | "corinne_mixed_en_zh" | "esther_mixed_en_zh" | "freya_mixed_en_zh" | "gigi_mixed_en_zh" | "holly_mixed_en_zh" | "lyla_mixed_en_zh" | "daisy_mixed_en_zh" | "tracy_es_zh" | "jess_ja_es_id_pt_en_zh" | "pinky_es_ko_mixed_en_zh" | "sweety_ja_es" | "sandy_es_mixed_en_zh" | "sven_de" | "minimi_ja" | "usseau_fr" | "felipe_es" | "han_id" | "martins_pt" | "enzo_it" | "shane_ko" | "bonnie_zh" | "felix_zh" | "celeste_zh" | "monkey_king_zh" | undefined;
|
|
770
|
-
sample_rate?: 24000 | 32000 | 8000 | 16000 | 22050 | 44100 | 48000 | undefined;
|
|
771
|
-
speed?: number | undefined;
|
|
772
|
-
volume?: number | undefined;
|
|
773
|
-
pitch?: number | undefined;
|
|
774
|
-
language?: "en" | "zh" | "ja" | "es-mx" | "id" | "pt-br" | "ko" | "it" | "de" | "fr" | null | undefined;
|
|
775
|
-
voice_instruction?: string | null | undefined;
|
|
776
|
-
}>;
|
|
736
|
+
}, z.core.$strip>;
|
|
777
737
|
export declare const FalWanV2p7TextToImageRequestSchema: z.ZodObject<{
|
|
778
738
|
prompt: z.ZodString;
|
|
779
739
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
780
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
740
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
741
|
+
square_hd: "square_hd";
|
|
742
|
+
square: "square";
|
|
743
|
+
portrait_4_3: "portrait_4_3";
|
|
744
|
+
portrait_16_9: "portrait_16_9";
|
|
745
|
+
landscape_4_3: "landscape_4_3";
|
|
746
|
+
landscape_16_9: "landscape_16_9";
|
|
747
|
+
}>, z.ZodObject<{
|
|
781
748
|
width: z.ZodNumber;
|
|
782
749
|
height: z.ZodNumber;
|
|
783
|
-
},
|
|
784
|
-
width: number;
|
|
785
|
-
height: number;
|
|
786
|
-
}, {
|
|
787
|
-
width: number;
|
|
788
|
-
height: number;
|
|
789
|
-
}>]>>;
|
|
750
|
+
}, z.core.$strip>]>>;
|
|
790
751
|
max_images: z.ZodOptional<z.ZodNumber>;
|
|
791
752
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
792
753
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
-
},
|
|
794
|
-
prompt: string;
|
|
795
|
-
seed?: number | undefined;
|
|
796
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
797
|
-
width: number;
|
|
798
|
-
height: number;
|
|
799
|
-
} | undefined;
|
|
800
|
-
negative_prompt?: string | undefined;
|
|
801
|
-
enable_safety_checker?: boolean | undefined;
|
|
802
|
-
max_images?: number | undefined;
|
|
803
|
-
}, {
|
|
804
|
-
prompt: string;
|
|
805
|
-
seed?: number | undefined;
|
|
806
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
807
|
-
width: number;
|
|
808
|
-
height: number;
|
|
809
|
-
} | undefined;
|
|
810
|
-
negative_prompt?: string | undefined;
|
|
811
|
-
enable_safety_checker?: boolean | undefined;
|
|
812
|
-
max_images?: number | undefined;
|
|
813
|
-
}>;
|
|
754
|
+
}, z.core.$strip>;
|
|
814
755
|
export declare const FalWanV2p7EditRequestSchema: z.ZodObject<{
|
|
815
756
|
prompt: z.ZodString;
|
|
816
|
-
image_urls: z.ZodArray<z.ZodString
|
|
757
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
817
758
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
818
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
759
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
760
|
+
square_hd: "square_hd";
|
|
761
|
+
square: "square";
|
|
762
|
+
portrait_4_3: "portrait_4_3";
|
|
763
|
+
portrait_16_9: "portrait_16_9";
|
|
764
|
+
landscape_4_3: "landscape_4_3";
|
|
765
|
+
landscape_16_9: "landscape_16_9";
|
|
766
|
+
}>, z.ZodObject<{
|
|
819
767
|
width: z.ZodNumber;
|
|
820
768
|
height: z.ZodNumber;
|
|
821
|
-
},
|
|
822
|
-
width: number;
|
|
823
|
-
height: number;
|
|
824
|
-
}, {
|
|
825
|
-
width: number;
|
|
826
|
-
height: number;
|
|
827
|
-
}>]>>;
|
|
769
|
+
}, z.core.$strip>]>>;
|
|
828
770
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
829
771
|
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
830
772
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
831
773
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
832
|
-
},
|
|
833
|
-
prompt: string;
|
|
834
|
-
image_urls: string[];
|
|
835
|
-
seed?: number | undefined;
|
|
836
|
-
num_images?: number | undefined;
|
|
837
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
838
|
-
width: number;
|
|
839
|
-
height: number;
|
|
840
|
-
} | undefined;
|
|
841
|
-
negative_prompt?: string | undefined;
|
|
842
|
-
enable_safety_checker?: boolean | undefined;
|
|
843
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
844
|
-
}, {
|
|
845
|
-
prompt: string;
|
|
846
|
-
image_urls: string[];
|
|
847
|
-
seed?: number | undefined;
|
|
848
|
-
num_images?: number | undefined;
|
|
849
|
-
image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
850
|
-
width: number;
|
|
851
|
-
height: number;
|
|
852
|
-
} | undefined;
|
|
853
|
-
negative_prompt?: string | undefined;
|
|
854
|
-
enable_safety_checker?: boolean | undefined;
|
|
855
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
856
|
-
}>;
|
|
774
|
+
}, z.core.$strip>;
|
|
857
775
|
export declare const FalHunyuanImageV3InstructEditRequestSchema: z.ZodObject<{
|
|
858
776
|
prompt: z.ZodString;
|
|
859
|
-
image_urls: z.ZodArray<z.ZodString
|
|
860
|
-
image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
777
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
778
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
779
|
+
square_hd: "square_hd";
|
|
780
|
+
auto: "auto";
|
|
781
|
+
square: "square";
|
|
782
|
+
portrait_4_3: "portrait_4_3";
|
|
783
|
+
portrait_16_9: "portrait_16_9";
|
|
784
|
+
landscape_4_3: "landscape_4_3";
|
|
785
|
+
landscape_16_9: "landscape_16_9";
|
|
786
|
+
}>, z.ZodObject<{
|
|
861
787
|
width: z.ZodNumber;
|
|
862
788
|
height: z.ZodNumber;
|
|
863
|
-
},
|
|
864
|
-
width: number;
|
|
865
|
-
height: number;
|
|
866
|
-
}, {
|
|
867
|
-
width: number;
|
|
868
|
-
height: number;
|
|
869
|
-
}>]>>;
|
|
789
|
+
}, z.core.$strip>]>>;
|
|
870
790
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
871
791
|
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
872
792
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
873
793
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
874
794
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
875
|
-
output_format: z.ZodOptional<z.ZodEnum<
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
num_images?: number | undefined;
|
|
881
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
882
|
-
sync_mode?: boolean | undefined;
|
|
883
|
-
image_size?: "square_hd" | "auto" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
884
|
-
width: number;
|
|
885
|
-
height: number;
|
|
886
|
-
} | undefined;
|
|
887
|
-
guidance_scale?: number | undefined;
|
|
888
|
-
enable_safety_checker?: boolean | undefined;
|
|
889
|
-
}, {
|
|
890
|
-
prompt: string;
|
|
891
|
-
image_urls: string[];
|
|
892
|
-
seed?: number | undefined;
|
|
893
|
-
num_images?: number | undefined;
|
|
894
|
-
output_format?: "png" | "jpeg" | undefined;
|
|
895
|
-
sync_mode?: boolean | undefined;
|
|
896
|
-
image_size?: "square_hd" | "auto" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
|
|
897
|
-
width: number;
|
|
898
|
-
height: number;
|
|
899
|
-
} | undefined;
|
|
900
|
-
guidance_scale?: number | undefined;
|
|
901
|
-
enable_safety_checker?: boolean | undefined;
|
|
902
|
-
}>;
|
|
795
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
796
|
+
png: "png";
|
|
797
|
+
jpeg: "jpeg";
|
|
798
|
+
}>>;
|
|
799
|
+
}, z.core.$strip>;
|
|
903
800
|
export declare const FalWanV2p7TextToVideoRequestSchema: z.ZodObject<{
|
|
904
801
|
prompt: z.ZodString;
|
|
905
802
|
audio_url: z.ZodOptional<z.ZodString>;
|
|
906
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
907
|
-
|
|
803
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
804
|
+
"1:1": "1:1";
|
|
805
|
+
"16:9": "16:9";
|
|
806
|
+
"4:3": "4:3";
|
|
807
|
+
"3:4": "3:4";
|
|
808
|
+
"9:16": "9:16";
|
|
809
|
+
}>>;
|
|
810
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
811
|
+
"720p": "720p";
|
|
812
|
+
"1080p": "1080p";
|
|
813
|
+
}>>;
|
|
908
814
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
909
815
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
910
816
|
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
911
817
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
912
818
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
-
},
|
|
914
|
-
prompt: string;
|
|
915
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
916
|
-
duration?: number | undefined;
|
|
917
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
918
|
-
seed?: number | undefined;
|
|
919
|
-
negative_prompt?: string | undefined;
|
|
920
|
-
enable_safety_checker?: boolean | undefined;
|
|
921
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
922
|
-
audio_url?: string | undefined;
|
|
923
|
-
}, {
|
|
924
|
-
prompt: string;
|
|
925
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
926
|
-
duration?: number | undefined;
|
|
927
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
928
|
-
seed?: number | undefined;
|
|
929
|
-
negative_prompt?: string | undefined;
|
|
930
|
-
enable_safety_checker?: boolean | undefined;
|
|
931
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
932
|
-
audio_url?: string | undefined;
|
|
933
|
-
}>;
|
|
819
|
+
}, z.core.$strip>;
|
|
934
820
|
export declare const FalWanV2p7ImageToVideoRequestSchema: z.ZodObject<{
|
|
935
821
|
prompt: z.ZodString;
|
|
936
822
|
image_url: z.ZodString;
|
|
937
823
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
938
824
|
video_url: z.ZodOptional<z.ZodString>;
|
|
939
825
|
audio_url: z.ZodOptional<z.ZodString>;
|
|
940
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
826
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
827
|
+
"720p": "720p";
|
|
828
|
+
"1080p": "1080p";
|
|
829
|
+
}>>;
|
|
941
830
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
942
831
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
943
832
|
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
944
833
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
945
834
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
-
},
|
|
947
|
-
|
|
948
|
-
image_url: string;
|
|
949
|
-
end_image_url?: string | undefined;
|
|
950
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
951
|
-
duration?: number | undefined;
|
|
952
|
-
seed?: number | undefined;
|
|
953
|
-
negative_prompt?: string | undefined;
|
|
954
|
-
enable_safety_checker?: boolean | undefined;
|
|
955
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
956
|
-
audio_url?: string | undefined;
|
|
957
|
-
video_url?: string | undefined;
|
|
958
|
-
}, {
|
|
959
|
-
prompt: string;
|
|
960
|
-
image_url: string;
|
|
961
|
-
end_image_url?: string | undefined;
|
|
962
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
963
|
-
duration?: number | undefined;
|
|
964
|
-
seed?: number | undefined;
|
|
965
|
-
negative_prompt?: string | undefined;
|
|
966
|
-
enable_safety_checker?: boolean | undefined;
|
|
967
|
-
enable_prompt_expansion?: boolean | undefined;
|
|
968
|
-
audio_url?: string | undefined;
|
|
969
|
-
video_url?: string | undefined;
|
|
970
|
-
}>;
|
|
971
|
-
export declare const FalWanV2p7ReferenceToVideoRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
export declare const FalWanV2p7ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
972
837
|
prompt: z.ZodString;
|
|
973
|
-
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
974
|
-
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
838
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
839
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
975
840
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
976
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
977
|
-
|
|
841
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
842
|
+
"1:1": "1:1";
|
|
843
|
+
"16:9": "16:9";
|
|
844
|
+
"4:3": "4:3";
|
|
845
|
+
"3:4": "3:4";
|
|
846
|
+
"9:16": "9:16";
|
|
847
|
+
}>>;
|
|
848
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
849
|
+
"720p": "720p";
|
|
850
|
+
"1080p": "1080p";
|
|
851
|
+
}>>;
|
|
978
852
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
979
853
|
multi_shots: z.ZodOptional<z.ZodBoolean>;
|
|
980
854
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
981
855
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
-
},
|
|
983
|
-
prompt: string;
|
|
984
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
985
|
-
duration?: number | undefined;
|
|
986
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
987
|
-
seed?: number | undefined;
|
|
988
|
-
negative_prompt?: string | undefined;
|
|
989
|
-
enable_safety_checker?: boolean | undefined;
|
|
990
|
-
reference_image_urls?: string[] | undefined;
|
|
991
|
-
reference_video_urls?: string[] | undefined;
|
|
992
|
-
multi_shots?: boolean | undefined;
|
|
993
|
-
}, {
|
|
994
|
-
prompt: string;
|
|
995
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
996
|
-
duration?: number | undefined;
|
|
997
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
998
|
-
seed?: number | undefined;
|
|
999
|
-
negative_prompt?: string | undefined;
|
|
1000
|
-
enable_safety_checker?: boolean | undefined;
|
|
1001
|
-
reference_image_urls?: string[] | undefined;
|
|
1002
|
-
reference_video_urls?: string[] | undefined;
|
|
1003
|
-
multi_shots?: boolean | undefined;
|
|
1004
|
-
}>, {
|
|
1005
|
-
prompt: string;
|
|
1006
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
1007
|
-
duration?: number | undefined;
|
|
1008
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
1009
|
-
seed?: number | undefined;
|
|
1010
|
-
negative_prompt?: string | undefined;
|
|
1011
|
-
enable_safety_checker?: boolean | undefined;
|
|
1012
|
-
reference_image_urls?: string[] | undefined;
|
|
1013
|
-
reference_video_urls?: string[] | undefined;
|
|
1014
|
-
multi_shots?: boolean | undefined;
|
|
1015
|
-
}, {
|
|
1016
|
-
prompt: string;
|
|
1017
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
1018
|
-
duration?: number | undefined;
|
|
1019
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
1020
|
-
seed?: number | undefined;
|
|
1021
|
-
negative_prompt?: string | undefined;
|
|
1022
|
-
enable_safety_checker?: boolean | undefined;
|
|
1023
|
-
reference_image_urls?: string[] | undefined;
|
|
1024
|
-
reference_video_urls?: string[] | undefined;
|
|
1025
|
-
multi_shots?: boolean | undefined;
|
|
1026
|
-
}>;
|
|
856
|
+
}, z.core.$strip>;
|
|
1027
857
|
export declare const FalWanV2p7EditVideoRequestSchema: z.ZodObject<{
|
|
1028
858
|
prompt: z.ZodString;
|
|
1029
859
|
video_url: z.ZodString;
|
|
1030
860
|
reference_image_url: z.ZodOptional<z.ZodString>;
|
|
1031
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
1032
|
-
|
|
861
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
862
|
+
"720p": "720p";
|
|
863
|
+
"1080p": "1080p";
|
|
864
|
+
}>>;
|
|
865
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
866
|
+
"1:1": "1:1";
|
|
867
|
+
"16:9": "16:9";
|
|
868
|
+
"4:3": "4:3";
|
|
869
|
+
"3:4": "3:4";
|
|
870
|
+
"9:16": "9:16";
|
|
871
|
+
}>>;
|
|
1033
872
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
audio_setting: z.ZodOptional<z.ZodEnum<
|
|
873
|
+
audio_setting: z.ZodOptional<z.ZodEnum<{
|
|
874
|
+
auto: "auto";
|
|
875
|
+
origin: "origin";
|
|
876
|
+
}>>;
|
|
1035
877
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1036
878
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1037
879
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1038
|
-
},
|
|
1039
|
-
prompt: string;
|
|
1040
|
-
video_url: string;
|
|
1041
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
1042
|
-
duration?: number | undefined;
|
|
1043
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
1044
|
-
seed?: number | undefined;
|
|
1045
|
-
negative_prompt?: string | undefined;
|
|
1046
|
-
enable_safety_checker?: boolean | undefined;
|
|
1047
|
-
reference_image_url?: string | undefined;
|
|
1048
|
-
audio_setting?: "auto" | "origin" | undefined;
|
|
1049
|
-
}, {
|
|
1050
|
-
prompt: string;
|
|
1051
|
-
video_url: string;
|
|
1052
|
-
resolution?: "720p" | "1080p" | undefined;
|
|
1053
|
-
duration?: number | undefined;
|
|
1054
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
|
|
1055
|
-
seed?: number | undefined;
|
|
1056
|
-
negative_prompt?: string | undefined;
|
|
1057
|
-
enable_safety_checker?: boolean | undefined;
|
|
1058
|
-
reference_image_url?: string | undefined;
|
|
1059
|
-
audio_setting?: "auto" | "origin" | undefined;
|
|
1060
|
-
}>;
|
|
880
|
+
}, z.core.$strip>;
|
|
1061
881
|
export declare const FalXaiGrokImagineImageRequestSchema: z.ZodObject<{
|
|
1062
882
|
prompt: z.ZodString;
|
|
1063
883
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1064
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1065
|
-
|
|
1066
|
-
|
|
884
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
885
|
+
"1:1": "1:1";
|
|
886
|
+
"16:9": "16:9";
|
|
887
|
+
"4:3": "4:3";
|
|
888
|
+
"3:4": "3:4";
|
|
889
|
+
"9:16": "9:16";
|
|
890
|
+
"3:2": "3:2";
|
|
891
|
+
"2:3": "2:3";
|
|
892
|
+
"2:1": "2:1";
|
|
893
|
+
"20:9": "20:9";
|
|
894
|
+
"19.5:9": "19.5:9";
|
|
895
|
+
"9:19.5": "9:19.5";
|
|
896
|
+
"9:20": "9:20";
|
|
897
|
+
"1:2": "1:2";
|
|
898
|
+
}>>;
|
|
899
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
900
|
+
"1k": "1k";
|
|
901
|
+
"2k": "2k";
|
|
902
|
+
}>>;
|
|
903
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
904
|
+
png: "png";
|
|
905
|
+
jpeg: "jpeg";
|
|
906
|
+
webp: "webp";
|
|
907
|
+
}>>;
|
|
1067
908
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1068
|
-
},
|
|
1069
|
-
prompt: string;
|
|
1070
|
-
resolution?: "1k" | "2k" | undefined;
|
|
1071
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | "2:1" | "20:9" | "19.5:9" | "9:19.5" | "9:20" | "1:2" | undefined;
|
|
1072
|
-
num_images?: number | undefined;
|
|
1073
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
1074
|
-
sync_mode?: boolean | undefined;
|
|
1075
|
-
}, {
|
|
1076
|
-
prompt: string;
|
|
1077
|
-
resolution?: "1k" | "2k" | undefined;
|
|
1078
|
-
aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | "2:1" | "20:9" | "19.5:9" | "9:19.5" | "9:20" | "1:2" | undefined;
|
|
1079
|
-
num_images?: number | undefined;
|
|
1080
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
1081
|
-
sync_mode?: boolean | undefined;
|
|
1082
|
-
}>;
|
|
909
|
+
}, z.core.$strip>;
|
|
1083
910
|
export declare const FalXaiGrokImagineImageEditRequestSchema: z.ZodObject<{
|
|
1084
911
|
prompt: z.ZodString;
|
|
1085
912
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1086
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
1087
|
-
|
|
913
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
914
|
+
"1k": "1k";
|
|
915
|
+
"2k": "2k";
|
|
916
|
+
}>>;
|
|
917
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
918
|
+
png: "png";
|
|
919
|
+
jpeg: "jpeg";
|
|
920
|
+
webp: "webp";
|
|
921
|
+
}>>;
|
|
1088
922
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1089
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1090
|
-
},
|
|
1091
|
-
prompt: string;
|
|
1092
|
-
resolution?: "1k" | "2k" | undefined;
|
|
1093
|
-
image_urls?: string[] | undefined;
|
|
1094
|
-
num_images?: number | undefined;
|
|
1095
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
1096
|
-
sync_mode?: boolean | undefined;
|
|
1097
|
-
}, {
|
|
1098
|
-
prompt: string;
|
|
1099
|
-
resolution?: "1k" | "2k" | undefined;
|
|
1100
|
-
image_urls?: string[] | undefined;
|
|
1101
|
-
num_images?: number | undefined;
|
|
1102
|
-
output_format?: "png" | "jpeg" | "webp" | undefined;
|
|
1103
|
-
sync_mode?: boolean | undefined;
|
|
1104
|
-
}>;
|
|
923
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
924
|
+
}, z.core.$strip>;
|
|
1105
925
|
export declare const FalSora2TextToVideoRequestSchema: z.ZodObject<{
|
|
1106
926
|
prompt: z.ZodString;
|
|
1107
|
-
model: z.ZodOptional<z.ZodEnum<
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
927
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
928
|
+
"sora-2": "sora-2";
|
|
929
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
930
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
931
|
+
}>>;
|
|
932
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
933
|
+
"720p": "720p";
|
|
934
|
+
}>>;
|
|
935
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
936
|
+
"16:9": "16:9";
|
|
937
|
+
"9:16": "9:16";
|
|
938
|
+
}>>;
|
|
939
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
|
|
1111
940
|
delete_video: z.ZodOptional<z.ZodBoolean>;
|
|
1112
|
-
character_ids: z.ZodOptional<z.ZodArray<z.ZodString
|
|
941
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1113
942
|
detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
|
|
1114
|
-
},
|
|
1115
|
-
prompt: string;
|
|
1116
|
-
resolution?: "720p" | undefined;
|
|
1117
|
-
duration?: 4 | 20 | 8 | 12 | 16 | undefined;
|
|
1118
|
-
aspect_ratio?: "16:9" | "9:16" | undefined;
|
|
1119
|
-
model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
|
|
1120
|
-
delete_video?: boolean | undefined;
|
|
1121
|
-
character_ids?: string[] | undefined;
|
|
1122
|
-
detect_and_block_ip?: boolean | undefined;
|
|
1123
|
-
}, {
|
|
1124
|
-
prompt: string;
|
|
1125
|
-
resolution?: "720p" | undefined;
|
|
1126
|
-
duration?: 4 | 20 | 8 | 12 | 16 | undefined;
|
|
1127
|
-
aspect_ratio?: "16:9" | "9:16" | undefined;
|
|
1128
|
-
model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
|
|
1129
|
-
delete_video?: boolean | undefined;
|
|
1130
|
-
character_ids?: string[] | undefined;
|
|
1131
|
-
detect_and_block_ip?: boolean | undefined;
|
|
1132
|
-
}>;
|
|
943
|
+
}, z.core.$strip>;
|
|
1133
944
|
export declare const FalSora2ImageToVideoRequestSchema: z.ZodObject<{
|
|
1134
945
|
prompt: z.ZodString;
|
|
1135
946
|
image_url: z.ZodString;
|
|
1136
|
-
model: z.ZodOptional<z.ZodEnum<
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
947
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
948
|
+
"sora-2": "sora-2";
|
|
949
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
950
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
951
|
+
}>>;
|
|
952
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
953
|
+
"720p": "720p";
|
|
954
|
+
auto: "auto";
|
|
955
|
+
}>>;
|
|
956
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
957
|
+
"16:9": "16:9";
|
|
958
|
+
auto: "auto";
|
|
959
|
+
"9:16": "9:16";
|
|
960
|
+
}>>;
|
|
961
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
|
|
1140
962
|
delete_video: z.ZodOptional<z.ZodBoolean>;
|
|
1141
|
-
character_ids: z.ZodOptional<z.ZodArray<z.ZodString
|
|
963
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1142
964
|
detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
-
},
|
|
1144
|
-
prompt: string;
|
|
1145
|
-
image_url: string;
|
|
1146
|
-
resolution?: "720p" | "auto" | undefined;
|
|
1147
|
-
duration?: 4 | 20 | 8 | 12 | 16 | undefined;
|
|
1148
|
-
aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
|
|
1149
|
-
model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
|
|
1150
|
-
delete_video?: boolean | undefined;
|
|
1151
|
-
character_ids?: string[] | undefined;
|
|
1152
|
-
detect_and_block_ip?: boolean | undefined;
|
|
1153
|
-
}, {
|
|
1154
|
-
prompt: string;
|
|
1155
|
-
image_url: string;
|
|
1156
|
-
resolution?: "720p" | "auto" | undefined;
|
|
1157
|
-
duration?: 4 | 20 | 8 | 12 | 16 | undefined;
|
|
1158
|
-
aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
|
|
1159
|
-
model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
|
|
1160
|
-
delete_video?: boolean | undefined;
|
|
1161
|
-
character_ids?: string[] | undefined;
|
|
1162
|
-
detect_and_block_ip?: boolean | undefined;
|
|
1163
|
-
}>;
|
|
965
|
+
}, z.core.$strip>;
|
|
1164
966
|
export declare const FalKlingVideoV3ProImageToVideoRequestSchema: z.ZodObject<{
|
|
1165
967
|
start_image_url: z.ZodString;
|
|
1166
968
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1167
969
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1168
970
|
prompt: z.ZodString;
|
|
1169
971
|
duration: z.ZodOptional<z.ZodString>;
|
|
1170
|
-
},
|
|
1171
|
-
prompt: string;
|
|
1172
|
-
duration?: string | undefined;
|
|
1173
|
-
}, {
|
|
1174
|
-
prompt: string;
|
|
1175
|
-
duration?: string | undefined;
|
|
1176
|
-
}>, "many">>;
|
|
972
|
+
}, z.core.$strip>>>;
|
|
1177
973
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1178
974
|
duration: z.ZodOptional<z.ZodString>;
|
|
1179
975
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1180
|
-
shot_type: z.ZodOptional<z.ZodEnum<
|
|
976
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
977
|
+
customize: "customize";
|
|
978
|
+
}>>;
|
|
1181
979
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1182
980
|
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
1183
981
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1184
982
|
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
983
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1186
984
|
video_url: z.ZodOptional<z.ZodString>;
|
|
1187
985
|
voice_id: z.ZodOptional<z.ZodString>;
|
|
1188
|
-
},
|
|
1189
|
-
|
|
1190
|
-
reference_image_urls?: string[] | undefined;
|
|
1191
|
-
frontal_image_url?: string | undefined;
|
|
1192
|
-
voice_id?: string | undefined;
|
|
1193
|
-
}, {
|
|
1194
|
-
video_url?: string | undefined;
|
|
1195
|
-
reference_image_urls?: string[] | undefined;
|
|
1196
|
-
frontal_image_url?: string | undefined;
|
|
1197
|
-
voice_id?: string | undefined;
|
|
1198
|
-
}>, "many">>;
|
|
1199
|
-
}, "strip", z.ZodTypeAny, {
|
|
1200
|
-
start_image_url: string;
|
|
1201
|
-
prompt?: string | undefined;
|
|
1202
|
-
end_image_url?: string | undefined;
|
|
1203
|
-
duration?: string | undefined;
|
|
1204
|
-
generate_audio?: boolean | undefined;
|
|
1205
|
-
negative_prompt?: string | undefined;
|
|
1206
|
-
multi_prompt?: {
|
|
1207
|
-
prompt: string;
|
|
1208
|
-
duration?: string | undefined;
|
|
1209
|
-
}[] | undefined;
|
|
1210
|
-
shot_type?: "customize" | undefined;
|
|
1211
|
-
cfg_scale?: number | undefined;
|
|
1212
|
-
elements?: {
|
|
1213
|
-
video_url?: string | undefined;
|
|
1214
|
-
reference_image_urls?: string[] | undefined;
|
|
1215
|
-
frontal_image_url?: string | undefined;
|
|
1216
|
-
voice_id?: string | undefined;
|
|
1217
|
-
}[] | undefined;
|
|
1218
|
-
}, {
|
|
1219
|
-
start_image_url: string;
|
|
1220
|
-
prompt?: string | undefined;
|
|
1221
|
-
end_image_url?: string | undefined;
|
|
1222
|
-
duration?: string | undefined;
|
|
1223
|
-
generate_audio?: boolean | undefined;
|
|
1224
|
-
negative_prompt?: string | undefined;
|
|
1225
|
-
multi_prompt?: {
|
|
1226
|
-
prompt: string;
|
|
1227
|
-
duration?: string | undefined;
|
|
1228
|
-
}[] | undefined;
|
|
1229
|
-
shot_type?: "customize" | undefined;
|
|
1230
|
-
cfg_scale?: number | undefined;
|
|
1231
|
-
elements?: {
|
|
1232
|
-
video_url?: string | undefined;
|
|
1233
|
-
reference_image_urls?: string[] | undefined;
|
|
1234
|
-
frontal_image_url?: string | undefined;
|
|
1235
|
-
voice_id?: string | undefined;
|
|
1236
|
-
}[] | undefined;
|
|
1237
|
-
}>;
|
|
986
|
+
}, z.core.$strip>>>;
|
|
987
|
+
}, z.core.$strip>;
|
|
1238
988
|
export declare const FalStorageUploadInitiateRequestSchema: z.ZodObject<{
|
|
1239
989
|
file_name: z.ZodString;
|
|
1240
990
|
content_type: z.ZodString;
|
|
@@ -1242,30 +992,8 @@ export declare const FalStorageUploadInitiateRequestSchema: z.ZodObject<{
|
|
|
1242
992
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1243
993
|
expiration_duration_seconds: z.ZodNumber;
|
|
1244
994
|
allow_io_storage: z.ZodOptional<z.ZodBoolean>;
|
|
1245
|
-
},
|
|
1246
|
-
|
|
1247
|
-
allow_io_storage?: boolean | undefined;
|
|
1248
|
-
}, {
|
|
1249
|
-
expiration_duration_seconds: number;
|
|
1250
|
-
allow_io_storage?: boolean | undefined;
|
|
1251
|
-
}>>;
|
|
1252
|
-
}, "strip", z.ZodTypeAny, {
|
|
1253
|
-
file_name: string;
|
|
1254
|
-
content_type: string;
|
|
1255
|
-
storage_type?: "fal-cdn-v3" | undefined;
|
|
1256
|
-
lifecycle?: {
|
|
1257
|
-
expiration_duration_seconds: number;
|
|
1258
|
-
allow_io_storage?: boolean | undefined;
|
|
1259
|
-
} | undefined;
|
|
1260
|
-
}, {
|
|
1261
|
-
file_name: string;
|
|
1262
|
-
content_type: string;
|
|
1263
|
-
storage_type?: "fal-cdn-v3" | undefined;
|
|
1264
|
-
lifecycle?: {
|
|
1265
|
-
expiration_duration_seconds: number;
|
|
1266
|
-
allow_io_storage?: boolean | undefined;
|
|
1267
|
-
} | undefined;
|
|
1268
|
-
}>;
|
|
995
|
+
}, z.core.$strip>>;
|
|
996
|
+
}, z.core.$strip>;
|
|
1269
997
|
export declare const FalStorageUploadInitiateMultipartRequestSchema: z.ZodObject<{
|
|
1270
998
|
file_name: z.ZodString;
|
|
1271
999
|
content_type: z.ZodString;
|
|
@@ -1273,363 +1001,196 @@ export declare const FalStorageUploadInitiateMultipartRequestSchema: z.ZodObject
|
|
|
1273
1001
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1274
1002
|
expiration_duration_seconds: z.ZodNumber;
|
|
1275
1003
|
allow_io_storage: z.ZodOptional<z.ZodBoolean>;
|
|
1276
|
-
},
|
|
1277
|
-
|
|
1278
|
-
allow_io_storage?: boolean | undefined;
|
|
1279
|
-
}, {
|
|
1280
|
-
expiration_duration_seconds: number;
|
|
1281
|
-
allow_io_storage?: boolean | undefined;
|
|
1282
|
-
}>>;
|
|
1283
|
-
}, "strip", z.ZodTypeAny, {
|
|
1284
|
-
file_name: string;
|
|
1285
|
-
content_type: string;
|
|
1286
|
-
storage_type?: "fal-cdn-v3" | undefined;
|
|
1287
|
-
lifecycle?: {
|
|
1288
|
-
expiration_duration_seconds: number;
|
|
1289
|
-
allow_io_storage?: boolean | undefined;
|
|
1290
|
-
} | undefined;
|
|
1291
|
-
}, {
|
|
1292
|
-
file_name: string;
|
|
1293
|
-
content_type: string;
|
|
1294
|
-
storage_type?: "fal-cdn-v3" | undefined;
|
|
1295
|
-
lifecycle?: {
|
|
1296
|
-
expiration_duration_seconds: number;
|
|
1297
|
-
allow_io_storage?: boolean | undefined;
|
|
1298
|
-
} | undefined;
|
|
1299
|
-
}>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1300
1006
|
export declare const FalStorageUploadCompleteMultipartRequestSchema: z.ZodObject<{
|
|
1301
1007
|
upload_url: z.ZodString;
|
|
1302
1008
|
parts: z.ZodArray<z.ZodObject<{
|
|
1303
1009
|
partNumber: z.ZodNumber;
|
|
1304
1010
|
etag: z.ZodString;
|
|
1305
|
-
},
|
|
1306
|
-
|
|
1307
|
-
etag: string;
|
|
1308
|
-
}, {
|
|
1309
|
-
partNumber: number;
|
|
1310
|
-
etag: string;
|
|
1311
|
-
}>, "many">;
|
|
1312
|
-
}, "strip", z.ZodTypeAny, {
|
|
1313
|
-
upload_url: string;
|
|
1314
|
-
parts: {
|
|
1315
|
-
partNumber: number;
|
|
1316
|
-
etag: string;
|
|
1317
|
-
}[];
|
|
1318
|
-
}, {
|
|
1319
|
-
upload_url: string;
|
|
1320
|
-
parts: {
|
|
1321
|
-
partNumber: number;
|
|
1322
|
-
etag: string;
|
|
1323
|
-
}[];
|
|
1324
|
-
}>;
|
|
1011
|
+
}, z.core.$strip>>;
|
|
1012
|
+
}, z.core.$strip>;
|
|
1325
1013
|
export declare const FalKlingVideoV3ProTextToVideoRequestSchema: z.ZodObject<{
|
|
1326
1014
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1327
1015
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1328
1016
|
prompt: z.ZodString;
|
|
1329
1017
|
duration: z.ZodOptional<z.ZodString>;
|
|
1330
|
-
},
|
|
1331
|
-
prompt: string;
|
|
1332
|
-
duration?: string | undefined;
|
|
1333
|
-
}, {
|
|
1334
|
-
prompt: string;
|
|
1335
|
-
duration?: string | undefined;
|
|
1336
|
-
}>, "many">>;
|
|
1018
|
+
}, z.core.$strip>>>;
|
|
1337
1019
|
duration: z.ZodOptional<z.ZodString>;
|
|
1338
1020
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1339
|
-
shot_type: z.ZodOptional<z.ZodEnum<
|
|
1340
|
-
|
|
1021
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
1022
|
+
customize: "customize";
|
|
1023
|
+
intelligent: "intelligent";
|
|
1024
|
+
}>>;
|
|
1025
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1026
|
+
"1:1": "1:1";
|
|
1027
|
+
"16:9": "16:9";
|
|
1028
|
+
"9:16": "9:16";
|
|
1029
|
+
}>>;
|
|
1341
1030
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1342
1031
|
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
1343
|
-
},
|
|
1344
|
-
prompt?: string | undefined;
|
|
1345
|
-
duration?: string | undefined;
|
|
1346
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1347
|
-
generate_audio?: boolean | undefined;
|
|
1348
|
-
negative_prompt?: string | undefined;
|
|
1349
|
-
multi_prompt?: {
|
|
1350
|
-
prompt: string;
|
|
1351
|
-
duration?: string | undefined;
|
|
1352
|
-
}[] | undefined;
|
|
1353
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1354
|
-
cfg_scale?: number | undefined;
|
|
1355
|
-
}, {
|
|
1356
|
-
prompt?: string | undefined;
|
|
1357
|
-
duration?: string | undefined;
|
|
1358
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1359
|
-
generate_audio?: boolean | undefined;
|
|
1360
|
-
negative_prompt?: string | undefined;
|
|
1361
|
-
multi_prompt?: {
|
|
1362
|
-
prompt: string;
|
|
1363
|
-
duration?: string | undefined;
|
|
1364
|
-
}[] | undefined;
|
|
1365
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1366
|
-
cfg_scale?: number | undefined;
|
|
1367
|
-
}>;
|
|
1032
|
+
}, z.core.$strip>;
|
|
1368
1033
|
export declare const FalKlingVideoV3StandardImageToVideoRequestSchema: z.ZodObject<{
|
|
1369
1034
|
start_image_url: z.ZodString;
|
|
1370
1035
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1371
1036
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1372
1037
|
prompt: z.ZodString;
|
|
1373
1038
|
duration: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
},
|
|
1375
|
-
prompt: string;
|
|
1376
|
-
duration?: string | undefined;
|
|
1377
|
-
}, {
|
|
1378
|
-
prompt: string;
|
|
1379
|
-
duration?: string | undefined;
|
|
1380
|
-
}>, "many">>;
|
|
1039
|
+
}, z.core.$strip>>>;
|
|
1381
1040
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1382
1041
|
duration: z.ZodOptional<z.ZodString>;
|
|
1383
1042
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1384
|
-
shot_type: z.ZodOptional<z.ZodEnum<
|
|
1043
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
1044
|
+
customize: "customize";
|
|
1045
|
+
intelligent: "intelligent";
|
|
1046
|
+
}>>;
|
|
1385
1047
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1386
1048
|
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
1387
1049
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1388
1050
|
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
1389
|
-
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1051
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1390
1052
|
video_url: z.ZodOptional<z.ZodString>;
|
|
1391
1053
|
voice_id: z.ZodOptional<z.ZodString>;
|
|
1392
|
-
},
|
|
1393
|
-
|
|
1394
|
-
reference_image_urls?: string[] | undefined;
|
|
1395
|
-
frontal_image_url?: string | undefined;
|
|
1396
|
-
voice_id?: string | undefined;
|
|
1397
|
-
}, {
|
|
1398
|
-
video_url?: string | undefined;
|
|
1399
|
-
reference_image_urls?: string[] | undefined;
|
|
1400
|
-
frontal_image_url?: string | undefined;
|
|
1401
|
-
voice_id?: string | undefined;
|
|
1402
|
-
}>, "many">>;
|
|
1403
|
-
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
start_image_url: string;
|
|
1405
|
-
prompt?: string | undefined;
|
|
1406
|
-
end_image_url?: string | undefined;
|
|
1407
|
-
duration?: string | undefined;
|
|
1408
|
-
generate_audio?: boolean | undefined;
|
|
1409
|
-
negative_prompt?: string | undefined;
|
|
1410
|
-
multi_prompt?: {
|
|
1411
|
-
prompt: string;
|
|
1412
|
-
duration?: string | undefined;
|
|
1413
|
-
}[] | undefined;
|
|
1414
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1415
|
-
cfg_scale?: number | undefined;
|
|
1416
|
-
elements?: {
|
|
1417
|
-
video_url?: string | undefined;
|
|
1418
|
-
reference_image_urls?: string[] | undefined;
|
|
1419
|
-
frontal_image_url?: string | undefined;
|
|
1420
|
-
voice_id?: string | undefined;
|
|
1421
|
-
}[] | undefined;
|
|
1422
|
-
}, {
|
|
1423
|
-
start_image_url: string;
|
|
1424
|
-
prompt?: string | undefined;
|
|
1425
|
-
end_image_url?: string | undefined;
|
|
1426
|
-
duration?: string | undefined;
|
|
1427
|
-
generate_audio?: boolean | undefined;
|
|
1428
|
-
negative_prompt?: string | undefined;
|
|
1429
|
-
multi_prompt?: {
|
|
1430
|
-
prompt: string;
|
|
1431
|
-
duration?: string | undefined;
|
|
1432
|
-
}[] | undefined;
|
|
1433
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1434
|
-
cfg_scale?: number | undefined;
|
|
1435
|
-
elements?: {
|
|
1436
|
-
video_url?: string | undefined;
|
|
1437
|
-
reference_image_urls?: string[] | undefined;
|
|
1438
|
-
frontal_image_url?: string | undefined;
|
|
1439
|
-
voice_id?: string | undefined;
|
|
1440
|
-
}[] | undefined;
|
|
1441
|
-
}>;
|
|
1054
|
+
}, z.core.$strip>>>;
|
|
1055
|
+
}, z.core.$strip>;
|
|
1442
1056
|
export declare const FalKlingVideoV3StandardTextToVideoRequestSchema: z.ZodObject<{
|
|
1443
1057
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1444
1058
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1445
1059
|
prompt: z.ZodString;
|
|
1446
1060
|
duration: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
},
|
|
1448
|
-
prompt: string;
|
|
1449
|
-
duration?: string | undefined;
|
|
1450
|
-
}, {
|
|
1451
|
-
prompt: string;
|
|
1452
|
-
duration?: string | undefined;
|
|
1453
|
-
}>, "many">>;
|
|
1061
|
+
}, z.core.$strip>>>;
|
|
1454
1062
|
duration: z.ZodOptional<z.ZodString>;
|
|
1455
1063
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1456
|
-
shot_type: z.ZodOptional<z.ZodEnum<
|
|
1457
|
-
|
|
1064
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
1065
|
+
customize: "customize";
|
|
1066
|
+
intelligent: "intelligent";
|
|
1067
|
+
}>>;
|
|
1068
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
"1:1": "1:1";
|
|
1070
|
+
"16:9": "16:9";
|
|
1071
|
+
"9:16": "9:16";
|
|
1072
|
+
}>>;
|
|
1458
1073
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1459
1074
|
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
1460
|
-
},
|
|
1461
|
-
prompt?: string | undefined;
|
|
1462
|
-
duration?: string | undefined;
|
|
1463
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1464
|
-
generate_audio?: boolean | undefined;
|
|
1465
|
-
negative_prompt?: string | undefined;
|
|
1466
|
-
multi_prompt?: {
|
|
1467
|
-
prompt: string;
|
|
1468
|
-
duration?: string | undefined;
|
|
1469
|
-
}[] | undefined;
|
|
1470
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1471
|
-
cfg_scale?: number | undefined;
|
|
1472
|
-
}, {
|
|
1473
|
-
prompt?: string | undefined;
|
|
1474
|
-
duration?: string | undefined;
|
|
1475
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1476
|
-
generate_audio?: boolean | undefined;
|
|
1477
|
-
negative_prompt?: string | undefined;
|
|
1478
|
-
multi_prompt?: {
|
|
1479
|
-
prompt: string;
|
|
1480
|
-
duration?: string | undefined;
|
|
1481
|
-
}[] | undefined;
|
|
1482
|
-
shot_type?: "customize" | "intelligent" | undefined;
|
|
1483
|
-
cfg_scale?: number | undefined;
|
|
1484
|
-
}>;
|
|
1075
|
+
}, z.core.$strip>;
|
|
1485
1076
|
export declare const FalVeo3p1TextToVideoRequestSchema: z.ZodObject<{
|
|
1486
1077
|
prompt: z.ZodString;
|
|
1487
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1488
|
-
|
|
1489
|
-
|
|
1078
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1079
|
+
"16:9": "16:9";
|
|
1080
|
+
"9:16": "9:16";
|
|
1081
|
+
}>>;
|
|
1082
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1083
|
+
"4s": "4s";
|
|
1084
|
+
"6s": "6s";
|
|
1085
|
+
"8s": "8s";
|
|
1086
|
+
}>>;
|
|
1087
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1088
|
+
"720p": "720p";
|
|
1089
|
+
"1080p": "1080p";
|
|
1090
|
+
"4k": "4k";
|
|
1091
|
+
}>>;
|
|
1490
1092
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1491
1093
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1492
1094
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1493
1095
|
auto_fix: z.ZodOptional<z.ZodBoolean>;
|
|
1494
|
-
safety_tolerance: z.ZodOptional<z.ZodEnum<
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
negative_prompt?: string | undefined;
|
|
1504
|
-
auto_fix?: boolean | undefined;
|
|
1505
|
-
}, {
|
|
1506
|
-
prompt: string;
|
|
1507
|
-
resolution?: "720p" | "1080p" | "4k" | undefined;
|
|
1508
|
-
duration?: "4s" | "6s" | "8s" | undefined;
|
|
1509
|
-
aspect_ratio?: "16:9" | "9:16" | undefined;
|
|
1510
|
-
generate_audio?: boolean | undefined;
|
|
1511
|
-
seed?: number | undefined;
|
|
1512
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
1513
|
-
negative_prompt?: string | undefined;
|
|
1514
|
-
auto_fix?: boolean | undefined;
|
|
1515
|
-
}>;
|
|
1096
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1097
|
+
4: "4";
|
|
1098
|
+
5: "5";
|
|
1099
|
+
1: "1";
|
|
1100
|
+
2: "2";
|
|
1101
|
+
3: "3";
|
|
1102
|
+
6: "6";
|
|
1103
|
+
}>>;
|
|
1104
|
+
}, z.core.$strip>;
|
|
1516
1105
|
export declare const FalVeo3p1ImageToVideoRequestSchema: z.ZodObject<{
|
|
1517
1106
|
prompt: z.ZodString;
|
|
1518
1107
|
image_url: z.ZodString;
|
|
1519
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1520
|
-
|
|
1521
|
-
|
|
1108
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1109
|
+
"16:9": "16:9";
|
|
1110
|
+
auto: "auto";
|
|
1111
|
+
"9:16": "9:16";
|
|
1112
|
+
}>>;
|
|
1113
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1114
|
+
"4s": "4s";
|
|
1115
|
+
"6s": "6s";
|
|
1116
|
+
"8s": "8s";
|
|
1117
|
+
}>>;
|
|
1118
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1119
|
+
"720p": "720p";
|
|
1120
|
+
"1080p": "1080p";
|
|
1121
|
+
"4k": "4k";
|
|
1122
|
+
}>>;
|
|
1522
1123
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1523
1124
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1524
1125
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1525
1126
|
auto_fix: z.ZodOptional<z.ZodBoolean>;
|
|
1526
|
-
safety_tolerance: z.ZodOptional<z.ZodEnum<
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
1536
|
-
negative_prompt?: string | undefined;
|
|
1537
|
-
auto_fix?: boolean | undefined;
|
|
1538
|
-
}, {
|
|
1539
|
-
prompt: string;
|
|
1540
|
-
image_url: string;
|
|
1541
|
-
resolution?: "720p" | "1080p" | "4k" | undefined;
|
|
1542
|
-
duration?: "4s" | "6s" | "8s" | undefined;
|
|
1543
|
-
aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
|
|
1544
|
-
generate_audio?: boolean | undefined;
|
|
1545
|
-
seed?: number | undefined;
|
|
1546
|
-
safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
|
|
1547
|
-
negative_prompt?: string | undefined;
|
|
1548
|
-
auto_fix?: boolean | undefined;
|
|
1549
|
-
}>;
|
|
1127
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1128
|
+
4: "4";
|
|
1129
|
+
5: "5";
|
|
1130
|
+
1: "1";
|
|
1131
|
+
2: "2";
|
|
1132
|
+
3: "3";
|
|
1133
|
+
6: "6";
|
|
1134
|
+
}>>;
|
|
1135
|
+
}, z.core.$strip>;
|
|
1550
1136
|
export declare const FalXaiGrokImagineVideoImageToVideoRequestSchema: z.ZodObject<{
|
|
1551
1137
|
prompt: z.ZodString;
|
|
1552
1138
|
image_url: z.ZodString;
|
|
1553
1139
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1554
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
}>;
|
|
1140
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1141
|
+
"1:1": "1:1";
|
|
1142
|
+
"16:9": "16:9";
|
|
1143
|
+
auto: "auto";
|
|
1144
|
+
"4:3": "4:3";
|
|
1145
|
+
"3:4": "3:4";
|
|
1146
|
+
"9:16": "9:16";
|
|
1147
|
+
"3:2": "3:2";
|
|
1148
|
+
"2:3": "2:3";
|
|
1149
|
+
}>>;
|
|
1150
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1151
|
+
"480p": "480p";
|
|
1152
|
+
"720p": "720p";
|
|
1153
|
+
}>>;
|
|
1154
|
+
}, z.core.$strip>;
|
|
1569
1155
|
export declare const FalXaiGrokImagineVideoReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1570
1156
|
prompt: z.ZodString;
|
|
1571
|
-
reference_image_urls: z.ZodArray<z.ZodString
|
|
1157
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
1572
1158
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1573
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
}>;
|
|
1159
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1160
|
+
"1:1": "1:1";
|
|
1161
|
+
"16:9": "16:9";
|
|
1162
|
+
"4:3": "4:3";
|
|
1163
|
+
"3:4": "3:4";
|
|
1164
|
+
"9:16": "9:16";
|
|
1165
|
+
"3:2": "3:2";
|
|
1166
|
+
"2:3": "2:3";
|
|
1167
|
+
}>>;
|
|
1168
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1169
|
+
"480p": "480p";
|
|
1170
|
+
"720p": "720p";
|
|
1171
|
+
}>>;
|
|
1172
|
+
}, z.core.$strip>;
|
|
1588
1173
|
export declare const FalXaiGrokImagineVideoExtendVideoRequestSchema: z.ZodObject<{
|
|
1589
1174
|
prompt: z.ZodString;
|
|
1590
1175
|
video_url: z.ZodString;
|
|
1591
1176
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1592
|
-
},
|
|
1593
|
-
prompt: string;
|
|
1594
|
-
video_url: string;
|
|
1595
|
-
duration?: number | undefined;
|
|
1596
|
-
}, {
|
|
1597
|
-
prompt: string;
|
|
1598
|
-
video_url: string;
|
|
1599
|
-
duration?: number | undefined;
|
|
1600
|
-
}>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1601
1178
|
export declare const FalXaiGrokImagineVideoEditVideoRequestSchema: z.ZodObject<{
|
|
1602
1179
|
prompt: z.ZodString;
|
|
1603
1180
|
video_url: z.ZodString;
|
|
1604
|
-
resolution: z.ZodOptional<z.ZodEnum<
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
},
|
|
1610
|
-
prompt: string;
|
|
1611
|
-
video_url: string;
|
|
1612
|
-
resolution?: "480p" | "720p" | "auto" | undefined;
|
|
1613
|
-
}>;
|
|
1181
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1182
|
+
"480p": "480p";
|
|
1183
|
+
"720p": "720p";
|
|
1184
|
+
auto: "auto";
|
|
1185
|
+
}>>;
|
|
1186
|
+
}, z.core.$strip>;
|
|
1614
1187
|
export declare const FalElevenlabsSpeechToTextScribeV2RequestSchema: z.ZodObject<{
|
|
1615
1188
|
audio_url: z.ZodString;
|
|
1616
1189
|
language_code: z.ZodOptional<z.ZodString>;
|
|
1617
1190
|
tag_audio_events: z.ZodOptional<z.ZodBoolean>;
|
|
1618
1191
|
diarize: z.ZodOptional<z.ZodBoolean>;
|
|
1619
|
-
keyterms: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1620
|
-
},
|
|
1621
|
-
audio_url: string;
|
|
1622
|
-
language_code?: string | undefined;
|
|
1623
|
-
tag_audio_events?: boolean | undefined;
|
|
1624
|
-
diarize?: boolean | undefined;
|
|
1625
|
-
keyterms?: string[] | undefined;
|
|
1626
|
-
}, {
|
|
1627
|
-
audio_url: string;
|
|
1628
|
-
language_code?: string | undefined;
|
|
1629
|
-
tag_audio_events?: boolean | undefined;
|
|
1630
|
-
diarize?: boolean | undefined;
|
|
1631
|
-
keyterms?: string[] | undefined;
|
|
1632
|
-
}>;
|
|
1192
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1193
|
+
}, z.core.$strip>;
|
|
1633
1194
|
export declare const FalOptionsSchema: z.ZodObject<{
|
|
1634
1195
|
apiKey: z.ZodString;
|
|
1635
1196
|
baseURL: z.ZodOptional<z.ZodString>;
|
|
@@ -1637,25 +1198,11 @@ export declare const FalOptionsSchema: z.ZodObject<{
|
|
|
1637
1198
|
runBaseURL: z.ZodOptional<z.ZodString>;
|
|
1638
1199
|
restBaseURL: z.ZodOptional<z.ZodString>;
|
|
1639
1200
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1640
|
-
fetch: z.ZodOptional<z.
|
|
1641
|
-
},
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
queueBaseURL?: string | undefined;
|
|
1646
|
-
runBaseURL?: string | undefined;
|
|
1647
|
-
restBaseURL?: string | undefined;
|
|
1648
|
-
fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
|
|
1649
|
-
}, {
|
|
1650
|
-
apiKey: string;
|
|
1651
|
-
timeout?: number | undefined;
|
|
1652
|
-
baseURL?: string | undefined;
|
|
1653
|
-
queueBaseURL?: string | undefined;
|
|
1654
|
-
runBaseURL?: string | undefined;
|
|
1655
|
-
restBaseURL?: string | undefined;
|
|
1656
|
-
fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
|
|
1657
|
-
}>;
|
|
1658
|
-
export type FalEstimateRequest = z.infer<typeof FalPricingEstimateRequestSchema>;
|
|
1201
|
+
fetch: z.ZodOptional<z.ZodCustom<(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>, (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>>>;
|
|
1202
|
+
}, z.core.$strip>;
|
|
1203
|
+
export type FalEstimateRequest = z.input<typeof FalPricingEstimateRequestSchema>;
|
|
1204
|
+
export type FalEstimateRequestInput = FalEstimateRequest;
|
|
1205
|
+
export type FalEstimateParsedRequest = z.output<typeof FalPricingEstimateRequestSchema>;
|
|
1659
1206
|
export type FalQueueSubmitParams = z.infer<typeof FalQueueSubmitRequestSchema>;
|
|
1660
1207
|
export type FalLogsStreamParams = z.infer<typeof FalLogsStreamRequestSchema>;
|
|
1661
1208
|
export type FalFilesUploadUrlParams = z.infer<typeof FalFilesUploadUrlRequestSchema>;
|
|
@@ -1709,155 +1256,97 @@ export declare const FalKlingVideoO3p4kImageToVideoRequestSchema: z.ZodObject<{
|
|
|
1709
1256
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1710
1257
|
image_url: z.ZodString;
|
|
1711
1258
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1712
|
-
duration: z.ZodOptional<z.ZodEnum<
|
|
1259
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1260
|
+
4: "4";
|
|
1261
|
+
5: "5";
|
|
1262
|
+
3: "3";
|
|
1263
|
+
6: "6";
|
|
1264
|
+
7: "7";
|
|
1265
|
+
8: "8";
|
|
1266
|
+
9: "9";
|
|
1267
|
+
10: "10";
|
|
1268
|
+
11: "11";
|
|
1269
|
+
12: "12";
|
|
1270
|
+
13: "13";
|
|
1271
|
+
14: "14";
|
|
1272
|
+
15: "15";
|
|
1273
|
+
}>>;
|
|
1713
1274
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1714
1275
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1715
1276
|
prompt: z.ZodString;
|
|
1716
1277
|
duration: z.ZodOptional<z.ZodString>;
|
|
1717
|
-
},
|
|
1718
|
-
prompt: string;
|
|
1719
|
-
duration?: string | undefined;
|
|
1720
|
-
}, {
|
|
1721
|
-
prompt: string;
|
|
1722
|
-
duration?: string | undefined;
|
|
1723
|
-
}>, "many">>;
|
|
1278
|
+
}, z.core.$strip>>>;
|
|
1724
1279
|
shot_type: z.ZodOptional<z.ZodString>;
|
|
1725
|
-
},
|
|
1726
|
-
image_url: string;
|
|
1727
|
-
prompt?: string | undefined;
|
|
1728
|
-
end_image_url?: string | undefined;
|
|
1729
|
-
duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
1730
|
-
generate_audio?: boolean | undefined;
|
|
1731
|
-
multi_prompt?: {
|
|
1732
|
-
prompt: string;
|
|
1733
|
-
duration?: string | undefined;
|
|
1734
|
-
}[] | undefined;
|
|
1735
|
-
shot_type?: string | undefined;
|
|
1736
|
-
}, {
|
|
1737
|
-
image_url: string;
|
|
1738
|
-
prompt?: string | undefined;
|
|
1739
|
-
end_image_url?: string | undefined;
|
|
1740
|
-
duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
1741
|
-
generate_audio?: boolean | undefined;
|
|
1742
|
-
multi_prompt?: {
|
|
1743
|
-
prompt: string;
|
|
1744
|
-
duration?: string | undefined;
|
|
1745
|
-
}[] | undefined;
|
|
1746
|
-
shot_type?: string | undefined;
|
|
1747
|
-
}>;
|
|
1280
|
+
}, z.core.$strip>;
|
|
1748
1281
|
export type FalKlingVideoO3p4kImageToVideoParams = z.infer<typeof FalKlingVideoO3p4kImageToVideoRequestSchema>;
|
|
1749
1282
|
export declare const FalKlingVideoO3p4kReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1750
1283
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1751
1284
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1752
1285
|
prompt: z.ZodString;
|
|
1753
1286
|
duration: z.ZodOptional<z.ZodString>;
|
|
1754
|
-
},
|
|
1755
|
-
prompt: string;
|
|
1756
|
-
duration?: string | undefined;
|
|
1757
|
-
}, {
|
|
1758
|
-
prompt: string;
|
|
1759
|
-
duration?: string | undefined;
|
|
1760
|
-
}>, "many">>;
|
|
1287
|
+
}, z.core.$strip>>>;
|
|
1761
1288
|
start_image_url: z.ZodOptional<z.ZodString>;
|
|
1762
1289
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1763
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1290
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1764
1291
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1765
1292
|
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
1766
|
-
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1293
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1767
1294
|
video_url: z.ZodOptional<z.ZodString>;
|
|
1768
1295
|
voice_id: z.ZodOptional<z.ZodString>;
|
|
1769
|
-
},
|
|
1770
|
-
video_url?: string | undefined;
|
|
1771
|
-
reference_image_urls?: string[] | undefined;
|
|
1772
|
-
frontal_image_url?: string | undefined;
|
|
1773
|
-
voice_id?: string | undefined;
|
|
1774
|
-
}, {
|
|
1775
|
-
video_url?: string | undefined;
|
|
1776
|
-
reference_image_urls?: string[] | undefined;
|
|
1777
|
-
frontal_image_url?: string | undefined;
|
|
1778
|
-
voice_id?: string | undefined;
|
|
1779
|
-
}>, "many">>;
|
|
1296
|
+
}, z.core.$strip>>>;
|
|
1780
1297
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1781
|
-
duration: z.ZodOptional<z.ZodEnum<
|
|
1298
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1299
|
+
4: "4";
|
|
1300
|
+
5: "5";
|
|
1301
|
+
3: "3";
|
|
1302
|
+
6: "6";
|
|
1303
|
+
7: "7";
|
|
1304
|
+
8: "8";
|
|
1305
|
+
9: "9";
|
|
1306
|
+
10: "10";
|
|
1307
|
+
11: "11";
|
|
1308
|
+
12: "12";
|
|
1309
|
+
13: "13";
|
|
1310
|
+
14: "14";
|
|
1311
|
+
15: "15";
|
|
1312
|
+
}>>;
|
|
1782
1313
|
shot_type: z.ZodOptional<z.ZodString>;
|
|
1783
|
-
aspect_ratio: z.ZodOptional<z.ZodEnum<
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
generate_audio?: boolean | undefined;
|
|
1790
|
-
image_urls?: string[] | undefined;
|
|
1791
|
-
start_image_url?: string | undefined;
|
|
1792
|
-
multi_prompt?: {
|
|
1793
|
-
prompt: string;
|
|
1794
|
-
duration?: string | undefined;
|
|
1795
|
-
}[] | undefined;
|
|
1796
|
-
shot_type?: string | undefined;
|
|
1797
|
-
elements?: {
|
|
1798
|
-
video_url?: string | undefined;
|
|
1799
|
-
reference_image_urls?: string[] | undefined;
|
|
1800
|
-
frontal_image_url?: string | undefined;
|
|
1801
|
-
voice_id?: string | undefined;
|
|
1802
|
-
}[] | undefined;
|
|
1803
|
-
}, {
|
|
1804
|
-
prompt?: string | undefined;
|
|
1805
|
-
end_image_url?: string | undefined;
|
|
1806
|
-
duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
1807
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1808
|
-
generate_audio?: boolean | undefined;
|
|
1809
|
-
image_urls?: string[] | undefined;
|
|
1810
|
-
start_image_url?: string | undefined;
|
|
1811
|
-
multi_prompt?: {
|
|
1812
|
-
prompt: string;
|
|
1813
|
-
duration?: string | undefined;
|
|
1814
|
-
}[] | undefined;
|
|
1815
|
-
shot_type?: string | undefined;
|
|
1816
|
-
elements?: {
|
|
1817
|
-
video_url?: string | undefined;
|
|
1818
|
-
reference_image_urls?: string[] | undefined;
|
|
1819
|
-
frontal_image_url?: string | undefined;
|
|
1820
|
-
voice_id?: string | undefined;
|
|
1821
|
-
}[] | undefined;
|
|
1822
|
-
}>;
|
|
1314
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1315
|
+
"1:1": "1:1";
|
|
1316
|
+
"16:9": "16:9";
|
|
1317
|
+
"9:16": "9:16";
|
|
1318
|
+
}>>;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1823
1320
|
export type FalKlingVideoO3p4kReferenceToVideoParams = z.infer<typeof FalKlingVideoO3p4kReferenceToVideoRequestSchema>;
|
|
1824
1321
|
export declare const FalKlingVideoO3p4kTextToVideoRequestSchema: z.ZodObject<{
|
|
1825
1322
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1826
|
-
duration: z.ZodOptional<z.ZodEnum<
|
|
1827
|
-
|
|
1323
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1324
|
+
4: "4";
|
|
1325
|
+
5: "5";
|
|
1326
|
+
3: "3";
|
|
1327
|
+
6: "6";
|
|
1328
|
+
7: "7";
|
|
1329
|
+
8: "8";
|
|
1330
|
+
9: "9";
|
|
1331
|
+
10: "10";
|
|
1332
|
+
11: "11";
|
|
1333
|
+
12: "12";
|
|
1334
|
+
13: "13";
|
|
1335
|
+
14: "14";
|
|
1336
|
+
15: "15";
|
|
1337
|
+
}>>;
|
|
1338
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1339
|
+
"1:1": "1:1";
|
|
1340
|
+
"16:9": "16:9";
|
|
1341
|
+
"9:16": "9:16";
|
|
1342
|
+
}>>;
|
|
1828
1343
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1829
1344
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1830
1345
|
prompt: z.ZodString;
|
|
1831
1346
|
duration: z.ZodOptional<z.ZodString>;
|
|
1832
|
-
},
|
|
1833
|
-
prompt: string;
|
|
1834
|
-
duration?: string | undefined;
|
|
1835
|
-
}, {
|
|
1836
|
-
prompt: string;
|
|
1837
|
-
duration?: string | undefined;
|
|
1838
|
-
}>, "many">>;
|
|
1347
|
+
}, z.core.$strip>>>;
|
|
1839
1348
|
shot_type: z.ZodOptional<z.ZodString>;
|
|
1840
|
-
},
|
|
1841
|
-
prompt?: string | undefined;
|
|
1842
|
-
duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
1843
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1844
|
-
generate_audio?: boolean | undefined;
|
|
1845
|
-
multi_prompt?: {
|
|
1846
|
-
prompt: string;
|
|
1847
|
-
duration?: string | undefined;
|
|
1848
|
-
}[] | undefined;
|
|
1849
|
-
shot_type?: string | undefined;
|
|
1850
|
-
}, {
|
|
1851
|
-
prompt?: string | undefined;
|
|
1852
|
-
duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
|
|
1853
|
-
aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
|
|
1854
|
-
generate_audio?: boolean | undefined;
|
|
1855
|
-
multi_prompt?: {
|
|
1856
|
-
prompt: string;
|
|
1857
|
-
duration?: string | undefined;
|
|
1858
|
-
}[] | undefined;
|
|
1859
|
-
shot_type?: string | undefined;
|
|
1860
|
-
}>;
|
|
1349
|
+
}, z.core.$strip>;
|
|
1861
1350
|
export type FalKlingVideoO3p4kTextToVideoParams = z.infer<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1862
1351
|
export type FalOptions = z.infer<typeof FalOptionsSchema>;
|
|
1863
1352
|
//# sourceMappingURL=zod.d.ts.map
|