@apicity/fal 0.21.0 → 0.22.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 +377 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +286 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +190 -9
- 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 +299 -21
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1374 -9
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +1232 -29
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/zod.d.ts
CHANGED
|
@@ -1466,6 +1466,39 @@ export declare const FalMinimaxH3TextToVideoRequestSchema: z.ZodObject<{
|
|
|
1466
1466
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1467
1467
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1468
1468
|
}, z.core.$strip>;
|
|
1469
|
+
export declare const FalMinimaxH3TextToVideoLoraRequestSchema: z.ZodObject<{
|
|
1470
|
+
prompt: z.ZodString;
|
|
1471
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1472
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1473
|
+
"480P": "480P";
|
|
1474
|
+
"768P": "768P";
|
|
1475
|
+
"2K": "2K";
|
|
1476
|
+
"4K": "4K";
|
|
1477
|
+
}>>;
|
|
1478
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1479
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1480
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
1481
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1482
|
+
fast: "fast";
|
|
1483
|
+
disabled: "disabled";
|
|
1484
|
+
quality: "quality";
|
|
1485
|
+
balanced: "balanced";
|
|
1486
|
+
}>>>;
|
|
1487
|
+
target_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1488
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1489
|
+
"1:1": "1:1";
|
|
1490
|
+
"16:9": "16:9";
|
|
1491
|
+
"21:9": "21:9";
|
|
1492
|
+
"9:16": "9:16";
|
|
1493
|
+
"4:3": "4:3";
|
|
1494
|
+
"3:4": "3:4";
|
|
1495
|
+
}>>;
|
|
1496
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
1497
|
+
path: z.ZodString;
|
|
1498
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1499
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
1500
|
+
}, z.core.$strip>>;
|
|
1501
|
+
}, z.core.$strip>;
|
|
1469
1502
|
export declare const FalMinimaxH3ImageToVideoRequestSchema: z.ZodObject<{
|
|
1470
1503
|
prompt: z.ZodString;
|
|
1471
1504
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1487,6 +1520,69 @@ export declare const FalMinimaxH3ImageToVideoRequestSchema: z.ZodObject<{
|
|
|
1487
1520
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1488
1521
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1489
1522
|
}, z.core.$strip>;
|
|
1523
|
+
export declare const FalMinimaxH3ImageToVideoLoraRequestSchema: z.ZodObject<{
|
|
1524
|
+
prompt: z.ZodString;
|
|
1525
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1526
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1527
|
+
"480P": "480P";
|
|
1528
|
+
"768P": "768P";
|
|
1529
|
+
"2K": "2K";
|
|
1530
|
+
"4K": "4K";
|
|
1531
|
+
}>>;
|
|
1532
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1533
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1534
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
1535
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1536
|
+
fast: "fast";
|
|
1537
|
+
disabled: "disabled";
|
|
1538
|
+
quality: "quality";
|
|
1539
|
+
balanced: "balanced";
|
|
1540
|
+
}>>>;
|
|
1541
|
+
target_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1542
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1543
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1544
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
1545
|
+
path: z.ZodString;
|
|
1546
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1547
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
1548
|
+
}, z.core.$strip>>;
|
|
1549
|
+
}, z.core.$strip>;
|
|
1550
|
+
export declare const FalMinimaxH3ReferenceToVideoLoraRequestSchema: z.ZodObject<{
|
|
1551
|
+
prompt: z.ZodString;
|
|
1552
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1553
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1554
|
+
"480P": "480P";
|
|
1555
|
+
"768P": "768P";
|
|
1556
|
+
"2K": "2K";
|
|
1557
|
+
"4K": "4K";
|
|
1558
|
+
}>>;
|
|
1559
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1560
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1561
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
1562
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1563
|
+
fast: "fast";
|
|
1564
|
+
disabled: "disabled";
|
|
1565
|
+
quality: "quality";
|
|
1566
|
+
balanced: "balanced";
|
|
1567
|
+
}>>>;
|
|
1568
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1569
|
+
"1:1": "1:1";
|
|
1570
|
+
"16:9": "16:9";
|
|
1571
|
+
"21:9": "21:9";
|
|
1572
|
+
"9:16": "9:16";
|
|
1573
|
+
adaptive: "adaptive";
|
|
1574
|
+
"4:3": "4:3";
|
|
1575
|
+
"3:4": "3:4";
|
|
1576
|
+
}>>;
|
|
1577
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1578
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1579
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1580
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
1581
|
+
path: z.ZodString;
|
|
1582
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1583
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
1584
|
+
}, z.core.$strip>>;
|
|
1585
|
+
}, z.core.$strip>;
|
|
1490
1586
|
export declare const FalMinimaxH3ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1491
1587
|
prompt: z.ZodString;
|
|
1492
1588
|
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1518,6 +1614,133 @@ export declare const FalMinimaxH3ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
|
1518
1614
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1519
1615
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1520
1616
|
}, z.core.$strip>;
|
|
1617
|
+
export declare const FalMinimaxH3T2vTrainerRequestSchema: z.ZodObject<{
|
|
1618
|
+
training_data_url: z.ZodString;
|
|
1619
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
1620
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
1621
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
1622
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
1623
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
1624
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1625
|
+
low: "low";
|
|
1626
|
+
high: "high";
|
|
1627
|
+
medium: "medium";
|
|
1628
|
+
}>>;
|
|
1629
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1630
|
+
"1:1": "1:1";
|
|
1631
|
+
"16:9": "16:9";
|
|
1632
|
+
"21:9": "21:9";
|
|
1633
|
+
"9:16": "9:16";
|
|
1634
|
+
"4:3": "4:3";
|
|
1635
|
+
"3:4": "3:4";
|
|
1636
|
+
}>>;
|
|
1637
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
1638
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1639
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
1640
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
1641
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1642
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1643
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1644
|
+
}, z.core.$strip>;
|
|
1645
|
+
export type FalMinimaxH3T2vTrainerRequest = z.input<typeof FalMinimaxH3T2vTrainerRequestSchema>;
|
|
1646
|
+
export type FalMinimaxH3T2vTrainerRequestInput = FalMinimaxH3T2vTrainerRequest;
|
|
1647
|
+
export type FalMinimaxH3T2vTrainerParsedRequest = z.output<typeof FalMinimaxH3T2vTrainerRequestSchema>;
|
|
1648
|
+
export declare const FalMinimaxH3I2vTrainerRequestSchema: z.ZodObject<{
|
|
1649
|
+
training_data_url: z.ZodString;
|
|
1650
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
1651
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
1652
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
1653
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
1654
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
1655
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1656
|
+
low: "low";
|
|
1657
|
+
high: "high";
|
|
1658
|
+
medium: "medium";
|
|
1659
|
+
}>>;
|
|
1660
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1661
|
+
"1:1": "1:1";
|
|
1662
|
+
"16:9": "16:9";
|
|
1663
|
+
"21:9": "21:9";
|
|
1664
|
+
"9:16": "9:16";
|
|
1665
|
+
"4:3": "4:3";
|
|
1666
|
+
"3:4": "3:4";
|
|
1667
|
+
}>>;
|
|
1668
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
1669
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1670
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
1671
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
1672
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1673
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1674
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1676
|
+
export type FalMinimaxH3I2vTrainerRequest = z.input<typeof FalMinimaxH3I2vTrainerRequestSchema>;
|
|
1677
|
+
export type FalMinimaxH3I2vTrainerRequestInput = FalMinimaxH3I2vTrainerRequest;
|
|
1678
|
+
export type FalMinimaxH3I2vTrainerParsedRequest = z.output<typeof FalMinimaxH3I2vTrainerRequestSchema>;
|
|
1679
|
+
export declare const FalMinimaxH3Flf2vTrainerRequestSchema: z.ZodObject<{
|
|
1680
|
+
training_data_url: z.ZodString;
|
|
1681
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
1682
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
1683
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
1684
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
1685
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
1686
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1687
|
+
low: "low";
|
|
1688
|
+
high: "high";
|
|
1689
|
+
medium: "medium";
|
|
1690
|
+
}>>;
|
|
1691
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1692
|
+
"1:1": "1:1";
|
|
1693
|
+
"16:9": "16:9";
|
|
1694
|
+
"21:9": "21:9";
|
|
1695
|
+
"9:16": "9:16";
|
|
1696
|
+
"4:3": "4:3";
|
|
1697
|
+
"3:4": "3:4";
|
|
1698
|
+
}>>;
|
|
1699
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
1700
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1701
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
1702
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
1703
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1704
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1705
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1706
|
+
last_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1707
|
+
first_last_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1708
|
+
}, z.core.$strip>;
|
|
1709
|
+
export type FalMinimaxH3Flf2vTrainerRequest = z.input<typeof FalMinimaxH3Flf2vTrainerRequestSchema>;
|
|
1710
|
+
export type FalMinimaxH3Flf2vTrainerRequestInput = FalMinimaxH3Flf2vTrainerRequest;
|
|
1711
|
+
export type FalMinimaxH3Flf2vTrainerParsedRequest = z.output<typeof FalMinimaxH3Flf2vTrainerRequestSchema>;
|
|
1712
|
+
export declare const FalMinimaxH3Ref2vaTrainerRequestSchema: z.ZodObject<{
|
|
1713
|
+
training_data_url: z.ZodString;
|
|
1714
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
1715
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
1716
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
1717
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
1718
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
1719
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1720
|
+
low: "low";
|
|
1721
|
+
high: "high";
|
|
1722
|
+
medium: "medium";
|
|
1723
|
+
}>>;
|
|
1724
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1725
|
+
"1:1": "1:1";
|
|
1726
|
+
"16:9": "16:9";
|
|
1727
|
+
"21:9": "21:9";
|
|
1728
|
+
"9:16": "9:16";
|
|
1729
|
+
"4:3": "4:3";
|
|
1730
|
+
"3:4": "3:4";
|
|
1731
|
+
}>>;
|
|
1732
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
1733
|
+
reference_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
1734
|
+
resume_from_lora_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1735
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
1736
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
1737
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1738
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1739
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
1740
|
+
}, z.core.$strip>;
|
|
1741
|
+
export type FalMinimaxH3Ref2vaTrainerRequest = z.input<typeof FalMinimaxH3Ref2vaTrainerRequestSchema>;
|
|
1742
|
+
export type FalMinimaxH3Ref2vaTrainerRequestInput = FalMinimaxH3Ref2vaTrainerRequest;
|
|
1743
|
+
export type FalMinimaxH3Ref2vaTrainerParsedRequest = z.output<typeof FalMinimaxH3Ref2vaTrainerRequestSchema>;
|
|
1521
1744
|
export declare const FalWanV2p7TextToImageRequestSchema: z.ZodObject<{
|
|
1522
1745
|
prompt: z.ZodString;
|
|
1523
1746
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -2234,10 +2457,22 @@ export type FalMinimaxH3TextToVideoParams = z.infer<typeof FalMinimaxH3TextToVid
|
|
|
2234
2457
|
export type FalMinimaxH3TextToVideoRequest = z.input<typeof FalMinimaxH3TextToVideoRequestSchema>;
|
|
2235
2458
|
export type FalMinimaxH3TextToVideoRequestInput = FalMinimaxH3TextToVideoRequest;
|
|
2236
2459
|
export type FalMinimaxH3TextToVideoParsedRequest = z.output<typeof FalMinimaxH3TextToVideoRequestSchema>;
|
|
2460
|
+
export type FalMinimaxH3TextToVideoLoraParams = z.infer<typeof FalMinimaxH3TextToVideoLoraRequestSchema>;
|
|
2461
|
+
export type FalMinimaxH3TextToVideoLoraRequest = z.input<typeof FalMinimaxH3TextToVideoLoraRequestSchema>;
|
|
2462
|
+
export type FalMinimaxH3TextToVideoLoraRequestInput = FalMinimaxH3TextToVideoLoraRequest;
|
|
2463
|
+
export type FalMinimaxH3TextToVideoLoraParsedRequest = z.output<typeof FalMinimaxH3TextToVideoLoraRequestSchema>;
|
|
2237
2464
|
export type FalMinimaxH3ImageToVideoParams = z.infer<typeof FalMinimaxH3ImageToVideoRequestSchema>;
|
|
2238
2465
|
export type FalMinimaxH3ImageToVideoRequest = z.input<typeof FalMinimaxH3ImageToVideoRequestSchema>;
|
|
2239
2466
|
export type FalMinimaxH3ImageToVideoRequestInput = FalMinimaxH3ImageToVideoRequest;
|
|
2240
2467
|
export type FalMinimaxH3ImageToVideoParsedRequest = z.output<typeof FalMinimaxH3ImageToVideoRequestSchema>;
|
|
2468
|
+
export type FalMinimaxH3ImageToVideoLoraParams = z.infer<typeof FalMinimaxH3ImageToVideoLoraRequestSchema>;
|
|
2469
|
+
export type FalMinimaxH3ImageToVideoLoraRequest = z.input<typeof FalMinimaxH3ImageToVideoLoraRequestSchema>;
|
|
2470
|
+
export type FalMinimaxH3ImageToVideoLoraRequestInput = FalMinimaxH3ImageToVideoLoraRequest;
|
|
2471
|
+
export type FalMinimaxH3ImageToVideoLoraParsedRequest = z.output<typeof FalMinimaxH3ImageToVideoLoraRequestSchema>;
|
|
2472
|
+
export type FalMinimaxH3ReferenceToVideoLoraParams = z.infer<typeof FalMinimaxH3ReferenceToVideoLoraRequestSchema>;
|
|
2473
|
+
export type FalMinimaxH3ReferenceToVideoLoraRequest = z.input<typeof FalMinimaxH3ReferenceToVideoLoraRequestSchema>;
|
|
2474
|
+
export type FalMinimaxH3ReferenceToVideoLoraRequestInput = FalMinimaxH3ReferenceToVideoLoraRequest;
|
|
2475
|
+
export type FalMinimaxH3ReferenceToVideoLoraParsedRequest = z.output<typeof FalMinimaxH3ReferenceToVideoLoraRequestSchema>;
|
|
2241
2476
|
export type FalMinimaxH3ReferenceToVideoParams = z.infer<typeof FalMinimaxH3ReferenceToVideoRequestSchema>;
|
|
2242
2477
|
export type FalMinimaxH3ReferenceToVideoRequest = z.input<typeof FalMinimaxH3ReferenceToVideoRequestSchema>;
|
|
2243
2478
|
export type FalMinimaxH3ReferenceToVideoRequestInput = FalMinimaxH3ReferenceToVideoRequest;
|
|
@@ -2496,6 +2731,93 @@ export type FalFlux3TextToVideoParams = z.infer<typeof FalFlux3TextToVideoReques
|
|
|
2496
2731
|
export type FalFlux3TextToVideoRequest = z.input<typeof FalFlux3TextToVideoRequestSchema>;
|
|
2497
2732
|
export type FalFlux3TextToVideoRequestInput = FalFlux3TextToVideoRequest;
|
|
2498
2733
|
export type FalFlux3TextToVideoParsedRequest = z.output<typeof FalFlux3TextToVideoRequestSchema>;
|
|
2734
|
+
export declare const FalFlux3DraftEnhanceRequestSchema: z.ZodObject<{
|
|
2735
|
+
draft_cache_url: z.ZodString;
|
|
2736
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2737
|
+
}, z.core.$strip>;
|
|
2738
|
+
export type FalFlux3DraftEnhanceRequest = z.input<typeof FalFlux3DraftEnhanceRequestSchema>;
|
|
2739
|
+
export type FalFlux3DraftEnhanceRequestInput = FalFlux3DraftEnhanceRequest;
|
|
2740
|
+
export type FalFlux3DraftEnhanceParsedRequest = z.output<typeof FalFlux3DraftEnhanceRequestSchema>;
|
|
2741
|
+
export declare const FalFlux3TextToVideoDraftRequestSchema: z.ZodObject<{
|
|
2742
|
+
prompt: z.ZodString;
|
|
2743
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2744
|
+
"1:1": "1:1";
|
|
2745
|
+
"16:9": "16:9";
|
|
2746
|
+
auto: "auto";
|
|
2747
|
+
"21:9": "21:9";
|
|
2748
|
+
"9:16": "9:16";
|
|
2749
|
+
"4:3": "4:3";
|
|
2750
|
+
"3:4": "3:4";
|
|
2751
|
+
"2:1": "2:1";
|
|
2752
|
+
}>>;
|
|
2753
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2754
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2755
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2756
|
+
}, z.core.$strip>;
|
|
2757
|
+
export type FalFlux3TextToVideoDraftRequest = z.input<typeof FalFlux3TextToVideoDraftRequestSchema>;
|
|
2758
|
+
export type FalFlux3TextToVideoDraftRequestInput = FalFlux3TextToVideoDraftRequest;
|
|
2759
|
+
export type FalFlux3TextToVideoDraftParsedRequest = z.output<typeof FalFlux3TextToVideoDraftRequestSchema>;
|
|
2760
|
+
export declare const FalFlux3ImageToVideoDraftRequestSchema: z.ZodObject<{
|
|
2761
|
+
prompt: z.ZodString;
|
|
2762
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2763
|
+
"1:1": "1:1";
|
|
2764
|
+
"16:9": "16:9";
|
|
2765
|
+
auto: "auto";
|
|
2766
|
+
"21:9": "21:9";
|
|
2767
|
+
"9:16": "9:16";
|
|
2768
|
+
"4:3": "4:3";
|
|
2769
|
+
"3:4": "3:4";
|
|
2770
|
+
"2:1": "2:1";
|
|
2771
|
+
}>>;
|
|
2772
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2773
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2774
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2775
|
+
image_url: z.ZodString;
|
|
2776
|
+
}, z.core.$strip>;
|
|
2777
|
+
export type FalFlux3ImageToVideoDraftRequest = z.input<typeof FalFlux3ImageToVideoDraftRequestSchema>;
|
|
2778
|
+
export type FalFlux3ImageToVideoDraftRequestInput = FalFlux3ImageToVideoDraftRequest;
|
|
2779
|
+
export type FalFlux3ImageToVideoDraftParsedRequest = z.output<typeof FalFlux3ImageToVideoDraftRequestSchema>;
|
|
2780
|
+
export declare const FalFlux3ExtendVideoDraftRequestSchema: z.ZodObject<{
|
|
2781
|
+
prompt: z.ZodString;
|
|
2782
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2783
|
+
"1:1": "1:1";
|
|
2784
|
+
"16:9": "16:9";
|
|
2785
|
+
auto: "auto";
|
|
2786
|
+
"21:9": "21:9";
|
|
2787
|
+
"9:16": "9:16";
|
|
2788
|
+
"4:3": "4:3";
|
|
2789
|
+
"3:4": "3:4";
|
|
2790
|
+
"2:1": "2:1";
|
|
2791
|
+
}>>;
|
|
2792
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2793
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2794
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2795
|
+
video_url: z.ZodString;
|
|
2796
|
+
}, z.core.$strip>;
|
|
2797
|
+
export type FalFlux3ExtendVideoDraftRequest = z.input<typeof FalFlux3ExtendVideoDraftRequestSchema>;
|
|
2798
|
+
export type FalFlux3ExtendVideoDraftRequestInput = FalFlux3ExtendVideoDraftRequest;
|
|
2799
|
+
export type FalFlux3ExtendVideoDraftParsedRequest = z.output<typeof FalFlux3ExtendVideoDraftRequestSchema>;
|
|
2800
|
+
export declare const FalFlux3FirstLastFrameToVideoDraftRequestSchema: z.ZodObject<{
|
|
2801
|
+
prompt: z.ZodString;
|
|
2802
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2803
|
+
"1:1": "1:1";
|
|
2804
|
+
"16:9": "16:9";
|
|
2805
|
+
auto: "auto";
|
|
2806
|
+
"21:9": "21:9";
|
|
2807
|
+
"9:16": "9:16";
|
|
2808
|
+
"4:3": "4:3";
|
|
2809
|
+
"3:4": "3:4";
|
|
2810
|
+
"2:1": "2:1";
|
|
2811
|
+
}>>;
|
|
2812
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2813
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2814
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2815
|
+
end_image_url: z.ZodString;
|
|
2816
|
+
start_image_url: z.ZodString;
|
|
2817
|
+
}, z.core.$strip>;
|
|
2818
|
+
export type FalFlux3FirstLastFrameToVideoDraftRequest = z.input<typeof FalFlux3FirstLastFrameToVideoDraftRequestSchema>;
|
|
2819
|
+
export type FalFlux3FirstLastFrameToVideoDraftRequestInput = FalFlux3FirstLastFrameToVideoDraftRequest;
|
|
2820
|
+
export type FalFlux3FirstLastFrameToVideoDraftParsedRequest = z.output<typeof FalFlux3FirstLastFrameToVideoDraftRequestSchema>;
|
|
2499
2821
|
export declare const FalFlux3ImageToVideoRequestSchema: z.ZodObject<{
|
|
2500
2822
|
prompt: z.ZodString;
|
|
2501
2823
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2555,6 +2877,29 @@ export declare const FalFlux3KeyframeSchema: z.ZodObject<{
|
|
|
2555
2877
|
image_url: z.ZodString;
|
|
2556
2878
|
frame_index: z.ZodNumber;
|
|
2557
2879
|
}, z.core.$strip>;
|
|
2880
|
+
export declare const FalFlux3KeyframesToVideoDraftRequestSchema: z.ZodObject<{
|
|
2881
|
+
prompt: z.ZodString;
|
|
2882
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2883
|
+
"1:1": "1:1";
|
|
2884
|
+
"16:9": "16:9";
|
|
2885
|
+
auto: "auto";
|
|
2886
|
+
"21:9": "21:9";
|
|
2887
|
+
"9:16": "9:16";
|
|
2888
|
+
"4:3": "4:3";
|
|
2889
|
+
"3:4": "3:4";
|
|
2890
|
+
"2:1": "2:1";
|
|
2891
|
+
}>>;
|
|
2892
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2893
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
2894
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2895
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
2896
|
+
image_url: z.ZodString;
|
|
2897
|
+
frame_index: z.ZodNumber;
|
|
2898
|
+
}, z.core.$strip>>;
|
|
2899
|
+
}, z.core.$strip>;
|
|
2900
|
+
export type FalFlux3KeyframesToVideoDraftRequest = z.input<typeof FalFlux3KeyframesToVideoDraftRequestSchema>;
|
|
2901
|
+
export type FalFlux3KeyframesToVideoDraftRequestInput = FalFlux3KeyframesToVideoDraftRequest;
|
|
2902
|
+
export type FalFlux3KeyframesToVideoDraftParsedRequest = z.output<typeof FalFlux3KeyframesToVideoDraftRequestSchema>;
|
|
2558
2903
|
export declare const FalFlux3KeyframesToVideoRequestSchema: z.ZodObject<{
|
|
2559
2904
|
prompt: z.ZodString;
|
|
2560
2905
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4744,9 +5089,168 @@ export declare const FalMetaMuseImageEditRequestSchema: z.ZodObject<{
|
|
|
4744
5089
|
}>>;
|
|
4745
5090
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
4746
5091
|
}, z.core.$strip>;
|
|
4747
|
-
export type FalMetaMuseImageEditRequest = z.input<typeof FalMetaMuseImageEditRequestSchema>;
|
|
4748
|
-
export type FalMetaMuseImageEditRequestInput = FalMetaMuseImageEditRequest;
|
|
4749
|
-
export type FalMetaMuseImageEditParsedRequest = z.output<typeof FalMetaMuseImageEditRequestSchema>;
|
|
5092
|
+
export type FalMetaMuseImageEditRequest = z.input<typeof FalMetaMuseImageEditRequestSchema>;
|
|
5093
|
+
export type FalMetaMuseImageEditRequestInput = FalMetaMuseImageEditRequest;
|
|
5094
|
+
export type FalMetaMuseImageEditParsedRequest = z.output<typeof FalMetaMuseImageEditRequestSchema>;
|
|
5095
|
+
export declare const FalKreaV3EditRequestSchema: z.ZodObject<{
|
|
5096
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
5097
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
5098
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5099
|
+
image_idx: z.ZodNumber;
|
|
5100
|
+
x: z.ZodNumber;
|
|
5101
|
+
y: z.ZodNumber;
|
|
5102
|
+
width: z.ZodNumber;
|
|
5103
|
+
height: z.ZodNumber;
|
|
5104
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5105
|
+
note: z.ZodDefault<z.ZodString>;
|
|
5106
|
+
}, z.core.$strip>>>;
|
|
5107
|
+
regional_edit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5108
|
+
model: z.ZodDefault<z.ZodEnum<{
|
|
5109
|
+
berry: "berry";
|
|
5110
|
+
jam: "jam";
|
|
5111
|
+
}>>;
|
|
5112
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5113
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5114
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5115
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5116
|
+
square: "square";
|
|
5117
|
+
auto: "auto";
|
|
5118
|
+
square_hd: "square_hd";
|
|
5119
|
+
portrait_4_3: "portrait_4_3";
|
|
5120
|
+
portrait_16_9: "portrait_16_9";
|
|
5121
|
+
landscape_4_3: "landscape_4_3";
|
|
5122
|
+
landscape_16_9: "landscape_16_9";
|
|
5123
|
+
}>]>>;
|
|
5124
|
+
reasoning_level: z.ZodDefault<z.ZodEnum<{
|
|
5125
|
+
low: "low";
|
|
5126
|
+
high: "high";
|
|
5127
|
+
medium: "medium";
|
|
5128
|
+
ultra: "ultra";
|
|
5129
|
+
}>>;
|
|
5130
|
+
negative_prompt: z.ZodDefault<z.ZodString>;
|
|
5131
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5132
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5133
|
+
png: "png";
|
|
5134
|
+
jpeg: "jpeg";
|
|
5135
|
+
}>>;
|
|
5136
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5137
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5138
|
+
}, z.core.$strip>;
|
|
5139
|
+
export type FalKreaV3EditRequest = z.input<typeof FalKreaV3EditRequestSchema>;
|
|
5140
|
+
export type FalKreaV3EditRequestInput = FalKreaV3EditRequest;
|
|
5141
|
+
export type FalKreaV3EditParsedRequest = z.output<typeof FalKreaV3EditRequestSchema>;
|
|
5142
|
+
export declare const FalKreaV3TextToImageRequestSchema: z.ZodObject<{
|
|
5143
|
+
prompt: z.ZodString;
|
|
5144
|
+
model: z.ZodDefault<z.ZodEnum<{
|
|
5145
|
+
berry: "berry";
|
|
5146
|
+
jam: "jam";
|
|
5147
|
+
}>>;
|
|
5148
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5149
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5150
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5151
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5152
|
+
square: "square";
|
|
5153
|
+
auto: "auto";
|
|
5154
|
+
square_hd: "square_hd";
|
|
5155
|
+
portrait_4_3: "portrait_4_3";
|
|
5156
|
+
portrait_16_9: "portrait_16_9";
|
|
5157
|
+
landscape_4_3: "landscape_4_3";
|
|
5158
|
+
landscape_16_9: "landscape_16_9";
|
|
5159
|
+
}>]>>;
|
|
5160
|
+
reasoning_level: z.ZodDefault<z.ZodEnum<{
|
|
5161
|
+
low: "low";
|
|
5162
|
+
medium: "medium";
|
|
5163
|
+
}>>;
|
|
5164
|
+
negative_prompt: z.ZodDefault<z.ZodString>;
|
|
5165
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5166
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5167
|
+
png: "png";
|
|
5168
|
+
jpeg: "jpeg";
|
|
5169
|
+
}>>;
|
|
5170
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5171
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5172
|
+
}, z.core.$strip>;
|
|
5173
|
+
export type FalKreaV3TextToImageRequest = z.input<typeof FalKreaV3TextToImageRequestSchema>;
|
|
5174
|
+
export type FalKreaV3TextToImageRequestInput = FalKreaV3TextToImageRequest;
|
|
5175
|
+
export type FalKreaV3TextToImageParsedRequest = z.output<typeof FalKreaV3TextToImageRequestSchema>;
|
|
5176
|
+
export declare const FalOpenaiGptImage2RequestSchema: z.ZodObject<{
|
|
5177
|
+
prompt: z.ZodString;
|
|
5178
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5179
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5180
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5181
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5182
|
+
square: "square";
|
|
5183
|
+
auto: "auto";
|
|
5184
|
+
square_hd: "square_hd";
|
|
5185
|
+
portrait_4_3: "portrait_4_3";
|
|
5186
|
+
portrait_16_9: "portrait_16_9";
|
|
5187
|
+
landscape_4_3: "landscape_4_3";
|
|
5188
|
+
landscape_16_9: "landscape_16_9";
|
|
5189
|
+
}>]>>;
|
|
5190
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5191
|
+
auto: "auto";
|
|
5192
|
+
transparent: "transparent";
|
|
5193
|
+
opaque: "opaque";
|
|
5194
|
+
}>>;
|
|
5195
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5196
|
+
auto: "auto";
|
|
5197
|
+
low: "low";
|
|
5198
|
+
high: "high";
|
|
5199
|
+
medium: "medium";
|
|
5200
|
+
}>>;
|
|
5201
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5202
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5203
|
+
png: "png";
|
|
5204
|
+
jpeg: "jpeg";
|
|
5205
|
+
webp: "webp";
|
|
5206
|
+
}>>;
|
|
5207
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5208
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5209
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5210
|
+
}, z.core.$strip>;
|
|
5211
|
+
export type FalOpenaiGptImage2Request = z.input<typeof FalOpenaiGptImage2RequestSchema>;
|
|
5212
|
+
export type FalOpenaiGptImage2RequestInput = FalOpenaiGptImage2Request;
|
|
5213
|
+
export type FalOpenaiGptImage2ParsedRequest = z.output<typeof FalOpenaiGptImage2RequestSchema>;
|
|
5214
|
+
export declare const FalOpenaiGptImage2EditRequestSchema: z.ZodObject<{
|
|
5215
|
+
prompt: z.ZodString;
|
|
5216
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
5217
|
+
auto: "auto";
|
|
5218
|
+
transparent: "transparent";
|
|
5219
|
+
opaque: "opaque";
|
|
5220
|
+
}>>;
|
|
5221
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
5222
|
+
auto: "auto";
|
|
5223
|
+
low: "low";
|
|
5224
|
+
high: "high";
|
|
5225
|
+
medium: "medium";
|
|
5226
|
+
}>>;
|
|
5227
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
5228
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
5229
|
+
png: "png";
|
|
5230
|
+
jpeg: "jpeg";
|
|
5231
|
+
webp: "webp";
|
|
5232
|
+
}>>;
|
|
5233
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5234
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
5235
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5236
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
5237
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
5238
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
5239
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
5240
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
5241
|
+
square: "square";
|
|
5242
|
+
auto: "auto";
|
|
5243
|
+
square_hd: "square_hd";
|
|
5244
|
+
portrait_4_3: "portrait_4_3";
|
|
5245
|
+
portrait_16_9: "portrait_16_9";
|
|
5246
|
+
landscape_4_3: "landscape_4_3";
|
|
5247
|
+
landscape_16_9: "landscape_16_9";
|
|
5248
|
+
}>]>>;
|
|
5249
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5250
|
+
}, z.core.$strip>;
|
|
5251
|
+
export type FalOpenaiGptImage2EditRequest = z.input<typeof FalOpenaiGptImage2EditRequestSchema>;
|
|
5252
|
+
export type FalOpenaiGptImage2EditRequestInput = FalOpenaiGptImage2EditRequest;
|
|
5253
|
+
export type FalOpenaiGptImage2EditParsedRequest = z.output<typeof FalOpenaiGptImage2EditRequestSchema>;
|
|
4750
5254
|
export declare const FalOpenaiGptImage2p5SunburstEditRequestSchema: z.ZodObject<{
|
|
4751
5255
|
prompt: z.ZodString;
|
|
4752
5256
|
image_urls: z.ZodArray<z.ZodString>;
|
|
@@ -5682,6 +6186,58 @@ export declare const FalFlux2FlexRequestSchema: z.ZodObject<{
|
|
|
5682
6186
|
export type FalFlux2FlexRequest = z.input<typeof FalFlux2FlexRequestSchema>;
|
|
5683
6187
|
export type FalFlux2FlexRequestInput = FalFlux2FlexRequest;
|
|
5684
6188
|
export type FalFlux2FlexParsedRequest = z.output<typeof FalFlux2FlexRequestSchema>;
|
|
6189
|
+
export declare const FalKlingVideoO3ProTextToVideoRequestSchema: z.ZodObject<{
|
|
6190
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
6191
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6192
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6193
|
+
4: "4";
|
|
6194
|
+
3: "3";
|
|
6195
|
+
5: "5";
|
|
6196
|
+
6: "6";
|
|
6197
|
+
7: "7";
|
|
6198
|
+
8: "8";
|
|
6199
|
+
9: "9";
|
|
6200
|
+
10: "10";
|
|
6201
|
+
11: "11";
|
|
6202
|
+
12: "12";
|
|
6203
|
+
13: "13";
|
|
6204
|
+
14: "14";
|
|
6205
|
+
15: "15";
|
|
6206
|
+
}>>;
|
|
6207
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
6208
|
+
"1:1": "1:1";
|
|
6209
|
+
"16:9": "16:9";
|
|
6210
|
+
"9:16": "9:16";
|
|
6211
|
+
}>>;
|
|
6212
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
6213
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6214
|
+
prompt: z.ZodString;
|
|
6215
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6216
|
+
4: "4";
|
|
6217
|
+
3: "3";
|
|
6218
|
+
5: "5";
|
|
6219
|
+
1: "1";
|
|
6220
|
+
2: "2";
|
|
6221
|
+
6: "6";
|
|
6222
|
+
7: "7";
|
|
6223
|
+
8: "8";
|
|
6224
|
+
9: "9";
|
|
6225
|
+
10: "10";
|
|
6226
|
+
11: "11";
|
|
6227
|
+
12: "12";
|
|
6228
|
+
13: "13";
|
|
6229
|
+
14: "14";
|
|
6230
|
+
15: "15";
|
|
6231
|
+
}>>;
|
|
6232
|
+
}, z.core.$strip>>>>;
|
|
6233
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
6234
|
+
customize: "customize";
|
|
6235
|
+
intelligent: "intelligent";
|
|
6236
|
+
}>>;
|
|
6237
|
+
}, z.core.$strip>;
|
|
6238
|
+
export type FalKlingVideoO3ProTextToVideoRequest = z.input<typeof FalKlingVideoO3ProTextToVideoRequestSchema>;
|
|
6239
|
+
export type FalKlingVideoO3ProTextToVideoRequestInput = FalKlingVideoO3ProTextToVideoRequest;
|
|
6240
|
+
export type FalKlingVideoO3ProTextToVideoParsedRequest = z.output<typeof FalKlingVideoO3ProTextToVideoRequestSchema>;
|
|
5685
6241
|
export declare const FalKlingVideoO3StandardImageToVideoRequestSchema: z.ZodObject<{
|
|
5686
6242
|
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
5687
6243
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5731,6 +6287,167 @@ export declare const FalKlingVideoO3StandardImageToVideoRequestSchema: z.ZodObje
|
|
|
5731
6287
|
export type FalKlingVideoO3StandardImageToVideoRequest = z.input<typeof FalKlingVideoO3StandardImageToVideoRequestSchema>;
|
|
5732
6288
|
export type FalKlingVideoO3StandardImageToVideoRequestInput = FalKlingVideoO3StandardImageToVideoRequest;
|
|
5733
6289
|
export type FalKlingVideoO3StandardImageToVideoParsedRequest = z.output<typeof FalKlingVideoO3StandardImageToVideoRequestSchema>;
|
|
6290
|
+
export declare const FalKlingVideoO3ProImageToVideoRequestSchema: z.ZodObject<{
|
|
6291
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
6292
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6293
|
+
image_url: z.ZodString;
|
|
6294
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6295
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6296
|
+
4: "4";
|
|
6297
|
+
3: "3";
|
|
6298
|
+
5: "5";
|
|
6299
|
+
6: "6";
|
|
6300
|
+
7: "7";
|
|
6301
|
+
8: "8";
|
|
6302
|
+
9: "9";
|
|
6303
|
+
10: "10";
|
|
6304
|
+
11: "11";
|
|
6305
|
+
12: "12";
|
|
6306
|
+
13: "13";
|
|
6307
|
+
14: "14";
|
|
6308
|
+
15: "15";
|
|
6309
|
+
}>>;
|
|
6310
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
6311
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6312
|
+
prompt: z.ZodString;
|
|
6313
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6314
|
+
4: "4";
|
|
6315
|
+
3: "3";
|
|
6316
|
+
5: "5";
|
|
6317
|
+
1: "1";
|
|
6318
|
+
2: "2";
|
|
6319
|
+
6: "6";
|
|
6320
|
+
7: "7";
|
|
6321
|
+
8: "8";
|
|
6322
|
+
9: "9";
|
|
6323
|
+
10: "10";
|
|
6324
|
+
11: "11";
|
|
6325
|
+
12: "12";
|
|
6326
|
+
13: "13";
|
|
6327
|
+
14: "14";
|
|
6328
|
+
15: "15";
|
|
6329
|
+
}>>;
|
|
6330
|
+
}, z.core.$strip>>>>;
|
|
6331
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
6332
|
+
customize: "customize";
|
|
6333
|
+
intelligent: "intelligent";
|
|
6334
|
+
}>>;
|
|
6335
|
+
}, z.core.$strip>;
|
|
6336
|
+
export type FalKlingVideoO3ProImageToVideoRequest = z.input<typeof FalKlingVideoO3ProImageToVideoRequestSchema>;
|
|
6337
|
+
export type FalKlingVideoO3ProImageToVideoRequestInput = FalKlingVideoO3ProImageToVideoRequest;
|
|
6338
|
+
export type FalKlingVideoO3ProImageToVideoParsedRequest = z.output<typeof FalKlingVideoO3ProImageToVideoRequestSchema>;
|
|
6339
|
+
export declare const FalKlingVideoO3ProReferenceToVideoRequestSchema: z.ZodObject<{
|
|
6340
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
6341
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6342
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6343
|
+
prompt: z.ZodString;
|
|
6344
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6345
|
+
4: "4";
|
|
6346
|
+
3: "3";
|
|
6347
|
+
5: "5";
|
|
6348
|
+
1: "1";
|
|
6349
|
+
2: "2";
|
|
6350
|
+
6: "6";
|
|
6351
|
+
7: "7";
|
|
6352
|
+
8: "8";
|
|
6353
|
+
9: "9";
|
|
6354
|
+
10: "10";
|
|
6355
|
+
11: "11";
|
|
6356
|
+
12: "12";
|
|
6357
|
+
13: "13";
|
|
6358
|
+
14: "14";
|
|
6359
|
+
15: "15";
|
|
6360
|
+
}>>;
|
|
6361
|
+
}, z.core.$strip>>>>;
|
|
6362
|
+
start_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6363
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6364
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6365
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6366
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6367
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6368
|
+
video_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6369
|
+
voice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6370
|
+
}, z.core.$strip>>>>;
|
|
6371
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
6372
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
6373
|
+
4: "4";
|
|
6374
|
+
3: "3";
|
|
6375
|
+
5: "5";
|
|
6376
|
+
6: "6";
|
|
6377
|
+
7: "7";
|
|
6378
|
+
8: "8";
|
|
6379
|
+
9: "9";
|
|
6380
|
+
10: "10";
|
|
6381
|
+
11: "11";
|
|
6382
|
+
12: "12";
|
|
6383
|
+
13: "13";
|
|
6384
|
+
14: "14";
|
|
6385
|
+
15: "15";
|
|
6386
|
+
}>>;
|
|
6387
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
6388
|
+
customize: "customize";
|
|
6389
|
+
intelligent: "intelligent";
|
|
6390
|
+
}>>;
|
|
6391
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
6392
|
+
"1:1": "1:1";
|
|
6393
|
+
"16:9": "16:9";
|
|
6394
|
+
"9:16": "9:16";
|
|
6395
|
+
}>>;
|
|
6396
|
+
}, z.core.$strip>;
|
|
6397
|
+
export type FalKlingVideoO3ProReferenceToVideoRequest = z.input<typeof FalKlingVideoO3ProReferenceToVideoRequestSchema>;
|
|
6398
|
+
export type FalKlingVideoO3ProReferenceToVideoRequestInput = FalKlingVideoO3ProReferenceToVideoRequest;
|
|
6399
|
+
export type FalKlingVideoO3ProReferenceToVideoParsedRequest = z.output<typeof FalKlingVideoO3ProReferenceToVideoRequestSchema>;
|
|
6400
|
+
export declare const FalKlingVideoO3ProVideoToVideoEditRequestSchema: z.ZodObject<{
|
|
6401
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
6402
|
+
prompt: z.ZodString;
|
|
6403
|
+
video_url: z.ZodString;
|
|
6404
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6405
|
+
keep_audio: z.ZodDefault<z.ZodBoolean>;
|
|
6406
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6407
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6408
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6409
|
+
}, z.core.$strip>>>>;
|
|
6410
|
+
shot_type: z.ZodDefault<z.ZodLiteral<"customize">>;
|
|
6411
|
+
}, z.core.$strip>;
|
|
6412
|
+
export type FalKlingVideoO3ProVideoToVideoEditRequest = z.input<typeof FalKlingVideoO3ProVideoToVideoEditRequestSchema>;
|
|
6413
|
+
export type FalKlingVideoO3ProVideoToVideoEditRequestInput = FalKlingVideoO3ProVideoToVideoEditRequest;
|
|
6414
|
+
export type FalKlingVideoO3ProVideoToVideoEditParsedRequest = z.output<typeof FalKlingVideoO3ProVideoToVideoEditRequestSchema>;
|
|
6415
|
+
export declare const FalKlingVideoO3ProVideoToVideoReferenceRequestSchema: z.ZodObject<{
|
|
6416
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
6417
|
+
prompt: z.ZodString;
|
|
6418
|
+
video_url: z.ZodString;
|
|
6419
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6420
|
+
keep_audio: z.ZodDefault<z.ZodBoolean>;
|
|
6421
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6422
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6423
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6424
|
+
}, z.core.$strip>>>>;
|
|
6425
|
+
shot_type: z.ZodDefault<z.ZodLiteral<"customize">>;
|
|
6426
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
6427
|
+
"1:1": "1:1";
|
|
6428
|
+
"16:9": "16:9";
|
|
6429
|
+
auto: "auto";
|
|
6430
|
+
"9:16": "9:16";
|
|
6431
|
+
}>>;
|
|
6432
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6433
|
+
4: "4";
|
|
6434
|
+
3: "3";
|
|
6435
|
+
5: "5";
|
|
6436
|
+
6: "6";
|
|
6437
|
+
7: "7";
|
|
6438
|
+
8: "8";
|
|
6439
|
+
9: "9";
|
|
6440
|
+
10: "10";
|
|
6441
|
+
11: "11";
|
|
6442
|
+
12: "12";
|
|
6443
|
+
13: "13";
|
|
6444
|
+
14: "14";
|
|
6445
|
+
15: "15";
|
|
6446
|
+
}>>>;
|
|
6447
|
+
}, z.core.$strip>;
|
|
6448
|
+
export type FalKlingVideoO3ProVideoToVideoReferenceRequest = z.input<typeof FalKlingVideoO3ProVideoToVideoReferenceRequestSchema>;
|
|
6449
|
+
export type FalKlingVideoO3ProVideoToVideoReferenceRequestInput = FalKlingVideoO3ProVideoToVideoReferenceRequest;
|
|
6450
|
+
export type FalKlingVideoO3ProVideoToVideoReferenceParsedRequest = z.output<typeof FalKlingVideoO3ProVideoToVideoReferenceRequestSchema>;
|
|
5734
6451
|
export declare const FalVeedCleanAudioRequestSchema: z.ZodObject<{
|
|
5735
6452
|
audio_url: z.ZodString;
|
|
5736
6453
|
strength: z.ZodDefault<z.ZodNumber>;
|
|
@@ -13226,6 +13943,78 @@ export type FalHeygenV3VideoAgentRequest = z.input<typeof FalHeygenV3VideoAgentR
|
|
|
13226
13943
|
export type FalHeygenV3VideoAgentRequestInput = FalHeygenV3VideoAgentRequest;
|
|
13227
13944
|
export type FalHeygenV3VideoAgentParsedRequest = z.output<typeof FalHeygenV3VideoAgentRequestSchema>;
|
|
13228
13945
|
export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
13946
|
+
readonly "openai/gpt-image-2": z.ZodObject<{
|
|
13947
|
+
prompt: z.ZodString;
|
|
13948
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
13949
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
13950
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
13951
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
13952
|
+
square: "square";
|
|
13953
|
+
auto: "auto";
|
|
13954
|
+
square_hd: "square_hd";
|
|
13955
|
+
portrait_4_3: "portrait_4_3";
|
|
13956
|
+
portrait_16_9: "portrait_16_9";
|
|
13957
|
+
landscape_4_3: "landscape_4_3";
|
|
13958
|
+
landscape_16_9: "landscape_16_9";
|
|
13959
|
+
}>]>>;
|
|
13960
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
13961
|
+
auto: "auto";
|
|
13962
|
+
transparent: "transparent";
|
|
13963
|
+
opaque: "opaque";
|
|
13964
|
+
}>>;
|
|
13965
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
13966
|
+
auto: "auto";
|
|
13967
|
+
low: "low";
|
|
13968
|
+
high: "high";
|
|
13969
|
+
medium: "medium";
|
|
13970
|
+
}>>;
|
|
13971
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
13972
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
13973
|
+
png: "png";
|
|
13974
|
+
jpeg: "jpeg";
|
|
13975
|
+
webp: "webp";
|
|
13976
|
+
}>>;
|
|
13977
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13978
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
13979
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
13980
|
+
}, z.core.$strip>;
|
|
13981
|
+
readonly "openai/gpt-image-2/edit": z.ZodObject<{
|
|
13982
|
+
prompt: z.ZodString;
|
|
13983
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
13984
|
+
auto: "auto";
|
|
13985
|
+
transparent: "transparent";
|
|
13986
|
+
opaque: "opaque";
|
|
13987
|
+
}>>;
|
|
13988
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
13989
|
+
auto: "auto";
|
|
13990
|
+
low: "low";
|
|
13991
|
+
high: "high";
|
|
13992
|
+
medium: "medium";
|
|
13993
|
+
}>>;
|
|
13994
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
13995
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
13996
|
+
png: "png";
|
|
13997
|
+
jpeg: "jpeg";
|
|
13998
|
+
webp: "webp";
|
|
13999
|
+
}>>;
|
|
14000
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14001
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
14002
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
14003
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
14004
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
14005
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
14006
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
14007
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
14008
|
+
square: "square";
|
|
14009
|
+
auto: "auto";
|
|
14010
|
+
square_hd: "square_hd";
|
|
14011
|
+
portrait_4_3: "portrait_4_3";
|
|
14012
|
+
portrait_16_9: "portrait_16_9";
|
|
14013
|
+
landscape_4_3: "landscape_4_3";
|
|
14014
|
+
landscape_16_9: "landscape_16_9";
|
|
14015
|
+
}>]>>;
|
|
14016
|
+
mask_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14017
|
+
}, z.core.$strip>;
|
|
13229
14018
|
readonly "fal-ai/heygen/v3/video-agent": z.ZodObject<{
|
|
13230
14019
|
prompt: z.ZodString;
|
|
13231
14020
|
avatar: z.ZodDefault<z.ZodEnum<{
|
|
@@ -20426,6 +21215,204 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
20426
21215
|
flac: "flac";
|
|
20427
21216
|
}>>;
|
|
20428
21217
|
}, z.core.$strip>;
|
|
21218
|
+
readonly "fal-ai/kling-video/o3/pro/reference-to-video": z.ZodObject<{
|
|
21219
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21220
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21221
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21222
|
+
prompt: z.ZodString;
|
|
21223
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21224
|
+
4: "4";
|
|
21225
|
+
3: "3";
|
|
21226
|
+
5: "5";
|
|
21227
|
+
1: "1";
|
|
21228
|
+
2: "2";
|
|
21229
|
+
6: "6";
|
|
21230
|
+
7: "7";
|
|
21231
|
+
8: "8";
|
|
21232
|
+
9: "9";
|
|
21233
|
+
10: "10";
|
|
21234
|
+
11: "11";
|
|
21235
|
+
12: "12";
|
|
21236
|
+
13: "13";
|
|
21237
|
+
14: "14";
|
|
21238
|
+
15: "15";
|
|
21239
|
+
}>>;
|
|
21240
|
+
}, z.core.$strip>>>>;
|
|
21241
|
+
start_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21242
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21243
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21244
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21245
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21246
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21247
|
+
video_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21248
|
+
voice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21249
|
+
}, z.core.$strip>>>>;
|
|
21250
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21251
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21252
|
+
4: "4";
|
|
21253
|
+
3: "3";
|
|
21254
|
+
5: "5";
|
|
21255
|
+
6: "6";
|
|
21256
|
+
7: "7";
|
|
21257
|
+
8: "8";
|
|
21258
|
+
9: "9";
|
|
21259
|
+
10: "10";
|
|
21260
|
+
11: "11";
|
|
21261
|
+
12: "12";
|
|
21262
|
+
13: "13";
|
|
21263
|
+
14: "14";
|
|
21264
|
+
15: "15";
|
|
21265
|
+
}>>;
|
|
21266
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
21267
|
+
customize: "customize";
|
|
21268
|
+
intelligent: "intelligent";
|
|
21269
|
+
}>>;
|
|
21270
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
21271
|
+
"1:1": "1:1";
|
|
21272
|
+
"16:9": "16:9";
|
|
21273
|
+
"9:16": "9:16";
|
|
21274
|
+
}>>;
|
|
21275
|
+
}, z.core.$strip>;
|
|
21276
|
+
readonly "fal-ai/kling-video/o3/pro/video-to-video/reference": z.ZodObject<{
|
|
21277
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21278
|
+
prompt: z.ZodString;
|
|
21279
|
+
video_url: z.ZodString;
|
|
21280
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21281
|
+
keep_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21282
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21283
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21284
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21285
|
+
}, z.core.$strip>>>>;
|
|
21286
|
+
shot_type: z.ZodDefault<z.ZodLiteral<"customize">>;
|
|
21287
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
21288
|
+
"1:1": "1:1";
|
|
21289
|
+
"16:9": "16:9";
|
|
21290
|
+
auto: "auto";
|
|
21291
|
+
"9:16": "9:16";
|
|
21292
|
+
}>>;
|
|
21293
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21294
|
+
4: "4";
|
|
21295
|
+
3: "3";
|
|
21296
|
+
5: "5";
|
|
21297
|
+
6: "6";
|
|
21298
|
+
7: "7";
|
|
21299
|
+
8: "8";
|
|
21300
|
+
9: "9";
|
|
21301
|
+
10: "10";
|
|
21302
|
+
11: "11";
|
|
21303
|
+
12: "12";
|
|
21304
|
+
13: "13";
|
|
21305
|
+
14: "14";
|
|
21306
|
+
15: "15";
|
|
21307
|
+
}>>>;
|
|
21308
|
+
}, z.core.$strip>;
|
|
21309
|
+
readonly "fal-ai/kling-video/o3/pro/video-to-video/edit": z.ZodObject<{
|
|
21310
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21311
|
+
prompt: z.ZodString;
|
|
21312
|
+
video_url: z.ZodString;
|
|
21313
|
+
image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21314
|
+
keep_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21315
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21316
|
+
frontal_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21317
|
+
reference_image_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21318
|
+
}, z.core.$strip>>>>;
|
|
21319
|
+
shot_type: z.ZodDefault<z.ZodLiteral<"customize">>;
|
|
21320
|
+
}, z.core.$strip>;
|
|
21321
|
+
readonly "fal-ai/kling-video/o3/pro/image-to-video": z.ZodObject<{
|
|
21322
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21323
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21324
|
+
image_url: z.ZodString;
|
|
21325
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21326
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21327
|
+
4: "4";
|
|
21328
|
+
3: "3";
|
|
21329
|
+
5: "5";
|
|
21330
|
+
6: "6";
|
|
21331
|
+
7: "7";
|
|
21332
|
+
8: "8";
|
|
21333
|
+
9: "9";
|
|
21334
|
+
10: "10";
|
|
21335
|
+
11: "11";
|
|
21336
|
+
12: "12";
|
|
21337
|
+
13: "13";
|
|
21338
|
+
14: "14";
|
|
21339
|
+
15: "15";
|
|
21340
|
+
}>>;
|
|
21341
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21342
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21343
|
+
prompt: z.ZodString;
|
|
21344
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21345
|
+
4: "4";
|
|
21346
|
+
3: "3";
|
|
21347
|
+
5: "5";
|
|
21348
|
+
1: "1";
|
|
21349
|
+
2: "2";
|
|
21350
|
+
6: "6";
|
|
21351
|
+
7: "7";
|
|
21352
|
+
8: "8";
|
|
21353
|
+
9: "9";
|
|
21354
|
+
10: "10";
|
|
21355
|
+
11: "11";
|
|
21356
|
+
12: "12";
|
|
21357
|
+
13: "13";
|
|
21358
|
+
14: "14";
|
|
21359
|
+
15: "15";
|
|
21360
|
+
}>>;
|
|
21361
|
+
}, z.core.$strip>>>>;
|
|
21362
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
21363
|
+
customize: "customize";
|
|
21364
|
+
intelligent: "intelligent";
|
|
21365
|
+
}>>;
|
|
21366
|
+
}, z.core.$strip>;
|
|
21367
|
+
readonly "fal-ai/kling-video/o3/pro/text-to-video": z.ZodObject<{
|
|
21368
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21369
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21370
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21371
|
+
4: "4";
|
|
21372
|
+
3: "3";
|
|
21373
|
+
5: "5";
|
|
21374
|
+
6: "6";
|
|
21375
|
+
7: "7";
|
|
21376
|
+
8: "8";
|
|
21377
|
+
9: "9";
|
|
21378
|
+
10: "10";
|
|
21379
|
+
11: "11";
|
|
21380
|
+
12: "12";
|
|
21381
|
+
13: "13";
|
|
21382
|
+
14: "14";
|
|
21383
|
+
15: "15";
|
|
21384
|
+
}>>;
|
|
21385
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
21386
|
+
"1:1": "1:1";
|
|
21387
|
+
"16:9": "16:9";
|
|
21388
|
+
"9:16": "9:16";
|
|
21389
|
+
}>>;
|
|
21390
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21391
|
+
multi_prompt: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21392
|
+
prompt: z.ZodString;
|
|
21393
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21394
|
+
4: "4";
|
|
21395
|
+
3: "3";
|
|
21396
|
+
5: "5";
|
|
21397
|
+
1: "1";
|
|
21398
|
+
2: "2";
|
|
21399
|
+
6: "6";
|
|
21400
|
+
7: "7";
|
|
21401
|
+
8: "8";
|
|
21402
|
+
9: "9";
|
|
21403
|
+
10: "10";
|
|
21404
|
+
11: "11";
|
|
21405
|
+
12: "12";
|
|
21406
|
+
13: "13";
|
|
21407
|
+
14: "14";
|
|
21408
|
+
15: "15";
|
|
21409
|
+
}>>;
|
|
21410
|
+
}, z.core.$strip>>>>;
|
|
21411
|
+
shot_type: z.ZodDefault<z.ZodEnum<{
|
|
21412
|
+
customize: "customize";
|
|
21413
|
+
intelligent: "intelligent";
|
|
21414
|
+
}>>;
|
|
21415
|
+
}, z.core.$strip>;
|
|
20429
21416
|
readonly "fal-ai/kling-video/o3/standard/image-to-video": z.ZodObject<{
|
|
20430
21417
|
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
20431
21418
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -21299,20 +22286,95 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
21299
22286
|
jpeg: "jpeg";
|
|
21300
22287
|
webp: "webp";
|
|
21301
22288
|
}>>;
|
|
21302
|
-
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22289
|
+
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22290
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22291
|
+
}, z.core.$strip>;
|
|
22292
|
+
readonly "meta/muse-image/edit": z.ZodObject<{
|
|
22293
|
+
prompt: z.ZodString;
|
|
22294
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22295
|
+
aspect_ratio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22296
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
22297
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22298
|
+
png: "png";
|
|
22299
|
+
jpeg: "jpeg";
|
|
22300
|
+
webp: "webp";
|
|
22301
|
+
}>>;
|
|
22302
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22303
|
+
}, z.core.$strip>;
|
|
22304
|
+
readonly "krea/v3/edit": z.ZodObject<{
|
|
22305
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
22306
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22307
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22308
|
+
image_idx: z.ZodNumber;
|
|
22309
|
+
x: z.ZodNumber;
|
|
22310
|
+
y: z.ZodNumber;
|
|
22311
|
+
width: z.ZodNumber;
|
|
22312
|
+
height: z.ZodNumber;
|
|
22313
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22314
|
+
note: z.ZodDefault<z.ZodString>;
|
|
22315
|
+
}, z.core.$strip>>>;
|
|
22316
|
+
regional_edit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22317
|
+
model: z.ZodDefault<z.ZodEnum<{
|
|
22318
|
+
berry: "berry";
|
|
22319
|
+
jam: "jam";
|
|
22320
|
+
}>>;
|
|
22321
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22322
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22323
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22324
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22325
|
+
square: "square";
|
|
22326
|
+
auto: "auto";
|
|
22327
|
+
square_hd: "square_hd";
|
|
22328
|
+
portrait_4_3: "portrait_4_3";
|
|
22329
|
+
portrait_16_9: "portrait_16_9";
|
|
22330
|
+
landscape_4_3: "landscape_4_3";
|
|
22331
|
+
landscape_16_9: "landscape_16_9";
|
|
22332
|
+
}>]>>;
|
|
22333
|
+
reasoning_level: z.ZodDefault<z.ZodEnum<{
|
|
22334
|
+
low: "low";
|
|
22335
|
+
high: "high";
|
|
22336
|
+
medium: "medium";
|
|
22337
|
+
ultra: "ultra";
|
|
22338
|
+
}>>;
|
|
22339
|
+
negative_prompt: z.ZodDefault<z.ZodString>;
|
|
22340
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22341
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22342
|
+
png: "png";
|
|
22343
|
+
jpeg: "jpeg";
|
|
22344
|
+
}>>;
|
|
21303
22345
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22346
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21304
22347
|
}, z.core.$strip>;
|
|
21305
|
-
readonly "
|
|
22348
|
+
readonly "krea/v3/text-to-image": z.ZodObject<{
|
|
21306
22349
|
prompt: z.ZodString;
|
|
21307
|
-
|
|
21308
|
-
|
|
21309
|
-
|
|
22350
|
+
model: z.ZodDefault<z.ZodEnum<{
|
|
22351
|
+
berry: "berry";
|
|
22352
|
+
jam: "jam";
|
|
22353
|
+
}>>;
|
|
22354
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22355
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22356
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22357
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22358
|
+
square: "square";
|
|
22359
|
+
auto: "auto";
|
|
22360
|
+
square_hd: "square_hd";
|
|
22361
|
+
portrait_4_3: "portrait_4_3";
|
|
22362
|
+
portrait_16_9: "portrait_16_9";
|
|
22363
|
+
landscape_4_3: "landscape_4_3";
|
|
22364
|
+
landscape_16_9: "landscape_16_9";
|
|
22365
|
+
}>]>>;
|
|
22366
|
+
reasoning_level: z.ZodDefault<z.ZodEnum<{
|
|
22367
|
+
low: "low";
|
|
22368
|
+
medium: "medium";
|
|
22369
|
+
}>>;
|
|
22370
|
+
negative_prompt: z.ZodDefault<z.ZodString>;
|
|
22371
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21310
22372
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
21311
22373
|
png: "png";
|
|
21312
22374
|
jpeg: "jpeg";
|
|
21313
|
-
webp: "webp";
|
|
21314
22375
|
}>>;
|
|
21315
22376
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22377
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
21316
22378
|
}, z.core.$strip>;
|
|
21317
22379
|
readonly "meta/muse-image/text-to-image": z.ZodObject<{
|
|
21318
22380
|
prompt: z.ZodString;
|
|
@@ -23417,6 +24479,78 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
23417
24479
|
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
23418
24480
|
image_url: z.ZodString;
|
|
23419
24481
|
}, z.core.$strip>;
|
|
24482
|
+
readonly "blackforestlabs/flux-3/image-to-video/draft": z.ZodObject<{
|
|
24483
|
+
prompt: z.ZodString;
|
|
24484
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
24485
|
+
"1:1": "1:1";
|
|
24486
|
+
"16:9": "16:9";
|
|
24487
|
+
auto: "auto";
|
|
24488
|
+
"21:9": "21:9";
|
|
24489
|
+
"9:16": "9:16";
|
|
24490
|
+
"4:3": "4:3";
|
|
24491
|
+
"3:4": "3:4";
|
|
24492
|
+
"2:1": "2:1";
|
|
24493
|
+
}>>;
|
|
24494
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
24495
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
24496
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24497
|
+
image_url: z.ZodString;
|
|
24498
|
+
}, z.core.$strip>;
|
|
24499
|
+
readonly "blackforestlabs/flux-3/extend-video/draft": z.ZodObject<{
|
|
24500
|
+
prompt: z.ZodString;
|
|
24501
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
24502
|
+
"1:1": "1:1";
|
|
24503
|
+
"16:9": "16:9";
|
|
24504
|
+
auto: "auto";
|
|
24505
|
+
"21:9": "21:9";
|
|
24506
|
+
"9:16": "9:16";
|
|
24507
|
+
"4:3": "4:3";
|
|
24508
|
+
"3:4": "3:4";
|
|
24509
|
+
"2:1": "2:1";
|
|
24510
|
+
}>>;
|
|
24511
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
24512
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
24513
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24514
|
+
video_url: z.ZodString;
|
|
24515
|
+
}, z.core.$strip>;
|
|
24516
|
+
readonly "blackforestlabs/flux-3/first-last-frame-to-video/draft": z.ZodObject<{
|
|
24517
|
+
prompt: z.ZodString;
|
|
24518
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
24519
|
+
"1:1": "1:1";
|
|
24520
|
+
"16:9": "16:9";
|
|
24521
|
+
auto: "auto";
|
|
24522
|
+
"21:9": "21:9";
|
|
24523
|
+
"9:16": "9:16";
|
|
24524
|
+
"4:3": "4:3";
|
|
24525
|
+
"3:4": "3:4";
|
|
24526
|
+
"2:1": "2:1";
|
|
24527
|
+
}>>;
|
|
24528
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
24529
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24530
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
24531
|
+
end_image_url: z.ZodString;
|
|
24532
|
+
start_image_url: z.ZodString;
|
|
24533
|
+
}, z.core.$strip>;
|
|
24534
|
+
readonly "blackforestlabs/flux-3/keyframes-to-video/draft": z.ZodObject<{
|
|
24535
|
+
prompt: z.ZodString;
|
|
24536
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
24537
|
+
"1:1": "1:1";
|
|
24538
|
+
"16:9": "16:9";
|
|
24539
|
+
auto: "auto";
|
|
24540
|
+
"21:9": "21:9";
|
|
24541
|
+
"9:16": "9:16";
|
|
24542
|
+
"4:3": "4:3";
|
|
24543
|
+
"3:4": "3:4";
|
|
24544
|
+
"2:1": "2:1";
|
|
24545
|
+
}>>;
|
|
24546
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
24547
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24548
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
24549
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
24550
|
+
image_url: z.ZodString;
|
|
24551
|
+
frame_index: z.ZodNumber;
|
|
24552
|
+
}, z.core.$strip>>;
|
|
24553
|
+
}, z.core.$strip>;
|
|
23420
24554
|
readonly "blackforestlabs/flux-3/keyframes-to-video": z.ZodObject<{
|
|
23421
24555
|
prompt: z.ZodString;
|
|
23422
24556
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -23465,6 +24599,26 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
23465
24599
|
}>>;
|
|
23466
24600
|
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
23467
24601
|
}, z.core.$strip>;
|
|
24602
|
+
readonly "blackforestlabs/flux-3/text-to-video/draft": z.ZodObject<{
|
|
24603
|
+
prompt: z.ZodString;
|
|
24604
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
24605
|
+
"1:1": "1:1";
|
|
24606
|
+
"16:9": "16:9";
|
|
24607
|
+
auto: "auto";
|
|
24608
|
+
"21:9": "21:9";
|
|
24609
|
+
"9:16": "9:16";
|
|
24610
|
+
"4:3": "4:3";
|
|
24611
|
+
"3:4": "3:4";
|
|
24612
|
+
"2:1": "2:1";
|
|
24613
|
+
}>>;
|
|
24614
|
+
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
24615
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
24616
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24617
|
+
}, z.core.$strip>;
|
|
24618
|
+
readonly "blackforestlabs/flux-3/draft-enhance": z.ZodObject<{
|
|
24619
|
+
draft_cache_url: z.ZodString;
|
|
24620
|
+
safety_tolerance: z.ZodDefault<z.ZodNumber>;
|
|
24621
|
+
}, z.core.$strip>;
|
|
23468
24622
|
readonly "blackforestlabs/flux-3-max/image-to-video": z.ZodObject<{
|
|
23469
24623
|
prompt: z.ZodString;
|
|
23470
24624
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24901,6 +26055,39 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
24901
26055
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
24902
26056
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
24903
26057
|
}, z.core.$strip>;
|
|
26058
|
+
readonly "minimax/h3/text-to-video/lora": z.ZodObject<{
|
|
26059
|
+
prompt: z.ZodString;
|
|
26060
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
26061
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26062
|
+
"480P": "480P";
|
|
26063
|
+
"768P": "768P";
|
|
26064
|
+
"2K": "2K";
|
|
26065
|
+
"4K": "4K";
|
|
26066
|
+
}>>;
|
|
26067
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26068
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
26069
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
26070
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
26071
|
+
fast: "fast";
|
|
26072
|
+
disabled: "disabled";
|
|
26073
|
+
quality: "quality";
|
|
26074
|
+
balanced: "balanced";
|
|
26075
|
+
}>>>;
|
|
26076
|
+
target_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26077
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26078
|
+
"1:1": "1:1";
|
|
26079
|
+
"16:9": "16:9";
|
|
26080
|
+
"21:9": "21:9";
|
|
26081
|
+
"9:16": "9:16";
|
|
26082
|
+
"4:3": "4:3";
|
|
26083
|
+
"3:4": "3:4";
|
|
26084
|
+
}>>;
|
|
26085
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
26086
|
+
path: z.ZodString;
|
|
26087
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26088
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
26089
|
+
}, z.core.$strip>>;
|
|
26090
|
+
}, z.core.$strip>;
|
|
24904
26091
|
readonly "minimax/h3/image-to-video": z.ZodObject<{
|
|
24905
26092
|
prompt: z.ZodString;
|
|
24906
26093
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -24922,6 +26109,33 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
24922
26109
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
24923
26110
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
24924
26111
|
}, z.core.$strip>;
|
|
26112
|
+
readonly "minimax/h3/image-to-video/lora": z.ZodObject<{
|
|
26113
|
+
prompt: z.ZodString;
|
|
26114
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
26115
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26116
|
+
"480P": "480P";
|
|
26117
|
+
"768P": "768P";
|
|
26118
|
+
"2K": "2K";
|
|
26119
|
+
"4K": "4K";
|
|
26120
|
+
}>>;
|
|
26121
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26122
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
26123
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
26124
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
26125
|
+
fast: "fast";
|
|
26126
|
+
disabled: "disabled";
|
|
26127
|
+
quality: "quality";
|
|
26128
|
+
balanced: "balanced";
|
|
26129
|
+
}>>>;
|
|
26130
|
+
target_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26131
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26132
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26133
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
26134
|
+
path: z.ZodString;
|
|
26135
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26136
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
26137
|
+
}, z.core.$strip>>;
|
|
26138
|
+
}, z.core.$strip>;
|
|
24925
26139
|
readonly "minimax/h3/reference-to-video": z.ZodObject<{
|
|
24926
26140
|
prompt: z.ZodString;
|
|
24927
26141
|
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -24953,6 +26167,157 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
24953
26167
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
24954
26168
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
24955
26169
|
}, z.core.$strip>;
|
|
26170
|
+
readonly "minimax/h3/reference-to-video/lora": z.ZodObject<{
|
|
26171
|
+
prompt: z.ZodString;
|
|
26172
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
26173
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26174
|
+
"480P": "480P";
|
|
26175
|
+
"768P": "768P";
|
|
26176
|
+
"2K": "2K";
|
|
26177
|
+
"4K": "4K";
|
|
26178
|
+
}>>;
|
|
26179
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26180
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
26181
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
26182
|
+
prompt_expansion_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
26183
|
+
fast: "fast";
|
|
26184
|
+
disabled: "disabled";
|
|
26185
|
+
quality: "quality";
|
|
26186
|
+
balanced: "balanced";
|
|
26187
|
+
}>>>;
|
|
26188
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26189
|
+
"1:1": "1:1";
|
|
26190
|
+
"16:9": "16:9";
|
|
26191
|
+
"21:9": "21:9";
|
|
26192
|
+
"9:16": "9:16";
|
|
26193
|
+
adaptive: "adaptive";
|
|
26194
|
+
"4:3": "4:3";
|
|
26195
|
+
"3:4": "3:4";
|
|
26196
|
+
}>>;
|
|
26197
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26198
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26199
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26200
|
+
loras: z.ZodArray<z.ZodObject<{
|
|
26201
|
+
path: z.ZodString;
|
|
26202
|
+
weight_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26203
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
26204
|
+
}, z.core.$strip>>;
|
|
26205
|
+
}, z.core.$strip>;
|
|
26206
|
+
readonly "minimax/h3/t2v/trainer": z.ZodObject<{
|
|
26207
|
+
training_data_url: z.ZodString;
|
|
26208
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
26209
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
26210
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
26211
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
26212
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
26213
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26214
|
+
low: "low";
|
|
26215
|
+
high: "high";
|
|
26216
|
+
medium: "medium";
|
|
26217
|
+
}>>;
|
|
26218
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26219
|
+
"1:1": "1:1";
|
|
26220
|
+
"16:9": "16:9";
|
|
26221
|
+
"21:9": "21:9";
|
|
26222
|
+
"9:16": "9:16";
|
|
26223
|
+
"4:3": "4:3";
|
|
26224
|
+
"3:4": "3:4";
|
|
26225
|
+
}>>;
|
|
26226
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
26227
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26228
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
26229
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
26230
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
26231
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26232
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26233
|
+
}, z.core.$strip>;
|
|
26234
|
+
readonly "minimax/h3/i2v/trainer": z.ZodObject<{
|
|
26235
|
+
training_data_url: z.ZodString;
|
|
26236
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
26237
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
26238
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
26239
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
26240
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
26241
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26242
|
+
low: "low";
|
|
26243
|
+
high: "high";
|
|
26244
|
+
medium: "medium";
|
|
26245
|
+
}>>;
|
|
26246
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26247
|
+
"1:1": "1:1";
|
|
26248
|
+
"16:9": "16:9";
|
|
26249
|
+
"21:9": "21:9";
|
|
26250
|
+
"9:16": "9:16";
|
|
26251
|
+
"4:3": "4:3";
|
|
26252
|
+
"3:4": "3:4";
|
|
26253
|
+
}>>;
|
|
26254
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
26255
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26256
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
26257
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
26258
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
26259
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26260
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26261
|
+
}, z.core.$strip>;
|
|
26262
|
+
readonly "minimax/h3/flf2v/trainer": z.ZodObject<{
|
|
26263
|
+
training_data_url: z.ZodString;
|
|
26264
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
26265
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
26266
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
26267
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
26268
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
26269
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26270
|
+
low: "low";
|
|
26271
|
+
high: "high";
|
|
26272
|
+
medium: "medium";
|
|
26273
|
+
}>>;
|
|
26274
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26275
|
+
"1:1": "1:1";
|
|
26276
|
+
"16:9": "16:9";
|
|
26277
|
+
"21:9": "21:9";
|
|
26278
|
+
"9:16": "9:16";
|
|
26279
|
+
"4:3": "4:3";
|
|
26280
|
+
"3:4": "3:4";
|
|
26281
|
+
}>>;
|
|
26282
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
26283
|
+
first_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26284
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
26285
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
26286
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
26287
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26288
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26289
|
+
last_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26290
|
+
first_last_frame_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26291
|
+
}, z.core.$strip>;
|
|
26292
|
+
readonly "minimax/h3/ref2va/trainer": z.ZodObject<{
|
|
26293
|
+
training_data_url: z.ZodString;
|
|
26294
|
+
rank: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>, z.ZodLiteral<128>]>>;
|
|
26295
|
+
number_of_steps: z.ZodDefault<z.ZodNumber>;
|
|
26296
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
26297
|
+
number_of_frames: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<22>, z.ZodLiteral<39>, z.ZodLiteral<56>, z.ZodLiteral<73>, z.ZodLiteral<90>, z.ZodLiteral<107>, z.ZodLiteral<124>]>>;
|
|
26298
|
+
frame_rate: z.ZodDefault<z.ZodNumber>;
|
|
26299
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
26300
|
+
low: "low";
|
|
26301
|
+
high: "high";
|
|
26302
|
+
medium: "medium";
|
|
26303
|
+
}>>;
|
|
26304
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
26305
|
+
"1:1": "1:1";
|
|
26306
|
+
"16:9": "16:9";
|
|
26307
|
+
"21:9": "21:9";
|
|
26308
|
+
"9:16": "9:16";
|
|
26309
|
+
"4:3": "4:3";
|
|
26310
|
+
"3:4": "3:4";
|
|
26311
|
+
}>>;
|
|
26312
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
26313
|
+
reference_conditioning_p: z.ZodDefault<z.ZodNumber>;
|
|
26314
|
+
resume_from_lora_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26315
|
+
auto_scale_input: z.ZodDefault<z.ZodBoolean>;
|
|
26316
|
+
split_input_into_scenes: z.ZodDefault<z.ZodBoolean>;
|
|
26317
|
+
split_input_duration_threshold: z.ZodDefault<z.ZodNumber>;
|
|
26318
|
+
debug_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26319
|
+
strict_dataset: z.ZodDefault<z.ZodBoolean>;
|
|
26320
|
+
}, z.core.$strip>;
|
|
24956
26321
|
readonly "fal-ai/wan/v2.7/text-to-image": z.ZodObject<{
|
|
24957
26322
|
prompt: z.ZodString;
|
|
24958
26323
|
negative_prompt: z.ZodOptional<z.ZodString>;
|