@apicity/fal 0.27.2 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +222 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +161 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +106 -1
- package/dist/src/fal.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +179 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +861 -26
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +764 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/zod.d.ts
CHANGED
|
@@ -227,6 +227,90 @@ export declare const FalSeedance2p0FastTextToVideoRequestSchema: z.ZodObject<{
|
|
|
227
227
|
}>>;
|
|
228
228
|
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
229
|
}, z.core.$strip>;
|
|
230
|
+
export declare const FalSeedance2p0MiniImageToVideoRequestSchema: z.ZodObject<{
|
|
231
|
+
prompt: z.ZodString;
|
|
232
|
+
image_url: z.ZodString;
|
|
233
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
235
|
+
"720p": "720p";
|
|
236
|
+
"480p": "480p";
|
|
237
|
+
}>>;
|
|
238
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
239
|
+
4: "4";
|
|
240
|
+
auto: "auto";
|
|
241
|
+
5: "5";
|
|
242
|
+
6: "6";
|
|
243
|
+
7: "7";
|
|
244
|
+
8: "8";
|
|
245
|
+
9: "9";
|
|
246
|
+
10: "10";
|
|
247
|
+
11: "11";
|
|
248
|
+
12: "12";
|
|
249
|
+
13: "13";
|
|
250
|
+
14: "14";
|
|
251
|
+
15: "15";
|
|
252
|
+
}>>;
|
|
253
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
254
|
+
"1:1": "1:1";
|
|
255
|
+
"16:9": "16:9";
|
|
256
|
+
auto: "auto";
|
|
257
|
+
"21:9": "21:9";
|
|
258
|
+
"9:16": "9:16";
|
|
259
|
+
"4:3": "4:3";
|
|
260
|
+
"3:4": "3:4";
|
|
261
|
+
}>>;
|
|
262
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
263
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
264
|
+
auto: "auto";
|
|
265
|
+
H264: "H264";
|
|
266
|
+
H265: "H265";
|
|
267
|
+
}>>;
|
|
268
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
export type FalSeedance2p0MiniImageToVideoRequest = z.input<typeof FalSeedance2p0MiniImageToVideoRequestSchema>;
|
|
271
|
+
export type FalSeedance2p0MiniImageToVideoRequestInput = FalSeedance2p0MiniImageToVideoRequest;
|
|
272
|
+
export type FalSeedance2p0MiniImageToVideoParsedRequest = z.output<typeof FalSeedance2p0MiniImageToVideoRequestSchema>;
|
|
273
|
+
export declare const FalSeedance2p0MiniTextToVideoRequestSchema: z.ZodObject<{
|
|
274
|
+
prompt: z.ZodString;
|
|
275
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
276
|
+
"720p": "720p";
|
|
277
|
+
"480p": "480p";
|
|
278
|
+
}>>;
|
|
279
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
280
|
+
4: "4";
|
|
281
|
+
auto: "auto";
|
|
282
|
+
5: "5";
|
|
283
|
+
6: "6";
|
|
284
|
+
7: "7";
|
|
285
|
+
8: "8";
|
|
286
|
+
9: "9";
|
|
287
|
+
10: "10";
|
|
288
|
+
11: "11";
|
|
289
|
+
12: "12";
|
|
290
|
+
13: "13";
|
|
291
|
+
14: "14";
|
|
292
|
+
15: "15";
|
|
293
|
+
}>>;
|
|
294
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
295
|
+
"1:1": "1:1";
|
|
296
|
+
"16:9": "16:9";
|
|
297
|
+
auto: "auto";
|
|
298
|
+
"21:9": "21:9";
|
|
299
|
+
"9:16": "9:16";
|
|
300
|
+
"4:3": "4:3";
|
|
301
|
+
"3:4": "3:4";
|
|
302
|
+
}>>;
|
|
303
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
304
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
305
|
+
auto: "auto";
|
|
306
|
+
H264: "H264";
|
|
307
|
+
H265: "H265";
|
|
308
|
+
}>>;
|
|
309
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
export type FalSeedance2p0MiniTextToVideoRequest = z.input<typeof FalSeedance2p0MiniTextToVideoRequestSchema>;
|
|
312
|
+
export type FalSeedance2p0MiniTextToVideoRequestInput = FalSeedance2p0MiniTextToVideoRequest;
|
|
313
|
+
export type FalSeedance2p0MiniTextToVideoParsedRequest = z.output<typeof FalSeedance2p0MiniTextToVideoRequestSchema>;
|
|
230
314
|
export declare const FalSeedance2p0ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
231
315
|
prompt: z.ZodString;
|
|
232
316
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -319,6 +403,50 @@ export declare const FalSeedance2p0FastReferenceToVideoRequestSchema: z.ZodObjec
|
|
|
319
403
|
}>>;
|
|
320
404
|
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
405
|
}, z.core.$strip>;
|
|
406
|
+
export declare const FalSeedance2p0MiniReferenceToVideoRequestSchema: z.ZodObject<{
|
|
407
|
+
prompt: z.ZodString;
|
|
408
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
412
|
+
"720p": "720p";
|
|
413
|
+
"480p": "480p";
|
|
414
|
+
}>>;
|
|
415
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
416
|
+
4: "4";
|
|
417
|
+
auto: "auto";
|
|
418
|
+
5: "5";
|
|
419
|
+
6: "6";
|
|
420
|
+
7: "7";
|
|
421
|
+
8: "8";
|
|
422
|
+
9: "9";
|
|
423
|
+
10: "10";
|
|
424
|
+
11: "11";
|
|
425
|
+
12: "12";
|
|
426
|
+
13: "13";
|
|
427
|
+
14: "14";
|
|
428
|
+
15: "15";
|
|
429
|
+
}>>;
|
|
430
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
431
|
+
"1:1": "1:1";
|
|
432
|
+
"16:9": "16:9";
|
|
433
|
+
auto: "auto";
|
|
434
|
+
"21:9": "21:9";
|
|
435
|
+
"9:16": "9:16";
|
|
436
|
+
"4:3": "4:3";
|
|
437
|
+
"3:4": "3:4";
|
|
438
|
+
}>>;
|
|
439
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
440
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
441
|
+
auto: "auto";
|
|
442
|
+
H264: "H264";
|
|
443
|
+
H265: "H265";
|
|
444
|
+
}>>;
|
|
445
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
+
}, z.core.$strip>;
|
|
447
|
+
export type FalSeedance2p0MiniReferenceToVideoRequest = z.input<typeof FalSeedance2p0MiniReferenceToVideoRequestSchema>;
|
|
448
|
+
export type FalSeedance2p0MiniReferenceToVideoRequestInput = FalSeedance2p0MiniReferenceToVideoRequest;
|
|
449
|
+
export type FalSeedance2p0MiniReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p0MiniReferenceToVideoRequestSchema>;
|
|
322
450
|
export declare const FalSeedance2p5TextToVideoRequestSchema: z.ZodObject<{
|
|
323
451
|
prompt: z.ZodString;
|
|
324
452
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4412,6 +4540,99 @@ export declare const FalGeminiOmniFlashV1p1EditRequestSchema: z.ZodObject<{
|
|
|
4412
4540
|
export type FalGeminiOmniFlashV1p1EditRequest = z.input<typeof FalGeminiOmniFlashV1p1EditRequestSchema>;
|
|
4413
4541
|
export type FalGeminiOmniFlashV1p1EditRequestInput = FalGeminiOmniFlashV1p1EditRequest;
|
|
4414
4542
|
export type FalGeminiOmniFlashV1p1EditParsedRequest = z.output<typeof FalGeminiOmniFlashV1p1EditRequestSchema>;
|
|
4543
|
+
export declare const FalGeminiOmniFlashV1p2EditRequestSchema: z.ZodObject<{
|
|
4544
|
+
prompt: z.ZodString;
|
|
4545
|
+
video_url: z.ZodString;
|
|
4546
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4547
|
+
"720p": "720p";
|
|
4548
|
+
"360p": "360p";
|
|
4549
|
+
"1080p": "1080p";
|
|
4550
|
+
"4k": "4k";
|
|
4551
|
+
}>>;
|
|
4552
|
+
}, z.core.$strip>;
|
|
4553
|
+
export type FalGeminiOmniFlashV1p2EditRequest = z.input<typeof FalGeminiOmniFlashV1p2EditRequestSchema>;
|
|
4554
|
+
export type FalGeminiOmniFlashV1p2EditRequestInput = FalGeminiOmniFlashV1p2EditRequest;
|
|
4555
|
+
export type FalGeminiOmniFlashV1p2EditParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2EditRequestSchema>;
|
|
4556
|
+
export declare const FalGeminiOmniFlashV1p2ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
4557
|
+
prompt: z.ZodString;
|
|
4558
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4559
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4560
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
4561
|
+
"16:9": "16:9";
|
|
4562
|
+
"9:16": "9:16";
|
|
4563
|
+
}>>;
|
|
4564
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4565
|
+
"720p": "720p";
|
|
4566
|
+
"360p": "360p";
|
|
4567
|
+
"1080p": "1080p";
|
|
4568
|
+
"4k": "4k";
|
|
4569
|
+
}>>;
|
|
4570
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4571
|
+
}, z.core.$strip>;
|
|
4572
|
+
export type FalGeminiOmniFlashV1p2ReferenceToVideoRequest = z.input<typeof FalGeminiOmniFlashV1p2ReferenceToVideoRequestSchema>;
|
|
4573
|
+
export type FalGeminiOmniFlashV1p2ReferenceToVideoRequestInput = FalGeminiOmniFlashV1p2ReferenceToVideoRequest;
|
|
4574
|
+
export type FalGeminiOmniFlashV1p2ReferenceToVideoParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2ReferenceToVideoRequestSchema>;
|
|
4575
|
+
export declare const FalGeminiOmniFlashV1p2TextToVideoRequestSchema: z.ZodObject<{
|
|
4576
|
+
prompt: z.ZodString;
|
|
4577
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
4578
|
+
"16:9": "16:9";
|
|
4579
|
+
"9:16": "9:16";
|
|
4580
|
+
}>>;
|
|
4581
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4582
|
+
"720p": "720p";
|
|
4583
|
+
"360p": "360p";
|
|
4584
|
+
"1080p": "1080p";
|
|
4585
|
+
"4k": "4k";
|
|
4586
|
+
}>>;
|
|
4587
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4588
|
+
}, z.core.$strip>;
|
|
4589
|
+
export type FalGeminiOmniFlashV1p2TextToVideoRequest = z.input<typeof FalGeminiOmniFlashV1p2TextToVideoRequestSchema>;
|
|
4590
|
+
export type FalGeminiOmniFlashV1p2TextToVideoRequestInput = FalGeminiOmniFlashV1p2TextToVideoRequest;
|
|
4591
|
+
export type FalGeminiOmniFlashV1p2TextToVideoParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2TextToVideoRequestSchema>;
|
|
4592
|
+
export declare const FalGeminiOmniFlashV1p2ImageToVideoRequestSchema: z.ZodObject<{
|
|
4593
|
+
prompt: z.ZodString;
|
|
4594
|
+
image_url: z.ZodString;
|
|
4595
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4596
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
4597
|
+
"16:9": "16:9";
|
|
4598
|
+
"9:16": "9:16";
|
|
4599
|
+
}>>;
|
|
4600
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4601
|
+
"720p": "720p";
|
|
4602
|
+
"360p": "360p";
|
|
4603
|
+
"1080p": "1080p";
|
|
4604
|
+
"4k": "4k";
|
|
4605
|
+
}>>;
|
|
4606
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4607
|
+
}, z.core.$strip>;
|
|
4608
|
+
export type FalGeminiOmniFlashV1p2ImageToVideoRequest = z.input<typeof FalGeminiOmniFlashV1p2ImageToVideoRequestSchema>;
|
|
4609
|
+
export type FalGeminiOmniFlashV1p2ImageToVideoRequestInput = FalGeminiOmniFlashV1p2ImageToVideoRequest;
|
|
4610
|
+
export type FalGeminiOmniFlashV1p2ImageToVideoParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2ImageToVideoRequestSchema>;
|
|
4611
|
+
export declare const FalGeminiOmniFlashV1p2ExtendRequestSchema: z.ZodObject<{
|
|
4612
|
+
prompt: z.ZodString;
|
|
4613
|
+
video_url: z.ZodString;
|
|
4614
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4615
|
+
"720p": "720p";
|
|
4616
|
+
"360p": "360p";
|
|
4617
|
+
"1080p": "1080p";
|
|
4618
|
+
"4k": "4k";
|
|
4619
|
+
}>>;
|
|
4620
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4621
|
+
}, z.core.$strip>;
|
|
4622
|
+
export type FalGeminiOmniFlashV1p2ExtendRequest = z.input<typeof FalGeminiOmniFlashV1p2ExtendRequestSchema>;
|
|
4623
|
+
export type FalGeminiOmniFlashV1p2ExtendRequestInput = FalGeminiOmniFlashV1p2ExtendRequest;
|
|
4624
|
+
export type FalGeminiOmniFlashV1p2ExtendParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2ExtendRequestSchema>;
|
|
4625
|
+
export declare const FalGeminiOmniFlashV1p2UpscaleRequestSchema: z.ZodObject<{
|
|
4626
|
+
video_url: z.ZodString;
|
|
4627
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4628
|
+
"720p": "720p";
|
|
4629
|
+
"1080p": "1080p";
|
|
4630
|
+
"4k": "4k";
|
|
4631
|
+
}>>;
|
|
4632
|
+
}, z.core.$strip>;
|
|
4633
|
+
export type FalGeminiOmniFlashV1p2UpscaleRequest = z.input<typeof FalGeminiOmniFlashV1p2UpscaleRequestSchema>;
|
|
4634
|
+
export type FalGeminiOmniFlashV1p2UpscaleRequestInput = FalGeminiOmniFlashV1p2UpscaleRequest;
|
|
4635
|
+
export type FalGeminiOmniFlashV1p2UpscaleParsedRequest = z.output<typeof FalGeminiOmniFlashV1p2UpscaleRequestSchema>;
|
|
4415
4636
|
export declare const FalGeminiOmniFlashV1p1ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
4416
4637
|
prompt: z.ZodString;
|
|
4417
4638
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -5396,10 +5617,8 @@ export declare const FalOpenaiGptImage2p5SunburstTextToImageRequestSchema: z.Zod
|
|
|
5396
5617
|
export type FalOpenaiGptImage2p5SunburstTextToImageRequest = z.input<typeof FalOpenaiGptImage2p5SunburstTextToImageRequestSchema>;
|
|
5397
5618
|
export type FalOpenaiGptImage2p5SunburstTextToImageRequestInput = FalOpenaiGptImage2p5SunburstTextToImageRequest;
|
|
5398
5619
|
export type FalOpenaiGptImage2p5SunburstTextToImageParsedRequest = z.output<typeof FalOpenaiGptImage2p5SunburstTextToImageRequestSchema>;
|
|
5399
|
-
export declare const
|
|
5620
|
+
export declare const FalOpenaiGptImage2p6SunburstTextToImageRequestSchema: z.ZodObject<{
|
|
5400
5621
|
prompt: z.ZodString;
|
|
5401
|
-
image_urls: z.ZodArray<z.ZodString>;
|
|
5402
|
-
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5403
5622
|
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5404
5623
|
width: z.ZodDefault<z.ZodNumber>;
|
|
5405
5624
|
height: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5425,20 +5644,41 @@ export declare const FalOpenaiGptImage2p5FlareEditRequestSchema: z.ZodObject<{
|
|
|
5425
5644
|
xhigh: "xhigh";
|
|
5426
5645
|
max: "max";
|
|
5427
5646
|
}>>;
|
|
5647
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
5648
|
+
low: "low";
|
|
5649
|
+
high: "high";
|
|
5650
|
+
medium: "medium";
|
|
5651
|
+
}>>;
|
|
5428
5652
|
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5429
5653
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5430
5654
|
png: "png";
|
|
5431
5655
|
jpeg: "jpeg";
|
|
5432
5656
|
webp: "webp";
|
|
5657
|
+
gif: "gif";
|
|
5658
|
+
svg: "svg";
|
|
5433
5659
|
}>>;
|
|
5434
5660
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5661
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
5662
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
5663
|
+
svg_model: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
5664
|
+
"gpt-6-astra": "gpt-6-astra";
|
|
5665
|
+
"gpt-5.5": "gpt-5.5";
|
|
5666
|
+
"gpt-5.4": "gpt-5.4";
|
|
5667
|
+
"gpt-5.6-terra": "gpt-5.6-terra";
|
|
5668
|
+
"gpt-6-luna": "gpt-6-luna";
|
|
5669
|
+
"gpt-6-sol": "gpt-6-sol";
|
|
5670
|
+
}>, z.ZodString]>>;
|
|
5435
5671
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5672
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5436
5673
|
}, z.core.$strip>;
|
|
5437
|
-
export type
|
|
5438
|
-
export type
|
|
5439
|
-
export type
|
|
5440
|
-
export declare const
|
|
5674
|
+
export type FalOpenaiGptImage2p6SunburstTextToImageRequest = z.input<typeof FalOpenaiGptImage2p6SunburstTextToImageRequestSchema>;
|
|
5675
|
+
export type FalOpenaiGptImage2p6SunburstTextToImageRequestInput = FalOpenaiGptImage2p6SunburstTextToImageRequest;
|
|
5676
|
+
export type FalOpenaiGptImage2p6SunburstTextToImageParsedRequest = z.output<typeof FalOpenaiGptImage2p6SunburstTextToImageRequestSchema>;
|
|
5677
|
+
export declare const FalOpenaiGptImage2p6SunburstEditRequestSchema: z.ZodObject<{
|
|
5441
5678
|
prompt: z.ZodString;
|
|
5679
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
5680
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5681
|
+
markup_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5442
5682
|
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5443
5683
|
width: z.ZodDefault<z.ZodNumber>;
|
|
5444
5684
|
height: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5464,45 +5704,242 @@ export declare const FalOpenaiGptImage2p5FlareTextToImageRequestSchema: z.ZodObj
|
|
|
5464
5704
|
xhigh: "xhigh";
|
|
5465
5705
|
max: "max";
|
|
5466
5706
|
}>>;
|
|
5707
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
5708
|
+
low: "low";
|
|
5709
|
+
high: "high";
|
|
5710
|
+
medium: "medium";
|
|
5711
|
+
}>>;
|
|
5467
5712
|
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5468
5713
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5469
5714
|
png: "png";
|
|
5470
5715
|
jpeg: "jpeg";
|
|
5471
5716
|
webp: "webp";
|
|
5717
|
+
gif: "gif";
|
|
5472
5718
|
}>>;
|
|
5473
5719
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5720
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
5721
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
5474
5722
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5723
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5475
5724
|
}, z.core.$strip>;
|
|
5476
|
-
export type
|
|
5477
|
-
export type
|
|
5478
|
-
export type
|
|
5479
|
-
export declare const
|
|
5725
|
+
export type FalOpenaiGptImage2p6SunburstEditRequest = z.input<typeof FalOpenaiGptImage2p6SunburstEditRequestSchema>;
|
|
5726
|
+
export type FalOpenaiGptImage2p6SunburstEditRequestInput = FalOpenaiGptImage2p6SunburstEditRequest;
|
|
5727
|
+
export type FalOpenaiGptImage2p6SunburstEditParsedRequest = z.output<typeof FalOpenaiGptImage2p6SunburstEditRequestSchema>;
|
|
5728
|
+
export declare const FalOpenaiGptImage2p6FlareEditRequestSchema: z.ZodObject<{
|
|
5480
5729
|
prompt: z.ZodString;
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5730
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
5731
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5732
|
+
markup_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5733
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5734
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5735
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5736
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5737
|
+
square: "square";
|
|
5485
5738
|
auto: "auto";
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5739
|
+
square_hd: "square_hd";
|
|
5740
|
+
portrait_4_3: "portrait_4_3";
|
|
5741
|
+
portrait_16_9: "portrait_16_9";
|
|
5742
|
+
landscape_4_3: "landscape_4_3";
|
|
5743
|
+
landscape_16_9: "landscape_16_9";
|
|
5744
|
+
}>]>>;
|
|
5745
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5746
|
+
auto: "auto";
|
|
5747
|
+
transparent: "transparent";
|
|
5748
|
+
opaque: "opaque";
|
|
5749
|
+
}>>;
|
|
5750
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5751
|
+
auto: "auto";
|
|
5752
|
+
low: "low";
|
|
5753
|
+
high: "high";
|
|
5754
|
+
medium: "medium";
|
|
5755
|
+
xhigh: "xhigh";
|
|
5756
|
+
max: "max";
|
|
5757
|
+
}>>;
|
|
5758
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
5759
|
+
low: "low";
|
|
5760
|
+
high: "high";
|
|
5761
|
+
medium: "medium";
|
|
5491
5762
|
}>>;
|
|
5763
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5492
5764
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5493
5765
|
png: "png";
|
|
5494
5766
|
jpeg: "jpeg";
|
|
5495
5767
|
webp: "webp";
|
|
5768
|
+
gif: "gif";
|
|
5496
5769
|
}>>;
|
|
5770
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5771
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
5772
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
5497
5773
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5774
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5498
5775
|
}, z.core.$strip>;
|
|
5499
|
-
export type
|
|
5500
|
-
export type
|
|
5501
|
-
export type
|
|
5502
|
-
export declare const
|
|
5776
|
+
export type FalOpenaiGptImage2p6FlareEditRequest = z.input<typeof FalOpenaiGptImage2p6FlareEditRequestSchema>;
|
|
5777
|
+
export type FalOpenaiGptImage2p6FlareEditRequestInput = FalOpenaiGptImage2p6FlareEditRequest;
|
|
5778
|
+
export type FalOpenaiGptImage2p6FlareEditParsedRequest = z.output<typeof FalOpenaiGptImage2p6FlareEditRequestSchema>;
|
|
5779
|
+
export declare const FalOpenaiGptImage2p6FlareTextToImageRequestSchema: z.ZodObject<{
|
|
5503
5780
|
prompt: z.ZodString;
|
|
5504
|
-
|
|
5505
|
-
|
|
5781
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5782
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5783
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5784
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5785
|
+
square: "square";
|
|
5786
|
+
auto: "auto";
|
|
5787
|
+
square_hd: "square_hd";
|
|
5788
|
+
portrait_4_3: "portrait_4_3";
|
|
5789
|
+
portrait_16_9: "portrait_16_9";
|
|
5790
|
+
landscape_4_3: "landscape_4_3";
|
|
5791
|
+
landscape_16_9: "landscape_16_9";
|
|
5792
|
+
}>]>>;
|
|
5793
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5794
|
+
auto: "auto";
|
|
5795
|
+
transparent: "transparent";
|
|
5796
|
+
opaque: "opaque";
|
|
5797
|
+
}>>;
|
|
5798
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5799
|
+
auto: "auto";
|
|
5800
|
+
low: "low";
|
|
5801
|
+
high: "high";
|
|
5802
|
+
medium: "medium";
|
|
5803
|
+
xhigh: "xhigh";
|
|
5804
|
+
max: "max";
|
|
5805
|
+
}>>;
|
|
5806
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
5807
|
+
low: "low";
|
|
5808
|
+
high: "high";
|
|
5809
|
+
medium: "medium";
|
|
5810
|
+
}>>;
|
|
5811
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5812
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5813
|
+
png: "png";
|
|
5814
|
+
jpeg: "jpeg";
|
|
5815
|
+
webp: "webp";
|
|
5816
|
+
gif: "gif";
|
|
5817
|
+
svg: "svg";
|
|
5818
|
+
}>>;
|
|
5819
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5820
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
5821
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
5822
|
+
svg_model: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
5823
|
+
"gpt-6-astra": "gpt-6-astra";
|
|
5824
|
+
"gpt-5.5": "gpt-5.5";
|
|
5825
|
+
"gpt-5.4": "gpt-5.4";
|
|
5826
|
+
"gpt-5.6-terra": "gpt-5.6-terra";
|
|
5827
|
+
"gpt-6-luna": "gpt-6-luna";
|
|
5828
|
+
"gpt-6-sol": "gpt-6-sol";
|
|
5829
|
+
}>, z.ZodString]>>;
|
|
5830
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5831
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5832
|
+
}, z.core.$strip>;
|
|
5833
|
+
export type FalOpenaiGptImage2p6FlareTextToImageRequest = z.input<typeof FalOpenaiGptImage2p6FlareTextToImageRequestSchema>;
|
|
5834
|
+
export type FalOpenaiGptImage2p6FlareTextToImageRequestInput = FalOpenaiGptImage2p6FlareTextToImageRequest;
|
|
5835
|
+
export type FalOpenaiGptImage2p6FlareTextToImageParsedRequest = z.output<typeof FalOpenaiGptImage2p6FlareTextToImageRequestSchema>;
|
|
5836
|
+
export declare const FalOpenaiGptImage2p5FlareEditRequestSchema: z.ZodObject<{
|
|
5837
|
+
prompt: z.ZodString;
|
|
5838
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
5839
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5840
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5841
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5842
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5843
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5844
|
+
square: "square";
|
|
5845
|
+
auto: "auto";
|
|
5846
|
+
square_hd: "square_hd";
|
|
5847
|
+
portrait_4_3: "portrait_4_3";
|
|
5848
|
+
portrait_16_9: "portrait_16_9";
|
|
5849
|
+
landscape_4_3: "landscape_4_3";
|
|
5850
|
+
landscape_16_9: "landscape_16_9";
|
|
5851
|
+
}>]>>;
|
|
5852
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5853
|
+
auto: "auto";
|
|
5854
|
+
transparent: "transparent";
|
|
5855
|
+
opaque: "opaque";
|
|
5856
|
+
}>>;
|
|
5857
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5858
|
+
auto: "auto";
|
|
5859
|
+
low: "low";
|
|
5860
|
+
high: "high";
|
|
5861
|
+
medium: "medium";
|
|
5862
|
+
xhigh: "xhigh";
|
|
5863
|
+
max: "max";
|
|
5864
|
+
}>>;
|
|
5865
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5866
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5867
|
+
png: "png";
|
|
5868
|
+
jpeg: "jpeg";
|
|
5869
|
+
webp: "webp";
|
|
5870
|
+
}>>;
|
|
5871
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5872
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5873
|
+
}, z.core.$strip>;
|
|
5874
|
+
export type FalOpenaiGptImage2p5FlareEditRequest = z.input<typeof FalOpenaiGptImage2p5FlareEditRequestSchema>;
|
|
5875
|
+
export type FalOpenaiGptImage2p5FlareEditRequestInput = FalOpenaiGptImage2p5FlareEditRequest;
|
|
5876
|
+
export type FalOpenaiGptImage2p5FlareEditParsedRequest = z.output<typeof FalOpenaiGptImage2p5FlareEditRequestSchema>;
|
|
5877
|
+
export declare const FalOpenaiGptImage2p5FlareTextToImageRequestSchema: z.ZodObject<{
|
|
5878
|
+
prompt: z.ZodString;
|
|
5879
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5880
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5881
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5882
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5883
|
+
square: "square";
|
|
5884
|
+
auto: "auto";
|
|
5885
|
+
square_hd: "square_hd";
|
|
5886
|
+
portrait_4_3: "portrait_4_3";
|
|
5887
|
+
portrait_16_9: "portrait_16_9";
|
|
5888
|
+
landscape_4_3: "landscape_4_3";
|
|
5889
|
+
landscape_16_9: "landscape_16_9";
|
|
5890
|
+
}>]>>;
|
|
5891
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5892
|
+
auto: "auto";
|
|
5893
|
+
transparent: "transparent";
|
|
5894
|
+
opaque: "opaque";
|
|
5895
|
+
}>>;
|
|
5896
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5897
|
+
auto: "auto";
|
|
5898
|
+
low: "low";
|
|
5899
|
+
high: "high";
|
|
5900
|
+
medium: "medium";
|
|
5901
|
+
xhigh: "xhigh";
|
|
5902
|
+
max: "max";
|
|
5903
|
+
}>>;
|
|
5904
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5905
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5906
|
+
png: "png";
|
|
5907
|
+
jpeg: "jpeg";
|
|
5908
|
+
webp: "webp";
|
|
5909
|
+
}>>;
|
|
5910
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5911
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5912
|
+
}, z.core.$strip>;
|
|
5913
|
+
export type FalOpenaiGptImage2p5FlareTextToImageRequest = z.input<typeof FalOpenaiGptImage2p5FlareTextToImageRequestSchema>;
|
|
5914
|
+
export type FalOpenaiGptImage2p5FlareTextToImageRequestInput = FalOpenaiGptImage2p5FlareTextToImageRequest;
|
|
5915
|
+
export type FalOpenaiGptImage2p5FlareTextToImageParsedRequest = z.output<typeof FalOpenaiGptImage2p5FlareTextToImageRequestSchema>;
|
|
5916
|
+
export declare const FalMicrosoftMaiImage2p5ProRequestSchema: z.ZodObject<{
|
|
5917
|
+
prompt: z.ZodString;
|
|
5918
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5919
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
5920
|
+
"1:1": "1:1";
|
|
5921
|
+
"16:9": "16:9";
|
|
5922
|
+
auto: "auto";
|
|
5923
|
+
"9:16": "9:16";
|
|
5924
|
+
"4:3": "4:3";
|
|
5925
|
+
"3:4": "3:4";
|
|
5926
|
+
"3:2": "3:2";
|
|
5927
|
+
"2:3": "2:3";
|
|
5928
|
+
}>>;
|
|
5929
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5930
|
+
png: "png";
|
|
5931
|
+
jpeg: "jpeg";
|
|
5932
|
+
webp: "webp";
|
|
5933
|
+
}>>;
|
|
5934
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5935
|
+
}, z.core.$strip>;
|
|
5936
|
+
export type FalMicrosoftMaiImage2p5ProRequest = z.input<typeof FalMicrosoftMaiImage2p5ProRequestSchema>;
|
|
5937
|
+
export type FalMicrosoftMaiImage2p5ProRequestInput = FalMicrosoftMaiImage2p5ProRequest;
|
|
5938
|
+
export type FalMicrosoftMaiImage2p5ProParsedRequest = z.output<typeof FalMicrosoftMaiImage2p5ProRequestSchema>;
|
|
5939
|
+
export declare const FalMicrosoftMaiImage2p5ProEditRequestSchema: z.ZodObject<{
|
|
5940
|
+
prompt: z.ZodString;
|
|
5941
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5942
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
5506
5943
|
"1:1": "1:1";
|
|
5507
5944
|
"16:9": "16:9";
|
|
5508
5945
|
auto: "auto";
|
|
@@ -22381,6 +22818,210 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
22381
22818
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22382
22819
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22383
22820
|
}, z.core.$strip>;
|
|
22821
|
+
readonly "openai/gpt-image-2.6/sunburst/text-to-image": z.ZodObject<{
|
|
22822
|
+
prompt: z.ZodString;
|
|
22823
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22824
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22825
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22826
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22827
|
+
square: "square";
|
|
22828
|
+
auto: "auto";
|
|
22829
|
+
square_hd: "square_hd";
|
|
22830
|
+
portrait_4_3: "portrait_4_3";
|
|
22831
|
+
portrait_16_9: "portrait_16_9";
|
|
22832
|
+
landscape_4_3: "landscape_4_3";
|
|
22833
|
+
landscape_16_9: "landscape_16_9";
|
|
22834
|
+
}>]>>;
|
|
22835
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22836
|
+
auto: "auto";
|
|
22837
|
+
transparent: "transparent";
|
|
22838
|
+
opaque: "opaque";
|
|
22839
|
+
}>>;
|
|
22840
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
22841
|
+
auto: "auto";
|
|
22842
|
+
low: "low";
|
|
22843
|
+
high: "high";
|
|
22844
|
+
medium: "medium";
|
|
22845
|
+
xhigh: "xhigh";
|
|
22846
|
+
max: "max";
|
|
22847
|
+
}>>;
|
|
22848
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
22849
|
+
low: "low";
|
|
22850
|
+
high: "high";
|
|
22851
|
+
medium: "medium";
|
|
22852
|
+
}>>;
|
|
22853
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
22854
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22855
|
+
png: "png";
|
|
22856
|
+
jpeg: "jpeg";
|
|
22857
|
+
webp: "webp";
|
|
22858
|
+
gif: "gif";
|
|
22859
|
+
svg: "svg";
|
|
22860
|
+
}>>;
|
|
22861
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22862
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
22863
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
22864
|
+
svg_model: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
22865
|
+
"gpt-6-astra": "gpt-6-astra";
|
|
22866
|
+
"gpt-5.5": "gpt-5.5";
|
|
22867
|
+
"gpt-5.4": "gpt-5.4";
|
|
22868
|
+
"gpt-5.6-terra": "gpt-5.6-terra";
|
|
22869
|
+
"gpt-6-luna": "gpt-6-luna";
|
|
22870
|
+
"gpt-6-sol": "gpt-6-sol";
|
|
22871
|
+
}>, z.ZodString]>>;
|
|
22872
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22873
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
22874
|
+
}, z.core.$strip>;
|
|
22875
|
+
readonly "openai/gpt-image-2.6/sunburst/edit": z.ZodObject<{
|
|
22876
|
+
prompt: z.ZodString;
|
|
22877
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22878
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22879
|
+
markup_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22880
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22881
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22882
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22883
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22884
|
+
square: "square";
|
|
22885
|
+
auto: "auto";
|
|
22886
|
+
square_hd: "square_hd";
|
|
22887
|
+
portrait_4_3: "portrait_4_3";
|
|
22888
|
+
portrait_16_9: "portrait_16_9";
|
|
22889
|
+
landscape_4_3: "landscape_4_3";
|
|
22890
|
+
landscape_16_9: "landscape_16_9";
|
|
22891
|
+
}>]>>;
|
|
22892
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22893
|
+
auto: "auto";
|
|
22894
|
+
transparent: "transparent";
|
|
22895
|
+
opaque: "opaque";
|
|
22896
|
+
}>>;
|
|
22897
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
22898
|
+
auto: "auto";
|
|
22899
|
+
low: "low";
|
|
22900
|
+
high: "high";
|
|
22901
|
+
medium: "medium";
|
|
22902
|
+
xhigh: "xhigh";
|
|
22903
|
+
max: "max";
|
|
22904
|
+
}>>;
|
|
22905
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
22906
|
+
low: "low";
|
|
22907
|
+
high: "high";
|
|
22908
|
+
medium: "medium";
|
|
22909
|
+
}>>;
|
|
22910
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
22911
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22912
|
+
png: "png";
|
|
22913
|
+
jpeg: "jpeg";
|
|
22914
|
+
webp: "webp";
|
|
22915
|
+
gif: "gif";
|
|
22916
|
+
}>>;
|
|
22917
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22918
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
22919
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
22920
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22921
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
22922
|
+
}, z.core.$strip>;
|
|
22923
|
+
readonly "openai/gpt-image-2.6/flare/edit": z.ZodObject<{
|
|
22924
|
+
prompt: z.ZodString;
|
|
22925
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22926
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22927
|
+
markup_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22928
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22929
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22930
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22931
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22932
|
+
square: "square";
|
|
22933
|
+
auto: "auto";
|
|
22934
|
+
square_hd: "square_hd";
|
|
22935
|
+
portrait_4_3: "portrait_4_3";
|
|
22936
|
+
portrait_16_9: "portrait_16_9";
|
|
22937
|
+
landscape_4_3: "landscape_4_3";
|
|
22938
|
+
landscape_16_9: "landscape_16_9";
|
|
22939
|
+
}>]>>;
|
|
22940
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22941
|
+
auto: "auto";
|
|
22942
|
+
transparent: "transparent";
|
|
22943
|
+
opaque: "opaque";
|
|
22944
|
+
}>>;
|
|
22945
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
22946
|
+
auto: "auto";
|
|
22947
|
+
low: "low";
|
|
22948
|
+
high: "high";
|
|
22949
|
+
medium: "medium";
|
|
22950
|
+
xhigh: "xhigh";
|
|
22951
|
+
max: "max";
|
|
22952
|
+
}>>;
|
|
22953
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
22954
|
+
low: "low";
|
|
22955
|
+
high: "high";
|
|
22956
|
+
medium: "medium";
|
|
22957
|
+
}>>;
|
|
22958
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
22959
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22960
|
+
png: "png";
|
|
22961
|
+
jpeg: "jpeg";
|
|
22962
|
+
webp: "webp";
|
|
22963
|
+
gif: "gif";
|
|
22964
|
+
}>>;
|
|
22965
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22966
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
22967
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
22968
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22969
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
22970
|
+
}, z.core.$strip>;
|
|
22971
|
+
readonly "openai/gpt-image-2.6/flare/text-to-image": z.ZodObject<{
|
|
22972
|
+
prompt: z.ZodString;
|
|
22973
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22974
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22975
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22976
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22977
|
+
square: "square";
|
|
22978
|
+
auto: "auto";
|
|
22979
|
+
square_hd: "square_hd";
|
|
22980
|
+
portrait_4_3: "portrait_4_3";
|
|
22981
|
+
portrait_16_9: "portrait_16_9";
|
|
22982
|
+
landscape_4_3: "landscape_4_3";
|
|
22983
|
+
landscape_16_9: "landscape_16_9";
|
|
22984
|
+
}>]>>;
|
|
22985
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22986
|
+
auto: "auto";
|
|
22987
|
+
transparent: "transparent";
|
|
22988
|
+
opaque: "opaque";
|
|
22989
|
+
}>>;
|
|
22990
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
22991
|
+
auto: "auto";
|
|
22992
|
+
low: "low";
|
|
22993
|
+
high: "high";
|
|
22994
|
+
medium: "medium";
|
|
22995
|
+
xhigh: "xhigh";
|
|
22996
|
+
max: "max";
|
|
22997
|
+
}>>;
|
|
22998
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
22999
|
+
low: "low";
|
|
23000
|
+
high: "high";
|
|
23001
|
+
medium: "medium";
|
|
23002
|
+
}>>;
|
|
23003
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23004
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23005
|
+
png: "png";
|
|
23006
|
+
jpeg: "jpeg";
|
|
23007
|
+
webp: "webp";
|
|
23008
|
+
gif: "gif";
|
|
23009
|
+
svg: "svg";
|
|
23010
|
+
}>>;
|
|
23011
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23012
|
+
frame_count: z.ZodDefault<z.ZodNumber>;
|
|
23013
|
+
frame_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
23014
|
+
svg_model: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
23015
|
+
"gpt-6-astra": "gpt-6-astra";
|
|
23016
|
+
"gpt-5.5": "gpt-5.5";
|
|
23017
|
+
"gpt-5.4": "gpt-5.4";
|
|
23018
|
+
"gpt-5.6-terra": "gpt-5.6-terra";
|
|
23019
|
+
"gpt-6-luna": "gpt-6-luna";
|
|
23020
|
+
"gpt-6-sol": "gpt-6-sol";
|
|
23021
|
+
}>, z.ZodString]>>;
|
|
23022
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23023
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23024
|
+
}, z.core.$strip>;
|
|
22384
23025
|
readonly "meta/muse-image/edit": z.ZodObject<{
|
|
22385
23026
|
prompt: z.ZodString;
|
|
22386
23027
|
image_urls: z.ZodArray<z.ZodString>;
|
|
@@ -23298,6 +23939,81 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
23298
23939
|
"4k": "4k";
|
|
23299
23940
|
}>>;
|
|
23300
23941
|
}, z.core.$strip>;
|
|
23942
|
+
readonly "google/gemini-omni-flash/v1.2/edit": z.ZodObject<{
|
|
23943
|
+
prompt: z.ZodString;
|
|
23944
|
+
video_url: z.ZodString;
|
|
23945
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
23946
|
+
"720p": "720p";
|
|
23947
|
+
"360p": "360p";
|
|
23948
|
+
"1080p": "1080p";
|
|
23949
|
+
"4k": "4k";
|
|
23950
|
+
}>>;
|
|
23951
|
+
}, z.core.$strip>;
|
|
23952
|
+
readonly "google/gemini-omni-flash/v1.2/reference-to-video": z.ZodObject<{
|
|
23953
|
+
prompt: z.ZodString;
|
|
23954
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23955
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23956
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
23957
|
+
"16:9": "16:9";
|
|
23958
|
+
"9:16": "9:16";
|
|
23959
|
+
}>>;
|
|
23960
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
23961
|
+
"720p": "720p";
|
|
23962
|
+
"360p": "360p";
|
|
23963
|
+
"1080p": "1080p";
|
|
23964
|
+
"4k": "4k";
|
|
23965
|
+
}>>;
|
|
23966
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
23967
|
+
}, z.core.$strip>;
|
|
23968
|
+
readonly "google/gemini-omni-flash/v1.2/text-to-video": z.ZodObject<{
|
|
23969
|
+
prompt: z.ZodString;
|
|
23970
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
23971
|
+
"16:9": "16:9";
|
|
23972
|
+
"9:16": "9:16";
|
|
23973
|
+
}>>;
|
|
23974
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
23975
|
+
"720p": "720p";
|
|
23976
|
+
"360p": "360p";
|
|
23977
|
+
"1080p": "1080p";
|
|
23978
|
+
"4k": "4k";
|
|
23979
|
+
}>>;
|
|
23980
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
23981
|
+
}, z.core.$strip>;
|
|
23982
|
+
readonly "google/gemini-omni-flash/v1.2/image-to-video": z.ZodObject<{
|
|
23983
|
+
prompt: z.ZodString;
|
|
23984
|
+
image_url: z.ZodString;
|
|
23985
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23986
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
23987
|
+
"16:9": "16:9";
|
|
23988
|
+
"9:16": "9:16";
|
|
23989
|
+
}>>;
|
|
23990
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
23991
|
+
"720p": "720p";
|
|
23992
|
+
"360p": "360p";
|
|
23993
|
+
"1080p": "1080p";
|
|
23994
|
+
"4k": "4k";
|
|
23995
|
+
}>>;
|
|
23996
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
23997
|
+
}, z.core.$strip>;
|
|
23998
|
+
readonly "google/gemini-omni-flash/v1.2/extend": z.ZodObject<{
|
|
23999
|
+
prompt: z.ZodString;
|
|
24000
|
+
video_url: z.ZodString;
|
|
24001
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
24002
|
+
"720p": "720p";
|
|
24003
|
+
"360p": "360p";
|
|
24004
|
+
"1080p": "1080p";
|
|
24005
|
+
"4k": "4k";
|
|
24006
|
+
}>>;
|
|
24007
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
24008
|
+
}, z.core.$strip>;
|
|
24009
|
+
readonly "google/gemini-omni-flash/v1.2/upscale": z.ZodObject<{
|
|
24010
|
+
video_url: z.ZodString;
|
|
24011
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
24012
|
+
"720p": "720p";
|
|
24013
|
+
"1080p": "1080p";
|
|
24014
|
+
"4k": "4k";
|
|
24015
|
+
}>>;
|
|
24016
|
+
}, z.core.$strip>;
|
|
23301
24017
|
readonly "xai/grok-imagine-video/v1.5/image-to-video": z.ZodObject<{
|
|
23302
24018
|
prompt: z.ZodString;
|
|
23303
24019
|
duration: z.ZodDefault<z.ZodNumber>;
|
|
@@ -25071,6 +25787,125 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
25071
25787
|
}>>;
|
|
25072
25788
|
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25073
25789
|
}, z.core.$strip>;
|
|
25790
|
+
readonly "bytedance/seedance-2.0/mini/image-to-video": z.ZodObject<{
|
|
25791
|
+
prompt: z.ZodString;
|
|
25792
|
+
image_url: z.ZodString;
|
|
25793
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25794
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
25795
|
+
"720p": "720p";
|
|
25796
|
+
"480p": "480p";
|
|
25797
|
+
}>>;
|
|
25798
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
25799
|
+
4: "4";
|
|
25800
|
+
auto: "auto";
|
|
25801
|
+
5: "5";
|
|
25802
|
+
6: "6";
|
|
25803
|
+
7: "7";
|
|
25804
|
+
8: "8";
|
|
25805
|
+
9: "9";
|
|
25806
|
+
10: "10";
|
|
25807
|
+
11: "11";
|
|
25808
|
+
12: "12";
|
|
25809
|
+
13: "13";
|
|
25810
|
+
14: "14";
|
|
25811
|
+
15: "15";
|
|
25812
|
+
}>>;
|
|
25813
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
25814
|
+
"1:1": "1:1";
|
|
25815
|
+
"16:9": "16:9";
|
|
25816
|
+
auto: "auto";
|
|
25817
|
+
"21:9": "21:9";
|
|
25818
|
+
"9:16": "9:16";
|
|
25819
|
+
"4:3": "4:3";
|
|
25820
|
+
"3:4": "3:4";
|
|
25821
|
+
}>>;
|
|
25822
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
25823
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
25824
|
+
auto: "auto";
|
|
25825
|
+
H264: "H264";
|
|
25826
|
+
H265: "H265";
|
|
25827
|
+
}>>;
|
|
25828
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25829
|
+
}, z.core.$strip>;
|
|
25830
|
+
readonly "bytedance/seedance-2.0/mini/reference-to-video": z.ZodObject<{
|
|
25831
|
+
prompt: z.ZodString;
|
|
25832
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25833
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25834
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25835
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
25836
|
+
"720p": "720p";
|
|
25837
|
+
"480p": "480p";
|
|
25838
|
+
}>>;
|
|
25839
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
25840
|
+
4: "4";
|
|
25841
|
+
auto: "auto";
|
|
25842
|
+
5: "5";
|
|
25843
|
+
6: "6";
|
|
25844
|
+
7: "7";
|
|
25845
|
+
8: "8";
|
|
25846
|
+
9: "9";
|
|
25847
|
+
10: "10";
|
|
25848
|
+
11: "11";
|
|
25849
|
+
12: "12";
|
|
25850
|
+
13: "13";
|
|
25851
|
+
14: "14";
|
|
25852
|
+
15: "15";
|
|
25853
|
+
}>>;
|
|
25854
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
25855
|
+
"1:1": "1:1";
|
|
25856
|
+
"16:9": "16:9";
|
|
25857
|
+
auto: "auto";
|
|
25858
|
+
"21:9": "21:9";
|
|
25859
|
+
"9:16": "9:16";
|
|
25860
|
+
"4:3": "4:3";
|
|
25861
|
+
"3:4": "3:4";
|
|
25862
|
+
}>>;
|
|
25863
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
25864
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
25865
|
+
auto: "auto";
|
|
25866
|
+
H264: "H264";
|
|
25867
|
+
H265: "H265";
|
|
25868
|
+
}>>;
|
|
25869
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25870
|
+
}, z.core.$strip>;
|
|
25871
|
+
readonly "bytedance/seedance-2.0/mini/text-to-video": z.ZodObject<{
|
|
25872
|
+
prompt: z.ZodString;
|
|
25873
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
25874
|
+
"720p": "720p";
|
|
25875
|
+
"480p": "480p";
|
|
25876
|
+
}>>;
|
|
25877
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
25878
|
+
4: "4";
|
|
25879
|
+
auto: "auto";
|
|
25880
|
+
5: "5";
|
|
25881
|
+
6: "6";
|
|
25882
|
+
7: "7";
|
|
25883
|
+
8: "8";
|
|
25884
|
+
9: "9";
|
|
25885
|
+
10: "10";
|
|
25886
|
+
11: "11";
|
|
25887
|
+
12: "12";
|
|
25888
|
+
13: "13";
|
|
25889
|
+
14: "14";
|
|
25890
|
+
15: "15";
|
|
25891
|
+
}>>;
|
|
25892
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
25893
|
+
"1:1": "1:1";
|
|
25894
|
+
"16:9": "16:9";
|
|
25895
|
+
auto: "auto";
|
|
25896
|
+
"21:9": "21:9";
|
|
25897
|
+
"9:16": "9:16";
|
|
25898
|
+
"4:3": "4:3";
|
|
25899
|
+
"3:4": "3:4";
|
|
25900
|
+
}>>;
|
|
25901
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
25902
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
25903
|
+
auto: "auto";
|
|
25904
|
+
H264: "H264";
|
|
25905
|
+
H265: "H265";
|
|
25906
|
+
}>>;
|
|
25907
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25908
|
+
}, z.core.$strip>;
|
|
25074
25909
|
readonly "bytedance/seedance-2.0/reference-to-video": z.ZodObject<{
|
|
25075
25910
|
prompt: z.ZodString;
|
|
25076
25911
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|