@apicity/fal 0.8.0 → 0.8.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/dist/src/fal.js +3 -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 +95 -95
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1485 -2
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +83 -14
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/zod.d.ts
CHANGED
|
@@ -723,11 +723,11 @@ export declare const FalSeedreamV5LiteEditRequestSchema: z.ZodObject<{
|
|
|
723
723
|
landscape_16_9: "landscape_16_9";
|
|
724
724
|
auto_2K: "auto_2K";
|
|
725
725
|
auto_3K: "auto_3K";
|
|
726
|
+
auto_4K: "auto_4K";
|
|
726
727
|
}>, z.ZodObject<{
|
|
727
728
|
width: z.ZodNumber;
|
|
728
729
|
height: z.ZodNumber;
|
|
729
730
|
}, z.core.$strip>]>>;
|
|
730
|
-
auto_4K: z.ZodOptional<z.ZodBoolean>;
|
|
731
731
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
732
732
|
max_images: z.ZodOptional<z.ZodNumber>;
|
|
733
733
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -744,11 +744,12 @@ export declare const FalSeedreamV5LiteTextToImageRequestSchema: z.ZodObject<{
|
|
|
744
744
|
landscape_16_9: "landscape_16_9";
|
|
745
745
|
auto_2K: "auto_2K";
|
|
746
746
|
auto_3K: "auto_3K";
|
|
747
|
+
auto_4K: "auto_4K";
|
|
747
748
|
}>, z.ZodObject<{
|
|
748
749
|
width: z.ZodNumber;
|
|
749
750
|
height: z.ZodNumber;
|
|
750
751
|
}, z.core.$strip>]>>;
|
|
751
|
-
|
|
752
|
+
return_byteplus_urls: z.ZodOptional<z.ZodBoolean>;
|
|
752
753
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
753
754
|
max_images: z.ZodOptional<z.ZodNumber>;
|
|
754
755
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1296,51 +1297,180 @@ export type FalFilesUploadUrlParams = z.infer<typeof FalFilesUploadUrlRequestSch
|
|
|
1296
1297
|
export type FalFilesUploadLocalParams = z.infer<typeof FalFilesUploadLocalRequestSchema>;
|
|
1297
1298
|
export type FalDeletePayloadsParams = z.infer<typeof FalDeletePayloadsRequestSchema>;
|
|
1298
1299
|
export type FalSeedance2p0ImageToVideoParams = z.infer<typeof FalSeedance2p0ImageToVideoRequestSchema>;
|
|
1300
|
+
export type FalSeedance2p0ImageToVideoRequest = z.input<typeof FalSeedance2p0ImageToVideoRequestSchema>;
|
|
1301
|
+
export type FalSeedance2p0ImageToVideoRequestInput = FalSeedance2p0ImageToVideoRequest;
|
|
1302
|
+
export type FalSeedance2p0ImageToVideoParsedRequest = z.output<typeof FalSeedance2p0ImageToVideoRequestSchema>;
|
|
1299
1303
|
export type FalSeedance2p0TextToVideoParams = z.infer<typeof FalSeedance2p0TextToVideoRequestSchema>;
|
|
1304
|
+
export type FalSeedance2p0TextToVideoRequest = z.input<typeof FalSeedance2p0TextToVideoRequestSchema>;
|
|
1305
|
+
export type FalSeedance2p0TextToVideoRequestInput = FalSeedance2p0TextToVideoRequest;
|
|
1306
|
+
export type FalSeedance2p0TextToVideoParsedRequest = z.output<typeof FalSeedance2p0TextToVideoRequestSchema>;
|
|
1300
1307
|
export type FalSeedance2p0FastImageToVideoParams = z.infer<typeof FalSeedance2p0FastImageToVideoRequestSchema>;
|
|
1308
|
+
export type FalSeedance2p0FastImageToVideoRequest = z.input<typeof FalSeedance2p0FastImageToVideoRequestSchema>;
|
|
1309
|
+
export type FalSeedance2p0FastImageToVideoRequestInput = FalSeedance2p0FastImageToVideoRequest;
|
|
1310
|
+
export type FalSeedance2p0FastImageToVideoParsedRequest = z.output<typeof FalSeedance2p0FastImageToVideoRequestSchema>;
|
|
1301
1311
|
export type FalSeedance2p0FastTextToVideoParams = z.infer<typeof FalSeedance2p0FastTextToVideoRequestSchema>;
|
|
1312
|
+
export type FalSeedance2p0FastTextToVideoRequest = z.input<typeof FalSeedance2p0FastTextToVideoRequestSchema>;
|
|
1313
|
+
export type FalSeedance2p0FastTextToVideoRequestInput = FalSeedance2p0FastTextToVideoRequest;
|
|
1314
|
+
export type FalSeedance2p0FastTextToVideoParsedRequest = z.output<typeof FalSeedance2p0FastTextToVideoRequestSchema>;
|
|
1302
1315
|
export type FalSeedance2p0ReferenceToVideoParams = z.infer<typeof FalSeedance2p0ReferenceToVideoRequestSchema>;
|
|
1316
|
+
export type FalSeedance2p0ReferenceToVideoRequest = z.input<typeof FalSeedance2p0ReferenceToVideoRequestSchema>;
|
|
1317
|
+
export type FalSeedance2p0ReferenceToVideoRequestInput = FalSeedance2p0ReferenceToVideoRequest;
|
|
1318
|
+
export type FalSeedance2p0ReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p0ReferenceToVideoRequestSchema>;
|
|
1303
1319
|
export type FalSeedance2p0FastReferenceToVideoParams = z.infer<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1320
|
+
export type FalSeedance2p0FastReferenceToVideoRequest = z.input<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1321
|
+
export type FalSeedance2p0FastReferenceToVideoRequestInput = FalSeedance2p0FastReferenceToVideoRequest;
|
|
1322
|
+
export type FalSeedance2p0FastReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1304
1323
|
export type FalNanoBananaProTextToImageParams = z.infer<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1324
|
+
export type FalNanoBananaProTextToImageRequest = z.input<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1325
|
+
export type FalNanoBananaProTextToImageRequestInput = FalNanoBananaProTextToImageRequest;
|
|
1326
|
+
export type FalNanoBananaProTextToImageParsedRequest = z.output<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1305
1327
|
export type FalNanoBananaProEditParams = z.infer<typeof FalNanoBananaProEditRequestSchema>;
|
|
1328
|
+
export type FalNanoBananaProEditRequest = z.input<typeof FalNanoBananaProEditRequestSchema>;
|
|
1329
|
+
export type FalNanoBananaProEditRequestInput = FalNanoBananaProEditRequest;
|
|
1330
|
+
export type FalNanoBananaProEditParsedRequest = z.output<typeof FalNanoBananaProEditRequestSchema>;
|
|
1306
1331
|
export type FalNanoBanana2TextToImageParams = z.infer<typeof FalNanoBanana2TextToImageRequestSchema>;
|
|
1332
|
+
export type FalNanoBanana2TextToImageRequest = z.input<typeof FalNanoBanana2TextToImageRequestSchema>;
|
|
1333
|
+
export type FalNanoBanana2TextToImageRequestInput = FalNanoBanana2TextToImageRequest;
|
|
1334
|
+
export type FalNanoBanana2TextToImageParsedRequest = z.output<typeof FalNanoBanana2TextToImageRequestSchema>;
|
|
1307
1335
|
export type FalNanoBanana2EditParams = z.infer<typeof FalNanoBanana2EditRequestSchema>;
|
|
1336
|
+
export type FalNanoBanana2EditRequest = z.input<typeof FalNanoBanana2EditRequestSchema>;
|
|
1337
|
+
export type FalNanoBanana2EditRequestInput = FalNanoBanana2EditRequest;
|
|
1338
|
+
export type FalNanoBanana2EditParsedRequest = z.output<typeof FalNanoBanana2EditRequestSchema>;
|
|
1308
1339
|
export type FalNanoBanana2LiteTextToImageParams = z.infer<typeof FalNanoBanana2LiteTextToImageRequestSchema>;
|
|
1340
|
+
export type FalNanoBanana2LiteTextToImageRequest = z.input<typeof FalNanoBanana2LiteTextToImageRequestSchema>;
|
|
1341
|
+
export type FalNanoBanana2LiteTextToImageRequestInput = FalNanoBanana2LiteTextToImageRequest;
|
|
1342
|
+
export type FalNanoBanana2LiteTextToImageParsedRequest = z.output<typeof FalNanoBanana2LiteTextToImageRequestSchema>;
|
|
1309
1343
|
export type FalNanoBanana2LiteEditParams = z.infer<typeof FalNanoBanana2LiteEditRequestSchema>;
|
|
1344
|
+
export type FalNanoBanana2LiteEditRequest = z.input<typeof FalNanoBanana2LiteEditRequestSchema>;
|
|
1345
|
+
export type FalNanoBanana2LiteEditRequestInput = FalNanoBanana2LiteEditRequest;
|
|
1346
|
+
export type FalNanoBanana2LiteEditParsedRequest = z.output<typeof FalNanoBanana2LiteEditRequestSchema>;
|
|
1310
1347
|
export type FalSeedreamV5LiteEditParams = z.infer<typeof FalSeedreamV5LiteEditRequestSchema>;
|
|
1348
|
+
export type FalSeedreamV5LiteEditRequest = z.input<typeof FalSeedreamV5LiteEditRequestSchema>;
|
|
1349
|
+
export type FalSeedreamV5LiteEditRequestInput = FalSeedreamV5LiteEditRequest;
|
|
1350
|
+
export type FalSeedreamV5LiteEditParsedRequest = z.output<typeof FalSeedreamV5LiteEditRequestSchema>;
|
|
1311
1351
|
export type FalSeedreamV5LiteTextToImageParams = z.infer<typeof FalSeedreamV5LiteTextToImageRequestSchema>;
|
|
1352
|
+
export type FalSeedreamV5LiteTextToImageRequest = z.input<typeof FalSeedreamV5LiteTextToImageRequestSchema>;
|
|
1353
|
+
export type FalSeedreamV5LiteTextToImageRequestInput = FalSeedreamV5LiteTextToImageRequest;
|
|
1354
|
+
export type FalSeedreamV5LiteTextToImageParsedRequest = z.output<typeof FalSeedreamV5LiteTextToImageRequestSchema>;
|
|
1312
1355
|
export type FalSeedSpeechTtsV2Params = z.infer<typeof FalSeedSpeechTtsV2RequestSchema>;
|
|
1356
|
+
export type FalSeedSpeechTtsV2Request = z.input<typeof FalSeedSpeechTtsV2RequestSchema>;
|
|
1357
|
+
export type FalSeedSpeechTtsV2RequestInput = FalSeedSpeechTtsV2Request;
|
|
1358
|
+
export type FalSeedSpeechTtsV2ParsedRequest = z.output<typeof FalSeedSpeechTtsV2RequestSchema>;
|
|
1313
1359
|
export type FalElevenlabsSpeechToTextScribeV2Params = z.infer<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1360
|
+
export type FalElevenlabsSpeechToTextScribeV2Request = z.input<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1361
|
+
export type FalElevenlabsSpeechToTextScribeV2RequestInput = FalElevenlabsSpeechToTextScribeV2Request;
|
|
1362
|
+
export type FalElevenlabsSpeechToTextScribeV2ParsedRequest = z.output<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1314
1363
|
export type FalWanV2p7TextToImageParams = z.infer<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1364
|
+
export type FalWanV2p7TextToImageRequest = z.input<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1365
|
+
export type FalWanV2p7TextToImageRequestInput = FalWanV2p7TextToImageRequest;
|
|
1366
|
+
export type FalWanV2p7TextToImageParsedRequest = z.output<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1315
1367
|
export type FalWanV2p7EditParams = z.infer<typeof FalWanV2p7EditRequestSchema>;
|
|
1368
|
+
export type FalWanV2p7EditRequest = z.input<typeof FalWanV2p7EditRequestSchema>;
|
|
1369
|
+
export type FalWanV2p7EditRequestInput = FalWanV2p7EditRequest;
|
|
1370
|
+
export type FalWanV2p7EditParsedRequest = z.output<typeof FalWanV2p7EditRequestSchema>;
|
|
1316
1371
|
export type FalWanV2p7TextToVideoParams = z.infer<typeof FalWanV2p7TextToVideoRequestSchema>;
|
|
1372
|
+
export type FalWanV2p7TextToVideoRequest = z.input<typeof FalWanV2p7TextToVideoRequestSchema>;
|
|
1373
|
+
export type FalWanV2p7TextToVideoRequestInput = FalWanV2p7TextToVideoRequest;
|
|
1374
|
+
export type FalWanV2p7TextToVideoParsedRequest = z.output<typeof FalWanV2p7TextToVideoRequestSchema>;
|
|
1317
1375
|
export type FalWanV2p7ImageToVideoParams = z.infer<typeof FalWanV2p7ImageToVideoRequestSchema>;
|
|
1376
|
+
export type FalWanV2p7ImageToVideoRequest = z.input<typeof FalWanV2p7ImageToVideoRequestSchema>;
|
|
1377
|
+
export type FalWanV2p7ImageToVideoRequestInput = FalWanV2p7ImageToVideoRequest;
|
|
1378
|
+
export type FalWanV2p7ImageToVideoParsedRequest = z.output<typeof FalWanV2p7ImageToVideoRequestSchema>;
|
|
1318
1379
|
export type FalWanV2p7ReferenceToVideoParams = z.infer<typeof FalWanV2p7ReferenceToVideoRequestSchema>;
|
|
1380
|
+
export type FalWanV2p7ReferenceToVideoRequest = z.input<typeof FalWanV2p7ReferenceToVideoRequestSchema>;
|
|
1381
|
+
export type FalWanV2p7ReferenceToVideoRequestInput = FalWanV2p7ReferenceToVideoRequest;
|
|
1382
|
+
export type FalWanV2p7ReferenceToVideoParsedRequest = z.output<typeof FalWanV2p7ReferenceToVideoRequestSchema>;
|
|
1319
1383
|
export type FalWanV2p7EditVideoParams = z.infer<typeof FalWanV2p7EditVideoRequestSchema>;
|
|
1384
|
+
export type FalWanV2p7EditVideoRequest = z.input<typeof FalWanV2p7EditVideoRequestSchema>;
|
|
1385
|
+
export type FalWanV2p7EditVideoRequestInput = FalWanV2p7EditVideoRequest;
|
|
1386
|
+
export type FalWanV2p7EditVideoParsedRequest = z.output<typeof FalWanV2p7EditVideoRequestSchema>;
|
|
1320
1387
|
export type FalXaiGrokImagineImageParams = z.infer<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1388
|
+
export type FalXaiGrokImagineImageRequest = z.input<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1389
|
+
export type FalXaiGrokImagineImageRequestInput = FalXaiGrokImagineImageRequest;
|
|
1390
|
+
export type FalXaiGrokImagineImageParsedRequest = z.output<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1321
1391
|
export type FalXaiGrokImagineImageEditParams = z.infer<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1392
|
+
export type FalXaiGrokImagineImageEditRequest = z.input<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1393
|
+
export type FalXaiGrokImagineImageEditRequestInput = FalXaiGrokImagineImageEditRequest;
|
|
1394
|
+
export type FalXaiGrokImagineImageEditParsedRequest = z.output<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1322
1395
|
export type FalQwenImageParams = z.infer<typeof FalQwenImageRequestSchema>;
|
|
1396
|
+
export type FalQwenImageRequest = z.input<typeof FalQwenImageRequestSchema>;
|
|
1397
|
+
export type FalQwenImageRequestInput = FalQwenImageRequest;
|
|
1398
|
+
export type FalQwenImageParsedRequest = z.output<typeof FalQwenImageRequestSchema>;
|
|
1323
1399
|
export type FalQwenImageEditParams = z.infer<typeof FalQwenImageEditRequestSchema>;
|
|
1400
|
+
export type FalQwenImageEditRequest = z.input<typeof FalQwenImageEditRequestSchema>;
|
|
1401
|
+
export type FalQwenImageEditRequestInput = FalQwenImageEditRequest;
|
|
1402
|
+
export type FalQwenImageEditParsedRequest = z.output<typeof FalQwenImageEditRequestSchema>;
|
|
1324
1403
|
export type FalGptImage1p5Params = z.infer<typeof FalGptImage1p5RequestSchema>;
|
|
1404
|
+
export type FalGptImage1p5Request = z.input<typeof FalGptImage1p5RequestSchema>;
|
|
1405
|
+
export type FalGptImage1p5RequestInput = FalGptImage1p5Request;
|
|
1406
|
+
export type FalGptImage1p5ParsedRequest = z.output<typeof FalGptImage1p5RequestSchema>;
|
|
1325
1407
|
export type FalGptImage1p5EditParams = z.infer<typeof FalGptImage1p5EditRequestSchema>;
|
|
1408
|
+
export type FalGptImage1p5EditRequest = z.input<typeof FalGptImage1p5EditRequestSchema>;
|
|
1409
|
+
export type FalGptImage1p5EditRequestInput = FalGptImage1p5EditRequest;
|
|
1410
|
+
export type FalGptImage1p5EditParsedRequest = z.output<typeof FalGptImage1p5EditRequestSchema>;
|
|
1326
1411
|
export type FalNanoBananaTextToImageParams = z.infer<typeof FalNanoBananaTextToImageRequestSchema>;
|
|
1412
|
+
export type FalNanoBananaTextToImageRequest = z.input<typeof FalNanoBananaTextToImageRequestSchema>;
|
|
1413
|
+
export type FalNanoBananaTextToImageRequestInput = FalNanoBananaTextToImageRequest;
|
|
1414
|
+
export type FalNanoBananaTextToImageParsedRequest = z.output<typeof FalNanoBananaTextToImageRequestSchema>;
|
|
1327
1415
|
export type FalNanoBananaEditParams = z.infer<typeof FalNanoBananaEditRequestSchema>;
|
|
1416
|
+
export type FalNanoBananaEditRequest = z.input<typeof FalNanoBananaEditRequestSchema>;
|
|
1417
|
+
export type FalNanoBananaEditRequestInput = FalNanoBananaEditRequest;
|
|
1418
|
+
export type FalNanoBananaEditParsedRequest = z.output<typeof FalNanoBananaEditRequestSchema>;
|
|
1328
1419
|
export type FalXaiGrokImagineVideoImageToVideoParams = z.infer<typeof FalXaiGrokImagineVideoImageToVideoRequestSchema>;
|
|
1420
|
+
export type FalXaiGrokImagineVideoImageToVideoRequest = z.input<typeof FalXaiGrokImagineVideoImageToVideoRequestSchema>;
|
|
1421
|
+
export type FalXaiGrokImagineVideoImageToVideoRequestInput = FalXaiGrokImagineVideoImageToVideoRequest;
|
|
1422
|
+
export type FalXaiGrokImagineVideoImageToVideoParsedRequest = z.output<typeof FalXaiGrokImagineVideoImageToVideoRequestSchema>;
|
|
1329
1423
|
export type FalXaiGrokImagineVideoReferenceToVideoParams = z.infer<typeof FalXaiGrokImagineVideoReferenceToVideoRequestSchema>;
|
|
1424
|
+
export type FalXaiGrokImagineVideoReferenceToVideoRequest = z.input<typeof FalXaiGrokImagineVideoReferenceToVideoRequestSchema>;
|
|
1425
|
+
export type FalXaiGrokImagineVideoReferenceToVideoRequestInput = FalXaiGrokImagineVideoReferenceToVideoRequest;
|
|
1426
|
+
export type FalXaiGrokImagineVideoReferenceToVideoParsedRequest = z.output<typeof FalXaiGrokImagineVideoReferenceToVideoRequestSchema>;
|
|
1330
1427
|
export type FalXaiGrokImagineVideoExtendVideoParams = z.infer<typeof FalXaiGrokImagineVideoExtendVideoRequestSchema>;
|
|
1428
|
+
export type FalXaiGrokImagineVideoExtendVideoRequest = z.input<typeof FalXaiGrokImagineVideoExtendVideoRequestSchema>;
|
|
1429
|
+
export type FalXaiGrokImagineVideoExtendVideoRequestInput = FalXaiGrokImagineVideoExtendVideoRequest;
|
|
1430
|
+
export type FalXaiGrokImagineVideoExtendVideoParsedRequest = z.output<typeof FalXaiGrokImagineVideoExtendVideoRequestSchema>;
|
|
1331
1431
|
export type FalXaiGrokImagineVideoEditVideoParams = z.infer<typeof FalXaiGrokImagineVideoEditVideoRequestSchema>;
|
|
1432
|
+
export type FalXaiGrokImagineVideoEditVideoRequest = z.input<typeof FalXaiGrokImagineVideoEditVideoRequestSchema>;
|
|
1433
|
+
export type FalXaiGrokImagineVideoEditVideoRequestInput = FalXaiGrokImagineVideoEditVideoRequest;
|
|
1434
|
+
export type FalXaiGrokImagineVideoEditVideoParsedRequest = z.output<typeof FalXaiGrokImagineVideoEditVideoRequestSchema>;
|
|
1332
1435
|
export type FalVeo3p1TextToVideoParams = z.infer<typeof FalVeo3p1TextToVideoRequestSchema>;
|
|
1436
|
+
export type FalVeo3p1TextToVideoRequest = z.input<typeof FalVeo3p1TextToVideoRequestSchema>;
|
|
1437
|
+
export type FalVeo3p1TextToVideoRequestInput = FalVeo3p1TextToVideoRequest;
|
|
1438
|
+
export type FalVeo3p1TextToVideoParsedRequest = z.output<typeof FalVeo3p1TextToVideoRequestSchema>;
|
|
1333
1439
|
export type FalVeo3p1ImageToVideoParams = z.infer<typeof FalVeo3p1ImageToVideoRequestSchema>;
|
|
1440
|
+
export type FalVeo3p1ImageToVideoRequest = z.input<typeof FalVeo3p1ImageToVideoRequestSchema>;
|
|
1441
|
+
export type FalVeo3p1ImageToVideoRequestInput = FalVeo3p1ImageToVideoRequest;
|
|
1442
|
+
export type FalVeo3p1ImageToVideoParsedRequest = z.output<typeof FalVeo3p1ImageToVideoRequestSchema>;
|
|
1334
1443
|
export type FalStorageUploadInitiateParams = z.infer<typeof FalStorageUploadInitiateRequestSchema>;
|
|
1335
1444
|
export type FalStorageUploadInitiateMultipartParams = z.infer<typeof FalStorageUploadInitiateMultipartRequestSchema>;
|
|
1336
1445
|
export type FalStorageUploadCompleteMultipartParams = z.infer<typeof FalStorageUploadCompleteMultipartRequestSchema>;
|
|
1337
1446
|
export type FalKlingVideoV3ProImageToVideoParams = z.infer<typeof FalKlingVideoV3ProImageToVideoRequestSchema>;
|
|
1447
|
+
export type FalKlingVideoV3ProImageToVideoRequest = z.input<typeof FalKlingVideoV3ProImageToVideoRequestSchema>;
|
|
1448
|
+
export type FalKlingVideoV3ProImageToVideoRequestInput = FalKlingVideoV3ProImageToVideoRequest;
|
|
1449
|
+
export type FalKlingVideoV3ProImageToVideoParsedRequest = z.output<typeof FalKlingVideoV3ProImageToVideoRequestSchema>;
|
|
1338
1450
|
export type FalKlingVideoV3ProTextToVideoParams = z.infer<typeof FalKlingVideoV3ProTextToVideoRequestSchema>;
|
|
1451
|
+
export type FalKlingVideoV3ProTextToVideoRequest = z.input<typeof FalKlingVideoV3ProTextToVideoRequestSchema>;
|
|
1452
|
+
export type FalKlingVideoV3ProTextToVideoRequestInput = FalKlingVideoV3ProTextToVideoRequest;
|
|
1453
|
+
export type FalKlingVideoV3ProTextToVideoParsedRequest = z.output<typeof FalKlingVideoV3ProTextToVideoRequestSchema>;
|
|
1339
1454
|
export type FalKlingVideoV3StandardImageToVideoParams = z.infer<typeof FalKlingVideoV3StandardImageToVideoRequestSchema>;
|
|
1455
|
+
export type FalKlingVideoV3StandardImageToVideoRequest = z.input<typeof FalKlingVideoV3StandardImageToVideoRequestSchema>;
|
|
1456
|
+
export type FalKlingVideoV3StandardImageToVideoRequestInput = FalKlingVideoV3StandardImageToVideoRequest;
|
|
1457
|
+
export type FalKlingVideoV3StandardImageToVideoParsedRequest = z.output<typeof FalKlingVideoV3StandardImageToVideoRequestSchema>;
|
|
1340
1458
|
export type FalKlingVideoV3StandardTextToVideoParams = z.infer<typeof FalKlingVideoV3StandardTextToVideoRequestSchema>;
|
|
1459
|
+
export type FalKlingVideoV3StandardTextToVideoRequest = z.input<typeof FalKlingVideoV3StandardTextToVideoRequestSchema>;
|
|
1460
|
+
export type FalKlingVideoV3StandardTextToVideoRequestInput = FalKlingVideoV3StandardTextToVideoRequest;
|
|
1461
|
+
export type FalKlingVideoV3StandardTextToVideoParsedRequest = z.output<typeof FalKlingVideoV3StandardTextToVideoRequestSchema>;
|
|
1341
1462
|
export type FalSora2TextToVideoParams = z.infer<typeof FalSora2TextToVideoRequestSchema>;
|
|
1463
|
+
export type FalSora2TextToVideoRequest = z.input<typeof FalSora2TextToVideoRequestSchema>;
|
|
1464
|
+
export type FalSora2TextToVideoRequestInput = FalSora2TextToVideoRequest;
|
|
1465
|
+
export type FalSora2TextToVideoParsedRequest = z.output<typeof FalSora2TextToVideoRequestSchema>;
|
|
1342
1466
|
export type FalSora2ImageToVideoParams = z.infer<typeof FalSora2ImageToVideoRequestSchema>;
|
|
1467
|
+
export type FalSora2ImageToVideoRequest = z.input<typeof FalSora2ImageToVideoRequestSchema>;
|
|
1468
|
+
export type FalSora2ImageToVideoRequestInput = FalSora2ImageToVideoRequest;
|
|
1469
|
+
export type FalSora2ImageToVideoParsedRequest = z.output<typeof FalSora2ImageToVideoRequestSchema>;
|
|
1343
1470
|
export type FalHunyuanImageV3InstructEditParams = z.infer<typeof FalHunyuanImageV3InstructEditRequestSchema>;
|
|
1471
|
+
export type FalHunyuanImageV3InstructEditRequest = z.input<typeof FalHunyuanImageV3InstructEditRequestSchema>;
|
|
1472
|
+
export type FalHunyuanImageV3InstructEditRequestInput = FalHunyuanImageV3InstructEditRequest;
|
|
1473
|
+
export type FalHunyuanImageV3InstructEditParsedRequest = z.output<typeof FalHunyuanImageV3InstructEditRequestSchema>;
|
|
1344
1474
|
export declare const FalKlingVideoO3p4kImageToVideoRequestSchema: z.ZodObject<{
|
|
1345
1475
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1346
1476
|
image_url: z.ZodString;
|
|
@@ -1368,6 +1498,9 @@ export declare const FalKlingVideoO3p4kImageToVideoRequestSchema: z.ZodObject<{
|
|
|
1368
1498
|
shot_type: z.ZodOptional<z.ZodString>;
|
|
1369
1499
|
}, z.core.$strip>;
|
|
1370
1500
|
export type FalKlingVideoO3p4kImageToVideoParams = z.infer<typeof FalKlingVideoO3p4kImageToVideoRequestSchema>;
|
|
1501
|
+
export type FalKlingVideoO3p4kImageToVideoRequest = z.input<typeof FalKlingVideoO3p4kImageToVideoRequestSchema>;
|
|
1502
|
+
export type FalKlingVideoO3p4kImageToVideoRequestInput = FalKlingVideoO3p4kImageToVideoRequest;
|
|
1503
|
+
export type FalKlingVideoO3p4kImageToVideoParsedRequest = z.output<typeof FalKlingVideoO3p4kImageToVideoRequestSchema>;
|
|
1371
1504
|
export declare const FalKlingVideoO3p4kReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1372
1505
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1373
1506
|
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1407,6 +1540,9 @@ export declare const FalKlingVideoO3p4kReferenceToVideoRequestSchema: z.ZodObjec
|
|
|
1407
1540
|
}>>;
|
|
1408
1541
|
}, z.core.$strip>;
|
|
1409
1542
|
export type FalKlingVideoO3p4kReferenceToVideoParams = z.infer<typeof FalKlingVideoO3p4kReferenceToVideoRequestSchema>;
|
|
1543
|
+
export type FalKlingVideoO3p4kReferenceToVideoRequest = z.input<typeof FalKlingVideoO3p4kReferenceToVideoRequestSchema>;
|
|
1544
|
+
export type FalKlingVideoO3p4kReferenceToVideoRequestInput = FalKlingVideoO3p4kReferenceToVideoRequest;
|
|
1545
|
+
export type FalKlingVideoO3p4kReferenceToVideoParsedRequest = z.output<typeof FalKlingVideoO3p4kReferenceToVideoRequestSchema>;
|
|
1410
1546
|
export declare const FalKlingVideoO3p4kTextToVideoRequestSchema: z.ZodObject<{
|
|
1411
1547
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1412
1548
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1437,5 +1573,1352 @@ export declare const FalKlingVideoO3p4kTextToVideoRequestSchema: z.ZodObject<{
|
|
|
1437
1573
|
shot_type: z.ZodOptional<z.ZodString>;
|
|
1438
1574
|
}, z.core.$strip>;
|
|
1439
1575
|
export type FalKlingVideoO3p4kTextToVideoParams = z.infer<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1576
|
+
export type FalKlingVideoO3p4kTextToVideoRequest = z.input<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1577
|
+
export type FalKlingVideoO3p4kTextToVideoRequestInput = FalKlingVideoO3p4kTextToVideoRequest;
|
|
1578
|
+
export type FalKlingVideoO3p4kTextToVideoParsedRequest = z.output<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1440
1579
|
export type FalOptions = z.infer<typeof FalOptionsSchema>;
|
|
1580
|
+
export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
1581
|
+
readonly "bytedance/seedance-2.0/image-to-video": z.ZodObject<{
|
|
1582
|
+
prompt: z.ZodString;
|
|
1583
|
+
image_url: z.ZodString;
|
|
1584
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1586
|
+
"480p": "480p";
|
|
1587
|
+
"720p": "720p";
|
|
1588
|
+
}>>;
|
|
1589
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1590
|
+
4: "4";
|
|
1591
|
+
5: "5";
|
|
1592
|
+
auto: "auto";
|
|
1593
|
+
6: "6";
|
|
1594
|
+
7: "7";
|
|
1595
|
+
8: "8";
|
|
1596
|
+
9: "9";
|
|
1597
|
+
10: "10";
|
|
1598
|
+
11: "11";
|
|
1599
|
+
12: "12";
|
|
1600
|
+
13: "13";
|
|
1601
|
+
14: "14";
|
|
1602
|
+
15: "15";
|
|
1603
|
+
}>>;
|
|
1604
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1605
|
+
"1:1": "1:1";
|
|
1606
|
+
"16:9": "16:9";
|
|
1607
|
+
auto: "auto";
|
|
1608
|
+
"21:9": "21:9";
|
|
1609
|
+
"4:3": "4:3";
|
|
1610
|
+
"3:4": "3:4";
|
|
1611
|
+
"9:16": "9:16";
|
|
1612
|
+
}>>;
|
|
1613
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1614
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
}, z.core.$strip>;
|
|
1617
|
+
readonly "bytedance/seedance-2.0/text-to-video": z.ZodObject<{
|
|
1618
|
+
prompt: z.ZodString;
|
|
1619
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1620
|
+
"480p": "480p";
|
|
1621
|
+
"720p": "720p";
|
|
1622
|
+
}>>;
|
|
1623
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1624
|
+
4: "4";
|
|
1625
|
+
5: "5";
|
|
1626
|
+
auto: "auto";
|
|
1627
|
+
6: "6";
|
|
1628
|
+
7: "7";
|
|
1629
|
+
8: "8";
|
|
1630
|
+
9: "9";
|
|
1631
|
+
10: "10";
|
|
1632
|
+
11: "11";
|
|
1633
|
+
12: "12";
|
|
1634
|
+
13: "13";
|
|
1635
|
+
14: "14";
|
|
1636
|
+
15: "15";
|
|
1637
|
+
}>>;
|
|
1638
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1639
|
+
"1:1": "1:1";
|
|
1640
|
+
"16:9": "16:9";
|
|
1641
|
+
auto: "auto";
|
|
1642
|
+
"21:9": "21:9";
|
|
1643
|
+
"4:3": "4:3";
|
|
1644
|
+
"3:4": "3:4";
|
|
1645
|
+
"9:16": "9:16";
|
|
1646
|
+
}>>;
|
|
1647
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1648
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1649
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
}, z.core.$strip>;
|
|
1651
|
+
readonly "bytedance/seedance-2.0/fast/image-to-video": z.ZodObject<{
|
|
1652
|
+
prompt: z.ZodString;
|
|
1653
|
+
image_url: z.ZodString;
|
|
1654
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1656
|
+
"480p": "480p";
|
|
1657
|
+
"720p": "720p";
|
|
1658
|
+
}>>;
|
|
1659
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1660
|
+
4: "4";
|
|
1661
|
+
5: "5";
|
|
1662
|
+
auto: "auto";
|
|
1663
|
+
6: "6";
|
|
1664
|
+
7: "7";
|
|
1665
|
+
8: "8";
|
|
1666
|
+
9: "9";
|
|
1667
|
+
10: "10";
|
|
1668
|
+
11: "11";
|
|
1669
|
+
12: "12";
|
|
1670
|
+
13: "13";
|
|
1671
|
+
14: "14";
|
|
1672
|
+
15: "15";
|
|
1673
|
+
}>>;
|
|
1674
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1675
|
+
"1:1": "1:1";
|
|
1676
|
+
"16:9": "16:9";
|
|
1677
|
+
auto: "auto";
|
|
1678
|
+
"21:9": "21:9";
|
|
1679
|
+
"4:3": "4:3";
|
|
1680
|
+
"3:4": "3:4";
|
|
1681
|
+
"9:16": "9:16";
|
|
1682
|
+
}>>;
|
|
1683
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1684
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1685
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
}, z.core.$strip>;
|
|
1687
|
+
readonly "bytedance/seedance-2.0/fast/text-to-video": z.ZodObject<{
|
|
1688
|
+
prompt: z.ZodString;
|
|
1689
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1690
|
+
"480p": "480p";
|
|
1691
|
+
"720p": "720p";
|
|
1692
|
+
}>>;
|
|
1693
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1694
|
+
4: "4";
|
|
1695
|
+
5: "5";
|
|
1696
|
+
auto: "auto";
|
|
1697
|
+
6: "6";
|
|
1698
|
+
7: "7";
|
|
1699
|
+
8: "8";
|
|
1700
|
+
9: "9";
|
|
1701
|
+
10: "10";
|
|
1702
|
+
11: "11";
|
|
1703
|
+
12: "12";
|
|
1704
|
+
13: "13";
|
|
1705
|
+
14: "14";
|
|
1706
|
+
15: "15";
|
|
1707
|
+
}>>;
|
|
1708
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1709
|
+
"1:1": "1:1";
|
|
1710
|
+
"16:9": "16:9";
|
|
1711
|
+
auto: "auto";
|
|
1712
|
+
"21:9": "21:9";
|
|
1713
|
+
"4:3": "4:3";
|
|
1714
|
+
"3:4": "3:4";
|
|
1715
|
+
"9:16": "9:16";
|
|
1716
|
+
}>>;
|
|
1717
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1718
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1719
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
}, z.core.$strip>;
|
|
1721
|
+
readonly "bytedance/seedance-2.0/reference-to-video": z.ZodObject<{
|
|
1722
|
+
prompt: z.ZodString;
|
|
1723
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1724
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1725
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1726
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1727
|
+
"480p": "480p";
|
|
1728
|
+
"720p": "720p";
|
|
1729
|
+
}>>;
|
|
1730
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1731
|
+
4: "4";
|
|
1732
|
+
5: "5";
|
|
1733
|
+
auto: "auto";
|
|
1734
|
+
6: "6";
|
|
1735
|
+
7: "7";
|
|
1736
|
+
8: "8";
|
|
1737
|
+
9: "9";
|
|
1738
|
+
10: "10";
|
|
1739
|
+
11: "11";
|
|
1740
|
+
12: "12";
|
|
1741
|
+
13: "13";
|
|
1742
|
+
14: "14";
|
|
1743
|
+
15: "15";
|
|
1744
|
+
}>>;
|
|
1745
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1746
|
+
"1:1": "1:1";
|
|
1747
|
+
"16:9": "16:9";
|
|
1748
|
+
auto: "auto";
|
|
1749
|
+
"21:9": "21:9";
|
|
1750
|
+
"4:3": "4:3";
|
|
1751
|
+
"3:4": "3:4";
|
|
1752
|
+
"9:16": "9:16";
|
|
1753
|
+
}>>;
|
|
1754
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1756
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
}, z.core.$strip>;
|
|
1758
|
+
readonly "bytedance/seedance-2.0/fast/reference-to-video": z.ZodObject<{
|
|
1759
|
+
prompt: z.ZodString;
|
|
1760
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1761
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1762
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1763
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1764
|
+
"480p": "480p";
|
|
1765
|
+
"720p": "720p";
|
|
1766
|
+
}>>;
|
|
1767
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
1768
|
+
4: "4";
|
|
1769
|
+
5: "5";
|
|
1770
|
+
auto: "auto";
|
|
1771
|
+
6: "6";
|
|
1772
|
+
7: "7";
|
|
1773
|
+
8: "8";
|
|
1774
|
+
9: "9";
|
|
1775
|
+
10: "10";
|
|
1776
|
+
11: "11";
|
|
1777
|
+
12: "12";
|
|
1778
|
+
13: "13";
|
|
1779
|
+
14: "14";
|
|
1780
|
+
15: "15";
|
|
1781
|
+
}>>;
|
|
1782
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1783
|
+
"1:1": "1:1";
|
|
1784
|
+
"16:9": "16:9";
|
|
1785
|
+
auto: "auto";
|
|
1786
|
+
"21:9": "21:9";
|
|
1787
|
+
"4:3": "4:3";
|
|
1788
|
+
"3:4": "3:4";
|
|
1789
|
+
"9:16": "9:16";
|
|
1790
|
+
}>>;
|
|
1791
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1792
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1793
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
readonly "fal-ai/nano-banana-pro/edit": z.ZodObject<{
|
|
1796
|
+
prompt: z.ZodString;
|
|
1797
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1798
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1799
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1800
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
+
"1:1": "1:1";
|
|
1802
|
+
"16:9": "16:9";
|
|
1803
|
+
auto: "auto";
|
|
1804
|
+
"21:9": "21:9";
|
|
1805
|
+
"4:3": "4:3";
|
|
1806
|
+
"3:4": "3:4";
|
|
1807
|
+
"9:16": "9:16";
|
|
1808
|
+
"3:2": "3:2";
|
|
1809
|
+
"5:4": "5:4";
|
|
1810
|
+
"4:5": "4:5";
|
|
1811
|
+
"2:3": "2:3";
|
|
1812
|
+
}>>;
|
|
1813
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1814
|
+
png: "png";
|
|
1815
|
+
jpeg: "jpeg";
|
|
1816
|
+
webp: "webp";
|
|
1817
|
+
}>>;
|
|
1818
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1819
|
+
4: "4";
|
|
1820
|
+
5: "5";
|
|
1821
|
+
1: "1";
|
|
1822
|
+
2: "2";
|
|
1823
|
+
3: "3";
|
|
1824
|
+
6: "6";
|
|
1825
|
+
}>>;
|
|
1826
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1827
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1828
|
+
"1K": "1K";
|
|
1829
|
+
"2K": "2K";
|
|
1830
|
+
"4K": "4K";
|
|
1831
|
+
}>>;
|
|
1832
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1833
|
+
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1834
|
+
}, z.core.$strip>;
|
|
1835
|
+
readonly "fal-ai/nano-banana-pro": z.ZodObject<{
|
|
1836
|
+
prompt: z.ZodString;
|
|
1837
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1838
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1839
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1840
|
+
"1:1": "1:1";
|
|
1841
|
+
"16:9": "16:9";
|
|
1842
|
+
auto: "auto";
|
|
1843
|
+
"21:9": "21:9";
|
|
1844
|
+
"4:3": "4:3";
|
|
1845
|
+
"3:4": "3:4";
|
|
1846
|
+
"9:16": "9:16";
|
|
1847
|
+
"3:2": "3:2";
|
|
1848
|
+
"5:4": "5:4";
|
|
1849
|
+
"4:5": "4:5";
|
|
1850
|
+
"2:3": "2:3";
|
|
1851
|
+
}>>;
|
|
1852
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1853
|
+
png: "png";
|
|
1854
|
+
jpeg: "jpeg";
|
|
1855
|
+
webp: "webp";
|
|
1856
|
+
}>>;
|
|
1857
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1858
|
+
4: "4";
|
|
1859
|
+
5: "5";
|
|
1860
|
+
1: "1";
|
|
1861
|
+
2: "2";
|
|
1862
|
+
3: "3";
|
|
1863
|
+
6: "6";
|
|
1864
|
+
}>>;
|
|
1865
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1866
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1867
|
+
"1K": "1K";
|
|
1868
|
+
"2K": "2K";
|
|
1869
|
+
"4K": "4K";
|
|
1870
|
+
}>>;
|
|
1871
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1872
|
+
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1873
|
+
}, z.core.$strip>;
|
|
1874
|
+
readonly "fal-ai/nano-banana": z.ZodObject<{
|
|
1875
|
+
prompt: z.ZodString;
|
|
1876
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1877
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1878
|
+
"1:1": "1:1";
|
|
1879
|
+
"16:9": "16:9";
|
|
1880
|
+
"21:9": "21:9";
|
|
1881
|
+
"4:3": "4:3";
|
|
1882
|
+
"3:4": "3:4";
|
|
1883
|
+
"9:16": "9:16";
|
|
1884
|
+
"3:2": "3:2";
|
|
1885
|
+
"5:4": "5:4";
|
|
1886
|
+
"4:5": "4:5";
|
|
1887
|
+
"2:3": "2:3";
|
|
1888
|
+
}>>;
|
|
1889
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1890
|
+
png: "png";
|
|
1891
|
+
jpeg: "jpeg";
|
|
1892
|
+
webp: "webp";
|
|
1893
|
+
}>>;
|
|
1894
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1895
|
+
4: "4";
|
|
1896
|
+
5: "5";
|
|
1897
|
+
1: "1";
|
|
1898
|
+
2: "2";
|
|
1899
|
+
3: "3";
|
|
1900
|
+
6: "6";
|
|
1901
|
+
}>>;
|
|
1902
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1903
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1904
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1905
|
+
}, z.core.$strip>;
|
|
1906
|
+
readonly "fal-ai/nano-banana/edit": z.ZodObject<{
|
|
1907
|
+
prompt: z.ZodString;
|
|
1908
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1909
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1910
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1911
|
+
"1:1": "1:1";
|
|
1912
|
+
"16:9": "16:9";
|
|
1913
|
+
auto: "auto";
|
|
1914
|
+
"21:9": "21:9";
|
|
1915
|
+
"4:3": "4:3";
|
|
1916
|
+
"3:4": "3:4";
|
|
1917
|
+
"9:16": "9:16";
|
|
1918
|
+
"3:2": "3:2";
|
|
1919
|
+
"5:4": "5:4";
|
|
1920
|
+
"4:5": "4:5";
|
|
1921
|
+
"2:3": "2:3";
|
|
1922
|
+
}>>;
|
|
1923
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1924
|
+
png: "png";
|
|
1925
|
+
jpeg: "jpeg";
|
|
1926
|
+
webp: "webp";
|
|
1927
|
+
}>>;
|
|
1928
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1929
|
+
4: "4";
|
|
1930
|
+
5: "5";
|
|
1931
|
+
1: "1";
|
|
1932
|
+
2: "2";
|
|
1933
|
+
3: "3";
|
|
1934
|
+
6: "6";
|
|
1935
|
+
}>>;
|
|
1936
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1937
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1938
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1939
|
+
}, z.core.$strip>;
|
|
1940
|
+
readonly "fal-ai/nano-banana-2": z.ZodObject<{
|
|
1941
|
+
prompt: z.ZodString;
|
|
1942
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1943
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1944
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1945
|
+
"1:1": "1:1";
|
|
1946
|
+
"16:9": "16:9";
|
|
1947
|
+
auto: "auto";
|
|
1948
|
+
"21:9": "21:9";
|
|
1949
|
+
"4:3": "4:3";
|
|
1950
|
+
"3:4": "3:4";
|
|
1951
|
+
"9:16": "9:16";
|
|
1952
|
+
"3:2": "3:2";
|
|
1953
|
+
"5:4": "5:4";
|
|
1954
|
+
"4:5": "4:5";
|
|
1955
|
+
"2:3": "2:3";
|
|
1956
|
+
"4:1": "4:1";
|
|
1957
|
+
"1:4": "1:4";
|
|
1958
|
+
"8:1": "8:1";
|
|
1959
|
+
"1:8": "1:8";
|
|
1960
|
+
}>>;
|
|
1961
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1962
|
+
png: "png";
|
|
1963
|
+
jpeg: "jpeg";
|
|
1964
|
+
webp: "webp";
|
|
1965
|
+
}>>;
|
|
1966
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
1967
|
+
4: "4";
|
|
1968
|
+
5: "5";
|
|
1969
|
+
1: "1";
|
|
1970
|
+
2: "2";
|
|
1971
|
+
3: "3";
|
|
1972
|
+
6: "6";
|
|
1973
|
+
}>>;
|
|
1974
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1975
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1976
|
+
"1K": "1K";
|
|
1977
|
+
"0.5K": "0.5K";
|
|
1978
|
+
"2K": "2K";
|
|
1979
|
+
"4K": "4K";
|
|
1980
|
+
}>>;
|
|
1981
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1982
|
+
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1983
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1984
|
+
minimal: "minimal";
|
|
1985
|
+
high: "high";
|
|
1986
|
+
}>>;
|
|
1987
|
+
}, z.core.$strip>;
|
|
1988
|
+
readonly "fal-ai/nano-banana-2/edit": z.ZodObject<{
|
|
1989
|
+
prompt: z.ZodString;
|
|
1990
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1991
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1992
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1994
|
+
"1:1": "1:1";
|
|
1995
|
+
"16:9": "16:9";
|
|
1996
|
+
auto: "auto";
|
|
1997
|
+
"21:9": "21:9";
|
|
1998
|
+
"4:3": "4:3";
|
|
1999
|
+
"3:4": "3:4";
|
|
2000
|
+
"9:16": "9:16";
|
|
2001
|
+
"3:2": "3:2";
|
|
2002
|
+
"5:4": "5:4";
|
|
2003
|
+
"4:5": "4:5";
|
|
2004
|
+
"2:3": "2:3";
|
|
2005
|
+
"4:1": "4:1";
|
|
2006
|
+
"1:4": "1:4";
|
|
2007
|
+
"8:1": "8:1";
|
|
2008
|
+
"1:8": "1:8";
|
|
2009
|
+
}>>;
|
|
2010
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2011
|
+
png: "png";
|
|
2012
|
+
jpeg: "jpeg";
|
|
2013
|
+
webp: "webp";
|
|
2014
|
+
}>>;
|
|
2015
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
2016
|
+
4: "4";
|
|
2017
|
+
5: "5";
|
|
2018
|
+
1: "1";
|
|
2019
|
+
2: "2";
|
|
2020
|
+
3: "3";
|
|
2021
|
+
6: "6";
|
|
2022
|
+
}>>;
|
|
2023
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2024
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2025
|
+
"1K": "1K";
|
|
2026
|
+
"0.5K": "0.5K";
|
|
2027
|
+
"2K": "2K";
|
|
2028
|
+
"4K": "4K";
|
|
2029
|
+
}>>;
|
|
2030
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2031
|
+
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2032
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2033
|
+
minimal: "minimal";
|
|
2034
|
+
high: "high";
|
|
2035
|
+
}>>;
|
|
2036
|
+
}, z.core.$strip>;
|
|
2037
|
+
readonly "google/nano-banana-2-lite": z.ZodObject<{
|
|
2038
|
+
prompt: z.ZodString;
|
|
2039
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2040
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2041
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2042
|
+
"1:1": "1:1";
|
|
2043
|
+
"16:9": "16:9";
|
|
2044
|
+
auto: "auto";
|
|
2045
|
+
"21:9": "21:9";
|
|
2046
|
+
"4:3": "4:3";
|
|
2047
|
+
"3:4": "3:4";
|
|
2048
|
+
"9:16": "9:16";
|
|
2049
|
+
"3:2": "3:2";
|
|
2050
|
+
"5:4": "5:4";
|
|
2051
|
+
"4:5": "4:5";
|
|
2052
|
+
"2:3": "2:3";
|
|
2053
|
+
"4:1": "4:1";
|
|
2054
|
+
"1:4": "1:4";
|
|
2055
|
+
"8:1": "8:1";
|
|
2056
|
+
"1:8": "1:8";
|
|
2057
|
+
}>>;
|
|
2058
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2059
|
+
png: "png";
|
|
2060
|
+
jpeg: "jpeg";
|
|
2061
|
+
webp: "webp";
|
|
2062
|
+
}>>;
|
|
2063
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
2064
|
+
4: "4";
|
|
2065
|
+
5: "5";
|
|
2066
|
+
1: "1";
|
|
2067
|
+
2: "2";
|
|
2068
|
+
3: "3";
|
|
2069
|
+
6: "6";
|
|
2070
|
+
}>>;
|
|
2071
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2072
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2074
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2075
|
+
minimal: "minimal";
|
|
2076
|
+
high: "high";
|
|
2077
|
+
}>>;
|
|
2078
|
+
}, z.core.$strip>;
|
|
2079
|
+
readonly "google/nano-banana-lite/edit": z.ZodObject<{
|
|
2080
|
+
prompt: z.ZodString;
|
|
2081
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2082
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2083
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2084
|
+
"1:1": "1:1";
|
|
2085
|
+
"16:9": "16:9";
|
|
2086
|
+
auto: "auto";
|
|
2087
|
+
"21:9": "21:9";
|
|
2088
|
+
"4:3": "4:3";
|
|
2089
|
+
"3:4": "3:4";
|
|
2090
|
+
"9:16": "9:16";
|
|
2091
|
+
"3:2": "3:2";
|
|
2092
|
+
"5:4": "5:4";
|
|
2093
|
+
"4:5": "4:5";
|
|
2094
|
+
"2:3": "2:3";
|
|
2095
|
+
"4:1": "4:1";
|
|
2096
|
+
"1:4": "1:4";
|
|
2097
|
+
"8:1": "8:1";
|
|
2098
|
+
"1:8": "1:8";
|
|
2099
|
+
}>>;
|
|
2100
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2101
|
+
png: "png";
|
|
2102
|
+
jpeg: "jpeg";
|
|
2103
|
+
webp: "webp";
|
|
2104
|
+
}>>;
|
|
2105
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
2106
|
+
4: "4";
|
|
2107
|
+
5: "5";
|
|
2108
|
+
1: "1";
|
|
2109
|
+
2: "2";
|
|
2110
|
+
3: "3";
|
|
2111
|
+
6: "6";
|
|
2112
|
+
}>>;
|
|
2113
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2114
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2116
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2117
|
+
minimal: "minimal";
|
|
2118
|
+
high: "high";
|
|
2119
|
+
}>>;
|
|
2120
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2121
|
+
}, z.core.$strip>;
|
|
2122
|
+
readonly "fal-ai/bytedance/seedream/v5/lite/edit": z.ZodObject<{
|
|
2123
|
+
prompt: z.ZodString;
|
|
2124
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
2125
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2126
|
+
square_hd: "square_hd";
|
|
2127
|
+
square: "square";
|
|
2128
|
+
portrait_4_3: "portrait_4_3";
|
|
2129
|
+
portrait_16_9: "portrait_16_9";
|
|
2130
|
+
landscape_4_3: "landscape_4_3";
|
|
2131
|
+
landscape_16_9: "landscape_16_9";
|
|
2132
|
+
auto_2K: "auto_2K";
|
|
2133
|
+
auto_3K: "auto_3K";
|
|
2134
|
+
auto_4K: "auto_4K";
|
|
2135
|
+
}>, z.ZodObject<{
|
|
2136
|
+
width: z.ZodNumber;
|
|
2137
|
+
height: z.ZodNumber;
|
|
2138
|
+
}, z.core.$strip>]>>;
|
|
2139
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2140
|
+
max_images: z.ZodOptional<z.ZodNumber>;
|
|
2141
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2142
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2143
|
+
}, z.core.$strip>;
|
|
2144
|
+
readonly "fal-ai/bytedance/seedream/v5/lite/text-to-image": z.ZodObject<{
|
|
2145
|
+
prompt: z.ZodString;
|
|
2146
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2147
|
+
square_hd: "square_hd";
|
|
2148
|
+
square: "square";
|
|
2149
|
+
portrait_4_3: "portrait_4_3";
|
|
2150
|
+
portrait_16_9: "portrait_16_9";
|
|
2151
|
+
landscape_4_3: "landscape_4_3";
|
|
2152
|
+
landscape_16_9: "landscape_16_9";
|
|
2153
|
+
auto_2K: "auto_2K";
|
|
2154
|
+
auto_3K: "auto_3K";
|
|
2155
|
+
auto_4K: "auto_4K";
|
|
2156
|
+
}>, z.ZodObject<{
|
|
2157
|
+
width: z.ZodNumber;
|
|
2158
|
+
height: z.ZodNumber;
|
|
2159
|
+
}, z.core.$strip>]>>;
|
|
2160
|
+
return_byteplus_urls: z.ZodOptional<z.ZodBoolean>;
|
|
2161
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2162
|
+
max_images: z.ZodOptional<z.ZodNumber>;
|
|
2163
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2164
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2165
|
+
}, z.core.$strip>;
|
|
2166
|
+
readonly "fal-ai/bytedance/seed-speech/tts/v2": z.ZodObject<{
|
|
2167
|
+
text: z.ZodString;
|
|
2168
|
+
voice: z.ZodOptional<z.ZodEnum<{
|
|
2169
|
+
stokie_en: "stokie_en";
|
|
2170
|
+
vivi_mixed_en_zh_ja_es_id: "vivi_mixed_en_zh_ja_es_id";
|
|
2171
|
+
mindy_en_es_id_pt_zh: "mindy_en_es_id_pt_zh";
|
|
2172
|
+
dacey_en: "dacey_en";
|
|
2173
|
+
tim_en: "tim_en";
|
|
2174
|
+
kian_en_zh: "kian_en_zh";
|
|
2175
|
+
cedric_en_zh: "cedric_en_zh";
|
|
2176
|
+
sophie_en_zh: "sophie_en_zh";
|
|
2177
|
+
jean_en_zh: "jean_en_zh";
|
|
2178
|
+
magnus_en_zh: "magnus_en_zh";
|
|
2179
|
+
mabel_en_zh: "mabel_en_zh";
|
|
2180
|
+
nadia_en_zh: "nadia_en_zh";
|
|
2181
|
+
opal_en_zh: "opal_en_zh";
|
|
2182
|
+
pearl_en_zh: "pearl_en_zh";
|
|
2183
|
+
quentin_en_zh: "quentin_en_zh";
|
|
2184
|
+
vienna_mixed_en_zh: "vienna_mixed_en_zh";
|
|
2185
|
+
alina_mixed_en_zh: "alina_mixed_en_zh";
|
|
2186
|
+
corinne_mixed_en_zh: "corinne_mixed_en_zh";
|
|
2187
|
+
esther_mixed_en_zh: "esther_mixed_en_zh";
|
|
2188
|
+
freya_mixed_en_zh: "freya_mixed_en_zh";
|
|
2189
|
+
gigi_mixed_en_zh: "gigi_mixed_en_zh";
|
|
2190
|
+
holly_mixed_en_zh: "holly_mixed_en_zh";
|
|
2191
|
+
lyla_mixed_en_zh: "lyla_mixed_en_zh";
|
|
2192
|
+
daisy_mixed_en_zh: "daisy_mixed_en_zh";
|
|
2193
|
+
tracy_es_zh: "tracy_es_zh";
|
|
2194
|
+
jess_ja_es_id_pt_en_zh: "jess_ja_es_id_pt_en_zh";
|
|
2195
|
+
pinky_es_ko_mixed_en_zh: "pinky_es_ko_mixed_en_zh";
|
|
2196
|
+
sweety_ja_es: "sweety_ja_es";
|
|
2197
|
+
sandy_es_mixed_en_zh: "sandy_es_mixed_en_zh";
|
|
2198
|
+
sven_de: "sven_de";
|
|
2199
|
+
minimi_ja: "minimi_ja";
|
|
2200
|
+
usseau_fr: "usseau_fr";
|
|
2201
|
+
felipe_es: "felipe_es";
|
|
2202
|
+
han_id: "han_id";
|
|
2203
|
+
martins_pt: "martins_pt";
|
|
2204
|
+
enzo_it: "enzo_it";
|
|
2205
|
+
shane_ko: "shane_ko";
|
|
2206
|
+
bonnie_zh: "bonnie_zh";
|
|
2207
|
+
felix_zh: "felix_zh";
|
|
2208
|
+
celeste_zh: "celeste_zh";
|
|
2209
|
+
monkey_king_zh: "monkey_king_zh";
|
|
2210
|
+
}>>;
|
|
2211
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2212
|
+
mp3: "mp3";
|
|
2213
|
+
opus: "opus";
|
|
2214
|
+
}>>;
|
|
2215
|
+
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>]>>;
|
|
2216
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
2217
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
2218
|
+
pitch: z.ZodOptional<z.ZodNumber>;
|
|
2219
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2220
|
+
en: "en";
|
|
2221
|
+
zh: "zh";
|
|
2222
|
+
ja: "ja";
|
|
2223
|
+
"es-mx": "es-mx";
|
|
2224
|
+
id: "id";
|
|
2225
|
+
"pt-br": "pt-br";
|
|
2226
|
+
ko: "ko";
|
|
2227
|
+
it: "it";
|
|
2228
|
+
de: "de";
|
|
2229
|
+
fr: "fr";
|
|
2230
|
+
}>>>;
|
|
2231
|
+
voice_instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2232
|
+
}, z.core.$strip>;
|
|
2233
|
+
readonly "fal-ai/elevenlabs/speech-to-text/scribe-v2": z.ZodObject<{
|
|
2234
|
+
audio_url: z.ZodString;
|
|
2235
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2236
|
+
tag_audio_events: z.ZodOptional<z.ZodBoolean>;
|
|
2237
|
+
diarize: z.ZodOptional<z.ZodBoolean>;
|
|
2238
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2239
|
+
}, z.core.$strip>;
|
|
2240
|
+
readonly "fal-ai/wan/v2.7/text-to-image": z.ZodObject<{
|
|
2241
|
+
prompt: z.ZodString;
|
|
2242
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2243
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2244
|
+
square_hd: "square_hd";
|
|
2245
|
+
square: "square";
|
|
2246
|
+
portrait_4_3: "portrait_4_3";
|
|
2247
|
+
portrait_16_9: "portrait_16_9";
|
|
2248
|
+
landscape_4_3: "landscape_4_3";
|
|
2249
|
+
landscape_16_9: "landscape_16_9";
|
|
2250
|
+
}>, z.ZodObject<{
|
|
2251
|
+
width: z.ZodNumber;
|
|
2252
|
+
height: z.ZodNumber;
|
|
2253
|
+
}, z.core.$strip>]>>;
|
|
2254
|
+
max_images: z.ZodOptional<z.ZodNumber>;
|
|
2255
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2256
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2257
|
+
}, z.core.$strip>;
|
|
2258
|
+
readonly "fal-ai/wan/v2.7/edit": z.ZodObject<{
|
|
2259
|
+
prompt: z.ZodString;
|
|
2260
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
2261
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2263
|
+
square_hd: "square_hd";
|
|
2264
|
+
square: "square";
|
|
2265
|
+
portrait_4_3: "portrait_4_3";
|
|
2266
|
+
portrait_16_9: "portrait_16_9";
|
|
2267
|
+
landscape_4_3: "landscape_4_3";
|
|
2268
|
+
landscape_16_9: "landscape_16_9";
|
|
2269
|
+
}>, z.ZodObject<{
|
|
2270
|
+
width: z.ZodNumber;
|
|
2271
|
+
height: z.ZodNumber;
|
|
2272
|
+
}, z.core.$strip>]>>;
|
|
2273
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2274
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2275
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2276
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2277
|
+
}, z.core.$strip>;
|
|
2278
|
+
readonly "fal-ai/wan/v2.7/pro/text-to-image": z.ZodObject<{
|
|
2279
|
+
prompt: z.ZodString;
|
|
2280
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2281
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2282
|
+
square_hd: "square_hd";
|
|
2283
|
+
square: "square";
|
|
2284
|
+
portrait_4_3: "portrait_4_3";
|
|
2285
|
+
portrait_16_9: "portrait_16_9";
|
|
2286
|
+
landscape_4_3: "landscape_4_3";
|
|
2287
|
+
landscape_16_9: "landscape_16_9";
|
|
2288
|
+
}>, z.ZodObject<{
|
|
2289
|
+
width: z.ZodNumber;
|
|
2290
|
+
height: z.ZodNumber;
|
|
2291
|
+
}, z.core.$strip>]>>;
|
|
2292
|
+
max_images: z.ZodOptional<z.ZodNumber>;
|
|
2293
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2294
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2295
|
+
}, z.core.$strip>;
|
|
2296
|
+
readonly "fal-ai/wan/v2.7/pro/edit": z.ZodObject<{
|
|
2297
|
+
prompt: z.ZodString;
|
|
2298
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
2299
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2300
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2301
|
+
square_hd: "square_hd";
|
|
2302
|
+
square: "square";
|
|
2303
|
+
portrait_4_3: "portrait_4_3";
|
|
2304
|
+
portrait_16_9: "portrait_16_9";
|
|
2305
|
+
landscape_4_3: "landscape_4_3";
|
|
2306
|
+
landscape_16_9: "landscape_16_9";
|
|
2307
|
+
}>, z.ZodObject<{
|
|
2308
|
+
width: z.ZodNumber;
|
|
2309
|
+
height: z.ZodNumber;
|
|
2310
|
+
}, z.core.$strip>]>>;
|
|
2311
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2313
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2314
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2315
|
+
}, z.core.$strip>;
|
|
2316
|
+
readonly "fal-ai/wan/v2.7/text-to-video": z.ZodObject<{
|
|
2317
|
+
prompt: z.ZodString;
|
|
2318
|
+
audio_url: z.ZodOptional<z.ZodString>;
|
|
2319
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2320
|
+
"1:1": "1:1";
|
|
2321
|
+
"16:9": "16:9";
|
|
2322
|
+
"4:3": "4:3";
|
|
2323
|
+
"3:4": "3:4";
|
|
2324
|
+
"9:16": "9:16";
|
|
2325
|
+
}>>;
|
|
2326
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2327
|
+
"720p": "720p";
|
|
2328
|
+
"1080p": "1080p";
|
|
2329
|
+
}>>;
|
|
2330
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2331
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2333
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
readonly "fal-ai/wan/v2.7/image-to-video": z.ZodObject<{
|
|
2337
|
+
prompt: z.ZodString;
|
|
2338
|
+
image_url: z.ZodString;
|
|
2339
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2340
|
+
video_url: z.ZodOptional<z.ZodString>;
|
|
2341
|
+
audio_url: z.ZodOptional<z.ZodString>;
|
|
2342
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2343
|
+
"720p": "720p";
|
|
2344
|
+
"1080p": "1080p";
|
|
2345
|
+
}>>;
|
|
2346
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2347
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2349
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2350
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2351
|
+
}, z.core.$strip>;
|
|
2352
|
+
readonly "fal-ai/wan/v2.7/reference-to-video": z.ZodObject<{
|
|
2353
|
+
prompt: z.ZodString;
|
|
2354
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2355
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2356
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2357
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2358
|
+
"1:1": "1:1";
|
|
2359
|
+
"16:9": "16:9";
|
|
2360
|
+
"4:3": "4:3";
|
|
2361
|
+
"3:4": "3:4";
|
|
2362
|
+
"9:16": "9:16";
|
|
2363
|
+
}>>;
|
|
2364
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2365
|
+
"720p": "720p";
|
|
2366
|
+
"1080p": "1080p";
|
|
2367
|
+
}>>;
|
|
2368
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
multi_shots: z.ZodOptional<z.ZodBoolean>;
|
|
2370
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2371
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2372
|
+
}, z.core.$strip>;
|
|
2373
|
+
readonly "fal-ai/wan/v2.7/edit-video": z.ZodObject<{
|
|
2374
|
+
prompt: z.ZodString;
|
|
2375
|
+
video_url: z.ZodString;
|
|
2376
|
+
reference_image_url: z.ZodOptional<z.ZodString>;
|
|
2377
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2378
|
+
"720p": "720p";
|
|
2379
|
+
"1080p": "1080p";
|
|
2380
|
+
}>>;
|
|
2381
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2382
|
+
"1:1": "1:1";
|
|
2383
|
+
"16:9": "16:9";
|
|
2384
|
+
"4:3": "4:3";
|
|
2385
|
+
"3:4": "3:4";
|
|
2386
|
+
"9:16": "9:16";
|
|
2387
|
+
}>>;
|
|
2388
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2389
|
+
audio_setting: z.ZodOptional<z.ZodEnum<{
|
|
2390
|
+
auto: "auto";
|
|
2391
|
+
origin: "origin";
|
|
2392
|
+
}>>;
|
|
2393
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2395
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2396
|
+
}, z.core.$strip>;
|
|
2397
|
+
readonly "xai/grok-imagine-image/edit": z.ZodObject<{
|
|
2398
|
+
prompt: z.ZodString;
|
|
2399
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2400
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2401
|
+
"1k": "1k";
|
|
2402
|
+
"2k": "2k";
|
|
2403
|
+
}>>;
|
|
2404
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
+
png: "png";
|
|
2406
|
+
jpeg: "jpeg";
|
|
2407
|
+
webp: "webp";
|
|
2408
|
+
}>>;
|
|
2409
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2410
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2411
|
+
}, z.core.$strip>;
|
|
2412
|
+
readonly "fal-ai/sora-2/text-to-video": z.ZodObject<{
|
|
2413
|
+
prompt: z.ZodString;
|
|
2414
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
2415
|
+
"sora-2": "sora-2";
|
|
2416
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
2417
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
2418
|
+
}>>;
|
|
2419
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2420
|
+
"720p": "720p";
|
|
2421
|
+
}>>;
|
|
2422
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2423
|
+
"16:9": "16:9";
|
|
2424
|
+
"9:16": "9:16";
|
|
2425
|
+
}>>;
|
|
2426
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
|
|
2427
|
+
delete_video: z.ZodOptional<z.ZodBoolean>;
|
|
2428
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2429
|
+
detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
|
|
2430
|
+
}, z.core.$strip>;
|
|
2431
|
+
readonly "fal-ai/sora-2/image-to-video": z.ZodObject<{
|
|
2432
|
+
prompt: z.ZodString;
|
|
2433
|
+
image_url: z.ZodString;
|
|
2434
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
2435
|
+
"sora-2": "sora-2";
|
|
2436
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
2437
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
2438
|
+
}>>;
|
|
2439
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2440
|
+
"720p": "720p";
|
|
2441
|
+
auto: "auto";
|
|
2442
|
+
}>>;
|
|
2443
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2444
|
+
"16:9": "16:9";
|
|
2445
|
+
auto: "auto";
|
|
2446
|
+
"9:16": "9:16";
|
|
2447
|
+
}>>;
|
|
2448
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
|
|
2449
|
+
delete_video: z.ZodOptional<z.ZodBoolean>;
|
|
2450
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2451
|
+
detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
|
|
2452
|
+
}, z.core.$strip>;
|
|
2453
|
+
readonly "fal-ai/hunyuan-image/v3/instruct/edit": z.ZodObject<{
|
|
2454
|
+
prompt: z.ZodString;
|
|
2455
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
2456
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2457
|
+
square_hd: "square_hd";
|
|
2458
|
+
auto: "auto";
|
|
2459
|
+
square: "square";
|
|
2460
|
+
portrait_4_3: "portrait_4_3";
|
|
2461
|
+
portrait_16_9: "portrait_16_9";
|
|
2462
|
+
landscape_4_3: "landscape_4_3";
|
|
2463
|
+
landscape_16_9: "landscape_16_9";
|
|
2464
|
+
}>, z.ZodObject<{
|
|
2465
|
+
width: z.ZodNumber;
|
|
2466
|
+
height: z.ZodNumber;
|
|
2467
|
+
}, z.core.$strip>]>>;
|
|
2468
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2469
|
+
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
2470
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2471
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2472
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2473
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2474
|
+
png: "png";
|
|
2475
|
+
jpeg: "jpeg";
|
|
2476
|
+
}>>;
|
|
2477
|
+
}, z.core.$strip>;
|
|
2478
|
+
readonly "fal-ai/kling-video/v3/pro/image-to-video": z.ZodObject<{
|
|
2479
|
+
start_image_url: z.ZodString;
|
|
2480
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2482
|
+
prompt: z.ZodString;
|
|
2483
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2484
|
+
}, z.core.$strip>>>;
|
|
2485
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2488
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
2489
|
+
customize: "customize";
|
|
2490
|
+
}>>;
|
|
2491
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
2493
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2494
|
+
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2496
|
+
video_url: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
voice_id: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
}, z.core.$strip>>>;
|
|
2499
|
+
}, z.core.$strip>;
|
|
2500
|
+
readonly "fal-ai/kling-video/v3/pro/text-to-video": z.ZodObject<{
|
|
2501
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2502
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2503
|
+
prompt: z.ZodString;
|
|
2504
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2505
|
+
}, z.core.$strip>>>;
|
|
2506
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2508
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
2509
|
+
customize: "customize";
|
|
2510
|
+
intelligent: "intelligent";
|
|
2511
|
+
}>>;
|
|
2512
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2513
|
+
"1:1": "1:1";
|
|
2514
|
+
"16:9": "16:9";
|
|
2515
|
+
"9:16": "9:16";
|
|
2516
|
+
}>>;
|
|
2517
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
2519
|
+
}, z.core.$strip>;
|
|
2520
|
+
readonly "fal-ai/kling-video/v3/standard/image-to-video": z.ZodObject<{
|
|
2521
|
+
start_image_url: z.ZodString;
|
|
2522
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2524
|
+
prompt: z.ZodString;
|
|
2525
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2526
|
+
}, z.core.$strip>>>;
|
|
2527
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2528
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2530
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
2531
|
+
customize: "customize";
|
|
2532
|
+
intelligent: "intelligent";
|
|
2533
|
+
}>>;
|
|
2534
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
2536
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2537
|
+
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
2538
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2539
|
+
video_url: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
voice_id: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
}, z.core.$strip>>>;
|
|
2542
|
+
}, z.core.$strip>;
|
|
2543
|
+
readonly "fal-ai/kling-video/v3/standard/text-to-video": z.ZodObject<{
|
|
2544
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2546
|
+
prompt: z.ZodString;
|
|
2547
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
}, z.core.$strip>>>;
|
|
2549
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2550
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2551
|
+
shot_type: z.ZodOptional<z.ZodEnum<{
|
|
2552
|
+
customize: "customize";
|
|
2553
|
+
intelligent: "intelligent";
|
|
2554
|
+
}>>;
|
|
2555
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2556
|
+
"1:1": "1:1";
|
|
2557
|
+
"16:9": "16:9";
|
|
2558
|
+
"9:16": "9:16";
|
|
2559
|
+
}>>;
|
|
2560
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2561
|
+
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
2562
|
+
}, z.core.$strip>;
|
|
2563
|
+
readonly "fal-ai/kling-video/o3/4k/image-to-video": z.ZodObject<{
|
|
2564
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2565
|
+
image_url: z.ZodString;
|
|
2566
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2567
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2568
|
+
4: "4";
|
|
2569
|
+
5: "5";
|
|
2570
|
+
3: "3";
|
|
2571
|
+
6: "6";
|
|
2572
|
+
7: "7";
|
|
2573
|
+
8: "8";
|
|
2574
|
+
9: "9";
|
|
2575
|
+
10: "10";
|
|
2576
|
+
11: "11";
|
|
2577
|
+
12: "12";
|
|
2578
|
+
13: "13";
|
|
2579
|
+
14: "14";
|
|
2580
|
+
15: "15";
|
|
2581
|
+
}>>;
|
|
2582
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2583
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2584
|
+
prompt: z.ZodString;
|
|
2585
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2586
|
+
}, z.core.$strip>>>;
|
|
2587
|
+
shot_type: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
}, z.core.$strip>;
|
|
2589
|
+
readonly "fal-ai/kling-video/o3/4k/reference-to-video": z.ZodObject<{
|
|
2590
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2591
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2592
|
+
prompt: z.ZodString;
|
|
2593
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
}, z.core.$strip>>>;
|
|
2595
|
+
start_image_url: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2597
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2598
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2599
|
+
frontal_image_url: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2601
|
+
video_url: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
voice_id: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
}, z.core.$strip>>>;
|
|
2604
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2605
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2606
|
+
4: "4";
|
|
2607
|
+
5: "5";
|
|
2608
|
+
3: "3";
|
|
2609
|
+
6: "6";
|
|
2610
|
+
7: "7";
|
|
2611
|
+
8: "8";
|
|
2612
|
+
9: "9";
|
|
2613
|
+
10: "10";
|
|
2614
|
+
11: "11";
|
|
2615
|
+
12: "12";
|
|
2616
|
+
13: "13";
|
|
2617
|
+
14: "14";
|
|
2618
|
+
15: "15";
|
|
2619
|
+
}>>;
|
|
2620
|
+
shot_type: z.ZodOptional<z.ZodString>;
|
|
2621
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2622
|
+
"1:1": "1:1";
|
|
2623
|
+
"16:9": "16:9";
|
|
2624
|
+
"9:16": "9:16";
|
|
2625
|
+
}>>;
|
|
2626
|
+
}, z.core.$strip>;
|
|
2627
|
+
readonly "fal-ai/kling-video/o3/4k/text-to-video": z.ZodObject<{
|
|
2628
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2630
|
+
4: "4";
|
|
2631
|
+
5: "5";
|
|
2632
|
+
3: "3";
|
|
2633
|
+
6: "6";
|
|
2634
|
+
7: "7";
|
|
2635
|
+
8: "8";
|
|
2636
|
+
9: "9";
|
|
2637
|
+
10: "10";
|
|
2638
|
+
11: "11";
|
|
2639
|
+
12: "12";
|
|
2640
|
+
13: "13";
|
|
2641
|
+
14: "14";
|
|
2642
|
+
15: "15";
|
|
2643
|
+
}>>;
|
|
2644
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2645
|
+
"1:1": "1:1";
|
|
2646
|
+
"16:9": "16:9";
|
|
2647
|
+
"9:16": "9:16";
|
|
2648
|
+
}>>;
|
|
2649
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2650
|
+
multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2651
|
+
prompt: z.ZodString;
|
|
2652
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
}, z.core.$strip>>>;
|
|
2654
|
+
shot_type: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
}, z.core.$strip>;
|
|
2656
|
+
readonly "fal-ai/veo3.1": z.ZodObject<{
|
|
2657
|
+
prompt: z.ZodString;
|
|
2658
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2659
|
+
"16:9": "16:9";
|
|
2660
|
+
"9:16": "9:16";
|
|
2661
|
+
}>>;
|
|
2662
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2663
|
+
"4s": "4s";
|
|
2664
|
+
"6s": "6s";
|
|
2665
|
+
"8s": "8s";
|
|
2666
|
+
}>>;
|
|
2667
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2668
|
+
"720p": "720p";
|
|
2669
|
+
"1080p": "1080p";
|
|
2670
|
+
"4k": "4k";
|
|
2671
|
+
}>>;
|
|
2672
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2673
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2674
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
+
auto_fix: z.ZodOptional<z.ZodBoolean>;
|
|
2676
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
2677
|
+
4: "4";
|
|
2678
|
+
5: "5";
|
|
2679
|
+
1: "1";
|
|
2680
|
+
2: "2";
|
|
2681
|
+
3: "3";
|
|
2682
|
+
6: "6";
|
|
2683
|
+
}>>;
|
|
2684
|
+
}, z.core.$strip>;
|
|
2685
|
+
readonly "fal-ai/veo3.1/image-to-video": z.ZodObject<{
|
|
2686
|
+
prompt: z.ZodString;
|
|
2687
|
+
image_url: z.ZodString;
|
|
2688
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2689
|
+
"16:9": "16:9";
|
|
2690
|
+
auto: "auto";
|
|
2691
|
+
"9:16": "9:16";
|
|
2692
|
+
}>>;
|
|
2693
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2694
|
+
"4s": "4s";
|
|
2695
|
+
"6s": "6s";
|
|
2696
|
+
"8s": "8s";
|
|
2697
|
+
}>>;
|
|
2698
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2699
|
+
"720p": "720p";
|
|
2700
|
+
"1080p": "1080p";
|
|
2701
|
+
"4k": "4k";
|
|
2702
|
+
}>>;
|
|
2703
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2704
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2705
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2706
|
+
auto_fix: z.ZodOptional<z.ZodBoolean>;
|
|
2707
|
+
safety_tolerance: z.ZodOptional<z.ZodEnum<{
|
|
2708
|
+
4: "4";
|
|
2709
|
+
5: "5";
|
|
2710
|
+
1: "1";
|
|
2711
|
+
2: "2";
|
|
2712
|
+
3: "3";
|
|
2713
|
+
6: "6";
|
|
2714
|
+
}>>;
|
|
2715
|
+
}, z.core.$strip>;
|
|
2716
|
+
readonly "xai/grok-imagine-video/image-to-video": z.ZodObject<{
|
|
2717
|
+
prompt: z.ZodString;
|
|
2718
|
+
image_url: z.ZodString;
|
|
2719
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2720
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2721
|
+
"1:1": "1:1";
|
|
2722
|
+
"16:9": "16:9";
|
|
2723
|
+
auto: "auto";
|
|
2724
|
+
"4:3": "4:3";
|
|
2725
|
+
"3:4": "3:4";
|
|
2726
|
+
"9:16": "9:16";
|
|
2727
|
+
"3:2": "3:2";
|
|
2728
|
+
"2:3": "2:3";
|
|
2729
|
+
}>>;
|
|
2730
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2731
|
+
"480p": "480p";
|
|
2732
|
+
"720p": "720p";
|
|
2733
|
+
}>>;
|
|
2734
|
+
}, z.core.$strip>;
|
|
2735
|
+
readonly "xai/grok-imagine-video/reference-to-video": z.ZodObject<{
|
|
2736
|
+
prompt: z.ZodString;
|
|
2737
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
2738
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2739
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2740
|
+
"1:1": "1:1";
|
|
2741
|
+
"16:9": "16:9";
|
|
2742
|
+
"4:3": "4:3";
|
|
2743
|
+
"3:4": "3:4";
|
|
2744
|
+
"9:16": "9:16";
|
|
2745
|
+
"3:2": "3:2";
|
|
2746
|
+
"2:3": "2:3";
|
|
2747
|
+
}>>;
|
|
2748
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2749
|
+
"480p": "480p";
|
|
2750
|
+
"720p": "720p";
|
|
2751
|
+
}>>;
|
|
2752
|
+
}, z.core.$strip>;
|
|
2753
|
+
readonly "xai/grok-imagine-video/extend-video": z.ZodObject<{
|
|
2754
|
+
prompt: z.ZodString;
|
|
2755
|
+
video_url: z.ZodString;
|
|
2756
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2757
|
+
}, z.core.$strip>;
|
|
2758
|
+
readonly "xai/grok-imagine-video/edit-video": z.ZodObject<{
|
|
2759
|
+
prompt: z.ZodString;
|
|
2760
|
+
video_url: z.ZodString;
|
|
2761
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2762
|
+
"480p": "480p";
|
|
2763
|
+
"720p": "720p";
|
|
2764
|
+
auto: "auto";
|
|
2765
|
+
}>>;
|
|
2766
|
+
}, z.core.$strip>;
|
|
2767
|
+
readonly "xai/grok-imagine-image": z.ZodObject<{
|
|
2768
|
+
prompt: z.ZodString;
|
|
2769
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2770
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2771
|
+
"1:1": "1:1";
|
|
2772
|
+
"16:9": "16:9";
|
|
2773
|
+
"4:3": "4:3";
|
|
2774
|
+
"3:4": "3:4";
|
|
2775
|
+
"9:16": "9:16";
|
|
2776
|
+
"3:2": "3:2";
|
|
2777
|
+
"2:3": "2:3";
|
|
2778
|
+
"2:1": "2:1";
|
|
2779
|
+
"20:9": "20:9";
|
|
2780
|
+
"19.5:9": "19.5:9";
|
|
2781
|
+
"9:19.5": "9:19.5";
|
|
2782
|
+
"9:20": "9:20";
|
|
2783
|
+
"1:2": "1:2";
|
|
2784
|
+
}>>;
|
|
2785
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2786
|
+
"1k": "1k";
|
|
2787
|
+
"2k": "2k";
|
|
2788
|
+
}>>;
|
|
2789
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2790
|
+
png: "png";
|
|
2791
|
+
jpeg: "jpeg";
|
|
2792
|
+
webp: "webp";
|
|
2793
|
+
}>>;
|
|
2794
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2795
|
+
}, z.core.$strip>;
|
|
2796
|
+
readonly "fal-ai/qwen-image-edit": z.ZodObject<{
|
|
2797
|
+
prompt: z.ZodString;
|
|
2798
|
+
image_url: z.ZodString;
|
|
2799
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2800
|
+
num_inference_steps: z.ZodOptional<z.ZodNumber>;
|
|
2801
|
+
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
2802
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2803
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2805
|
+
square_hd: "square_hd";
|
|
2806
|
+
square: "square";
|
|
2807
|
+
portrait_4_3: "portrait_4_3";
|
|
2808
|
+
portrait_16_9: "portrait_16_9";
|
|
2809
|
+
landscape_4_3: "landscape_4_3";
|
|
2810
|
+
landscape_16_9: "landscape_16_9";
|
|
2811
|
+
}>, z.ZodObject<{
|
|
2812
|
+
width: z.ZodNumber;
|
|
2813
|
+
height: z.ZodNumber;
|
|
2814
|
+
}, z.core.$strip>]>>;
|
|
2815
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2816
|
+
png: "png";
|
|
2817
|
+
jpeg: "jpeg";
|
|
2818
|
+
}>>;
|
|
2819
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2820
|
+
acceleration: z.ZodOptional<z.ZodEnum<{
|
|
2821
|
+
high: "high";
|
|
2822
|
+
none: "none";
|
|
2823
|
+
regular: "regular";
|
|
2824
|
+
}>>;
|
|
2825
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2826
|
+
}, z.core.$strip>;
|
|
2827
|
+
readonly "fal-ai/gpt-image-1.5/edit": z.ZodObject<{
|
|
2828
|
+
prompt: z.ZodString;
|
|
2829
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
2830
|
+
image_size: z.ZodOptional<z.ZodEnum<{
|
|
2831
|
+
"1024x1024": "1024x1024";
|
|
2832
|
+
auto: "auto";
|
|
2833
|
+
"1536x1024": "1536x1024";
|
|
2834
|
+
"1024x1536": "1024x1536";
|
|
2835
|
+
}>>;
|
|
2836
|
+
background: z.ZodOptional<z.ZodEnum<{
|
|
2837
|
+
auto: "auto";
|
|
2838
|
+
transparent: "transparent";
|
|
2839
|
+
opaque: "opaque";
|
|
2840
|
+
}>>;
|
|
2841
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
2842
|
+
low: "low";
|
|
2843
|
+
high: "high";
|
|
2844
|
+
medium: "medium";
|
|
2845
|
+
}>>;
|
|
2846
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2847
|
+
input_fidelity: z.ZodOptional<z.ZodEnum<{
|
|
2848
|
+
low: "low";
|
|
2849
|
+
high: "high";
|
|
2850
|
+
}>>;
|
|
2851
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2852
|
+
png: "png";
|
|
2853
|
+
jpeg: "jpeg";
|
|
2854
|
+
webp: "webp";
|
|
2855
|
+
}>>;
|
|
2856
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2857
|
+
mask_image_url: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
}, z.core.$strip>;
|
|
2859
|
+
readonly "fal-ai/gpt-image-1.5": z.ZodObject<{
|
|
2860
|
+
prompt: z.ZodString;
|
|
2861
|
+
image_size: z.ZodOptional<z.ZodEnum<{
|
|
2862
|
+
"1024x1024": "1024x1024";
|
|
2863
|
+
"1536x1024": "1536x1024";
|
|
2864
|
+
"1024x1536": "1024x1536";
|
|
2865
|
+
}>>;
|
|
2866
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2867
|
+
background: z.ZodOptional<z.ZodEnum<{
|
|
2868
|
+
auto: "auto";
|
|
2869
|
+
transparent: "transparent";
|
|
2870
|
+
opaque: "opaque";
|
|
2871
|
+
}>>;
|
|
2872
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2873
|
+
png: "png";
|
|
2874
|
+
jpeg: "jpeg";
|
|
2875
|
+
webp: "webp";
|
|
2876
|
+
}>>;
|
|
2877
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
2878
|
+
low: "low";
|
|
2879
|
+
high: "high";
|
|
2880
|
+
medium: "medium";
|
|
2881
|
+
}>>;
|
|
2882
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2883
|
+
}, z.core.$strip>;
|
|
2884
|
+
readonly "fal-ai/qwen-image": z.ZodObject<{
|
|
2885
|
+
prompt: z.ZodString;
|
|
2886
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2887
|
+
square_hd: "square_hd";
|
|
2888
|
+
square: "square";
|
|
2889
|
+
portrait_4_3: "portrait_4_3";
|
|
2890
|
+
portrait_16_9: "portrait_16_9";
|
|
2891
|
+
landscape_4_3: "landscape_4_3";
|
|
2892
|
+
landscape_16_9: "landscape_16_9";
|
|
2893
|
+
}>, z.ZodObject<{
|
|
2894
|
+
width: z.ZodNumber;
|
|
2895
|
+
height: z.ZodNumber;
|
|
2896
|
+
}, z.core.$strip>]>>;
|
|
2897
|
+
num_inference_steps: z.ZodOptional<z.ZodNumber>;
|
|
2898
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2899
|
+
guidance_scale: z.ZodOptional<z.ZodNumber>;
|
|
2900
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2901
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2902
|
+
png: "png";
|
|
2903
|
+
jpeg: "jpeg";
|
|
2904
|
+
}>>;
|
|
2905
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2906
|
+
acceleration: z.ZodOptional<z.ZodEnum<{
|
|
2907
|
+
high: "high";
|
|
2908
|
+
none: "none";
|
|
2909
|
+
regular: "regular";
|
|
2910
|
+
}>>;
|
|
2911
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2912
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2913
|
+
use_turbo: z.ZodOptional<z.ZodBoolean>;
|
|
2914
|
+
}, z.core.$strip>;
|
|
2915
|
+
};
|
|
2916
|
+
export type FalEndpointId = keyof typeof FAL_ENDPOINT_REQUEST_SCHEMAS;
|
|
2917
|
+
export type FalEndpointInputMap = {
|
|
2918
|
+
[K in FalEndpointId]: z.input<(typeof FAL_ENDPOINT_REQUEST_SCHEMAS)[K]>;
|
|
2919
|
+
};
|
|
2920
|
+
export type FalQueueSubmitRequest<Id extends string = string> = Omit<FalQueueSubmitParams, "endpoint_id" | "input"> & {
|
|
2921
|
+
endpoint_id: Id;
|
|
2922
|
+
input: Id extends FalEndpointId ? FalEndpointInputMap[Id] : Record<string, unknown>;
|
|
2923
|
+
};
|
|
1441
2924
|
//# sourceMappingURL=zod.d.ts.map
|