fal-endpoint-types 1.3.21 → 1.3.23
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.
|
@@ -941,7 +941,7 @@ export interface VeedAvatarsTextToVideoInput {
|
|
|
941
941
|
text: string;
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
export interface VeedAvatarsTextToVideoOutput extends
|
|
944
|
+
export interface VeedAvatarsTextToVideoOutput extends SharedType_78a1 {}
|
|
945
945
|
|
|
946
946
|
export interface VeedAvatarsAudioToVideoInput {
|
|
947
947
|
/**
|
|
@@ -986,7 +986,7 @@ export interface VeedAvatarsAudioToVideoInput {
|
|
|
986
986
|
| 'any_female_side';
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
-
export interface VeedAvatarsAudioToVideoOutput extends
|
|
989
|
+
export interface VeedAvatarsAudioToVideoOutput extends SharedType_78a1 {}
|
|
990
990
|
|
|
991
991
|
export interface Tripo3dTripoV25MultiviewTo3dInput {
|
|
992
992
|
/**
|
|
@@ -2349,29 +2349,6 @@ export interface SharedType_ee0 {
|
|
|
2349
2349
|
speaker_embedding: Components.File;
|
|
2350
2350
|
}
|
|
2351
2351
|
|
|
2352
|
-
export interface SharedType_ec2 {
|
|
2353
|
-
/**
|
|
2354
|
-
* Prompt
|
|
2355
|
-
* @description The text prompt used for video generation.
|
|
2356
|
-
* @default
|
|
2357
|
-
* @example A close-up of a young woman smiling gently in the rain, raindrops glistening on her face and eyelashes. The video captures the delicate details of her expression and the water droplets, with soft light reflecting off her skin in the rainy atmosphere.
|
|
2358
|
-
*/
|
|
2359
|
-
prompt?: string;
|
|
2360
|
-
/**
|
|
2361
|
-
* Seed
|
|
2362
|
-
* @description The seed used for generation.
|
|
2363
|
-
*/
|
|
2364
|
-
seed: number;
|
|
2365
|
-
/**
|
|
2366
|
-
* Video
|
|
2367
|
-
* @description The generated video file.
|
|
2368
|
-
* @example {
|
|
2369
|
-
* "url": "https://storage.googleapis.com/falserverless/model_tests/wan/v2.2-woman-output.mp4"
|
|
2370
|
-
* }
|
|
2371
|
-
*/
|
|
2372
|
-
video: Components.File;
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2375
2352
|
export interface SharedType_ec0 {
|
|
2376
2353
|
/**
|
|
2377
2354
|
* Art Style
|
|
@@ -2617,6 +2594,94 @@ export interface SharedType_e4b {
|
|
|
2617
2594
|
steps?: number;
|
|
2618
2595
|
}
|
|
2619
2596
|
|
|
2597
|
+
export interface SharedType_e49 {
|
|
2598
|
+
/**
|
|
2599
|
+
* Actual Prompt
|
|
2600
|
+
* @description The actual prompt used if prompt expansion was enabled
|
|
2601
|
+
*/
|
|
2602
|
+
actual_prompt?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Model Glb
|
|
2605
|
+
* @description Generated 3D object in GLB format.
|
|
2606
|
+
* @example {
|
|
2607
|
+
* "file_size": 9314028,
|
|
2608
|
+
* "file_name": "model.glb",
|
|
2609
|
+
* "content_type": "model/gltf-binary",
|
|
2610
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
2611
|
+
* }
|
|
2612
|
+
*/
|
|
2613
|
+
model_glb: Components.File;
|
|
2614
|
+
/**
|
|
2615
|
+
* Model Urls
|
|
2616
|
+
* @description URLs for different 3D model formats
|
|
2617
|
+
* @example {
|
|
2618
|
+
* "fbx": {
|
|
2619
|
+
* "file_size": 5444380,
|
|
2620
|
+
* "file_name": "model.fbx",
|
|
2621
|
+
* "content_type": "application/octet-stream",
|
|
2622
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
2623
|
+
* },
|
|
2624
|
+
* "usdz": {
|
|
2625
|
+
* "file_size": 9834246,
|
|
2626
|
+
* "file_name": "model.usdz",
|
|
2627
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
2628
|
+
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
2629
|
+
* },
|
|
2630
|
+
* "obj": {
|
|
2631
|
+
* "file_size": 2755145,
|
|
2632
|
+
* "file_name": "model.obj",
|
|
2633
|
+
* "content_type": "text/plain",
|
|
2634
|
+
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
2635
|
+
* },
|
|
2636
|
+
* "glb": {
|
|
2637
|
+
* "file_size": 9314028,
|
|
2638
|
+
* "file_name": "model.glb",
|
|
2639
|
+
* "content_type": "model/gltf-binary",
|
|
2640
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
2641
|
+
* }
|
|
2642
|
+
* }
|
|
2643
|
+
*/
|
|
2644
|
+
model_urls: Components.ModelUrls;
|
|
2645
|
+
/**
|
|
2646
|
+
* Prompt
|
|
2647
|
+
* @description The text prompt used for generation
|
|
2648
|
+
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
2649
|
+
*/
|
|
2650
|
+
prompt: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* Seed
|
|
2653
|
+
* @description The seed used for generation
|
|
2654
|
+
* @example 4002110719
|
|
2655
|
+
*/
|
|
2656
|
+
seed?: number;
|
|
2657
|
+
/**
|
|
2658
|
+
* Texture Urls
|
|
2659
|
+
* @description Array of texture file objects
|
|
2660
|
+
* @example [
|
|
2661
|
+
* {
|
|
2662
|
+
* "base_color": {
|
|
2663
|
+
* "file_size": 4254502,
|
|
2664
|
+
* "file_name": "texture_0.png",
|
|
2665
|
+
* "content_type": "image/png",
|
|
2666
|
+
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
2667
|
+
* }
|
|
2668
|
+
* }
|
|
2669
|
+
* ]
|
|
2670
|
+
*/
|
|
2671
|
+
texture_urls?: Components.TextureFiles[];
|
|
2672
|
+
/**
|
|
2673
|
+
* Thumbnail
|
|
2674
|
+
* @description Preview thumbnail of the generated model
|
|
2675
|
+
* @example {
|
|
2676
|
+
* "file_size": 173792,
|
|
2677
|
+
* "file_name": "preview.png",
|
|
2678
|
+
* "content_type": "image/png",
|
|
2679
|
+
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
2680
|
+
* }
|
|
2681
|
+
*/
|
|
2682
|
+
thumbnail?: Components.File;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2620
2685
|
export interface SharedType_e3b {
|
|
2621
2686
|
/**
|
|
2622
2687
|
* Video
|
|
@@ -2735,6 +2800,29 @@ export interface SharedType_e34 {
|
|
|
2735
2800
|
sync_mode?: boolean;
|
|
2736
2801
|
}
|
|
2737
2802
|
|
|
2803
|
+
export interface SharedType_e19 {
|
|
2804
|
+
/**
|
|
2805
|
+
* Images
|
|
2806
|
+
* @description The generated images
|
|
2807
|
+
* @example [
|
|
2808
|
+
* {
|
|
2809
|
+
* "height": 1536,
|
|
2810
|
+
* "file_size": 3731290,
|
|
2811
|
+
* "file_name": "257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
2812
|
+
* "content_type": "image/png",
|
|
2813
|
+
* "url": "https://v3.fal.media/files/tiger/48e63e0K6C9XQYBuomoU-_257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
2814
|
+
* "width": 1536
|
|
2815
|
+
* }
|
|
2816
|
+
* ]
|
|
2817
|
+
*/
|
|
2818
|
+
images: Components.Image[];
|
|
2819
|
+
/**
|
|
2820
|
+
* Seed
|
|
2821
|
+
* @description Seed value used for generation.
|
|
2822
|
+
*/
|
|
2823
|
+
seed: number;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2738
2826
|
export interface SharedType_e18 {
|
|
2739
2827
|
/**
|
|
2740
2828
|
* Default Caption
|
|
@@ -4113,6 +4201,17 @@ export interface SharedType_c7e {
|
|
|
4113
4201
|
audio: Components.File;
|
|
4114
4202
|
}
|
|
4115
4203
|
|
|
4204
|
+
export interface SharedType_c61 {
|
|
4205
|
+
/**
|
|
4206
|
+
* Video
|
|
4207
|
+
* @description The generated video from image using the Q3 model
|
|
4208
|
+
* @example {
|
|
4209
|
+
* "url": "https://v3b.fal.media/files/b/0a8c9189/n9z3uUDPqmU2msAtqr25-_output.mp4"
|
|
4210
|
+
* }
|
|
4211
|
+
*/
|
|
4212
|
+
video: Components.File;
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4116
4215
|
export interface SharedType_c5e {
|
|
4117
4216
|
/**
|
|
4118
4217
|
* Acceleration
|
|
@@ -4309,6 +4408,21 @@ export interface SharedType_c3a {
|
|
|
4309
4408
|
speakers: Components.VibeVoiceSpeaker[];
|
|
4310
4409
|
}
|
|
4311
4410
|
|
|
4411
|
+
export interface SharedType_c0f {
|
|
4412
|
+
/**
|
|
4413
|
+
* @description The generated image file.
|
|
4414
|
+
* @example {
|
|
4415
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan/t2i-output.png"
|
|
4416
|
+
* }
|
|
4417
|
+
*/
|
|
4418
|
+
image: Components.File_1;
|
|
4419
|
+
/**
|
|
4420
|
+
* Seed
|
|
4421
|
+
* @description The seed used for generation.
|
|
4422
|
+
*/
|
|
4423
|
+
seed: number;
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4312
4426
|
export interface SharedType_bf2 {
|
|
4313
4427
|
/**
|
|
4314
4428
|
* Image
|
|
@@ -4367,29 +4481,6 @@ export interface SharedType_bda {
|
|
|
4367
4481
|
video_url: string;
|
|
4368
4482
|
}
|
|
4369
4483
|
|
|
4370
|
-
export interface SharedType_bd3 {
|
|
4371
|
-
/**
|
|
4372
|
-
* Prompt
|
|
4373
|
-
* @description The text prompt used for video generation.
|
|
4374
|
-
* @default
|
|
4375
|
-
* @example The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.
|
|
4376
|
-
*/
|
|
4377
|
-
prompt?: string;
|
|
4378
|
-
/**
|
|
4379
|
-
* Seed
|
|
4380
|
-
* @description The seed used for generation.
|
|
4381
|
-
*/
|
|
4382
|
-
seed: number;
|
|
4383
|
-
/**
|
|
4384
|
-
* Video
|
|
4385
|
-
* @description The generated video file.
|
|
4386
|
-
* @example {
|
|
4387
|
-
* "url": "https://v3.fal.media/files/lion/Fbuh3lO_HMT-pS0DATbio_tmp08c3v477.mp4"
|
|
4388
|
-
* }
|
|
4389
|
-
*/
|
|
4390
|
-
video: Components.File;
|
|
4391
|
-
}
|
|
4392
|
-
|
|
4393
4484
|
export interface SharedType_bc9 {
|
|
4394
4485
|
/**
|
|
4395
4486
|
* Has Nsfw Concepts
|
|
@@ -4782,29 +4873,6 @@ export interface SharedType_b61 {
|
|
|
4782
4873
|
}[];
|
|
4783
4874
|
}
|
|
4784
4875
|
|
|
4785
|
-
export interface SharedType_b5a {
|
|
4786
|
-
/**
|
|
4787
|
-
* Prompt
|
|
4788
|
-
* @description The text prompt used for video generation.
|
|
4789
|
-
* @default
|
|
4790
|
-
* @example A medium shot establishes a modern, minimalist office setting: clean lines, muted grey walls, and polished wood surfaces. The focus shifts to a close-up on a woman in sharp, navy blue business attire. Her crisp white blouse contrasts with the deep blue of her tailored suit jacket. The subtle texture of the fabric is visible—a fine weave with a slight sheen. Her expression is serious, yet engaging, as she speaks to someone unseen just beyond the frame. Close-up on her eyes, showing the intensity of her gaze and the fine lines around them that hint at experience and focus. Her lips are slightly parted, as if mid-sentence. The light catches the subtle highlights in her auburn hair, meticulously styled. Note the slight catch of light on the silver band of her watch. High resolution 4k
|
|
4791
|
-
*/
|
|
4792
|
-
prompt?: string;
|
|
4793
|
-
/**
|
|
4794
|
-
* Seed
|
|
4795
|
-
* @description The seed used for generation.
|
|
4796
|
-
*/
|
|
4797
|
-
seed: number;
|
|
4798
|
-
/**
|
|
4799
|
-
* Video
|
|
4800
|
-
* @description The generated video file.
|
|
4801
|
-
* @example {
|
|
4802
|
-
* "url": "https://storage.googleapis.com/falserverless/model_tests/wan/v2.2-small-output.mp4"
|
|
4803
|
-
* }
|
|
4804
|
-
*/
|
|
4805
|
-
video: Components.File;
|
|
4806
|
-
}
|
|
4807
|
-
|
|
4808
4876
|
export interface SharedType_b59 {
|
|
4809
4877
|
/**
|
|
4810
4878
|
* Aspect Ratio
|
|
@@ -5109,94 +5177,6 @@ export interface SharedType_aed {
|
|
|
5109
5177
|
sync_mode?: boolean;
|
|
5110
5178
|
}
|
|
5111
5179
|
|
|
5112
|
-
export interface SharedType_ae3 {
|
|
5113
|
-
/**
|
|
5114
|
-
* Actual Prompt
|
|
5115
|
-
* @description The actual prompt used if prompt expansion was enabled
|
|
5116
|
-
*/
|
|
5117
|
-
actual_prompt?: string;
|
|
5118
|
-
/**
|
|
5119
|
-
* Model Glb
|
|
5120
|
-
* @description Generated 3D object in GLB format.
|
|
5121
|
-
* @example {
|
|
5122
|
-
* "file_size": 9314028,
|
|
5123
|
-
* "file_name": "model.glb",
|
|
5124
|
-
* "content_type": "model/gltf-binary",
|
|
5125
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
5126
|
-
* }
|
|
5127
|
-
*/
|
|
5128
|
-
model_glb: Components.File;
|
|
5129
|
-
/**
|
|
5130
|
-
* Model Urls
|
|
5131
|
-
* @description URLs for different 3D model formats
|
|
5132
|
-
* @example {
|
|
5133
|
-
* "fbx": {
|
|
5134
|
-
* "file_size": 5444380,
|
|
5135
|
-
* "file_name": "model.fbx",
|
|
5136
|
-
* "content_type": "application/octet-stream",
|
|
5137
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
5138
|
-
* },
|
|
5139
|
-
* "usdz": {
|
|
5140
|
-
* "file_size": 9834246,
|
|
5141
|
-
* "file_name": "model.usdz",
|
|
5142
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
5143
|
-
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
5144
|
-
* },
|
|
5145
|
-
* "glb": {
|
|
5146
|
-
* "file_size": 9314028,
|
|
5147
|
-
* "file_name": "model.glb",
|
|
5148
|
-
* "content_type": "model/gltf-binary",
|
|
5149
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
5150
|
-
* },
|
|
5151
|
-
* "obj": {
|
|
5152
|
-
* "file_size": 2755145,
|
|
5153
|
-
* "file_name": "model.obj",
|
|
5154
|
-
* "content_type": "text/plain",
|
|
5155
|
-
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
5156
|
-
* }
|
|
5157
|
-
* }
|
|
5158
|
-
*/
|
|
5159
|
-
model_urls: Components.ModelUrls;
|
|
5160
|
-
/**
|
|
5161
|
-
* Prompt
|
|
5162
|
-
* @description The text prompt used for generation
|
|
5163
|
-
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
5164
|
-
*/
|
|
5165
|
-
prompt: string;
|
|
5166
|
-
/**
|
|
5167
|
-
* Seed
|
|
5168
|
-
* @description The seed used for generation
|
|
5169
|
-
* @example 4002110719
|
|
5170
|
-
*/
|
|
5171
|
-
seed?: number;
|
|
5172
|
-
/**
|
|
5173
|
-
* Texture Urls
|
|
5174
|
-
* @description Array of texture file objects
|
|
5175
|
-
* @example [
|
|
5176
|
-
* {
|
|
5177
|
-
* "base_color": {
|
|
5178
|
-
* "file_size": 4254502,
|
|
5179
|
-
* "file_name": "texture_0.png",
|
|
5180
|
-
* "content_type": "image/png",
|
|
5181
|
-
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
5182
|
-
* }
|
|
5183
|
-
* }
|
|
5184
|
-
* ]
|
|
5185
|
-
*/
|
|
5186
|
-
texture_urls?: Components.TextureFiles[];
|
|
5187
|
-
/**
|
|
5188
|
-
* Thumbnail
|
|
5189
|
-
* @description Preview thumbnail of the generated model
|
|
5190
|
-
* @example {
|
|
5191
|
-
* "file_size": 173792,
|
|
5192
|
-
* "file_name": "preview.png",
|
|
5193
|
-
* "content_type": "image/png",
|
|
5194
|
-
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
5195
|
-
* }
|
|
5196
|
-
*/
|
|
5197
|
-
thumbnail?: Components.File;
|
|
5198
|
-
}
|
|
5199
|
-
|
|
5200
5180
|
export interface SharedType_ade {
|
|
5201
5181
|
/**
|
|
5202
5182
|
* Video
|
|
@@ -5273,29 +5253,6 @@ export interface SharedType_ab0 {
|
|
|
5273
5253
|
strength: number;
|
|
5274
5254
|
}
|
|
5275
5255
|
|
|
5276
|
-
export interface SharedType_a97 {
|
|
5277
|
-
/**
|
|
5278
|
-
* Images
|
|
5279
|
-
* @description The generated images
|
|
5280
|
-
* @example [
|
|
5281
|
-
* {
|
|
5282
|
-
* "file_size": 3731290,
|
|
5283
|
-
* "height": 1536,
|
|
5284
|
-
* "file_name": "257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
5285
|
-
* "content_type": "image/png",
|
|
5286
|
-
* "url": "https://v3.fal.media/files/tiger/48e63e0K6C9XQYBuomoU-_257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
5287
|
-
* "width": 1536
|
|
5288
|
-
* }
|
|
5289
|
-
* ]
|
|
5290
|
-
*/
|
|
5291
|
-
images: Components.Image[];
|
|
5292
|
-
/**
|
|
5293
|
-
* Seed
|
|
5294
|
-
* @description Seed value used for generation.
|
|
5295
|
-
*/
|
|
5296
|
-
seed: number;
|
|
5297
|
-
}
|
|
5298
|
-
|
|
5299
5256
|
export interface SharedType_a96 {
|
|
5300
5257
|
/**
|
|
5301
5258
|
* Prompt
|
|
@@ -6261,7 +6218,7 @@ export interface SharedType_962 {
|
|
|
6261
6218
|
};
|
|
6262
6219
|
}
|
|
6263
6220
|
|
|
6264
|
-
export interface
|
|
6221
|
+
export interface SharedType_95d1 {
|
|
6265
6222
|
/**
|
|
6266
6223
|
* Video
|
|
6267
6224
|
* @description The generated video
|
|
@@ -6274,6 +6231,46 @@ export interface SharedType_95d {
|
|
|
6274
6231
|
video: Components.File;
|
|
6275
6232
|
}
|
|
6276
6233
|
|
|
6234
|
+
export interface SharedType_95d {
|
|
6235
|
+
/**
|
|
6236
|
+
* Aspect Ratio
|
|
6237
|
+
* @description The aspect ratio of the output video
|
|
6238
|
+
* @default 16:9
|
|
6239
|
+
* @enum {string}
|
|
6240
|
+
*/
|
|
6241
|
+
aspect_ratio?: '16:9' | '9:16' | '4:3' | '3:4' | '1:1';
|
|
6242
|
+
/**
|
|
6243
|
+
* Audio
|
|
6244
|
+
* @description Whether to use direct audio-video generation. When true, outputs video with sound.
|
|
6245
|
+
* @default true
|
|
6246
|
+
*/
|
|
6247
|
+
audio?: boolean;
|
|
6248
|
+
/**
|
|
6249
|
+
* Duration
|
|
6250
|
+
* @description Duration of the video in seconds
|
|
6251
|
+
* @default 5
|
|
6252
|
+
*/
|
|
6253
|
+
duration?: number;
|
|
6254
|
+
/**
|
|
6255
|
+
* Prompt
|
|
6256
|
+
* @description Text prompt for video generation, max 2000 characters
|
|
6257
|
+
* @example In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog.
|
|
6258
|
+
*/
|
|
6259
|
+
prompt: string;
|
|
6260
|
+
/**
|
|
6261
|
+
* Resolution
|
|
6262
|
+
* @description Output video resolution
|
|
6263
|
+
* @default 720p
|
|
6264
|
+
* @enum {string}
|
|
6265
|
+
*/
|
|
6266
|
+
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
6267
|
+
/**
|
|
6268
|
+
* Seed
|
|
6269
|
+
* @description Random seed for reproducibility. If None, a random seed is chosen.
|
|
6270
|
+
*/
|
|
6271
|
+
seed?: number;
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6277
6274
|
export interface SharedType_95c {
|
|
6278
6275
|
/**
|
|
6279
6276
|
* Images
|
|
@@ -6583,6 +6580,83 @@ export interface SharedType_905 {
|
|
|
6583
6580
|
seed?: number;
|
|
6584
6581
|
}
|
|
6585
6582
|
|
|
6583
|
+
export interface SharedType_8f1 {
|
|
6584
|
+
/**
|
|
6585
|
+
* Model Glb
|
|
6586
|
+
* @description Generated 3D object in GLB format.
|
|
6587
|
+
* @example {
|
|
6588
|
+
* "file_size": 9242744,
|
|
6589
|
+
* "file_name": "model.glb",
|
|
6590
|
+
* "content_type": "model/gltf-binary",
|
|
6591
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
6592
|
+
* }
|
|
6593
|
+
*/
|
|
6594
|
+
model_glb: Components.File;
|
|
6595
|
+
/**
|
|
6596
|
+
* Model Urls
|
|
6597
|
+
* @description URLs for different 3D model formats
|
|
6598
|
+
* @example {
|
|
6599
|
+
* "fbx": {
|
|
6600
|
+
* "file_size": 5427052,
|
|
6601
|
+
* "file_name": "model.fbx",
|
|
6602
|
+
* "content_type": "application/octet-stream",
|
|
6603
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
6604
|
+
* },
|
|
6605
|
+
* "usdz": {
|
|
6606
|
+
* "file_size": 9991969,
|
|
6607
|
+
* "file_name": "model.usdz",
|
|
6608
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
6609
|
+
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
6610
|
+
* },
|
|
6611
|
+
* "obj": {
|
|
6612
|
+
* "file_size": 2744413,
|
|
6613
|
+
* "file_name": "model.obj",
|
|
6614
|
+
* "content_type": "text/plain",
|
|
6615
|
+
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
6616
|
+
* },
|
|
6617
|
+
* "glb": {
|
|
6618
|
+
* "file_size": 9242744,
|
|
6619
|
+
* "file_name": "model.glb",
|
|
6620
|
+
* "content_type": "model/gltf-binary",
|
|
6621
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
6622
|
+
* }
|
|
6623
|
+
* }
|
|
6624
|
+
*/
|
|
6625
|
+
model_urls: Components.ModelUrls;
|
|
6626
|
+
/**
|
|
6627
|
+
* Seed
|
|
6628
|
+
* @description The seed used for generation (if available)
|
|
6629
|
+
* @example 2009275957
|
|
6630
|
+
*/
|
|
6631
|
+
seed?: number;
|
|
6632
|
+
/**
|
|
6633
|
+
* Texture Urls
|
|
6634
|
+
* @description Array of texture file objects, matching Meshy API structure
|
|
6635
|
+
* @example [
|
|
6636
|
+
* {
|
|
6637
|
+
* "base_color": {
|
|
6638
|
+
* "file_size": 4328755,
|
|
6639
|
+
* "file_name": "texture_0.png",
|
|
6640
|
+
* "content_type": "image/png",
|
|
6641
|
+
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
6642
|
+
* }
|
|
6643
|
+
* }
|
|
6644
|
+
* ]
|
|
6645
|
+
*/
|
|
6646
|
+
texture_urls?: Components.TextureFiles[];
|
|
6647
|
+
/**
|
|
6648
|
+
* Thumbnail
|
|
6649
|
+
* @description Preview thumbnail of the generated model
|
|
6650
|
+
* @example {
|
|
6651
|
+
* "file_size": 54279,
|
|
6652
|
+
* "file_name": "preview.png",
|
|
6653
|
+
* "content_type": "image/png",
|
|
6654
|
+
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
6655
|
+
* }
|
|
6656
|
+
*/
|
|
6657
|
+
thumbnail?: Components.File;
|
|
6658
|
+
}
|
|
6659
|
+
|
|
6586
6660
|
export interface SharedType_8df {
|
|
6587
6661
|
/**
|
|
6588
6662
|
* Aspect Ratio
|
|
@@ -7577,7 +7651,7 @@ export interface SharedType_79c {
|
|
|
7577
7651
|
seed?: number;
|
|
7578
7652
|
}
|
|
7579
7653
|
|
|
7580
|
-
export interface
|
|
7654
|
+
export interface SharedType_78a1 {
|
|
7581
7655
|
/**
|
|
7582
7656
|
* @example {
|
|
7583
7657
|
* "content_type": "video/mp4",
|
|
@@ -7587,6 +7661,28 @@ export interface SharedType_78a {
|
|
|
7587
7661
|
video: Components.File_1;
|
|
7588
7662
|
}
|
|
7589
7663
|
|
|
7664
|
+
export interface SharedType_78a {
|
|
7665
|
+
/**
|
|
7666
|
+
* Prompt
|
|
7667
|
+
* @description The text prompt used for video generation.
|
|
7668
|
+
* @default
|
|
7669
|
+
* @example The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.
|
|
7670
|
+
*/
|
|
7671
|
+
prompt?: string;
|
|
7672
|
+
/**
|
|
7673
|
+
* Seed
|
|
7674
|
+
* @description The seed used for generation.
|
|
7675
|
+
*/
|
|
7676
|
+
seed: number;
|
|
7677
|
+
/**
|
|
7678
|
+
* @description The generated video file.
|
|
7679
|
+
* @example {
|
|
7680
|
+
* "url": "https://v3.fal.media/files/lion/Fbuh3lO_HMT-pS0DATbio_tmp08c3v477.mp4"
|
|
7681
|
+
* }
|
|
7682
|
+
*/
|
|
7683
|
+
video: Components.File_1;
|
|
7684
|
+
}
|
|
7685
|
+
|
|
7590
7686
|
export interface SharedType_778 {
|
|
7591
7687
|
/**
|
|
7592
7688
|
* Character Orientation
|
|
@@ -7739,83 +7835,6 @@ export interface SharedType_74f {
|
|
|
7739
7835
|
video: Components.File;
|
|
7740
7836
|
}
|
|
7741
7837
|
|
|
7742
|
-
export interface SharedType_748 {
|
|
7743
|
-
/**
|
|
7744
|
-
* Model Glb
|
|
7745
|
-
* @description Generated 3D object in GLB format.
|
|
7746
|
-
* @example {
|
|
7747
|
-
* "file_size": 9242744,
|
|
7748
|
-
* "file_name": "model.glb",
|
|
7749
|
-
* "content_type": "model/gltf-binary",
|
|
7750
|
-
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7751
|
-
* }
|
|
7752
|
-
*/
|
|
7753
|
-
model_glb: Components.File;
|
|
7754
|
-
/**
|
|
7755
|
-
* Model Urls
|
|
7756
|
-
* @description URLs for different 3D model formats
|
|
7757
|
-
* @example {
|
|
7758
|
-
* "fbx": {
|
|
7759
|
-
* "file_size": 5427052,
|
|
7760
|
-
* "file_name": "model.fbx",
|
|
7761
|
-
* "content_type": "application/octet-stream",
|
|
7762
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
7763
|
-
* },
|
|
7764
|
-
* "usdz": {
|
|
7765
|
-
* "file_size": 9991969,
|
|
7766
|
-
* "file_name": "model.usdz",
|
|
7767
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
7768
|
-
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
7769
|
-
* },
|
|
7770
|
-
* "glb": {
|
|
7771
|
-
* "file_size": 9242744,
|
|
7772
|
-
* "file_name": "model.glb",
|
|
7773
|
-
* "content_type": "model/gltf-binary",
|
|
7774
|
-
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7775
|
-
* },
|
|
7776
|
-
* "obj": {
|
|
7777
|
-
* "file_size": 2744413,
|
|
7778
|
-
* "file_name": "model.obj",
|
|
7779
|
-
* "content_type": "text/plain",
|
|
7780
|
-
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
7781
|
-
* }
|
|
7782
|
-
* }
|
|
7783
|
-
*/
|
|
7784
|
-
model_urls: Components.ModelUrls;
|
|
7785
|
-
/**
|
|
7786
|
-
* Seed
|
|
7787
|
-
* @description The seed used for generation (if available)
|
|
7788
|
-
* @example 2009275957
|
|
7789
|
-
*/
|
|
7790
|
-
seed?: number;
|
|
7791
|
-
/**
|
|
7792
|
-
* Texture Urls
|
|
7793
|
-
* @description Array of texture file objects, matching Meshy API structure
|
|
7794
|
-
* @example [
|
|
7795
|
-
* {
|
|
7796
|
-
* "base_color": {
|
|
7797
|
-
* "file_size": 4328755,
|
|
7798
|
-
* "file_name": "texture_0.png",
|
|
7799
|
-
* "content_type": "image/png",
|
|
7800
|
-
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
7801
|
-
* }
|
|
7802
|
-
* }
|
|
7803
|
-
* ]
|
|
7804
|
-
*/
|
|
7805
|
-
texture_urls?: Components.TextureFiles[];
|
|
7806
|
-
/**
|
|
7807
|
-
* Thumbnail
|
|
7808
|
-
* @description Preview thumbnail of the generated model
|
|
7809
|
-
* @example {
|
|
7810
|
-
* "file_size": 54279,
|
|
7811
|
-
* "file_name": "preview.png",
|
|
7812
|
-
* "content_type": "image/png",
|
|
7813
|
-
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
7814
|
-
* }
|
|
7815
|
-
*/
|
|
7816
|
-
thumbnail?: Components.File;
|
|
7817
|
-
}
|
|
7818
|
-
|
|
7819
7838
|
export interface SharedType_744 {
|
|
7820
7839
|
/**
|
|
7821
7840
|
* Image
|
|
@@ -8595,26 +8614,29 @@ export interface SharedType_5c6 {
|
|
|
8595
8614
|
results: Components.BoundingBoxes;
|
|
8596
8615
|
}
|
|
8597
8616
|
|
|
8598
|
-
export interface
|
|
8617
|
+
export interface SharedType_5c5 {
|
|
8599
8618
|
/**
|
|
8600
|
-
*
|
|
8601
|
-
* @description
|
|
8602
|
-
* @
|
|
8603
|
-
*
|
|
8604
|
-
* "file_name": "white_mesh.glb",
|
|
8605
|
-
* "content_type": "application/octet-stream",
|
|
8606
|
-
* "url": "https://storage.googleapis.com/falserverless/model_tests/video_models/mesh.glb"
|
|
8607
|
-
* }
|
|
8619
|
+
* Prompt
|
|
8620
|
+
* @description The text prompt used for video generation.
|
|
8621
|
+
* @default
|
|
8622
|
+
* @example A medium shot establishes a modern, minimalist office setting: clean lines, muted grey walls, and polished wood surfaces. The focus shifts to a close-up on a woman in sharp, navy blue business attire. Her crisp white blouse contrasts with the deep blue of her tailored suit jacket. The subtle texture of the fabric is visible—a fine weave with a slight sheen. Her expression is serious, yet engaging, as she speaks to someone unseen just beyond the frame. Close-up on her eyes, showing the intensity of her gaze and the fine lines around them that hint at experience and focus. Her lips are slightly parted, as if mid-sentence. The light catches the subtle highlights in her auburn hair, meticulously styled. Note the slight catch of light on the silver band of her watch. High resolution 4k
|
|
8608
8623
|
*/
|
|
8609
|
-
|
|
8624
|
+
prompt?: string;
|
|
8610
8625
|
/**
|
|
8611
8626
|
* Seed
|
|
8612
|
-
* @description
|
|
8627
|
+
* @description The seed used for generation.
|
|
8613
8628
|
*/
|
|
8614
8629
|
seed: number;
|
|
8630
|
+
/**
|
|
8631
|
+
* @description The generated video file.
|
|
8632
|
+
* @example {
|
|
8633
|
+
* "url": "https://storage.googleapis.com/falserverless/model_tests/wan/v2.2-small-output.mp4"
|
|
8634
|
+
* }
|
|
8635
|
+
*/
|
|
8636
|
+
video: Components.File_1;
|
|
8615
8637
|
}
|
|
8616
8638
|
|
|
8617
|
-
export interface
|
|
8639
|
+
export interface SharedType_5c2 {
|
|
8618
8640
|
/**
|
|
8619
8641
|
* Has Nsfw Concepts
|
|
8620
8642
|
* @description Whether the generated images contain NSFW concepts.
|
|
@@ -8622,13 +8644,68 @@ export interface SharedType_5bb {
|
|
|
8622
8644
|
has_nsfw_concepts: boolean[];
|
|
8623
8645
|
/**
|
|
8624
8646
|
* Images
|
|
8625
|
-
* @description The generated image
|
|
8647
|
+
* @description The generated image(s).
|
|
8626
8648
|
* @example [
|
|
8627
8649
|
* {
|
|
8628
8650
|
* "height": 768,
|
|
8629
|
-
* "content_type": "image/
|
|
8630
|
-
* "url": "https://v3b.fal.media/files/b/
|
|
8631
|
-
* "width":
|
|
8651
|
+
* "content_type": "image/jpeg",
|
|
8652
|
+
* "url": "https://v3b.fal.media/files/b/0a8e76a4/n8AJdfVTm-9msRC-sVQFn.jpg",
|
|
8653
|
+
* "width": 1024
|
|
8654
|
+
* }
|
|
8655
|
+
* ]
|
|
8656
|
+
*/
|
|
8657
|
+
images: Components.Image_1[];
|
|
8658
|
+
/**
|
|
8659
|
+
* Prompt
|
|
8660
|
+
* @description The prompt used for generating the image.
|
|
8661
|
+
*/
|
|
8662
|
+
prompt: string;
|
|
8663
|
+
/**
|
|
8664
|
+
* Seed
|
|
8665
|
+
* @description Seed of the generated Image. It will be the same value of the one passed in the
|
|
8666
|
+
* input or the randomly generated that was used in case none was passed.
|
|
8667
|
+
*/
|
|
8668
|
+
seed: number;
|
|
8669
|
+
/** Timings */
|
|
8670
|
+
timings: {
|
|
8671
|
+
[key: string]: number;
|
|
8672
|
+
};
|
|
8673
|
+
}
|
|
8674
|
+
|
|
8675
|
+
export interface SharedType_5bd {
|
|
8676
|
+
/**
|
|
8677
|
+
* Model Mesh
|
|
8678
|
+
* @description Generated 3D object file.
|
|
8679
|
+
* @example {
|
|
8680
|
+
* "file_size": 720696,
|
|
8681
|
+
* "file_name": "white_mesh.glb",
|
|
8682
|
+
* "content_type": "application/octet-stream",
|
|
8683
|
+
* "url": "https://storage.googleapis.com/falserverless/model_tests/video_models/mesh.glb"
|
|
8684
|
+
* }
|
|
8685
|
+
*/
|
|
8686
|
+
model_mesh: Components.File;
|
|
8687
|
+
/**
|
|
8688
|
+
* Seed
|
|
8689
|
+
* @description Seed value used for generation.
|
|
8690
|
+
*/
|
|
8691
|
+
seed: number;
|
|
8692
|
+
}
|
|
8693
|
+
|
|
8694
|
+
export interface SharedType_5bb {
|
|
8695
|
+
/**
|
|
8696
|
+
* Has Nsfw Concepts
|
|
8697
|
+
* @description Whether the generated images contain NSFW concepts.
|
|
8698
|
+
*/
|
|
8699
|
+
has_nsfw_concepts: boolean[];
|
|
8700
|
+
/**
|
|
8701
|
+
* Images
|
|
8702
|
+
* @description The generated image files info.
|
|
8703
|
+
* @example [
|
|
8704
|
+
* {
|
|
8705
|
+
* "height": 768,
|
|
8706
|
+
* "content_type": "image/png",
|
|
8707
|
+
* "url": "https://v3b.fal.media/files/b/0a877afe/InJJA0Q1gtQnyK1N3wdg5.png",
|
|
8708
|
+
* "width": 1376
|
|
8632
8709
|
* }
|
|
8633
8710
|
* ]
|
|
8634
8711
|
*/
|
|
@@ -9283,22 +9360,6 @@ export interface SharedType_524 {
|
|
|
9283
9360
|
video: Components.VideoFile_1;
|
|
9284
9361
|
}
|
|
9285
9362
|
|
|
9286
|
-
export interface SharedType_4f3 {
|
|
9287
|
-
/**
|
|
9288
|
-
* Image
|
|
9289
|
-
* @description The generated image file.
|
|
9290
|
-
* @example {
|
|
9291
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan/t2i-output.png"
|
|
9292
|
-
* }
|
|
9293
|
-
*/
|
|
9294
|
-
image: Components.File;
|
|
9295
|
-
/**
|
|
9296
|
-
* Seed
|
|
9297
|
-
* @description The seed used for generation.
|
|
9298
|
-
*/
|
|
9299
|
-
seed: number;
|
|
9300
|
-
}
|
|
9301
|
-
|
|
9302
9363
|
export interface SharedType_4c2 {
|
|
9303
9364
|
/**
|
|
9304
9365
|
* Video
|
|
@@ -10200,6 +10261,28 @@ export interface SharedType_386 {
|
|
|
10200
10261
|
images: Components.Image[];
|
|
10201
10262
|
}
|
|
10202
10263
|
|
|
10264
|
+
export interface SharedType_382 {
|
|
10265
|
+
/**
|
|
10266
|
+
* Prompt
|
|
10267
|
+
* @description The text prompt used for video generation.
|
|
10268
|
+
* @default
|
|
10269
|
+
* @example A close-up of a young woman smiling gently in the rain, raindrops glistening on her face and eyelashes. The video captures the delicate details of her expression and the water droplets, with soft light reflecting off her skin in the rainy atmosphere.
|
|
10270
|
+
*/
|
|
10271
|
+
prompt?: string;
|
|
10272
|
+
/**
|
|
10273
|
+
* Seed
|
|
10274
|
+
* @description The seed used for generation.
|
|
10275
|
+
*/
|
|
10276
|
+
seed: number;
|
|
10277
|
+
/**
|
|
10278
|
+
* @description The generated video file.
|
|
10279
|
+
* @example {
|
|
10280
|
+
* "url": "https://storage.googleapis.com/falserverless/model_tests/wan/v2.2-woman-output.mp4"
|
|
10281
|
+
* }
|
|
10282
|
+
*/
|
|
10283
|
+
video: Components.File_1;
|
|
10284
|
+
}
|
|
10285
|
+
|
|
10203
10286
|
export interface SharedType_377 {
|
|
10204
10287
|
/**
|
|
10205
10288
|
* Output
|
|
@@ -11854,6 +11937,17 @@ export interface SharedType_0ab {
|
|
|
11854
11937
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
11855
11938
|
}
|
|
11856
11939
|
|
|
11940
|
+
export interface SharedType_0a0 {
|
|
11941
|
+
/**
|
|
11942
|
+
* Video
|
|
11943
|
+
* @description The generated video from text using the Q3 model
|
|
11944
|
+
* @example {
|
|
11945
|
+
* "url": "https://v3b.fal.media/files/b/0a8c915a/8dtkty-vyhotySs--cTKS_output.mp4"
|
|
11946
|
+
* }
|
|
11947
|
+
*/
|
|
11948
|
+
video: Components.File;
|
|
11949
|
+
}
|
|
11950
|
+
|
|
11857
11951
|
export interface SharedType_096 {
|
|
11858
11952
|
/**
|
|
11859
11953
|
* Images
|
|
@@ -12253,6 +12347,51 @@ export interface SharedType_02c {
|
|
|
12253
12347
|
start_image_url: string;
|
|
12254
12348
|
}
|
|
12255
12349
|
|
|
12350
|
+
export interface SharedType_015 {
|
|
12351
|
+
/**
|
|
12352
|
+
* Audio
|
|
12353
|
+
* @description Whether to use direct audio-video generation. When true, outputs video with sound (including dialogue and sound effects).
|
|
12354
|
+
* @default true
|
|
12355
|
+
*/
|
|
12356
|
+
audio?: boolean;
|
|
12357
|
+
/**
|
|
12358
|
+
* Duration
|
|
12359
|
+
* @description Duration of the video in seconds (1-16 for Q3 models)
|
|
12360
|
+
* @default 5
|
|
12361
|
+
*/
|
|
12362
|
+
duration?: number;
|
|
12363
|
+
/**
|
|
12364
|
+
* End Image Url
|
|
12365
|
+
* @description URL of the image to use as the ending frame. When provided, generates a transition video between start and end frames.
|
|
12366
|
+
*/
|
|
12367
|
+
end_image_url?: string;
|
|
12368
|
+
/**
|
|
12369
|
+
* Image Url
|
|
12370
|
+
* @description URL or base64 image to use as the starting frame
|
|
12371
|
+
* @example https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png
|
|
12372
|
+
*/
|
|
12373
|
+
image_url: string;
|
|
12374
|
+
/**
|
|
12375
|
+
* Prompt
|
|
12376
|
+
* @description Text prompt for video generation, max 2000 characters
|
|
12377
|
+
* @default
|
|
12378
|
+
* @example The astronaut waved and the camera moved up.
|
|
12379
|
+
*/
|
|
12380
|
+
prompt?: string;
|
|
12381
|
+
/**
|
|
12382
|
+
* Resolution
|
|
12383
|
+
* @description Output video resolution. Note: 360p is not available when end_image_url is provided.
|
|
12384
|
+
* @default 720p
|
|
12385
|
+
* @enum {string}
|
|
12386
|
+
*/
|
|
12387
|
+
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
12388
|
+
/**
|
|
12389
|
+
* Seed
|
|
12390
|
+
* @description Random seed for reproducibility. If None, a random seed is chosen.
|
|
12391
|
+
*/
|
|
12392
|
+
seed?: number;
|
|
12393
|
+
}
|
|
12394
|
+
|
|
12256
12395
|
export interface SharedType_000 {
|
|
12257
12396
|
/**
|
|
12258
12397
|
* Aspect Ratio
|
|
@@ -15515,6 +15654,105 @@ export interface WorkflowUtilitiesTrimVideoOutput {
|
|
|
15515
15654
|
video: Components.File;
|
|
15516
15655
|
}
|
|
15517
15656
|
|
|
15657
|
+
export interface WorkflowUtilitiesScaleVideoInput {
|
|
15658
|
+
/**
|
|
15659
|
+
* Codec
|
|
15660
|
+
* @description Video codec to use for encoding. libx264 (H.264) is widely compatible, libx265 (H.265/HEVC) offers better compression.
|
|
15661
|
+
* @default libx264
|
|
15662
|
+
* @enum {string}
|
|
15663
|
+
*/
|
|
15664
|
+
codec?: 'libx264' | 'libx265';
|
|
15665
|
+
/**
|
|
15666
|
+
* Crf
|
|
15667
|
+
* @description Constant Rate Factor for quality (0-51). Lower values mean better quality and larger files. 18 is visually lossless for most content.
|
|
15668
|
+
* @default 18
|
|
15669
|
+
*/
|
|
15670
|
+
crf?: number;
|
|
15671
|
+
/**
|
|
15672
|
+
* Height
|
|
15673
|
+
* @description Target height in pixels
|
|
15674
|
+
* @example 1080
|
|
15675
|
+
* @example 2160
|
|
15676
|
+
* @example 720
|
|
15677
|
+
*/
|
|
15678
|
+
height: number;
|
|
15679
|
+
/**
|
|
15680
|
+
* Mode
|
|
15681
|
+
* @description Scaling mode. 'stretch' scales the video to the exact target dimensions (may distort aspect ratio). 'pad' scales to fit within the target dimensions while preserving aspect ratio, then pads with the chosen color to fill the remaining space (letterbox/pillarbox). 'crop' scales to cover the target dimensions while preserving aspect ratio, then center-crops to the exact target size.
|
|
15682
|
+
* @default stretch
|
|
15683
|
+
* @enum {string}
|
|
15684
|
+
*/
|
|
15685
|
+
mode?: 'stretch' | 'pad' | 'crop';
|
|
15686
|
+
/**
|
|
15687
|
+
* Pad Color
|
|
15688
|
+
* @description Padding color when mode is 'pad'. Ignored for other modes.
|
|
15689
|
+
* @default black
|
|
15690
|
+
* @enum {string}
|
|
15691
|
+
*/
|
|
15692
|
+
pad_color?: 'black' | 'white' | 'red' | 'green' | 'blue' | 'gray';
|
|
15693
|
+
/**
|
|
15694
|
+
* Preset
|
|
15695
|
+
* @description Encoding speed preset. Slower presets give better compression but take longer.
|
|
15696
|
+
* @default fast
|
|
15697
|
+
* @enum {string}
|
|
15698
|
+
*/
|
|
15699
|
+
preset?: 'ultrafast' | 'fast' | 'medium' | 'slow';
|
|
15700
|
+
/**
|
|
15701
|
+
* Video Url
|
|
15702
|
+
* @description URL of the video file to scale/resize. Height and Width of the video must be even numbers for compatibility with video codecs.
|
|
15703
|
+
*
|
|
15704
|
+
* Max file size: 476.8MB, Timeout: 30.0s
|
|
15705
|
+
* @example https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4
|
|
15706
|
+
*/
|
|
15707
|
+
video_url: string;
|
|
15708
|
+
/**
|
|
15709
|
+
* Width
|
|
15710
|
+
* @description Target width in pixels
|
|
15711
|
+
* @example 1920
|
|
15712
|
+
* @example 3840
|
|
15713
|
+
* @example 1280
|
|
15714
|
+
*/
|
|
15715
|
+
width: number;
|
|
15716
|
+
}
|
|
15717
|
+
|
|
15718
|
+
export interface WorkflowUtilitiesScaleVideoOutput {
|
|
15719
|
+
/**
|
|
15720
|
+
* Original Height
|
|
15721
|
+
* @description Height of the original video in pixels
|
|
15722
|
+
* @example 1082
|
|
15723
|
+
*/
|
|
15724
|
+
original_height: number;
|
|
15725
|
+
/**
|
|
15726
|
+
* Original Width
|
|
15727
|
+
* @description Width of the original video in pixels
|
|
15728
|
+
* @example 1929
|
|
15729
|
+
*/
|
|
15730
|
+
original_width: number;
|
|
15731
|
+
/**
|
|
15732
|
+
* Scaled Height
|
|
15733
|
+
* @description Height of the output video in pixels
|
|
15734
|
+
* @example 1080
|
|
15735
|
+
*/
|
|
15736
|
+
scaled_height: number;
|
|
15737
|
+
/**
|
|
15738
|
+
* Scaled Width
|
|
15739
|
+
* @description Width of the output video in pixels
|
|
15740
|
+
* @example 1920
|
|
15741
|
+
*/
|
|
15742
|
+
scaled_width: number;
|
|
15743
|
+
/**
|
|
15744
|
+
* Video
|
|
15745
|
+
* @description The scaled/resized video
|
|
15746
|
+
* @example {
|
|
15747
|
+
* "file_size": 3456789,
|
|
15748
|
+
* "file_name": "output.mp4",
|
|
15749
|
+
* "content_type": "video/mp4",
|
|
15750
|
+
* "url": "https://v3b.fal.media/files/b/monkey/scaled_output.mp4"
|
|
15751
|
+
* }
|
|
15752
|
+
*/
|
|
15753
|
+
video: Components.File;
|
|
15754
|
+
}
|
|
15755
|
+
|
|
15518
15756
|
export interface WorkflowUtilitiesInterleaveVideoInput {
|
|
15519
15757
|
/**
|
|
15520
15758
|
* Video Urls
|
|
@@ -16760,13 +16998,12 @@ export interface WanV22A14bVideoToVideoOutput {
|
|
|
16760
16998
|
*/
|
|
16761
16999
|
seed: number;
|
|
16762
17000
|
/**
|
|
16763
|
-
* Video
|
|
16764
17001
|
* @description The generated video file.
|
|
16765
17002
|
* @example {
|
|
16766
17003
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-2.2-v2v-output.mp4"
|
|
16767
17004
|
* }
|
|
16768
17005
|
*/
|
|
16769
|
-
video: Components.
|
|
17006
|
+
video: Components.File_1;
|
|
16770
17007
|
}
|
|
16771
17008
|
|
|
16772
17009
|
export interface WanV22A14bTextToVideoTurboInput {
|
|
@@ -16860,13 +17097,12 @@ export interface WanV22A14bTextToVideoTurboOutput {
|
|
|
16860
17097
|
*/
|
|
16861
17098
|
seed: number;
|
|
16862
17099
|
/**
|
|
16863
|
-
* Video
|
|
16864
17100
|
* @description The generated video file.
|
|
16865
17101
|
* @example {
|
|
16866
17102
|
* "url": "https://storage.googleapis.com/falserverless/gallery/wan-t2v-turbo.mp4"
|
|
16867
17103
|
* }
|
|
16868
17104
|
*/
|
|
16869
|
-
video: Components.
|
|
17105
|
+
video: Components.File_1;
|
|
16870
17106
|
}
|
|
16871
17107
|
|
|
16872
17108
|
export interface WanV22A14bTextToVideoLoraInput {
|
|
@@ -17028,7 +17264,7 @@ export interface WanV22A14bTextToVideoLoraInput {
|
|
|
17028
17264
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
17029
17265
|
}
|
|
17030
17266
|
|
|
17031
|
-
export interface WanV22A14bTextToVideoLoraOutput extends
|
|
17267
|
+
export interface WanV22A14bTextToVideoLoraOutput extends SharedType_382 {}
|
|
17032
17268
|
|
|
17033
17269
|
export interface WanV22A14bTextToVideoInput {
|
|
17034
17270
|
/**
|
|
@@ -17177,7 +17413,7 @@ export interface WanV22A14bTextToVideoInput {
|
|
|
17177
17413
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
17178
17414
|
}
|
|
17179
17415
|
|
|
17180
|
-
export interface WanV22A14bTextToVideoOutput extends
|
|
17416
|
+
export interface WanV22A14bTextToVideoOutput extends SharedType_382 {}
|
|
17181
17417
|
|
|
17182
17418
|
export interface WanV22A14bTextToImageLoraInput {
|
|
17183
17419
|
/**
|
|
@@ -17292,7 +17528,7 @@ export interface WanV22A14bTextToImageLoraInput {
|
|
|
17292
17528
|
shift?: number;
|
|
17293
17529
|
}
|
|
17294
17530
|
|
|
17295
|
-
export interface WanV22A14bTextToImageLoraOutput extends
|
|
17531
|
+
export interface WanV22A14bTextToImageLoraOutput extends SharedType_c0f {}
|
|
17296
17532
|
|
|
17297
17533
|
export interface WanV22A14bTextToImageInput {
|
|
17298
17534
|
/**
|
|
@@ -17387,7 +17623,7 @@ export interface WanV22A14bTextToImageInput {
|
|
|
17387
17623
|
shift?: number;
|
|
17388
17624
|
}
|
|
17389
17625
|
|
|
17390
|
-
export interface WanV22A14bTextToImageOutput extends
|
|
17626
|
+
export interface WanV22A14bTextToImageOutput extends SharedType_c0f {}
|
|
17391
17627
|
|
|
17392
17628
|
export interface WanV22A14bImageToVideoTurboInput {
|
|
17393
17629
|
/**
|
|
@@ -17488,13 +17724,12 @@ export interface WanV22A14bImageToVideoTurboOutput {
|
|
|
17488
17724
|
*/
|
|
17489
17725
|
seed: number;
|
|
17490
17726
|
/**
|
|
17491
|
-
* Video
|
|
17492
17727
|
* @description The generated video file.
|
|
17493
17728
|
* @example {
|
|
17494
17729
|
* "url": "https://storage.googleapis.com/falserverless/gallery/wan-i2v-turbo.mp4"
|
|
17495
17730
|
* }
|
|
17496
17731
|
*/
|
|
17497
|
-
video: Components.
|
|
17732
|
+
video: Components.File_1;
|
|
17498
17733
|
}
|
|
17499
17734
|
|
|
17500
17735
|
export interface WanV22A14bImageToVideoLoraInput {
|
|
@@ -17664,7 +17899,7 @@ export interface WanV22A14bImageToVideoLoraInput {
|
|
|
17664
17899
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
17665
17900
|
}
|
|
17666
17901
|
|
|
17667
|
-
export interface WanV22A14bImageToVideoLoraOutput extends
|
|
17902
|
+
export interface WanV22A14bImageToVideoLoraOutput extends SharedType_78a {}
|
|
17668
17903
|
|
|
17669
17904
|
export interface WanV22A14bImageToVideoInput {
|
|
17670
17905
|
/**
|
|
@@ -17821,7 +18056,7 @@ export interface WanV22A14bImageToVideoInput {
|
|
|
17821
18056
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
17822
18057
|
}
|
|
17823
18058
|
|
|
17824
|
-
export interface WanV22A14bImageToVideoOutput extends
|
|
18059
|
+
export interface WanV22A14bImageToVideoOutput extends SharedType_78a {}
|
|
17825
18060
|
|
|
17826
18061
|
export interface WanV22A14bImageToImageInput {
|
|
17827
18062
|
/**
|
|
@@ -17937,13 +18172,12 @@ export interface WanV22A14bImageToImageInput {
|
|
|
17937
18172
|
|
|
17938
18173
|
export interface WanV22A14bImageToImageOutput {
|
|
17939
18174
|
/**
|
|
17940
|
-
* Image
|
|
17941
18175
|
* @description The generated image file.
|
|
17942
18176
|
* @example {
|
|
17943
18177
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-image-to-image-output.png"
|
|
17944
18178
|
* }
|
|
17945
18179
|
*/
|
|
17946
|
-
image: Components.
|
|
18180
|
+
image: Components.File_1;
|
|
17947
18181
|
/**
|
|
17948
18182
|
* Prompt
|
|
17949
18183
|
* @description The text prompt used for image generation.
|
|
@@ -18076,7 +18310,7 @@ export interface WanV225bTextToVideoFastWanInput {
|
|
|
18076
18310
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
18077
18311
|
}
|
|
18078
18312
|
|
|
18079
|
-
export interface WanV225bTextToVideoFastWanOutput extends
|
|
18313
|
+
export interface WanV225bTextToVideoFastWanOutput extends SharedType_5c5 {}
|
|
18080
18314
|
|
|
18081
18315
|
export interface WanV225bTextToVideoDistillInput {
|
|
18082
18316
|
/**
|
|
@@ -18204,7 +18438,7 @@ export interface WanV225bTextToVideoDistillInput {
|
|
|
18204
18438
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
18205
18439
|
}
|
|
18206
18440
|
|
|
18207
|
-
export interface WanV225bTextToVideoDistillOutput extends
|
|
18441
|
+
export interface WanV225bTextToVideoDistillOutput extends SharedType_5c5 {}
|
|
18208
18442
|
|
|
18209
18443
|
export interface WanV225bTextToVideoInput {
|
|
18210
18444
|
/**
|
|
@@ -18338,7 +18572,7 @@ export interface WanV225bTextToVideoInput {
|
|
|
18338
18572
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
18339
18573
|
}
|
|
18340
18574
|
|
|
18341
|
-
export interface WanV225bTextToVideoOutput extends
|
|
18575
|
+
export interface WanV225bTextToVideoOutput extends SharedType_5c5 {}
|
|
18342
18576
|
|
|
18343
18577
|
export interface WanV225bTextToImageInput {
|
|
18344
18578
|
/**
|
|
@@ -18428,13 +18662,12 @@ export interface WanV225bTextToImageInput {
|
|
|
18428
18662
|
|
|
18429
18663
|
export interface WanV225bTextToImageOutput {
|
|
18430
18664
|
/**
|
|
18431
|
-
* Image
|
|
18432
18665
|
* @description The generated image file.
|
|
18433
18666
|
* @example {
|
|
18434
18667
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan/small-t2i-output-2.png"
|
|
18435
18668
|
* }
|
|
18436
18669
|
*/
|
|
18437
|
-
image: Components.
|
|
18670
|
+
image: Components.File_1;
|
|
18438
18671
|
/**
|
|
18439
18672
|
* Seed
|
|
18440
18673
|
* @description The seed used for generation.
|
|
@@ -18591,13 +18824,12 @@ export interface WanV225bImageToVideoOutput {
|
|
|
18591
18824
|
*/
|
|
18592
18825
|
seed: number;
|
|
18593
18826
|
/**
|
|
18594
|
-
* Video
|
|
18595
18827
|
* @description The generated video file.
|
|
18596
18828
|
* @example {
|
|
18597
18829
|
* "url": "https://storage.googleapis.com/falserverless/model_tests/wan/v2.2-small-i2v-output.mp4"
|
|
18598
18830
|
* }
|
|
18599
18831
|
*/
|
|
18600
|
-
video: Components.
|
|
18832
|
+
video: Components.File_1;
|
|
18601
18833
|
}
|
|
18602
18834
|
|
|
18603
18835
|
export interface WanV2214bSpeechToVideoInput {
|
|
@@ -18707,7 +18939,6 @@ export interface WanV2214bSpeechToVideoInput {
|
|
|
18707
18939
|
|
|
18708
18940
|
export interface WanV2214bSpeechToVideoOutput {
|
|
18709
18941
|
/**
|
|
18710
|
-
* Video
|
|
18711
18942
|
* @description The generated video file.
|
|
18712
18943
|
* @example {
|
|
18713
18944
|
* "file_size": 4685303,
|
|
@@ -18716,17 +18947,14 @@ export interface WanV2214bSpeechToVideoOutput {
|
|
|
18716
18947
|
* "url": "https://v3.fal.media/files/panda/f7tXRCjvwEcVlmxHuw8kO_2c7ab2540af44eceaf5ffde4e8d094ed.mp4"
|
|
18717
18948
|
* }
|
|
18718
18949
|
*/
|
|
18719
|
-
video: Components.
|
|
18950
|
+
video: Components.File_1;
|
|
18720
18951
|
}
|
|
18721
18952
|
|
|
18722
18953
|
export interface WanV2214bAnimateReplaceInput extends SharedType_cd2 {}
|
|
18723
18954
|
|
|
18724
18955
|
export interface WanV2214bAnimateReplaceOutput {
|
|
18725
|
-
/**
|
|
18726
|
-
|
|
18727
|
-
* @description ZIP archive of generated frames (if requested).
|
|
18728
|
-
*/
|
|
18729
|
-
frames_zip?: Components.File;
|
|
18956
|
+
/** @description ZIP archive of generated frames (if requested). */
|
|
18957
|
+
frames_zip?: Components.File_1;
|
|
18730
18958
|
/**
|
|
18731
18959
|
* Prompt
|
|
18732
18960
|
* @description The prompt used for generation (auto-generated by the model)
|
|
@@ -18740,23 +18968,19 @@ export interface WanV2214bAnimateReplaceOutput {
|
|
|
18740
18968
|
*/
|
|
18741
18969
|
seed: number;
|
|
18742
18970
|
/**
|
|
18743
|
-
* Video
|
|
18744
18971
|
* @description The generated video file.
|
|
18745
18972
|
* @example {
|
|
18746
18973
|
* "url": "https://v3b.fal.media/files/b/elephant/9Ofgiju3Peb3b5hriTuBH_wan_animate_output.mp4"
|
|
18747
18974
|
* }
|
|
18748
18975
|
*/
|
|
18749
|
-
video: Components.
|
|
18976
|
+
video: Components.File_1;
|
|
18750
18977
|
}
|
|
18751
18978
|
|
|
18752
18979
|
export interface WanV2214bAnimateMoveInput extends SharedType_cd2 {}
|
|
18753
18980
|
|
|
18754
18981
|
export interface WanV2214bAnimateMoveOutput {
|
|
18755
|
-
/**
|
|
18756
|
-
|
|
18757
|
-
* @description ZIP archive of generated frames (if requested).
|
|
18758
|
-
*/
|
|
18759
|
-
frames_zip?: Components.File;
|
|
18982
|
+
/** @description ZIP archive of generated frames (if requested). */
|
|
18983
|
+
frames_zip?: Components.File_1;
|
|
18760
18984
|
/**
|
|
18761
18985
|
* Prompt
|
|
18762
18986
|
* @description The prompt used for generation (auto-generated by the model)
|
|
@@ -18770,13 +18994,12 @@ export interface WanV2214bAnimateMoveOutput {
|
|
|
18770
18994
|
*/
|
|
18771
18995
|
seed: number;
|
|
18772
18996
|
/**
|
|
18773
|
-
* Video
|
|
18774
18997
|
* @description The generated video file.
|
|
18775
18998
|
* @example {
|
|
18776
18999
|
* "url": "https://v3b.fal.media/files/b/monkey/xjJYzO0jqMi7MxufJe5tx_wan_animate_output.mp4"
|
|
18777
19000
|
* }
|
|
18778
19001
|
*/
|
|
18779
|
-
video: Components.
|
|
19002
|
+
video: Components.File_1;
|
|
18780
19003
|
}
|
|
18781
19004
|
|
|
18782
19005
|
export interface WanVisionEnhancerInput {
|
|
@@ -21305,112 +21528,21 @@ export interface ViduReferenceToImageInput extends SharedType_79c {}
|
|
|
21305
21528
|
|
|
21306
21529
|
export interface ViduReferenceToImageOutput extends SharedType_b81 {}
|
|
21307
21530
|
|
|
21308
|
-
export interface
|
|
21309
|
-
/**
|
|
21310
|
-
* Aspect Ratio
|
|
21311
|
-
* @description The aspect ratio of the output video
|
|
21312
|
-
* @default 16:9
|
|
21313
|
-
* @enum {string}
|
|
21314
|
-
*/
|
|
21315
|
-
aspect_ratio?: '16:9' | '9:16' | '4:3' | '3:4' | '1:1';
|
|
21316
|
-
/**
|
|
21317
|
-
* Audio
|
|
21318
|
-
* @description Whether to use direct audio-video generation. When true, outputs video with sound.
|
|
21319
|
-
* @default true
|
|
21320
|
-
*/
|
|
21321
|
-
audio?: boolean;
|
|
21322
|
-
/**
|
|
21323
|
-
* Duration
|
|
21324
|
-
* @description Duration of the video in seconds
|
|
21325
|
-
* @default 5
|
|
21326
|
-
*/
|
|
21327
|
-
duration?: number;
|
|
21328
|
-
/**
|
|
21329
|
-
* Prompt
|
|
21330
|
-
* @description Text prompt for video generation, max 2000 characters
|
|
21331
|
-
* @example In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog.
|
|
21332
|
-
*/
|
|
21333
|
-
prompt: string;
|
|
21334
|
-
/**
|
|
21335
|
-
* Resolution
|
|
21336
|
-
* @description Output video resolution
|
|
21337
|
-
* @default 720p
|
|
21338
|
-
* @enum {string}
|
|
21339
|
-
*/
|
|
21340
|
-
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
21341
|
-
/**
|
|
21342
|
-
* Seed
|
|
21343
|
-
* @description Random seed for reproducibility. If None, a random seed is chosen.
|
|
21344
|
-
*/
|
|
21345
|
-
seed?: number;
|
|
21346
|
-
}
|
|
21531
|
+
export interface ViduQ3TextToVideoTurboInput extends SharedType_95d {}
|
|
21347
21532
|
|
|
21348
|
-
export interface
|
|
21349
|
-
/**
|
|
21350
|
-
* Video
|
|
21351
|
-
* @description The generated video from text using the Q3 model
|
|
21352
|
-
* @example {
|
|
21353
|
-
* "url": "https://v3b.fal.media/files/b/0a8c915a/8dtkty-vyhotySs--cTKS_output.mp4"
|
|
21354
|
-
* }
|
|
21355
|
-
*/
|
|
21356
|
-
video: Components.File;
|
|
21357
|
-
}
|
|
21533
|
+
export interface ViduQ3TextToVideoTurboOutput extends SharedType_0a0 {}
|
|
21358
21534
|
|
|
21359
|
-
export interface
|
|
21360
|
-
/**
|
|
21361
|
-
* Audio
|
|
21362
|
-
* @description Whether to use direct audio-video generation. When true, outputs video with sound (including dialogue and sound effects).
|
|
21363
|
-
* @default true
|
|
21364
|
-
*/
|
|
21365
|
-
audio?: boolean;
|
|
21366
|
-
/**
|
|
21367
|
-
* Duration
|
|
21368
|
-
* @description Duration of the video in seconds (1-16 for Q3 models)
|
|
21369
|
-
* @default 5
|
|
21370
|
-
*/
|
|
21371
|
-
duration?: number;
|
|
21372
|
-
/**
|
|
21373
|
-
* End Image Url
|
|
21374
|
-
* @description URL of the image to use as the ending frame. When provided, generates a transition video between start and end frames.
|
|
21375
|
-
*/
|
|
21376
|
-
end_image_url?: string;
|
|
21377
|
-
/**
|
|
21378
|
-
* Image Url
|
|
21379
|
-
* @description URL or base64 image to use as the starting frame
|
|
21380
|
-
* @example https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png
|
|
21381
|
-
*/
|
|
21382
|
-
image_url: string;
|
|
21383
|
-
/**
|
|
21384
|
-
* Prompt
|
|
21385
|
-
* @description Text prompt for video generation, max 2000 characters
|
|
21386
|
-
* @default
|
|
21387
|
-
* @example The astronaut waved and the camera moved up.
|
|
21388
|
-
*/
|
|
21389
|
-
prompt?: string;
|
|
21390
|
-
/**
|
|
21391
|
-
* Resolution
|
|
21392
|
-
* @description Output video resolution. Note: 360p is not available when end_image_url is provided.
|
|
21393
|
-
* @default 720p
|
|
21394
|
-
* @enum {string}
|
|
21395
|
-
*/
|
|
21396
|
-
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
21397
|
-
/**
|
|
21398
|
-
* Seed
|
|
21399
|
-
* @description Random seed for reproducibility. If None, a random seed is chosen.
|
|
21400
|
-
*/
|
|
21401
|
-
seed?: number;
|
|
21402
|
-
}
|
|
21535
|
+
export interface ViduQ3TextToVideoInput extends SharedType_95d {}
|
|
21403
21536
|
|
|
21404
|
-
export interface
|
|
21405
|
-
|
|
21406
|
-
|
|
21407
|
-
|
|
21408
|
-
|
|
21409
|
-
|
|
21410
|
-
|
|
21411
|
-
|
|
21412
|
-
|
|
21413
|
-
}
|
|
21537
|
+
export interface ViduQ3TextToVideoOutput extends SharedType_0a0 {}
|
|
21538
|
+
|
|
21539
|
+
export interface ViduQ3ImageToVideoTurboInput extends SharedType_015 {}
|
|
21540
|
+
|
|
21541
|
+
export interface ViduQ3ImageToVideoTurboOutput extends SharedType_c61 {}
|
|
21542
|
+
|
|
21543
|
+
export interface ViduQ3ImageToVideoInput extends SharedType_015 {}
|
|
21544
|
+
|
|
21545
|
+
export interface ViduQ3ImageToVideoOutput extends SharedType_c61 {}
|
|
21414
21546
|
|
|
21415
21547
|
export interface ViduQ2VideoExtensionProInput {
|
|
21416
21548
|
/**
|
|
@@ -22914,7 +23046,7 @@ export interface TrellisMultiOutput extends SharedType_0f9 {}
|
|
|
22914
23046
|
export interface Trellis2Input {
|
|
22915
23047
|
/**
|
|
22916
23048
|
* Decimation Target
|
|
22917
|
-
* @description Target
|
|
23049
|
+
* @description Target number of vertices in the final mesh. Lower values produce smaller files but less detail. 500k is good for most uses, reduce to 20k-50k for web/mobile.
|
|
22918
23050
|
* @default 500000
|
|
22919
23051
|
*/
|
|
22920
23052
|
decimation_target?: number;
|
|
@@ -22926,17 +23058,19 @@ export interface Trellis2Input {
|
|
|
22926
23058
|
image_url: string;
|
|
22927
23059
|
/**
|
|
22928
23060
|
* Remesh
|
|
22929
|
-
* @description
|
|
23061
|
+
* @description Rebuild the mesh topology for cleaner triangles. Slower but usually produces better results for downstream use (animation, 3D printing, etc).
|
|
22930
23062
|
* @default true
|
|
22931
23063
|
*/
|
|
22932
23064
|
remesh?: boolean;
|
|
22933
23065
|
/**
|
|
22934
23066
|
* Remesh Band
|
|
23067
|
+
* @description Controls how far remeshing can move vertices from the original surface. Higher values allow more smoothing but may lose fine details.
|
|
22935
23068
|
* @default 1
|
|
22936
23069
|
*/
|
|
22937
23070
|
remesh_band?: number;
|
|
22938
23071
|
/**
|
|
22939
23072
|
* Remesh Project
|
|
23073
|
+
* @description How much to project remeshed vertices back onto the original surface. 0 = no projection (smoother), 1 = full projection (preserves detail).
|
|
22940
23074
|
* @default 0
|
|
22941
23075
|
*/
|
|
22942
23076
|
remesh_project?: number;
|
|
@@ -22954,67 +23088,79 @@ export interface Trellis2Input {
|
|
|
22954
23088
|
seed?: number;
|
|
22955
23089
|
/**
|
|
22956
23090
|
* Shape Slat Guidance Rescale
|
|
23091
|
+
* @description Dampens artifacts from high guidance in the shape stage. Increase if you see noisy geometry.
|
|
22957
23092
|
* @default 0.5
|
|
22958
23093
|
*/
|
|
22959
23094
|
shape_slat_guidance_rescale?: number;
|
|
22960
23095
|
/**
|
|
22961
23096
|
* Shape Slat Guidance Strength
|
|
23097
|
+
* @description How closely the detailed geometry follows the input image. Higher values add more detail but may introduce noise.
|
|
22962
23098
|
* @default 7.5
|
|
22963
23099
|
*/
|
|
22964
23100
|
shape_slat_guidance_strength?: number;
|
|
22965
23101
|
/**
|
|
22966
23102
|
* Shape Slat Rescale T
|
|
23103
|
+
* @description Controls noise schedule sharpness for shape refinement. Higher values produce sharper geometric details.
|
|
22967
23104
|
* @default 3
|
|
22968
23105
|
*/
|
|
22969
23106
|
shape_slat_rescale_t?: number;
|
|
22970
23107
|
/**
|
|
22971
23108
|
* Shape Slat Sampling Steps
|
|
23109
|
+
* @description Number of denoising steps for shape refinement. More steps = slower but potentially smoother geometry.
|
|
22972
23110
|
* @default 12
|
|
22973
23111
|
*/
|
|
22974
23112
|
shape_slat_sampling_steps?: number;
|
|
22975
23113
|
/**
|
|
22976
23114
|
* Ss Guidance Rescale
|
|
23115
|
+
* @description Dampens artifacts from high guidance in stage 1. Lower values allow stronger guidance effects, higher values stabilize the output.
|
|
22977
23116
|
* @default 0.7
|
|
22978
23117
|
*/
|
|
22979
23118
|
ss_guidance_rescale?: number;
|
|
22980
23119
|
/**
|
|
22981
23120
|
* Ss Guidance Strength
|
|
23121
|
+
* @description How closely the initial 3D structure follows the input image. Higher values produce more faithful but potentially noisier results.
|
|
22982
23122
|
* @default 7.5
|
|
22983
23123
|
*/
|
|
22984
23124
|
ss_guidance_strength?: number;
|
|
22985
23125
|
/**
|
|
22986
23126
|
* Ss Rescale T
|
|
23127
|
+
* @description Controls noise schedule sharpness for structure generation. Higher values produce sharper transitions.
|
|
22987
23128
|
* @default 5
|
|
22988
23129
|
*/
|
|
22989
23130
|
ss_rescale_t?: number;
|
|
22990
23131
|
/**
|
|
22991
23132
|
* Ss Sampling Steps
|
|
23133
|
+
* @description Number of denoising steps for the initial structure. More steps = slower but potentially higher quality.
|
|
22992
23134
|
* @default 12
|
|
22993
23135
|
*/
|
|
22994
23136
|
ss_sampling_steps?: number;
|
|
22995
23137
|
/**
|
|
22996
23138
|
* Tex Slat Guidance Rescale
|
|
23139
|
+
* @description Dampens artifacts from high guidance in the texture stage. Increase if textures look noisy or have color banding.
|
|
22997
23140
|
* @default 0
|
|
22998
23141
|
*/
|
|
22999
23142
|
tex_slat_guidance_rescale?: number;
|
|
23000
23143
|
/**
|
|
23001
23144
|
* Tex Slat Guidance Strength
|
|
23145
|
+
* @description How closely the texture follows the input image colors. Higher values produce more vivid but potentially oversaturated textures.
|
|
23002
23146
|
* @default 1
|
|
23003
23147
|
*/
|
|
23004
23148
|
tex_slat_guidance_strength?: number;
|
|
23005
23149
|
/**
|
|
23006
23150
|
* Tex Slat Rescale T
|
|
23151
|
+
* @description Controls noise schedule sharpness for texture generation. Higher values produce sharper texture details.
|
|
23007
23152
|
* @default 3
|
|
23008
23153
|
*/
|
|
23009
23154
|
tex_slat_rescale_t?: number;
|
|
23010
23155
|
/**
|
|
23011
23156
|
* Tex Slat Sampling Steps
|
|
23157
|
+
* @description Number of denoising steps for texture generation. More steps = slower but potentially cleaner textures.
|
|
23012
23158
|
* @default 12
|
|
23013
23159
|
*/
|
|
23014
23160
|
tex_slat_sampling_steps?: number;
|
|
23015
23161
|
/**
|
|
23016
23162
|
* Texture Size
|
|
23017
|
-
* @description
|
|
23163
|
+
* @description Resolution of the texture image baked onto the mesh. Higher values capture finer surface details but produce larger files.
|
|
23018
23164
|
* @default 2048
|
|
23019
23165
|
* @enum {integer}
|
|
23020
23166
|
*/
|
|
@@ -23023,13 +23169,12 @@ export interface Trellis2Input {
|
|
|
23023
23169
|
|
|
23024
23170
|
export interface Trellis2Output {
|
|
23025
23171
|
/**
|
|
23026
|
-
* Model Glb
|
|
23027
23172
|
* @description Generated 3D GLB file
|
|
23028
23173
|
* @example {
|
|
23029
23174
|
* "url": "https://v3b.fal.media/files/b/0a86b61d/DNmTkiWHUQ8k-rG6aussB_trellis2_68d6300f70f34d23b69a912b5fe60487.glb"
|
|
23030
23175
|
* }
|
|
23031
23176
|
*/
|
|
23032
|
-
model_glb: Components.
|
|
23177
|
+
model_glb: Components.File_1;
|
|
23033
23178
|
}
|
|
23034
23179
|
|
|
23035
23180
|
export interface TrellisInput {
|
|
@@ -23191,12 +23336,13 @@ export interface TopazUpscaleVideoInput {
|
|
|
23191
23336
|
|
|
23192
23337
|
export interface TopazUpscaleVideoOutput {
|
|
23193
23338
|
/**
|
|
23339
|
+
* Video
|
|
23194
23340
|
* @description The upscaled video file
|
|
23195
23341
|
* @example {
|
|
23196
23342
|
* "url": "https://v3.fal.media/files/penguin/ztj_LB4gQlW6HIfVs8zX4_upscaled.mp4"
|
|
23197
23343
|
* }
|
|
23198
23344
|
*/
|
|
23199
|
-
video: Components.
|
|
23345
|
+
video: Components.File;
|
|
23200
23346
|
}
|
|
23201
23347
|
|
|
23202
23348
|
export interface TopazUpscaleImageInput {
|
|
@@ -23266,10 +23412,7 @@ export interface TopazUpscaleImageInput {
|
|
|
23266
23412
|
upscale_factor?: number;
|
|
23267
23413
|
}
|
|
23268
23414
|
|
|
23269
|
-
export interface TopazUpscaleImageOutput {
|
|
23270
|
-
/** @description The upscaled image. */
|
|
23271
|
-
image: Components.File_1;
|
|
23272
|
-
}
|
|
23415
|
+
export interface TopazUpscaleImageOutput extends SharedType_df4 {}
|
|
23273
23416
|
|
|
23274
23417
|
export interface ThinksoundAudioInput extends SharedType_4bc {}
|
|
23275
23418
|
|
|
@@ -23962,6 +24105,12 @@ export interface StarVectorInput {
|
|
|
23962
24105
|
* @example https://storage.googleapis.com/falserverless/star-vector/sample-18.png
|
|
23963
24106
|
*/
|
|
23964
24107
|
image_url: string;
|
|
24108
|
+
/**
|
|
24109
|
+
* Max Length
|
|
24110
|
+
* @description Maximum number of tokens for SVG generation. Increase for complex images.
|
|
24111
|
+
* @default 4000
|
|
24112
|
+
*/
|
|
24113
|
+
max_length?: number;
|
|
23965
24114
|
/**
|
|
23966
24115
|
* Seed
|
|
23967
24116
|
* @description seed to be used for generation
|
|
@@ -26798,11 +26947,23 @@ export interface SamAudioVisualSeparateInput {
|
|
|
26798
26947
|
* @enum {string}
|
|
26799
26948
|
*/
|
|
26800
26949
|
acceleration?: 'fast' | 'balanced' | 'quality';
|
|
26950
|
+
/**
|
|
26951
|
+
* Chunk Overlap
|
|
26952
|
+
* @description Overlap duration (in seconds) between chunks for crossfade blending.
|
|
26953
|
+
* @default 5
|
|
26954
|
+
*/
|
|
26955
|
+
chunk_overlap?: number;
|
|
26801
26956
|
/**
|
|
26802
26957
|
* Mask Video Url
|
|
26803
26958
|
* @description URL of the mask video (binary mask indicating target object). Black=target, White=background.
|
|
26804
26959
|
*/
|
|
26805
26960
|
mask_video_url?: string;
|
|
26961
|
+
/**
|
|
26962
|
+
* Max Chunk Duration
|
|
26963
|
+
* @description Maximum audio duration (in seconds) to process in a single pass. Longer audio will be chunked with overlap and blended.
|
|
26964
|
+
* @default 60
|
|
26965
|
+
*/
|
|
26966
|
+
max_chunk_duration?: number;
|
|
26806
26967
|
/**
|
|
26807
26968
|
* Output Format
|
|
26808
26969
|
* @description Output audio format.
|
|
@@ -26878,6 +27039,18 @@ export interface SamAudioSpanSeparateInput {
|
|
|
26878
27039
|
* @example https://v3b.fal.media/files/b/0a8853d1/T7zRmsiculA6u_V6RCF2c_man.mp3
|
|
26879
27040
|
*/
|
|
26880
27041
|
audio_url: string;
|
|
27042
|
+
/**
|
|
27043
|
+
* Chunk Overlap
|
|
27044
|
+
* @description Overlap duration (in seconds) between chunks for crossfade blending.
|
|
27045
|
+
* @default 5
|
|
27046
|
+
*/
|
|
27047
|
+
chunk_overlap?: number;
|
|
27048
|
+
/**
|
|
27049
|
+
* Max Chunk Duration
|
|
27050
|
+
* @description Maximum audio duration (in seconds) to process in a single pass. Longer audio will be chunked with overlap and blended.
|
|
27051
|
+
* @default 60
|
|
27052
|
+
*/
|
|
27053
|
+
max_chunk_duration?: number;
|
|
26881
27054
|
/**
|
|
26882
27055
|
* Output Format
|
|
26883
27056
|
* @description Output audio format.
|
|
@@ -26916,6 +27089,12 @@ export interface SamAudioSpanSeparateInput {
|
|
|
26916
27089
|
* @default false
|
|
26917
27090
|
*/
|
|
26918
27091
|
trim_to_span?: boolean;
|
|
27092
|
+
/**
|
|
27093
|
+
* Use Sound Activity Ranking
|
|
27094
|
+
* @description Use sound activity detection to rank reranking candidates based on how well each candidate's non-silent regions match the provided spans. Enables effective reranking even without a text prompt (span-only separation). Requires reranking_candidates > 1.
|
|
27095
|
+
* @default false
|
|
27096
|
+
*/
|
|
27097
|
+
use_sound_activity_ranking?: boolean;
|
|
26919
27098
|
}
|
|
26920
27099
|
|
|
26921
27100
|
export interface SamAudioSpanSeparateOutput {
|
|
@@ -26965,6 +27144,18 @@ export interface SamAudioSeparateInput {
|
|
|
26965
27144
|
* @example https://v3b.fal.media/files/b/0a88511f/tUUCI9eDmeC2RqJEOXrZk_assets_avatar_multi_sing_woman.WAV
|
|
26966
27145
|
*/
|
|
26967
27146
|
audio_url: string;
|
|
27147
|
+
/**
|
|
27148
|
+
* Chunk Overlap
|
|
27149
|
+
* @description Overlap duration (in seconds) between chunks for crossfade blending.
|
|
27150
|
+
* @default 5
|
|
27151
|
+
*/
|
|
27152
|
+
chunk_overlap?: number;
|
|
27153
|
+
/**
|
|
27154
|
+
* Max Chunk Duration
|
|
27155
|
+
* @description Maximum audio duration (in seconds) to process in a single pass. Longer audio will be chunked with overlap and blended.
|
|
27156
|
+
* @default 60
|
|
27157
|
+
*/
|
|
27158
|
+
max_chunk_duration?: number;
|
|
26968
27159
|
/**
|
|
26969
27160
|
* Output Format
|
|
26970
27161
|
* @description Output audio format.
|
|
@@ -27875,6 +28066,226 @@ export interface RecraftVectorizeOutput {
|
|
|
27875
28066
|
image: Components.File;
|
|
27876
28067
|
}
|
|
27877
28068
|
|
|
28069
|
+
export interface RecraftV4TextToVectorInput {
|
|
28070
|
+
/**
|
|
28071
|
+
* Background Color
|
|
28072
|
+
* @description The preferable background color of the generated images.
|
|
28073
|
+
*/
|
|
28074
|
+
background_color?: Components.RGBColor;
|
|
28075
|
+
/**
|
|
28076
|
+
* Colors
|
|
28077
|
+
* @description An array of preferable colors
|
|
28078
|
+
* @default []
|
|
28079
|
+
*/
|
|
28080
|
+
colors?: Components.RGBColor[];
|
|
28081
|
+
/**
|
|
28082
|
+
* Enable Safety Checker
|
|
28083
|
+
* @description If set to true, the safety checker will be enabled.
|
|
28084
|
+
* @default true
|
|
28085
|
+
*/
|
|
28086
|
+
enable_safety_checker?: boolean;
|
|
28087
|
+
/**
|
|
28088
|
+
* Image Size
|
|
28089
|
+
* @default square_hd
|
|
28090
|
+
* @example landscape_16_9
|
|
28091
|
+
*/
|
|
28092
|
+
image_size?:
|
|
28093
|
+
| Components.ImageSize
|
|
28094
|
+
| (
|
|
28095
|
+
| 'square_hd'
|
|
28096
|
+
| 'square'
|
|
28097
|
+
| 'portrait_4_3'
|
|
28098
|
+
| 'portrait_16_9'
|
|
28099
|
+
| 'landscape_4_3'
|
|
28100
|
+
| 'landscape_16_9'
|
|
28101
|
+
);
|
|
28102
|
+
/**
|
|
28103
|
+
* Prompt
|
|
28104
|
+
* @example a cute character fox with cool clothes, 3d flat color, design
|
|
28105
|
+
*/
|
|
28106
|
+
prompt: string;
|
|
28107
|
+
}
|
|
28108
|
+
|
|
28109
|
+
export interface RecraftV4TextToVectorOutput {
|
|
28110
|
+
/**
|
|
28111
|
+
* Images
|
|
28112
|
+
* @example [
|
|
28113
|
+
* {
|
|
28114
|
+
* "file_size": 1722022,
|
|
28115
|
+
* "file_name": "image.svg",
|
|
28116
|
+
* "content_type": "image/svg+xml",
|
|
28117
|
+
* "url": "https://v3b.fal.media/files/b/0a8ee4fd/sw8YD36iblpO64JeQZEDt_image.svg"
|
|
28118
|
+
* }
|
|
28119
|
+
* ]
|
|
28120
|
+
*/
|
|
28121
|
+
images: Components.File[];
|
|
28122
|
+
}
|
|
28123
|
+
|
|
28124
|
+
export interface RecraftV4TextToImageInput {
|
|
28125
|
+
/**
|
|
28126
|
+
* Background Color
|
|
28127
|
+
* @description The preferable background color of the generated images.
|
|
28128
|
+
*/
|
|
28129
|
+
background_color?: Components.RGBColor;
|
|
28130
|
+
/**
|
|
28131
|
+
* Colors
|
|
28132
|
+
* @description An array of preferable colors
|
|
28133
|
+
* @default []
|
|
28134
|
+
*/
|
|
28135
|
+
colors?: Components.RGBColor[];
|
|
28136
|
+
/**
|
|
28137
|
+
* Enable Safety Checker
|
|
28138
|
+
* @description If set to true, the safety checker will be enabled.
|
|
28139
|
+
* @default true
|
|
28140
|
+
*/
|
|
28141
|
+
enable_safety_checker?: boolean;
|
|
28142
|
+
/**
|
|
28143
|
+
* Image Size
|
|
28144
|
+
* @default square_hd
|
|
28145
|
+
* @example landscape_16_9
|
|
28146
|
+
*/
|
|
28147
|
+
image_size?:
|
|
28148
|
+
| Components.ImageSize
|
|
28149
|
+
| (
|
|
28150
|
+
| 'square_hd'
|
|
28151
|
+
| 'square'
|
|
28152
|
+
| 'portrait_4_3'
|
|
28153
|
+
| 'portrait_16_9'
|
|
28154
|
+
| 'landscape_4_3'
|
|
28155
|
+
| 'landscape_16_9'
|
|
28156
|
+
);
|
|
28157
|
+
/**
|
|
28158
|
+
* Prompt
|
|
28159
|
+
* @example Tilt-shift miniature effect on a real Portuguese fishing village at golden hour, colorful boats in the harbor appearing toy-like, selective focus band across the middle, saturated primary colors of blue red and yellow boats against white buildings, 90mm tilt-shift lens, the familiar made fantastical, Wes Anderson color sensibility
|
|
28160
|
+
*/
|
|
28161
|
+
prompt: string;
|
|
28162
|
+
}
|
|
28163
|
+
|
|
28164
|
+
export interface RecraftV4TextToImageOutput {
|
|
28165
|
+
/**
|
|
28166
|
+
* Images
|
|
28167
|
+
* @example [
|
|
28168
|
+
* {
|
|
28169
|
+
* "file_size": 272628,
|
|
28170
|
+
* "file_name": "image.webp",
|
|
28171
|
+
* "content_type": "image/webp",
|
|
28172
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/recraft-v4/standard-output.webp"
|
|
28173
|
+
* }
|
|
28174
|
+
* ]
|
|
28175
|
+
*/
|
|
28176
|
+
images: Components.File[];
|
|
28177
|
+
}
|
|
28178
|
+
|
|
28179
|
+
export interface RecraftV4ProTextToVectorInput {
|
|
28180
|
+
/**
|
|
28181
|
+
* Background Color
|
|
28182
|
+
* @description The preferable background color of the generated images.
|
|
28183
|
+
*/
|
|
28184
|
+
background_color?: Components.RGBColor;
|
|
28185
|
+
/**
|
|
28186
|
+
* Colors
|
|
28187
|
+
* @description An array of preferable colors
|
|
28188
|
+
* @default []
|
|
28189
|
+
*/
|
|
28190
|
+
colors?: Components.RGBColor[];
|
|
28191
|
+
/**
|
|
28192
|
+
* Enable Safety Checker
|
|
28193
|
+
* @description If set to true, the safety checker will be enabled.
|
|
28194
|
+
* @default true
|
|
28195
|
+
*/
|
|
28196
|
+
enable_safety_checker?: boolean;
|
|
28197
|
+
/**
|
|
28198
|
+
* Image Size
|
|
28199
|
+
* @default square_hd
|
|
28200
|
+
* @example landscape_16_9
|
|
28201
|
+
*/
|
|
28202
|
+
image_size?:
|
|
28203
|
+
| Components.ImageSize
|
|
28204
|
+
| (
|
|
28205
|
+
| 'square_hd'
|
|
28206
|
+
| 'square'
|
|
28207
|
+
| 'portrait_4_3'
|
|
28208
|
+
| 'portrait_16_9'
|
|
28209
|
+
| 'landscape_4_3'
|
|
28210
|
+
| 'landscape_16_9'
|
|
28211
|
+
);
|
|
28212
|
+
/**
|
|
28213
|
+
* Prompt
|
|
28214
|
+
* @example a cute character panda with cool clothes, 3d flat color, design
|
|
28215
|
+
*/
|
|
28216
|
+
prompt: string;
|
|
28217
|
+
}
|
|
28218
|
+
|
|
28219
|
+
export interface RecraftV4ProTextToVectorOutput {
|
|
28220
|
+
/**
|
|
28221
|
+
* Images
|
|
28222
|
+
* @example [
|
|
28223
|
+
* {
|
|
28224
|
+
* "file_size": 1818794,
|
|
28225
|
+
* "file_name": "image.svg",
|
|
28226
|
+
* "content_type": "image/svg+xml",
|
|
28227
|
+
* "url": "https://v3b.fal.media/files/b/0a8ee4de/lmXuapOPV309mE533swE0_image.svg"
|
|
28228
|
+
* }
|
|
28229
|
+
* ]
|
|
28230
|
+
*/
|
|
28231
|
+
images: Components.File[];
|
|
28232
|
+
}
|
|
28233
|
+
|
|
28234
|
+
export interface RecraftV4ProTextToImageInput {
|
|
28235
|
+
/**
|
|
28236
|
+
* Background Color
|
|
28237
|
+
* @description The preferable background color of the generated images.
|
|
28238
|
+
*/
|
|
28239
|
+
background_color?: Components.RGBColor;
|
|
28240
|
+
/**
|
|
28241
|
+
* Colors
|
|
28242
|
+
* @description An array of preferable colors
|
|
28243
|
+
* @default []
|
|
28244
|
+
*/
|
|
28245
|
+
colors?: Components.RGBColor[];
|
|
28246
|
+
/**
|
|
28247
|
+
* Enable Safety Checker
|
|
28248
|
+
* @description If set to true, the safety checker will be enabled.
|
|
28249
|
+
* @default true
|
|
28250
|
+
*/
|
|
28251
|
+
enable_safety_checker?: boolean;
|
|
28252
|
+
/**
|
|
28253
|
+
* Image Size
|
|
28254
|
+
* @default square_hd
|
|
28255
|
+
* @example landscape_16_9
|
|
28256
|
+
*/
|
|
28257
|
+
image_size?:
|
|
28258
|
+
| Components.ImageSize
|
|
28259
|
+
| (
|
|
28260
|
+
| 'square_hd'
|
|
28261
|
+
| 'square'
|
|
28262
|
+
| 'portrait_4_3'
|
|
28263
|
+
| 'portrait_16_9'
|
|
28264
|
+
| 'landscape_4_3'
|
|
28265
|
+
| 'landscape_16_9'
|
|
28266
|
+
);
|
|
28267
|
+
/**
|
|
28268
|
+
* Prompt
|
|
28269
|
+
* @example Crash zoom frozen at the moment of impact as a kingfisher breaks the surface of a pond, water crown splash forming a perfect circle, the bird's beak piercing the mirror-like surface, fish visible just below, frozen at 1/8000s, 400mm super telephoto with 2x extender, ring flash fill, pre-dawn blue light with single shaft of gold, BBC Frozen Planet production quality
|
|
28270
|
+
*/
|
|
28271
|
+
prompt: string;
|
|
28272
|
+
}
|
|
28273
|
+
|
|
28274
|
+
export interface RecraftV4ProTextToImageOutput {
|
|
28275
|
+
/**
|
|
28276
|
+
* Images
|
|
28277
|
+
* @example [
|
|
28278
|
+
* {
|
|
28279
|
+
* "file_size": 1949504,
|
|
28280
|
+
* "file_name": "image.webp",
|
|
28281
|
+
* "content_type": "image/webp",
|
|
28282
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/recraft-v4/pro-output.webp"
|
|
28283
|
+
* }
|
|
28284
|
+
* ]
|
|
28285
|
+
*/
|
|
28286
|
+
images: Components.File[];
|
|
28287
|
+
}
|
|
28288
|
+
|
|
27878
28289
|
export interface RecraftV3TextToImageInput {
|
|
27879
28290
|
/**
|
|
27880
28291
|
* Colors
|
|
@@ -34464,12 +34875,13 @@ export interface OviImageToVideoOutput {
|
|
|
34464
34875
|
*/
|
|
34465
34876
|
seed: number;
|
|
34466
34877
|
/**
|
|
34878
|
+
* Video
|
|
34467
34879
|
* @description The generated video file.
|
|
34468
34880
|
* @example {
|
|
34469
34881
|
* "url": "https://storage.googleapis.com/falserverless/example_inputs/ovi_i2v_output.mp4"
|
|
34470
34882
|
* }
|
|
34471
34883
|
*/
|
|
34472
|
-
video?: Components.
|
|
34884
|
+
video?: Components.File;
|
|
34473
34885
|
}
|
|
34474
34886
|
|
|
34475
34887
|
export interface OviInput {
|
|
@@ -34525,12 +34937,13 @@ export interface OviOutput {
|
|
|
34525
34937
|
*/
|
|
34526
34938
|
seed: number;
|
|
34527
34939
|
/**
|
|
34940
|
+
* Video
|
|
34528
34941
|
* @description The generated video file.
|
|
34529
34942
|
* @example {
|
|
34530
34943
|
* "url": "https://storage.googleapis.com/falserverless/example_inputs/ovi_t2v_output.mp4"
|
|
34531
34944
|
* }
|
|
34532
34945
|
*/
|
|
34533
|
-
video?: Components.
|
|
34946
|
+
video?: Components.File;
|
|
34534
34947
|
}
|
|
34535
34948
|
|
|
34536
34949
|
export interface OrpheusTtsInput {
|
|
@@ -37216,19 +37629,19 @@ export interface MinimaxMusicOutput {
|
|
|
37216
37629
|
|
|
37217
37630
|
export interface MeshyV6TextTo3dInput extends SharedType_ec0 {}
|
|
37218
37631
|
|
|
37219
|
-
export interface MeshyV6TextTo3dOutput extends
|
|
37632
|
+
export interface MeshyV6TextTo3dOutput extends SharedType_e49 {}
|
|
37220
37633
|
|
|
37221
37634
|
export interface MeshyV6ImageTo3dInput extends SharedType_9af {}
|
|
37222
37635
|
|
|
37223
|
-
export interface MeshyV6ImageTo3dOutput extends
|
|
37636
|
+
export interface MeshyV6ImageTo3dOutput extends SharedType_8f1 {}
|
|
37224
37637
|
|
|
37225
37638
|
export interface MeshyV6PreviewTextTo3dInput extends SharedType_ec0 {}
|
|
37226
37639
|
|
|
37227
|
-
export interface MeshyV6PreviewTextTo3dOutput extends
|
|
37640
|
+
export interface MeshyV6PreviewTextTo3dOutput extends SharedType_e49 {}
|
|
37228
37641
|
|
|
37229
37642
|
export interface MeshyV6PreviewImageTo3dInput extends SharedType_9af {}
|
|
37230
37643
|
|
|
37231
|
-
export interface MeshyV6PreviewImageTo3dOutput extends
|
|
37644
|
+
export interface MeshyV6PreviewImageTo3dOutput extends SharedType_8f1 {}
|
|
37232
37645
|
|
|
37233
37646
|
export interface MeshyV5RetextureInput {
|
|
37234
37647
|
/**
|
|
@@ -37301,17 +37714,17 @@ export interface MeshyV5RetextureOutput {
|
|
|
37301
37714
|
* "content_type": "model/vnd.usdz+zip",
|
|
37302
37715
|
* "url": "https://v3b.fal.media/files/b/panda/4ItUhLHiH4foEw30qcWZv_model.usdz"
|
|
37303
37716
|
* },
|
|
37304
|
-
* "glb": {
|
|
37305
|
-
* "file_size": 4097640,
|
|
37306
|
-
* "file_name": "model.glb",
|
|
37307
|
-
* "content_type": "model/gltf-binary",
|
|
37308
|
-
* "url": "https://v3b.fal.media/files/b/tiger/pU0TtsRTxXM6VnKEYTHSV_model.glb"
|
|
37309
|
-
* },
|
|
37310
37717
|
* "obj": {
|
|
37311
37718
|
* "file_size": 2964508,
|
|
37312
37719
|
* "file_name": "model.obj",
|
|
37313
37720
|
* "content_type": "text/plain",
|
|
37314
37721
|
* "url": "https://v3b.fal.media/files/b/zebra/M5aK_b6vKH7KeGCZoSLq7_model.obj"
|
|
37722
|
+
* },
|
|
37723
|
+
* "glb": {
|
|
37724
|
+
* "file_size": 4097640,
|
|
37725
|
+
* "file_name": "model.glb",
|
|
37726
|
+
* "content_type": "model/gltf-binary",
|
|
37727
|
+
* "url": "https://v3b.fal.media/files/b/tiger/pU0TtsRTxXM6VnKEYTHSV_model.glb"
|
|
37315
37728
|
* }
|
|
37316
37729
|
* }
|
|
37317
37730
|
*/
|
|
@@ -37532,17 +37945,17 @@ export interface MeshyV5MultiImageTo3dOutput {
|
|
|
37532
37945
|
* "content_type": "model/vnd.usdz+zip",
|
|
37533
37946
|
* "url": "https://v3b.fal.media/files/b/panda/fSGLGmtgzUjhepklN06Zw_model.usdz"
|
|
37534
37947
|
* },
|
|
37535
|
-
* "glb": {
|
|
37536
|
-
* "file_size": 7875308,
|
|
37537
|
-
* "file_name": "model.glb",
|
|
37538
|
-
* "content_type": "model/gltf-binary",
|
|
37539
|
-
* "url": "https://v3b.fal.media/files/b/tiger/62QMEQqZ3pjUds4DfuVtX_model.glb"
|
|
37540
|
-
* },
|
|
37541
37948
|
* "obj": {
|
|
37542
37949
|
* "file_size": 2761323,
|
|
37543
37950
|
* "file_name": "model.obj",
|
|
37544
37951
|
* "content_type": "text/plain",
|
|
37545
37952
|
* "url": "https://v3b.fal.media/files/b/koala/xmOnmSeePfuROe3pqHpf0_model.obj"
|
|
37953
|
+
* },
|
|
37954
|
+
* "glb": {
|
|
37955
|
+
* "file_size": 7875308,
|
|
37956
|
+
* "file_name": "model.glb",
|
|
37957
|
+
* "content_type": "model/gltf-binary",
|
|
37958
|
+
* "url": "https://v3b.fal.media/files/b/tiger/62QMEQqZ3pjUds4DfuVtX_model.glb"
|
|
37546
37959
|
* }
|
|
37547
37960
|
* }
|
|
37548
37961
|
*/
|
|
@@ -47905,9 +48318,7 @@ export interface LcmSd15I2iInput {
|
|
|
47905
48318
|
strength?: number;
|
|
47906
48319
|
/**
|
|
47907
48320
|
* Sync Mode
|
|
47908
|
-
* @description If
|
|
47909
|
-
* before returning the response. This will increase the latency of the function but
|
|
47910
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
48321
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
47911
48322
|
* @default false
|
|
47912
48323
|
*/
|
|
47913
48324
|
sync_mode?: boolean;
|
|
@@ -49972,7 +50383,7 @@ export interface KlingVideoV1StandardImageToVideoOutput extends SharedType_b2d {
|
|
|
49972
50383
|
|
|
49973
50384
|
export interface KlingVideoV1StandardEffectsInput extends SharedType_9db {}
|
|
49974
50385
|
|
|
49975
|
-
export interface KlingVideoV1StandardEffectsOutput extends
|
|
50386
|
+
export interface KlingVideoV1StandardEffectsOutput extends SharedType_95d1 {}
|
|
49976
50387
|
|
|
49977
50388
|
export interface KlingVideoV1StandardAiAvatarInput extends SharedType_c85 {}
|
|
49978
50389
|
|
|
@@ -50026,7 +50437,7 @@ export interface KlingVideoV16StandardElementsOutput extends SharedType_d98 {}
|
|
|
50026
50437
|
|
|
50027
50438
|
export interface KlingVideoV16StandardEffectsInput extends SharedType_9db {}
|
|
50028
50439
|
|
|
50029
|
-
export interface KlingVideoV16StandardEffectsOutput extends
|
|
50440
|
+
export interface KlingVideoV16StandardEffectsOutput extends SharedType_95d1 {}
|
|
50030
50441
|
|
|
50031
50442
|
export interface KlingVideoV16ProTextToVideoInput extends SharedType_a8a {}
|
|
50032
50443
|
|
|
@@ -50084,7 +50495,7 @@ export interface KlingVideoV16ProElementsOutput extends SharedType_d98 {}
|
|
|
50084
50495
|
|
|
50085
50496
|
export interface KlingVideoV16ProEffectsInput extends SharedType_9db {}
|
|
50086
50497
|
|
|
50087
|
-
export interface KlingVideoV16ProEffectsOutput extends
|
|
50498
|
+
export interface KlingVideoV16ProEffectsOutput extends SharedType_95d1 {}
|
|
50088
50499
|
|
|
50089
50500
|
export interface KlingVideoV15ProTextToVideoInput extends SharedType_a8a {}
|
|
50090
50501
|
|
|
@@ -50149,7 +50560,7 @@ export interface KlingVideoV15ProImageToVideoOutput extends SharedType_b2d {}
|
|
|
50149
50560
|
|
|
50150
50561
|
export interface KlingVideoV15ProEffectsInput extends SharedType_9db {}
|
|
50151
50562
|
|
|
50152
|
-
export interface KlingVideoV15ProEffectsOutput extends
|
|
50563
|
+
export interface KlingVideoV15ProEffectsOutput extends SharedType_95d1 {}
|
|
50153
50564
|
|
|
50154
50565
|
export interface KlingVideoO3StandardVideoToVideoReferenceInput {
|
|
50155
50566
|
/**
|
|
@@ -54203,12 +54614,6 @@ export interface ImageAppsV2VirtualTryOnOutput {
|
|
|
54203
54614
|
* ]
|
|
54204
54615
|
*/
|
|
54205
54616
|
images: Components.Image_2[];
|
|
54206
|
-
/**
|
|
54207
|
-
* Inference Time Ms
|
|
54208
|
-
* @description Total inference time in milliseconds
|
|
54209
|
-
* @example 15234
|
|
54210
|
-
*/
|
|
54211
|
-
inference_time_ms: number;
|
|
54212
54617
|
}
|
|
54213
54618
|
|
|
54214
54619
|
export interface ImageAppsV2TextureTransformInput {
|
|
@@ -54261,12 +54666,6 @@ export interface ImageAppsV2TextureTransformOutput {
|
|
|
54261
54666
|
* ]
|
|
54262
54667
|
*/
|
|
54263
54668
|
images: Components.Image_2[];
|
|
54264
|
-
/**
|
|
54265
|
-
* Inference Time Ms
|
|
54266
|
-
* @description Total inference time in milliseconds
|
|
54267
|
-
* @example 15234
|
|
54268
|
-
*/
|
|
54269
|
-
inference_time_ms: number;
|
|
54270
54669
|
}
|
|
54271
54670
|
|
|
54272
54671
|
export interface ImageAppsV2StyleTransferInput {
|
|
@@ -54328,12 +54727,6 @@ export interface ImageAppsV2StyleTransferOutput {
|
|
|
54328
54727
|
* ]
|
|
54329
54728
|
*/
|
|
54330
54729
|
images: Components.Image_2[];
|
|
54331
|
-
/**
|
|
54332
|
-
* Inference Time Ms
|
|
54333
|
-
* @description Total inference time in milliseconds
|
|
54334
|
-
* @example 15234
|
|
54335
|
-
*/
|
|
54336
|
-
inference_time_ms: number;
|
|
54337
54730
|
}
|
|
54338
54731
|
|
|
54339
54732
|
export interface ImageAppsV2RelightingInput {
|
|
@@ -54382,12 +54775,6 @@ export interface ImageAppsV2RelightingOutput {
|
|
|
54382
54775
|
* ]
|
|
54383
54776
|
*/
|
|
54384
54777
|
images: Components.Image_2[];
|
|
54385
|
-
/**
|
|
54386
|
-
* Inference Time Ms
|
|
54387
|
-
* @description Total inference time in milliseconds
|
|
54388
|
-
* @example 15234
|
|
54389
|
-
*/
|
|
54390
|
-
inference_time_ms: number;
|
|
54391
54778
|
}
|
|
54392
54779
|
|
|
54393
54780
|
export interface ImageAppsV2ProductPhotographyInput {
|
|
@@ -54412,12 +54799,6 @@ export interface ImageAppsV2ProductPhotographyOutput {
|
|
|
54412
54799
|
* ]
|
|
54413
54800
|
*/
|
|
54414
54801
|
images: Components.Image_2[];
|
|
54415
|
-
/**
|
|
54416
|
-
* Inference Time Ms
|
|
54417
|
-
* @description Total inference time in milliseconds
|
|
54418
|
-
* @example 15234
|
|
54419
|
-
*/
|
|
54420
|
-
inference_time_ms: number;
|
|
54421
54802
|
}
|
|
54422
54803
|
|
|
54423
54804
|
export interface ImageAppsV2ProductHoldingInput {
|
|
@@ -54448,12 +54829,6 @@ export interface ImageAppsV2ProductHoldingOutput {
|
|
|
54448
54829
|
* ]
|
|
54449
54830
|
*/
|
|
54450
54831
|
images: Components.Image_2[];
|
|
54451
|
-
/**
|
|
54452
|
-
* Inference Time Ms
|
|
54453
|
-
* @description Total inference time in milliseconds
|
|
54454
|
-
* @example 15234
|
|
54455
|
-
*/
|
|
54456
|
-
inference_time_ms: number;
|
|
54457
54832
|
}
|
|
54458
54833
|
|
|
54459
54834
|
export interface ImageAppsV2PortraitEnhanceInput {
|
|
@@ -54478,12 +54853,6 @@ export interface ImageAppsV2PortraitEnhanceOutput {
|
|
|
54478
54853
|
* ]
|
|
54479
54854
|
*/
|
|
54480
54855
|
images: Components.Image_2[];
|
|
54481
|
-
/**
|
|
54482
|
-
* Inference Time Ms
|
|
54483
|
-
* @description Total inference time in milliseconds
|
|
54484
|
-
* @example 15234
|
|
54485
|
-
*/
|
|
54486
|
-
inference_time_ms: number;
|
|
54487
54856
|
}
|
|
54488
54857
|
|
|
54489
54858
|
export interface ImageAppsV2PhotographyEffectsInput {
|
|
@@ -54530,12 +54899,6 @@ export interface ImageAppsV2PhotographyEffectsOutput {
|
|
|
54530
54899
|
* ]
|
|
54531
54900
|
*/
|
|
54532
54901
|
images: Components.Image_2[];
|
|
54533
|
-
/**
|
|
54534
|
-
* Inference Time Ms
|
|
54535
|
-
* @description Total inference time in milliseconds
|
|
54536
|
-
* @example 15234
|
|
54537
|
-
*/
|
|
54538
|
-
inference_time_ms: number;
|
|
54539
54902
|
}
|
|
54540
54903
|
|
|
54541
54904
|
export interface ImageAppsV2PhotoRestorationInput {
|
|
@@ -54575,12 +54938,6 @@ export interface ImageAppsV2PhotoRestorationOutput {
|
|
|
54575
54938
|
* ]
|
|
54576
54939
|
*/
|
|
54577
54940
|
images: Components.Image_2[];
|
|
54578
|
-
/**
|
|
54579
|
-
* Inference Time Ms
|
|
54580
|
-
* @description Total inference time in milliseconds
|
|
54581
|
-
* @example 15234
|
|
54582
|
-
*/
|
|
54583
|
-
inference_time_ms: number;
|
|
54584
54941
|
}
|
|
54585
54942
|
|
|
54586
54943
|
export interface ImageAppsV2PerspectiveInput {
|
|
@@ -54620,12 +54977,6 @@ export interface ImageAppsV2PerspectiveOutput {
|
|
|
54620
54977
|
* ]
|
|
54621
54978
|
*/
|
|
54622
54979
|
images: Components.Image_2[];
|
|
54623
|
-
/**
|
|
54624
|
-
* Inference Time Ms
|
|
54625
|
-
* @description Total inference time in milliseconds
|
|
54626
|
-
* @example 15234
|
|
54627
|
-
*/
|
|
54628
|
-
inference_time_ms: number;
|
|
54629
54980
|
}
|
|
54630
54981
|
|
|
54631
54982
|
export interface ImageAppsV2OutpaintInput {
|
|
@@ -54738,12 +55089,6 @@ export interface ImageAppsV2ObjectRemovalOutput {
|
|
|
54738
55089
|
* ]
|
|
54739
55090
|
*/
|
|
54740
55091
|
images: Components.Image_2[];
|
|
54741
|
-
/**
|
|
54742
|
-
* Inference Time Ms
|
|
54743
|
-
* @description Total inference time in milliseconds
|
|
54744
|
-
* @example 15234
|
|
54745
|
-
*/
|
|
54746
|
-
inference_time_ms: number;
|
|
54747
55092
|
}
|
|
54748
55093
|
|
|
54749
55094
|
export interface ImageAppsV2MakeupApplicationInput {
|
|
@@ -54791,12 +55136,6 @@ export interface ImageAppsV2MakeupApplicationOutput {
|
|
|
54791
55136
|
* ]
|
|
54792
55137
|
*/
|
|
54793
55138
|
images: Components.Image_2[];
|
|
54794
|
-
/**
|
|
54795
|
-
* Inference Time Ms
|
|
54796
|
-
* @description Total inference time in milliseconds
|
|
54797
|
-
* @example 15234
|
|
54798
|
-
*/
|
|
54799
|
-
inference_time_ms: number;
|
|
54800
55139
|
}
|
|
54801
55140
|
|
|
54802
55141
|
export interface ImageAppsV2HeadshotPhotoInput {
|
|
@@ -54827,12 +55166,6 @@ export interface ImageAppsV2HeadshotPhotoOutput {
|
|
|
54827
55166
|
* ]
|
|
54828
55167
|
*/
|
|
54829
55168
|
images: Components.Image_2[];
|
|
54830
|
-
/**
|
|
54831
|
-
* Inference Time Ms
|
|
54832
|
-
* @description Total inference time in milliseconds
|
|
54833
|
-
* @example 15234
|
|
54834
|
-
*/
|
|
54835
|
-
inference_time_ms: number;
|
|
54836
55169
|
}
|
|
54837
55170
|
|
|
54838
55171
|
export interface ImageAppsV2HairChangeInput {
|
|
@@ -54905,12 +55238,6 @@ export interface ImageAppsV2HairChangeOutput {
|
|
|
54905
55238
|
* ]
|
|
54906
55239
|
*/
|
|
54907
55240
|
images: Components.Image_2[];
|
|
54908
|
-
/**
|
|
54909
|
-
* Inference Time Ms
|
|
54910
|
-
* @description Total inference time in milliseconds
|
|
54911
|
-
* @example 15234
|
|
54912
|
-
*/
|
|
54913
|
-
inference_time_ms: number;
|
|
54914
55241
|
}
|
|
54915
55242
|
|
|
54916
55243
|
export interface ImageAppsV2ExpressionChangeInput {
|
|
@@ -54961,12 +55288,6 @@ export interface ImageAppsV2ExpressionChangeOutput {
|
|
|
54961
55288
|
* ]
|
|
54962
55289
|
*/
|
|
54963
55290
|
images: Components.Image_2[];
|
|
54964
|
-
/**
|
|
54965
|
-
* Inference Time Ms
|
|
54966
|
-
* @description Total inference time in milliseconds
|
|
54967
|
-
* @example 15234
|
|
54968
|
-
*/
|
|
54969
|
-
inference_time_ms: number;
|
|
54970
55291
|
}
|
|
54971
55292
|
|
|
54972
55293
|
export interface ImageAppsV2CityTeleportInput {
|
|
@@ -55032,12 +55353,6 @@ export interface ImageAppsV2CityTeleportOutput {
|
|
|
55032
55353
|
* ]
|
|
55033
55354
|
*/
|
|
55034
55355
|
images: Components.Image_2[];
|
|
55035
|
-
/**
|
|
55036
|
-
* Inference Time Ms
|
|
55037
|
-
* @description Total inference time in milliseconds
|
|
55038
|
-
* @example 15234
|
|
55039
|
-
*/
|
|
55040
|
-
inference_time_ms: number;
|
|
55041
55356
|
}
|
|
55042
55357
|
|
|
55043
55358
|
export interface ImageAppsV2AgeModifyInput {
|
|
@@ -55072,12 +55387,6 @@ export interface ImageAppsV2AgeModifyOutput {
|
|
|
55072
55387
|
* ]
|
|
55073
55388
|
*/
|
|
55074
55389
|
images: Components.Image_2[];
|
|
55075
|
-
/**
|
|
55076
|
-
* Inference Time Ms
|
|
55077
|
-
* @description Total inference time in milliseconds
|
|
55078
|
-
* @example 15234
|
|
55079
|
-
*/
|
|
55080
|
-
inference_time_ms: number;
|
|
55081
55390
|
}
|
|
55082
55391
|
|
|
55083
55392
|
export interface IllusionDiffusionInput {
|
|
@@ -57893,7 +58202,7 @@ export interface HunyuanImageV3InstructEditInput {
|
|
|
57893
58202
|
);
|
|
57894
58203
|
/**
|
|
57895
58204
|
* Image Urls
|
|
57896
|
-
* @description The URLs of the images to use as a reference for the generation. A maximum of
|
|
58205
|
+
* @description The URLs of the images to use as a reference for the generation. A maximum of 3 images are supported.
|
|
57897
58206
|
* @example [
|
|
57898
58207
|
* "https://v3b.fal.media/files/b/0a8c3cf9/voXcX8hd5maRSrSvZalXh_jAMqrScj.png"
|
|
57899
58208
|
* ]
|
|
@@ -59960,6 +60269,115 @@ export interface GhiblifyOutput {
|
|
|
59960
60269
|
image: Components.Image_2;
|
|
59961
60270
|
}
|
|
59962
60271
|
|
|
60272
|
+
export interface GenfocusAllInFocusInput {
|
|
60273
|
+
/**
|
|
60274
|
+
* Enable Safety Checker
|
|
60275
|
+
* @description If set to true, the safety checker will be enabled.
|
|
60276
|
+
* @default true
|
|
60277
|
+
*/
|
|
60278
|
+
enable_safety_checker?: boolean;
|
|
60279
|
+
/**
|
|
60280
|
+
* Image URL
|
|
60281
|
+
* @description The URL of the image to deblur and restore to all-in-focus.
|
|
60282
|
+
* @example https://v3b.fal.media/files/b/0a8e76a1/AOVtMeklSm7IGoCTMd2T3.jpg
|
|
60283
|
+
*/
|
|
60284
|
+
image_url: string;
|
|
60285
|
+
/**
|
|
60286
|
+
* Num Inference Steps
|
|
60287
|
+
* @description The number of inference steps to perform. Lower values are faster but may reduce quality.
|
|
60288
|
+
* @default 28
|
|
60289
|
+
*/
|
|
60290
|
+
num_inference_steps?: number;
|
|
60291
|
+
/**
|
|
60292
|
+
* Output Format
|
|
60293
|
+
* @description The format of the generated image.
|
|
60294
|
+
* @default jpeg
|
|
60295
|
+
* @enum {string}
|
|
60296
|
+
*/
|
|
60297
|
+
output_format?: 'jpeg' | 'png';
|
|
60298
|
+
/**
|
|
60299
|
+
* Seed
|
|
60300
|
+
* @description The same seed and the same input given to the same version of the model will output the same image every time.
|
|
60301
|
+
*/
|
|
60302
|
+
seed?: number;
|
|
60303
|
+
/**
|
|
60304
|
+
* Sync Mode
|
|
60305
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
60306
|
+
* @default false
|
|
60307
|
+
*/
|
|
60308
|
+
sync_mode?: boolean;
|
|
60309
|
+
/**
|
|
60310
|
+
* Target Long Side
|
|
60311
|
+
* @description Resize the image so the longer side matches this value (in pixels). If not set, the original resolution is used (aligned to 16px). Recommended range: 512 to 2000.
|
|
60312
|
+
* @default 512
|
|
60313
|
+
*/
|
|
60314
|
+
target_long_side?: number;
|
|
60315
|
+
}
|
|
60316
|
+
|
|
60317
|
+
export interface GenfocusAllInFocusOutput extends SharedType_5c2 {}
|
|
60318
|
+
|
|
60319
|
+
export interface GenfocusInput {
|
|
60320
|
+
/**
|
|
60321
|
+
* Blur Strength (K)
|
|
60322
|
+
* @description Blur strength (K value). Higher values produce stronger bokeh/defocus. Set to 0 to only perform all-in-focus (deblur) estimation without bokeh.
|
|
60323
|
+
* @default 8
|
|
60324
|
+
*/
|
|
60325
|
+
blur_strength?: number;
|
|
60326
|
+
/**
|
|
60327
|
+
* Enable Safety Checker
|
|
60328
|
+
* @description If set to true, the safety checker will be enabled.
|
|
60329
|
+
* @default true
|
|
60330
|
+
*/
|
|
60331
|
+
enable_safety_checker?: boolean;
|
|
60332
|
+
/**
|
|
60333
|
+
* Focus Point
|
|
60334
|
+
* @description The [x, y] coordinates of the focus point as fractions of image dimensions (0.0 to 1.0). For example, [0.5, 0.5] means center. If not provided, the center of the image is used.
|
|
60335
|
+
* @default [
|
|
60336
|
+
* 0.5,
|
|
60337
|
+
* 0.5
|
|
60338
|
+
* ]
|
|
60339
|
+
*/
|
|
60340
|
+
focus_point?: number[];
|
|
60341
|
+
/**
|
|
60342
|
+
* Image URL
|
|
60343
|
+
* @description The URL of the image to refocus.
|
|
60344
|
+
* @example https://v3b.fal.media/files/b/0a8e76a1/AOVtMeklSm7IGoCTMd2T3.jpg
|
|
60345
|
+
*/
|
|
60346
|
+
image_url: string;
|
|
60347
|
+
/**
|
|
60348
|
+
* Num Inference Steps
|
|
60349
|
+
* @description The number of inference steps to perform. Lower values are faster but may reduce quality.
|
|
60350
|
+
* @default 28
|
|
60351
|
+
*/
|
|
60352
|
+
num_inference_steps?: number;
|
|
60353
|
+
/**
|
|
60354
|
+
* Output Format
|
|
60355
|
+
* @description The format of the generated image.
|
|
60356
|
+
* @default jpeg
|
|
60357
|
+
* @enum {string}
|
|
60358
|
+
*/
|
|
60359
|
+
output_format?: 'jpeg' | 'png';
|
|
60360
|
+
/**
|
|
60361
|
+
* Seed
|
|
60362
|
+
* @description The same seed and the same input given to the same version of the model will output the same image every time.
|
|
60363
|
+
*/
|
|
60364
|
+
seed?: number;
|
|
60365
|
+
/**
|
|
60366
|
+
* Sync Mode
|
|
60367
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
60368
|
+
* @default false
|
|
60369
|
+
*/
|
|
60370
|
+
sync_mode?: boolean;
|
|
60371
|
+
/**
|
|
60372
|
+
* Target Long Side
|
|
60373
|
+
* @description Resize the image so the longer side matches this value (in pixels). If not set, the original resolution is used (aligned to 16px). Recommended range: 512 to 2000.
|
|
60374
|
+
* @default 512
|
|
60375
|
+
*/
|
|
60376
|
+
target_long_side?: number;
|
|
60377
|
+
}
|
|
60378
|
+
|
|
60379
|
+
export interface GenfocusOutput extends SharedType_5c2 {}
|
|
60380
|
+
|
|
59963
60381
|
export interface GeminiFlashEditMultiInput {
|
|
59964
60382
|
/**
|
|
59965
60383
|
* Input Image Urls
|
|
@@ -60223,9 +60641,9 @@ export interface FooocusUpscaleOrVaryInput {
|
|
|
60223
60641
|
* Styles
|
|
60224
60642
|
* @description The style to use.
|
|
60225
60643
|
* @default [
|
|
60644
|
+
* "Fooocus Sharp",
|
|
60226
60645
|
* "Fooocus Enhance",
|
|
60227
|
-
* "Fooocus V2"
|
|
60228
|
-
* "Fooocus Sharp"
|
|
60646
|
+
* "Fooocus V2"
|
|
60229
60647
|
* ]
|
|
60230
60648
|
*/
|
|
60231
60649
|
styles?: (
|
|
@@ -60509,9 +60927,7 @@ export interface FooocusUpscaleOrVaryInput {
|
|
|
60509
60927
|
)[];
|
|
60510
60928
|
/**
|
|
60511
60929
|
* Sync Mode
|
|
60512
|
-
* @description If
|
|
60513
|
-
* before returning the response. This will increase the latency of the function but
|
|
60514
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
60930
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
60515
60931
|
* @default false
|
|
60516
60932
|
*/
|
|
60517
60933
|
sync_mode?: boolean;
|
|
@@ -60734,9 +61150,9 @@ export interface FooocusInpaintInput {
|
|
|
60734
61150
|
* Styles
|
|
60735
61151
|
* @description The style to use.
|
|
60736
61152
|
* @default [
|
|
61153
|
+
* "Fooocus Sharp",
|
|
60737
61154
|
* "Fooocus Enhance",
|
|
60738
|
-
* "Fooocus V2"
|
|
60739
|
-
* "Fooocus Sharp"
|
|
61155
|
+
* "Fooocus V2"
|
|
60740
61156
|
* ]
|
|
60741
61157
|
*/
|
|
60742
61158
|
styles?: (
|
|
@@ -61020,9 +61436,7 @@ export interface FooocusInpaintInput {
|
|
|
61020
61436
|
)[];
|
|
61021
61437
|
/**
|
|
61022
61438
|
* Sync Mode
|
|
61023
|
-
* @description If
|
|
61024
|
-
* before returning the response. This will increase the latency of the function but
|
|
61025
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
61439
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
61026
61440
|
* @default false
|
|
61027
61441
|
*/
|
|
61028
61442
|
sync_mode?: boolean;
|
|
@@ -61054,10 +61468,10 @@ export interface FooocusImagePromptInput {
|
|
|
61054
61468
|
/**
|
|
61055
61469
|
* Image Prompt 1
|
|
61056
61470
|
* @example {
|
|
61057
|
-
* "
|
|
61471
|
+
* "image_url": "https://storage.googleapis.com/falserverless/model_tests/fooocus/Pikachu.webp",
|
|
61058
61472
|
* "stop_at": 1,
|
|
61059
61473
|
* "type": "PyraCanny",
|
|
61060
|
-
* "
|
|
61474
|
+
* "weight": 1
|
|
61061
61475
|
* }
|
|
61062
61476
|
*/
|
|
61063
61477
|
image_prompt_1: Components.ImagePrompt;
|
|
@@ -61188,9 +61602,9 @@ export interface FooocusImagePromptInput {
|
|
|
61188
61602
|
* Styles
|
|
61189
61603
|
* @description The style to use.
|
|
61190
61604
|
* @default [
|
|
61605
|
+
* "Fooocus Sharp",
|
|
61191
61606
|
* "Fooocus Enhance",
|
|
61192
|
-
* "Fooocus V2"
|
|
61193
|
-
* "Fooocus Sharp"
|
|
61607
|
+
* "Fooocus V2"
|
|
61194
61608
|
* ]
|
|
61195
61609
|
*/
|
|
61196
61610
|
styles?: (
|
|
@@ -61474,9 +61888,7 @@ export interface FooocusImagePromptInput {
|
|
|
61474
61888
|
)[];
|
|
61475
61889
|
/**
|
|
61476
61890
|
* Sync Mode
|
|
61477
|
-
* @description If
|
|
61478
|
-
* before returning the response. This will increase the latency of the function but
|
|
61479
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
61891
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
61480
61892
|
* @default false
|
|
61481
61893
|
*/
|
|
61482
61894
|
sync_mode?: boolean;
|
|
@@ -61648,9 +62060,9 @@ export interface FooocusInput {
|
|
|
61648
62060
|
* Styles
|
|
61649
62061
|
* @description The style to use.
|
|
61650
62062
|
* @default [
|
|
62063
|
+
* "Fooocus Sharp",
|
|
61651
62064
|
* "Fooocus Enhance",
|
|
61652
|
-
* "Fooocus V2"
|
|
61653
|
-
* "Fooocus Sharp"
|
|
62065
|
+
* "Fooocus V2"
|
|
61654
62066
|
* ]
|
|
61655
62067
|
*/
|
|
61656
62068
|
styles?: (
|
|
@@ -61934,9 +62346,7 @@ export interface FooocusInput {
|
|
|
61934
62346
|
)[];
|
|
61935
62347
|
/**
|
|
61936
62348
|
* Sync Mode
|
|
61937
|
-
* @description If
|
|
61938
|
-
* before returning the response. This will increase the latency of the function but
|
|
61939
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
62349
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
61940
62350
|
* @default false
|
|
61941
62351
|
*/
|
|
61942
62352
|
sync_mode?: boolean;
|
|
@@ -68254,7 +68664,7 @@ export interface Flux2LoraGalleryVirtualTryonOutput {
|
|
|
68254
68664
|
* }
|
|
68255
68665
|
* ]
|
|
68256
68666
|
*/
|
|
68257
|
-
images: Components.
|
|
68667
|
+
images: Components.Image[];
|
|
68258
68668
|
/**
|
|
68259
68669
|
* Prompt
|
|
68260
68670
|
* @description The prompt used for generation
|
|
@@ -68358,7 +68768,7 @@ export interface Flux2LoraGallerySepiaVintageOutput {
|
|
|
68358
68768
|
* }
|
|
68359
68769
|
* ]
|
|
68360
68770
|
*/
|
|
68361
|
-
images: Components.
|
|
68771
|
+
images: Components.Image[];
|
|
68362
68772
|
/**
|
|
68363
68773
|
* Prompt
|
|
68364
68774
|
* @description The prompt used for generation
|
|
@@ -68462,7 +68872,7 @@ export interface Flux2LoraGallerySatelliteViewStyleOutput {
|
|
|
68462
68872
|
* }
|
|
68463
68873
|
* ]
|
|
68464
68874
|
*/
|
|
68465
|
-
images: Components.
|
|
68875
|
+
images: Components.Image[];
|
|
68466
68876
|
/**
|
|
68467
68877
|
* Prompt
|
|
68468
68878
|
* @description The prompt used for generation
|
|
@@ -68567,7 +68977,7 @@ export interface Flux2LoraGalleryRealismOutput {
|
|
|
68567
68977
|
* }
|
|
68568
68978
|
* ]
|
|
68569
68979
|
*/
|
|
68570
|
-
images: Components.
|
|
68980
|
+
images: Components.Image[];
|
|
68571
68981
|
/**
|
|
68572
68982
|
* Prompt
|
|
68573
68983
|
* @description The prompt used for generation
|
|
@@ -68688,7 +69098,7 @@ export interface Flux2LoraGalleryMultipleAnglesOutput {
|
|
|
68688
69098
|
* }
|
|
68689
69099
|
* ]
|
|
68690
69100
|
*/
|
|
68691
|
-
images: Components.
|
|
69101
|
+
images: Components.Image[];
|
|
68692
69102
|
/**
|
|
68693
69103
|
* Prompt
|
|
68694
69104
|
* @description The prompt used for generation
|
|
@@ -68793,7 +69203,7 @@ export interface Flux2LoraGalleryHdrStyleOutput {
|
|
|
68793
69203
|
* }
|
|
68794
69204
|
* ]
|
|
68795
69205
|
*/
|
|
68796
|
-
images: Components.
|
|
69206
|
+
images: Components.Image[];
|
|
68797
69207
|
/**
|
|
68798
69208
|
* Prompt
|
|
68799
69209
|
* @description The prompt used for generation
|
|
@@ -68905,7 +69315,7 @@ export interface Flux2LoraGalleryFaceToFullPortraitOutput {
|
|
|
68905
69315
|
* }
|
|
68906
69316
|
* ]
|
|
68907
69317
|
*/
|
|
68908
|
-
images: Components.
|
|
69318
|
+
images: Components.Image[];
|
|
68909
69319
|
/**
|
|
68910
69320
|
* Prompt
|
|
68911
69321
|
* @description The prompt used for generation
|
|
@@ -69009,7 +69419,7 @@ export interface Flux2LoraGalleryDigitalComicArtOutput {
|
|
|
69009
69419
|
* }
|
|
69010
69420
|
* ]
|
|
69011
69421
|
*/
|
|
69012
|
-
images: Components.
|
|
69422
|
+
images: Components.Image[];
|
|
69013
69423
|
/**
|
|
69014
69424
|
* Prompt
|
|
69015
69425
|
* @description The prompt used for generation
|
|
@@ -69113,7 +69523,7 @@ export interface Flux2LoraGalleryBallpointPenSketchOutput {
|
|
|
69113
69523
|
* }
|
|
69114
69524
|
* ]
|
|
69115
69525
|
*/
|
|
69116
|
-
images: Components.
|
|
69526
|
+
images: Components.Image[];
|
|
69117
69527
|
/**
|
|
69118
69528
|
* Prompt
|
|
69119
69529
|
* @description The prompt used for generation
|
|
@@ -69224,7 +69634,7 @@ export interface Flux2LoraGalleryApartmentStagingOutput {
|
|
|
69224
69634
|
* }
|
|
69225
69635
|
* ]
|
|
69226
69636
|
*/
|
|
69227
|
-
images: Components.
|
|
69637
|
+
images: Components.Image[];
|
|
69228
69638
|
/**
|
|
69229
69639
|
* Prompt
|
|
69230
69640
|
* @description The prompt used for generation
|
|
@@ -69337,7 +69747,7 @@ export interface Flux2LoraGalleryAddBackgroundOutput {
|
|
|
69337
69747
|
* }
|
|
69338
69748
|
* ]
|
|
69339
69749
|
*/
|
|
69340
|
-
images: Components.
|
|
69750
|
+
images: Components.Image[];
|
|
69341
69751
|
/**
|
|
69342
69752
|
* Prompt
|
|
69343
69753
|
* @description The prompt used for generation
|
|
@@ -73572,7 +73982,7 @@ export interface F5TtsOutput {
|
|
|
73572
73982
|
* Generated Speech
|
|
73573
73983
|
* @description The audio file containing the generated speech.
|
|
73574
73984
|
*/
|
|
73575
|
-
audio_url: Components.
|
|
73985
|
+
audio_url: Components.AudioFile_2;
|
|
73576
73986
|
}
|
|
73577
73987
|
|
|
73578
73988
|
export interface FLiteTextureInput extends SharedType_b7d {}
|
|
@@ -74026,30 +74436,12 @@ export interface ElevenlabsTtsElevenV3Input {
|
|
|
74026
74436
|
* @description Language code (ISO 639-1) used to enforce a language for the model.
|
|
74027
74437
|
*/
|
|
74028
74438
|
language_code?: string;
|
|
74029
|
-
/**
|
|
74030
|
-
* Similarity Boost
|
|
74031
|
-
* @description Similarity boost (0-1)
|
|
74032
|
-
* @default 0.75
|
|
74033
|
-
*/
|
|
74034
|
-
similarity_boost?: number;
|
|
74035
|
-
/**
|
|
74036
|
-
* Speed
|
|
74037
|
-
* @description Speech speed (0.7-1.2). Values below 1.0 slow down the speech, above 1.0 speed it up. Extreme values may affect quality.
|
|
74038
|
-
* @default 1
|
|
74039
|
-
*/
|
|
74040
|
-
speed?: number;
|
|
74041
74439
|
/**
|
|
74042
74440
|
* Stability
|
|
74043
74441
|
* @description Voice stability (0-1)
|
|
74044
74442
|
* @default 0.5
|
|
74045
74443
|
*/
|
|
74046
74444
|
stability?: number;
|
|
74047
|
-
/**
|
|
74048
|
-
* Style
|
|
74049
|
-
* @description Style exaggeration (0-1)
|
|
74050
|
-
* @default 0
|
|
74051
|
-
*/
|
|
74052
|
-
style?: number;
|
|
74053
74445
|
/**
|
|
74054
74446
|
* Text
|
|
74055
74447
|
* @description The text to convert to speech
|
|
@@ -75676,7 +76068,7 @@ export interface Deepfilternet3Output {
|
|
|
75676
76068
|
* "bitrate": "192k"
|
|
75677
76069
|
* }
|
|
75678
76070
|
*/
|
|
75679
|
-
audio_file: Components.
|
|
76071
|
+
audio_file: Components.AudioFile;
|
|
75680
76072
|
/**
|
|
75681
76073
|
* Timings
|
|
75682
76074
|
* @description Timings for each step in the pipeline.
|
|
@@ -78744,7 +79136,7 @@ export interface BytedanceUpscalerUpscaleVideoOutput {
|
|
|
78744
79136
|
|
|
78745
79137
|
export interface BriaTextToImageHdInput extends SharedType_411 {}
|
|
78746
79138
|
|
|
78747
|
-
export interface BriaTextToImageHdOutput extends
|
|
79139
|
+
export interface BriaTextToImageHdOutput extends SharedType_e19 {}
|
|
78748
79140
|
|
|
78749
79141
|
export interface BriaTextToImageFastInput {
|
|
78750
79142
|
/**
|
|
@@ -78817,11 +79209,11 @@ export interface BriaTextToImageFastInput {
|
|
|
78817
79209
|
sync_mode?: boolean;
|
|
78818
79210
|
}
|
|
78819
79211
|
|
|
78820
|
-
export interface BriaTextToImageFastOutput extends
|
|
79212
|
+
export interface BriaTextToImageFastOutput extends SharedType_e19 {}
|
|
78821
79213
|
|
|
78822
79214
|
export interface BriaTextToImageBaseInput extends SharedType_411 {}
|
|
78823
79215
|
|
|
78824
|
-
export interface BriaTextToImageBaseOutput extends
|
|
79216
|
+
export interface BriaTextToImageBaseOutput extends SharedType_e19 {}
|
|
78825
79217
|
|
|
78826
79218
|
export interface BriaReimagineInput {
|
|
78827
79219
|
/**
|
|
@@ -79050,8 +79442,8 @@ export interface BriaGenfillOutput {
|
|
|
79050
79442
|
* @description Generated Images
|
|
79051
79443
|
* @example [
|
|
79052
79444
|
* {
|
|
79053
|
-
* "file_size": 1064550,
|
|
79054
79445
|
* "height": 768,
|
|
79446
|
+
* "file_size": 1064550,
|
|
79055
79447
|
* "file_name": "a0d138e6820c4ad58f1fd3c758f16047.png",
|
|
79056
79448
|
* "content_type": "image/png",
|
|
79057
79449
|
* "url": "https://storage.googleapis.com/falserverless/bria/bria_genfill_res.png",
|
|
@@ -79060,6 +79452,11 @@ export interface BriaGenfillOutput {
|
|
|
79060
79452
|
* ]
|
|
79061
79453
|
*/
|
|
79062
79454
|
images: Components.Image[];
|
|
79455
|
+
/**
|
|
79456
|
+
* Seed
|
|
79457
|
+
* @description Seed value used for generation.
|
|
79458
|
+
*/
|
|
79459
|
+
seed: number;
|
|
79063
79460
|
}
|
|
79064
79461
|
|
|
79065
79462
|
export interface BriaExpandInput {
|
|
@@ -79132,8 +79529,8 @@ export interface BriaExpandOutput {
|
|
|
79132
79529
|
* Image
|
|
79133
79530
|
* @description The generated image
|
|
79134
79531
|
* @example {
|
|
79135
|
-
* "file_size": 1471342,
|
|
79136
79532
|
* "height": 674,
|
|
79533
|
+
* "file_size": 1471342,
|
|
79137
79534
|
* "file_name": "afa402a35ea742cdb5c3e219b2b19bfb.png",
|
|
79138
79535
|
* "content_type": "image/png",
|
|
79139
79536
|
* "url": "https://v3.fal.media/files/koala/8np-spgxxG-I1r3cjthRV_afa402a35ea742cdb5c3e219b2b19bfb.png",
|
|
@@ -79291,8 +79688,8 @@ export interface BriaBackgroundRemoveOutput {
|
|
|
79291
79688
|
* Image
|
|
79292
79689
|
* @description The generated image
|
|
79293
79690
|
* @example {
|
|
79294
|
-
* "file_size": 1076276,
|
|
79295
79691
|
* "height": 1024,
|
|
79692
|
+
* "file_size": 1076276,
|
|
79296
79693
|
* "file_name": "070c731993e949d993c10ef6283d335d.png",
|
|
79297
79694
|
* "content_type": "image/png",
|
|
79298
79695
|
* "url": "https://v3.fal.media/files/tiger/GQEMNjRyxSoza7N8LPPqb_070c731993e949d993c10ef6283d335d.png",
|
|
@@ -79398,8 +79795,8 @@ export interface BirefnetV2VideoOutput {
|
|
|
79398
79795
|
* "height": 1080,
|
|
79399
79796
|
* "duration": 8,
|
|
79400
79797
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/birefnet-video-output.webm",
|
|
79401
|
-
* "fps": 24,
|
|
79402
79798
|
* "width": 1920,
|
|
79799
|
+
* "fps": 24,
|
|
79403
79800
|
* "file_name": "birefnet-video-output.webm",
|
|
79404
79801
|
* "content_type": "video/webm",
|
|
79405
79802
|
* "num_frames": 192
|
|
@@ -82334,7 +82731,7 @@ export interface BriaFiboEditEditInput {
|
|
|
82334
82731
|
/**
|
|
82335
82732
|
* Steps Num
|
|
82336
82733
|
* @description Number of inference steps.
|
|
82337
|
-
* @default
|
|
82734
|
+
* @default 30
|
|
82338
82735
|
*/
|
|
82339
82736
|
steps_num?: number;
|
|
82340
82737
|
/** @description The structured prompt to generate an image from. */
|